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
Fields Modifier and Type Field Description static MetricTriggerTypeCONSECUTIVEStatic value Consecutive for MetricTriggerType.static MetricTriggerTypeTOTALStatic value Total for MetricTriggerType.
-
Constructor Summary
Constructors Constructor Description MetricTriggerType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MetricTriggerTypefromString(String name)Creates or finds a MetricTriggerType from its string representation.static Collection<MetricTriggerType>values()
-
-
-
Field Detail
-
CONSECUTIVE
public static final MetricTriggerType CONSECUTIVE
Static value Consecutive for MetricTriggerType.
-
TOTAL
public static final MetricTriggerType TOTAL
Static value Total for MetricTriggerType.
-
-
Method Detail
-
fromString
public static MetricTriggerType fromString(String name)
Creates or finds a MetricTriggerType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding MetricTriggerType.
-
values
public static Collection<MetricTriggerType> values()
- Returns:
- known MetricTriggerType values.
-
-