java.lang.Object
com.microsoft.rest.ExpandableStringEnum<NetworkPolicy>
com.microsoft.azure.management.containerservice.NetworkPolicy

public final class NetworkPolicy extends com.microsoft.rest.ExpandableStringEnum<NetworkPolicy>
Defines values for NetworkPolicy.
  • Field Details

    • CALICO

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

      public static final NetworkPolicy AZURE
      Static value azure 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()
      Returns:
      known NetworkPolicy values