MetricAlertCondition Interface
Implements
public interface MetricAlertCondition
extends HasInnerModel<MetricCriteria>, HasParent<MetricAlert>
An immutable client-side representation of an Azure metric dynamic alert criteria.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Metric |
condition()
Get the criteria operator. |
abstract
Collection<Metric |
dimensions()
Get list of dimension conditions. |
abstract String |
metricName()
Get name of the metric signal. |
abstract String |
metricNamespace()
Get namespace of the metric. |
abstract String |
name()
Get name of the criteria. |
abstract double |
threshold()
Get the criteria threshold value that activates the alert. |
abstract
Metric |
timeAggregation()
Get the criteria time aggregation types. |
Method Details
condition
public abstract MetricAlertRuleCondition condition()
Get the criteria operator. Possible values include: 'Equals', 'NotEquals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual'.
Returns:
dimensions
public abstract Collection
Get list of dimension conditions.
Returns:
metricName
public abstract String metricName()
Get name of the metric signal.
Returns:
metricNamespace
public abstract String metricNamespace()
Get namespace of the metric.
Returns:
name
public abstract String name()
Get name of the criteria.
Returns:
threshold
public abstract double threshold()
Get the criteria threshold value that activates the alert.
Returns:
timeAggregation
public abstract MetricAlertRuleTimeAggregation timeAggregation()
Get the criteria time aggregation types. Possible values include: 'Average', 'Minimum', 'Maximum', 'Total'.
Returns:
Applies to
Azure SDK for Java