Class PolicyResourceState

java.lang.Object
com.azure.core.util.ExpandableStringEnum<PolicyResourceState>
com.azure.resourcemanager.frontdoor.models.PolicyResourceState

public final class PolicyResourceState extends com.azure.core.util.ExpandableStringEnum<PolicyResourceState>
Resource status of the policy.
  • Field Details

    • CREATING

      public static final PolicyResourceState CREATING
      Static value Creating for PolicyResourceState.
    • ENABLING

      public static final PolicyResourceState ENABLING
      Static value Enabling for PolicyResourceState.
    • ENABLED

      public static final PolicyResourceState ENABLED
      Static value Enabled for PolicyResourceState.
    • DISABLING

      public static final PolicyResourceState DISABLING
      Static value Disabling for PolicyResourceState.
    • DISABLED

      public static final PolicyResourceState DISABLED
      Static value Disabled for PolicyResourceState.
    • DELETING

      public static final PolicyResourceState DELETING
      Static value Deleting for PolicyResourceState.
  • Constructor Details

    • PolicyResourceState

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

    • fromString

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

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