![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.datadog.kotlin.inputs.MetricRulesArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datadog.kotlin.inputs
import com.pulumi.azurenative.datadog.inputs.MetricRulesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Set of rules for sending metrics for the Monitor resource.
* @property filteringTags 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.
*/
public data class MetricRulesArgs(
public val filteringTags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datadog.inputs.MetricRulesArgs =
com.pulumi.azurenative.datadog.inputs.MetricRulesArgs.builder()
.filteringTags(
filteringTags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [MetricRulesArgs].
*/
@PulumiTagMarker
public class MetricRulesArgsBuilder internal constructor() {
private var filteringTags: Output>? = null
/**
* @param value 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.
*/
@JvmName("flftwdfidhsmmxbk")
public suspend fun filteringTags(`value`: Output>) {
this.filteringTags = value
}
@JvmName("ggtcpfjmkboxhrlk")
public suspend fun filteringTags(vararg values: Output) {
this.filteringTags = Output.all(values.asList())
}
/**
* @param values 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.
*/
@JvmName("cxakyknhtaseomwb")
public suspend fun filteringTags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy