MetricRulesArgs

data class MetricRulesArgs(val filteringTags: Output<List<FilteringTagArgs>>? = null, val subscriptionId: Output<String>? = null) : ConvertibleToJava<MetricRulesArgs>

Set of rules for sending metrics for the Monitor resource.

Constructors

Link copied to clipboard
constructor(filteringTags: Output<List<FilteringTagArgs>>? = null, subscriptionId: Output<String>? = null)

Properties

Link copied to clipboard
val filteringTags: Output<List<FilteringTagArgs>>? = null

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.

Link copied to clipboard
val subscriptionId: Output<String>? = null

Subscription Id for which filtering tags are applicable

Functions

Link copied to clipboard
open override fun toJava(): MetricRulesArgs