java.lang.Object
com.microsoft.rest.ExpandableStringEnum<PolicyStatus>
com.microsoft.azure.management.containerregistry.PolicyStatus

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

    • ENABLED

      public static final PolicyStatus ENABLED
      Static value enabled for PolicyStatus.
    • DISABLED

      public static final PolicyStatus DISABLED
      Static value disabled for PolicyStatus.
  • Constructor Details

    • PolicyStatus

      public PolicyStatus()
  • Method Details

    • fromString

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

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