Class NetworkAccessPolicy

java.lang.Object
com.microsoft.rest.ExpandableStringEnum<NetworkAccessPolicy>
com.microsoft.azure.management.compute.NetworkAccessPolicy

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

    • ALLOW_ALL

      public static final NetworkAccessPolicy ALLOW_ALL
      Static value AllowAll for NetworkAccessPolicy.
    • ALLOW_PRIVATE

      public static final NetworkAccessPolicy ALLOW_PRIVATE
      Static value AllowPrivate for NetworkAccessPolicy.
    • DENY_ALL

      public static final NetworkAccessPolicy DENY_ALL
      Static value DenyAll for NetworkAccessPolicy.
  • Constructor Details

    • NetworkAccessPolicy

      public NetworkAccessPolicy()
  • Method Details

    • fromString

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

      public static Collection<NetworkAccessPolicy> values()
      Returns:
      known NetworkAccessPolicy values