NetworkMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. NetworkMode
- com.
- com.
public final class NetworkMode
extends ExpandableStringEnum<NetworkMode>
The network mode Azure CNI is configured with. This cannot be specified if networkPlugin is anything other than 'azure'.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Network |
BRIDGE
Static value bridge for Network |
static final
Network |
TRANSPARENT
Static value transparent for Network |
Constructor Summary
Constructor | Description |
---|---|
NetworkMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Network |
fromString(String name)
Creates or finds a Network |
static
Collection<Network |
values()
Gets known Network |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
BRIDGE
public static final NetworkMode BRIDGE
Static value bridge for NetworkMode.
TRANSPARENT
public static final NetworkMode TRANSPARENT
Static value transparent for NetworkMode.
Constructor Details
NetworkMode
@Deprecated
public NetworkMode()
Deprecated
Creates a new instance of NetworkMode value.
Method Details
fromString
public static NetworkMode fromString(String name)
Creates or finds a NetworkMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known NetworkMode values.
Returns:
Applies to
Azure SDK for Java