MetricDynamicAlertCondition Interface
Implements
public interface MetricDynamicAlertCondition
extends HasInnerModel<DynamicMetricCriteria>, HasParent<MetricAlert>
An immutable client-side representation of an Azure metric alert criteria.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Dynamic |
alertSensitivity()
Get the extent of deviation required to trigger an alert. |
abstract
Dynamic |
condition()
Get the operator used to compare the metric value against the threshold. |
abstract
Collection<Metric |
dimensions()
Get list of dimension conditions. |
abstract
Dynamic |
failingPeriods()
Get the minimum number of violations required within the selected lookback time window required to raise an alert. |
abstract
Offset |
ignoreDataBefore()
Get the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format). |
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
Metric |
timeAggregation()
Get the criteria time aggregation types. |
Method Details
alertSensitivity
public abstract DynamicThresholdSensitivity alertSensitivity()
Get the extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
Returns:
condition
public abstract DynamicThresholdOperator condition()
Get the operator used to compare the metric value against the threshold.
Returns:
dimensions
public abstract Collection
Get list of dimension conditions.
Returns:
failingPeriods
public abstract DynamicThresholdFailingPeriods failingPeriods()
Get the minimum number of violations required within the selected lookback time window required to raise an alert.
Returns:
ignoreDataBefore
public abstract OffsetDateTime ignoreDataBefore()
Get the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format).
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:
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