Class PolicyEvaluatorType

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

public final class PolicyEvaluatorType extends com.azure.core.util.ExpandableStringEnum<PolicyEvaluatorType>
The evaluator type of the policy (i.e. AllowedValuesPolicy, MaxValuePolicy).
  • Field Details

    • ALLOWED_VALUES_POLICY

      public static final PolicyEvaluatorType ALLOWED_VALUES_POLICY
      Static value AllowedValuesPolicy for PolicyEvaluatorType.
    • MAX_VALUE_POLICY

      public static final PolicyEvaluatorType MAX_VALUE_POLICY
      Static value MaxValuePolicy for PolicyEvaluatorType.
  • Constructor Details

    • PolicyEvaluatorType

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

    • fromString

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

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