Uses of Class
com.azure.resourcemanager.monitor.models.RuleDataSource
Packages that use RuleDataSource
Package
Description
Package containing the data models for MonitorClient.
-
Uses of RuleDataSource in com.azure.resourcemanager.monitor.models
Subclasses of RuleDataSource in com.azure.resourcemanager.monitor.modelsModifier and TypeClassDescriptionfinal class
A rule management event data source.final class
A rule metric data source.Methods in com.azure.resourcemanager.monitor.models that return RuleDataSourceModifier and TypeMethodDescriptionRuleCondition.dataSource()
Get the dataSource property: the resource from which the rule collects its data.static RuleDataSource
RuleDataSource.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of RuleDataSource from the JsonReader.RuleDataSource.withLegacyResourceId
(String legacyResourceId) Set the legacyResourceId property: the legacy resource identifier of the resource the rule monitors.RuleDataSource.withMetricNamespace
(String metricNamespace) Set the metricNamespace property: the namespace of the metric.RuleDataSource.withResourceLocation
(String resourceLocation) Set the resourceLocation property: the location of the resource.RuleDataSource.withResourceUri
(String resourceUri) Set the resourceUri property: the resource identifier of the resource the rule monitors.Methods in com.azure.resourcemanager.monitor.models with parameters of type RuleDataSourceModifier and TypeMethodDescriptionLocationThresholdRuleCondition.withDataSource
(RuleDataSource dataSource) Set the dataSource property: the resource from which the rule collects its data.ManagementEventRuleCondition.withDataSource
(RuleDataSource dataSource) Set the dataSource property: the resource from which the rule collects its data.RuleCondition.withDataSource
(RuleDataSource dataSource) Set the dataSource property: the resource from which the rule collects its data.ThresholdRuleCondition.withDataSource
(RuleDataSource dataSource) Set the dataSource property: the resource from which the rule collects its data.