public static interface MetricDynamicAlertCondition.UpdateStages
| Modifier and Type | Method and Description |
|---|---|
MetricAlert.Update |
parent()
Returns back to the metric alert update flow.
|
MetricDynamicAlertCondition.UpdateStages |
withCondition(MetricAlertRuleTimeAggregation timeAggregation,
DynamicThresholdOperator condition,
DynamicThresholdSensitivity sensitivity)
Sets the condition to monitor for the current metric alert.
|
MetricDynamicAlertCondition.UpdateStages |
withDimension(String dimensionName,
String... values)
Adds a metric dimension filter.
|
MetricDynamicAlertCondition.UpdateStages |
withFailingPeriods(DynamicThresholdFailingPeriods failingPeriods)
Sets the failing periods for triggering the alert.
|
MetricDynamicAlertCondition.UpdateStages |
withIgnoreDataBefore(OffsetDateTime date)
Sets the date from which to start learning the metric historical data and calculate the dynamic thresholds.
|
MetricDynamicAlertCondition.UpdateStages |
withoutDimension(String dimensionName)
Removes the specified dimension filter.
|
MetricDynamicAlertCondition.UpdateStages |
withoutIgnoreDataBefore()
Removes the date from which to start learning the metric historical data and calculate the dynamic
thresholds.
|
MetricDynamicAlertCondition.UpdateStages withCondition(MetricAlertRuleTimeAggregation timeAggregation, DynamicThresholdOperator condition, DynamicThresholdSensitivity sensitivity)
condition - the criteria operator.timeAggregation - the criteria time aggregation types.sensitivity - the threshold sensitivity that activates the alert.MetricDynamicAlertCondition.UpdateStages withDimension(String dimensionName, String... values)
dimensionName - the name of the dimension.values - list of dimension values to alert on.MetricDynamicAlertCondition.UpdateStages withoutDimension(String dimensionName)
dimensionName - dimensionName the name of the dimension.MetricDynamicAlertCondition.UpdateStages withFailingPeriods(DynamicThresholdFailingPeriods failingPeriods)
failingPeriods - the failing periods for triggering the alert.MetricDynamicAlertCondition.UpdateStages withIgnoreDataBefore(OffsetDateTime date)
date - the date from which to start learning the metric historical data and calculate the dynamic
thresholds.MetricDynamicAlertCondition.UpdateStages withoutIgnoreDataBefore()
MetricAlert.Update parent()
Copyright © 2020 Microsoft Corporation. All rights reserved.