Class RuleDataSource
- java.lang.Object
-
- com.microsoft.azure.management.monitor.RuleDataSource
-
- Direct Known Subclasses:
RuleManagementEventDataSource,RuleMetricDataSource
public class RuleDataSource extends Object
The resource from which the rule collects its data.
-
-
Constructor Summary
Constructors Constructor Description RuleDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringresourceUri()Get the resource identifier of the resource the rule monitors.RuleDataSourcewithResourceUri(String resourceUri)Set the resource identifier of the resource the rule monitors.
-
-
-
Method Detail
-
resourceUri
public String 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
public RuleDataSource withResourceUri(String resourceUri)
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.
-
-