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 Details

    • RuleDataSource

      public RuleDataSource()
  • Method Details

    • 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.