java.lang.Object
com.azure.core.util.ExpandableStringEnum<NetworkPolicy>
com.azure.resourcemanager.hybridcontainerservice.models.NetworkPolicy

public final class NetworkPolicy extends com.azure.core.util.ExpandableStringEnum<NetworkPolicy>
NetworkPolicy - Network policy used for building Kubernetes network. Possible values include: 'calico', 'flannel'. Default is 'calico'.
  • Field Details

    • CALICO

      public static final NetworkPolicy CALICO
      Static value calico for NetworkPolicy.
    • FLANNEL

      public static final NetworkPolicy FLANNEL
      Static value flannel for NetworkPolicy.
  • Constructor Details

    • NetworkPolicy

      public NetworkPolicy()
  • Method Details

    • fromString

      public static NetworkPolicy fromString(String name)
      Creates or finds a NetworkPolicy from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding NetworkPolicy.
    • values

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