java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.dynatrace.fluent.models.TagRuleInner

public final class TagRuleInner extends com.azure.core.management.ProxyResource
Tag rules for a monitor resource.
  • Constructor Details

    • TagRuleInner

      public TagRuleInner()
  • Method Details

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: System metadata for this resource.
      Returns:
      the systemData value.
    • logRules

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

      public TagRuleInner 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 TagRuleInner 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 TagRuleInner 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 TagRuleInner 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.