Class RuleDataSource
java.lang.Object
com.microsoft.azure.management.monitor.RuleDataSource
- Direct Known Subclasses:
RuleManagementEventDataSource
,RuleMetricDataSource
The resource from which the rule collects its data.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the resource identifier of the resource the rule monitors.withResourceUri
(String resourceUri) Set the resource identifier of the resource the rule monitors.
-
Constructor Details
-
RuleDataSource
public RuleDataSource()
-
-
Method Details
-
resourceUri
Get the resource identifier of the resource the rule monitors. **NOTE**: this property cannot be updated for an existing rule.- Returns:
- the resourceUri value
-
withResourceUri
Set the resource identifier of the resource the rule monitors. **NOTE**: this property cannot be updated for an existing rule.- Parameters:
resourceUri
- the resourceUri value to set- Returns:
- the RuleDataSource object itself.
-