Uses of Class
com.azure.resourcemanager.monitor.models.RuleMetricDataSource
Packages that use RuleMetricDataSource
Package
Description
Package containing the data models for MonitorClient.
-
Uses of RuleMetricDataSource in com.azure.resourcemanager.monitor.models
Methods in com.azure.resourcemanager.monitor.models that return RuleMetricDataSourceModifier and TypeMethodDescriptionstatic RuleMetricDataSourceRuleMetricDataSource.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RuleMetricDataSource from the JsonReader.RuleMetricDataSource.withLegacyResourceId(String legacyResourceId) Set the legacyResourceId property: the legacy resource identifier of the resource the rule monitors.RuleMetricDataSource.withMetricName(String metricName) Set the metricName property: the name of the metric that defines what the rule monitors.RuleMetricDataSource.withMetricNamespace(String metricNamespace) Set the metricNamespace property: the namespace of the metric.RuleMetricDataSource.withResourceLocation(String resourceLocation) Set the resourceLocation property: the location of the resource.RuleMetricDataSource.withResourceUri(String resourceUri) Set the resourceUri property: the resource identifier of the resource the rule monitors.