Class CriterionType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<CriterionType>
com.azure.resourcemanager.monitor.models.CriterionType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Specifies the type of threshold criteria.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CriterionTypeStatic value DynamicThresholdCriterion for CriterionType.static final CriterionTypeStatic value StaticThresholdCriterion for CriterionType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CriterionTypefromString(String name) Creates or finds a CriterionType from its string representation.static Collection<CriterionType>values()Gets known CriterionType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
STATIC_THRESHOLD_CRITERION
Static value StaticThresholdCriterion for CriterionType. -
DYNAMIC_THRESHOLD_CRITERION
Static value DynamicThresholdCriterion for CriterionType.
-
-
Constructor Details
-
CriterionType
Deprecated.Use thefromString(String)factory method.Creates a new instance of CriterionType value.
-
-
Method Details
-
fromString
Creates or finds a CriterionType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding CriterionType.
-
values
Gets known CriterionType values.- Returns:
- known CriterionType values.
-
fromString(String)factory method.