ParentT - the stage of the parent Metric Alert definition to return to after attaching this definitionpublic static interface MetricAlertCondition.UpdateDefinitionStages.Blank.MetricName<ParentT>
| Modifier and Type | Method and Description |
|---|---|
MetricAlertCondition.UpdateDefinitionStages.WithCriteriaOperator<ParentT> |
withMetricName(String metricName)
Sets the name of the signal name to monitor.
|
MetricAlertCondition.UpdateDefinitionStages.WithCriteriaOperator<ParentT> |
withMetricName(String metricName,
String metricNamespace)
Sets the name of the signal name to monitor.
|
MetricAlertCondition.UpdateDefinitionStages.WithCriteriaOperator<ParentT> withMetricName(String metricName)
metricName - metric name of the signal.MetricAlertCondition.UpdateDefinitionStages.WithCriteriaOperator<ParentT> withMetricName(String metricName, String metricNamespace)
metricName - metric name of the signal.metricNamespace - the Namespace of the metric./**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/