Class RuleMetricDataSource
java.lang.Object
com.microsoft.azure.management.monitor.RuleDataSource
com.microsoft.azure.management.monitor.RuleMetricDataSource
A rule metric data source. The discriminator value is always
RuleMetricDataSource in this case.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the name of the metric that defines what the rule monitors.withMetricName
(String metricName) Set the name of the metric that defines what the rule monitors.Methods inherited from class com.microsoft.azure.management.monitor.RuleDataSource
resourceUri, withResourceUri
-
Constructor Details
-
RuleMetricDataSource
public RuleMetricDataSource()
-
-
Method Details
-
metricName
Get the name of the metric that defines what the rule monitors.- Returns:
- the metricName value
-
withMetricName
Set the name of the metric that defines what the rule monitors.- Parameters:
metricName
- the metricName value to set- Returns:
- the RuleMetricDataSource object itself.
-