Class MetricAlertRuleTimeAggregation
java.lang.Object
com.azure.core.util.ExpandableStringEnum<MetricAlertRuleTimeAggregation>
com.azure.resourcemanager.monitor.models.MetricAlertRuleTimeAggregation
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class MetricAlertRuleTimeAggregation
extends com.azure.core.util.ExpandableStringEnum<MetricAlertRuleTimeAggregation>
Defines values for MetricAlertRuleTimeAggregation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MetricAlertRuleTimeAggregation
Static value Average for MetricAlertRuleTimeAggregation.static final MetricAlertRuleTimeAggregation
Static value Count for MetricAlertRuleTimeAggregation.static final MetricAlertRuleTimeAggregation
Static value Maximum for MetricAlertRuleTimeAggregation.static final MetricAlertRuleTimeAggregation
Static value Minimum for MetricAlertRuleTimeAggregation.static final MetricAlertRuleTimeAggregation
Static value Total for MetricAlertRuleTimeAggregation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString
(String name) Creates or finds a MetricAlertRuleTimeAggregation from its string representation.values()
Gets known MetricAlertRuleTimeAggregation values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
COUNT
Static value Count for MetricAlertRuleTimeAggregation. -
AVERAGE
Static value Average for MetricAlertRuleTimeAggregation. -
MINIMUM
Static value Minimum for MetricAlertRuleTimeAggregation. -
MAXIMUM
Static value Maximum for MetricAlertRuleTimeAggregation. -
TOTAL
Static value Total for MetricAlertRuleTimeAggregation.
-
-
Constructor Details
-
MetricAlertRuleTimeAggregation
Deprecated.Use thefromString(String)
factory method.Creates a new instance of MetricAlertRuleTimeAggregation value.
-
-
Method Details
-
fromString
Creates or finds a MetricAlertRuleTimeAggregation from its string representation.- Parameters:
name
- a name to look for- Returns:
- the corresponding MetricAlertRuleTimeAggregation
-
values
Gets known MetricAlertRuleTimeAggregation values.- Returns:
- known MetricAlertRuleTimeAggregation values
-
fromString(String)
factory method.