java.lang.Object
com.azure.core.util.ExpandableStringEnum<NetworkMode>
com.azure.resourcemanager.containerservice.models.NetworkMode

public final class NetworkMode extends com.azure.core.util.ExpandableStringEnum<NetworkMode>
The network mode Azure CNI is configured with. This cannot be specified if networkPlugin is anything other than 'azure'.
  • Field Details

    • TRANSPARENT

      public static final NetworkMode TRANSPARENT
      Static value transparent for NetworkMode.
    • BRIDGE

      public static final NetworkMode BRIDGE
      Static value bridge for NetworkMode.
  • Constructor Details

    • NetworkMode

      @Deprecated public NetworkMode()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding NetworkMode.
    • values

      public static Collection<NetworkMode> values()
      Gets known NetworkMode values.
      Returns:
      known NetworkMode values.