MetricAlertRuleCondition Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. monitor. models. MetricAlertRuleCondition
- com.
- com.
public final class MetricAlertRuleCondition
extends ExpandableStringEnum<MetricAlertRuleCondition>
Defines values for MetricAlertRuleCondition.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Metric |
EQUALS
Static value Equals for Metric |
static final
Metric |
GREATER_THAN
Static value Greater |
static final
Metric |
GREATER_THAN_OR_EQUAL
Static value Greater |
static final
Metric |
LESS_THAN
Static value Less |
static final
Metric |
LESS_THAN_OR_EQUAL
Static value Less |
static final
Metric |
NOT_EQUALS
Static value Not |
Constructor Summary
Constructor | Description | |
---|---|---|
MetricAlertRuleCondition() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Metric |
fromString(String name)
Creates or finds a Metric |
static
Collection<Metric |
values() |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
EQUALS
public static final MetricAlertRuleCondition EQUALS
Static value Equals for MetricAlertRuleCondition.
GREATER_THAN
public static final MetricAlertRuleCondition GREATER_THAN
Static value GreaterThan for MetricAlertRuleCondition.
GREATER_THAN_OR_EQUAL
public static final MetricAlertRuleCondition GREATER_THAN_OR_EQUAL
Static value GreaterThanOrEqual for MetricAlertRuleCondition.
LESS_THAN
public static final MetricAlertRuleCondition LESS_THAN
Static value LessThan for MetricAlertRuleCondition.
LESS_THAN_OR_EQUAL
public static final MetricAlertRuleCondition LESS_THAN_OR_EQUAL
Static value LessThanOrEqual for MetricAlertRuleCondition.
NOT_EQUALS
public static final MetricAlertRuleCondition NOT_EQUALS
Static value NotEquals for MetricAlertRuleCondition.
Constructor Details
MetricAlertRuleCondition
public MetricAlertRuleCondition()
Method Details
fromString
public static MetricAlertRuleCondition fromString(String name)
Creates or finds a MetricAlertRuleCondition from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java