Class NetworkMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<NetworkMode>
com.azure.resourcemanager.containerservice.models.NetworkMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The network mode Azure CNI is configured with. This cannot be specified if networkPlugin is anything other than
'azure'.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NetworkModeStatic value bridge for NetworkMode.static final NetworkModeStatic value transparent for NetworkMode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkModefromString(String name) Creates or finds a NetworkMode from its string representation.static Collection<NetworkMode> values()Gets known NetworkMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TRANSPARENT
Static value transparent for NetworkMode. -
BRIDGE
Static value bridge for NetworkMode.
-
-
Constructor Details
-
NetworkMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of NetworkMode value.
-
-
Method Details
-
fromString
Creates or finds a NetworkMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding NetworkMode.
-
values
Gets known NetworkMode values.- Returns:
- known NetworkMode values.
-
fromString(String)factory method.