ParentT - the stage of the parent Metric Alert definition to return to after attaching this definitionpublic static interface MetricDynamicAlertCondition.DefinitionStages.WithConditionAttach<ParentT>
| Modifier and Type | Method and Description |
|---|---|
ParentT |
attach()
Attaches the defined condition to the parent metric alert.
|
MetricDynamicAlertCondition.DefinitionStages.WithConditionAttach<ParentT> |
withDimension(String dimensionName,
String... values)
Adds a metric dimension filter.
|
MetricDynamicAlertCondition.DefinitionStages.WithConditionAttach<ParentT> |
withIgnoreDataBefore(org.joda.time.DateTime dateTime)
Sets the date from which to start learning the metric historical data and calculate the dynamic thresholds.
|
MetricDynamicAlertCondition.DefinitionStages.WithConditionAttach<ParentT> withIgnoreDataBefore(org.joda.time.DateTime dateTime)
dateTime - the date from which to start learning the metric historical data and calculate the dynamic thresholds.MetricDynamicAlertCondition.DefinitionStages.WithConditionAttach<ParentT> withDimension(String dimensionName, String... values)
dimensionName - the name of the dimension.values - list of dimension values to alert on.ParentT attach()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/