public class RuleMetricDataSource extends RuleDataSource
| Constructor and Description |
|---|
RuleMetricDataSource() |
| Modifier and Type | Method and Description |
|---|---|
String |
metricName()
Get the name of the metric that defines what the rule monitors.
|
RuleMetricDataSource |
withMetricName(String metricName)
Set the name of the metric that defines what the rule monitors.
|
resourceUri, withResourceUripublic String metricName()
public RuleMetricDataSource withMetricName(String metricName)
metricName - the metricName value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/