Class MonitoringTagRulesProperties

java.lang.Object
com.azure.resourcemanager.dynatrace.fluent.models.MonitoringTagRulesProperties

public final class MonitoringTagRulesProperties extends Object
Properties for the Tag rules resource of a Monitor account.
  • Constructor Details

    • MonitoringTagRulesProperties

      public MonitoringTagRulesProperties()
  • Method Details

    • logRules

      public LogRules logRules()
      Get the logRules property: Set of rules for sending logs for the Monitor resource.
      Returns:
      the logRules value.
    • withLogRules

      public MonitoringTagRulesProperties withLogRules(LogRules logRules)
      Set the logRules property: Set of rules for sending logs for the Monitor resource.
      Parameters:
      logRules - the logRules value to set.
      Returns:
      the MonitoringTagRulesProperties object itself.
    • metricRules

      public MetricRules metricRules()
      Get the metricRules property: Set of rules for sending metrics for the Monitor resource.
      Returns:
      the metricRules value.
    • withMetricRules

      public MonitoringTagRulesProperties withMetricRules(MetricRules metricRules)
      Set the metricRules property: Set of rules for sending metrics for the Monitor resource.
      Parameters:
      metricRules - the metricRules value to set.
      Returns:
      the MonitoringTagRulesProperties object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the resource.
      Returns:
      the provisioningState value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.