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>

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
      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.
  • 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.