public class RuleMetricDataSource extends RuleDataSource
| Constructor and Description |
|---|
RuleMetricDataSource() |
| Modifier and Type | Method and Description |
|---|---|
String |
metricName()
Get the metricName property: the name of the metric that defines what the rule monitors.
|
void |
validate()
Validates the instance.
|
RuleMetricDataSource |
withMetricName(String metricName)
Set the metricName property: 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.public void validate()
validate in class RuleDataSourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.