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
This is no longer supported. |
|
static final
Network |
TRANSPARENT
No bridge is created. |
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
This is no longer supported.
TRANSPARENT
public static final NetworkMode TRANSPARENT
No bridge is created. Intra-VM Pod to Pod communication is through IP routes created by Azure CNI. See [Transparent Mode](https://docs.microsoft.com/azure/aks/faq\#transparent-mode) for more information.
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<NetworkMode> values()
Gets known NetworkMode values.
Returns: