Enum NetworkMode
- java.lang.Object
-
- java.lang.Enum<NetworkMode>
-
- com.pulumi.azurenative.containerservice.enums.NetworkMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NetworkMode>
public enum NetworkMode extends java.lang.Enum<NetworkMode>
This cannot be specified if networkPlugin is anything other than 'azure'.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Bridge
This is no longer supportedTransparent
No bridge is created.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
java.lang.String
toString()
static NetworkMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NetworkMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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.
-
Bridge
public static final NetworkMode Bridge
This is no longer supported
-
-
Method Detail
-
values
public static NetworkMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NetworkMode c : NetworkMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NetworkMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<NetworkMode>
-
-