Class MetricRules

java.lang.Object
com.azure.resourcemanager.dynatrace.models.MetricRules

public final class MetricRules extends Object
Set of rules for sending metrics for the Monitor resource.
  • Constructor Details

    • MetricRules

      public MetricRules()
  • Method Details

    • filteringTags

      public List<FilteringTag> filteringTags()
      Get the filteringTags property: List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
      Returns:
      the filteringTags value.
    • withFilteringTags

      public MetricRules withFilteringTags(List<FilteringTag> filteringTags)
      Set the filteringTags property: List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
      Parameters:
      filteringTags - the filteringTags value to set.
      Returns:
      the MetricRules object itself.
    • validate

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