Class UsagePermissionType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<UsagePermissionType>
com.azure.resourcemanager.devtestlabs.models.UsagePermissionType

public final class UsagePermissionType extends com.azure.core.util.ExpandableStringEnum<UsagePermissionType>
The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
  • Field Details

    • DEFAULT

      public static final UsagePermissionType DEFAULT
      Static value Default for UsagePermissionType.
    • DENY

      public static final UsagePermissionType DENY
      Static value Deny for UsagePermissionType.
    • ALLOW

      public static final UsagePermissionType ALLOW
      Static value Allow for UsagePermissionType.
  • Constructor Details

    • UsagePermissionType

      @Deprecated public UsagePermissionType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of UsagePermissionType value.
  • Method Details

    • fromString

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

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