Class ProxyRedirectionMechanism
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ProxyRedirectionMechanism>
com.azure.resourcemanager.containerservice.models.ProxyRedirectionMechanism
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class ProxyRedirectionMechanism
extends com.azure.core.util.ExpandableStringEnum<ProxyRedirectionMechanism>
Mode of traffic redirection.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProxyRedirectionMechanismIstio will install a chained CNI plugin to redirect traffic (recommended).static final ProxyRedirectionMechanismIstio will inject an init container into each pod to redirect traffic (requires NET_ADMIN and NET_RAW). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProxyRedirectionMechanismfromString(String name) Creates or finds a ProxyRedirectionMechanism from its string representation.static Collection<ProxyRedirectionMechanism> values()Gets known ProxyRedirectionMechanism values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
INIT_CONTAINERS
Istio will inject an init container into each pod to redirect traffic (requires NET_ADMIN and NET_RAW). -
CNICHAINING
Istio will install a chained CNI plugin to redirect traffic (recommended).
-
-
Constructor Details
-
ProxyRedirectionMechanism
Deprecated.Use thefromString(String)factory method.Creates a new instance of ProxyRedirectionMechanism value.
-
-
Method Details
-
fromString
Creates or finds a ProxyRedirectionMechanism from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ProxyRedirectionMechanism.
-
values
Gets known ProxyRedirectionMechanism values.- Returns:
- known ProxyRedirectionMechanism values.
-
fromString(String)factory method.