ParentT - the stage of the parent Metric Alert definition to return to after attaching this definitionpublic static interface MetricDynamicAlertCondition.UpdateDefinitionStages.WithConditionAttach<ParentT>
| Modifier and Type | Method and Description |
|---|---|
ParentT |
attach()
Attaches the defined condition to the parent metric alert.
|
MetricDynamicAlertCondition.UpdateDefinitionStages.WithConditionAttach<ParentT> |
withDimension(String dimensionName,
String... values)
Adds a metric dimension filter.
|
MetricDynamicAlertCondition.UpdateDefinitionStages.WithConditionAttach<ParentT> |
withIgnoreDataBefore(OffsetDateTime date)
Sets the date from which to start learning the metric historical data and calculate the dynamic
thresholds.
|
MetricDynamicAlertCondition.UpdateDefinitionStages.WithConditionAttach<ParentT> withIgnoreDataBefore(OffsetDateTime date)
date - the date from which to start learning the metric historical data and calculate the dynamic
thresholds.MetricDynamicAlertCondition.UpdateDefinitionStages.WithConditionAttach<ParentT> withDimension(String dimensionName, String... values)
dimensionName - the name of the dimension.values - list of dimension values to alert on.ParentT attach()
Copyright © 2020 Microsoft Corporation. All rights reserved.