Class MetricTriggerType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<MetricTriggerType>
com.azure.resourcemanager.monitor.models.MetricTriggerType
public final class MetricTriggerType
extends com.azure.core.util.ExpandableStringEnum<MetricTriggerType>
Defines values for MetricTriggerType.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MetricTriggerTypeStatic value Consecutive for MetricTriggerType.static final MetricTriggerTypeStatic value Total for MetricTriggerType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MetricTriggerTypefromString(String name) Creates or finds a MetricTriggerType from its string representation.static Collection<MetricTriggerType>values()Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
CONSECUTIVE
Static value Consecutive for MetricTriggerType. -
TOTAL
Static value Total for MetricTriggerType.
-
-
Constructor Details
-
MetricTriggerType
public MetricTriggerType()
-
-
Method Details
-
fromString
Creates or finds a MetricTriggerType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding MetricTriggerType.
-
values
- Returns:
- known MetricTriggerType values.
-