Class CriterionType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<CriterionType>
com.azure.resourcemanager.monitor.models.CriterionType

public final class CriterionType extends com.azure.core.util.ExpandableStringEnum<CriterionType>
Specifies the type of threshold criteria.
  • Field Details

    • STATIC_THRESHOLD_CRITERION

      public static final CriterionType STATIC_THRESHOLD_CRITERION
      Static value StaticThresholdCriterion for CriterionType.
    • DYNAMIC_THRESHOLD_CRITERION

      public static final CriterionType DYNAMIC_THRESHOLD_CRITERION
      Static value DynamicThresholdCriterion for CriterionType.
  • Constructor Details

    • CriterionType

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

    • fromString

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

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