com.pulumi.azure.monitoring.kotlin.inputs.ActionRuleSuppressionScopeArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.monitoring.kotlin.inputs
import com.pulumi.azure.monitoring.inputs.ActionRuleSuppressionScopeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property resourceIds A list of resource IDs of the given scope type which will be the target of action rule.
* @property type Specifies the type of target scope. Possible values are `ResourceGroup` and `Resource`.
*/
public data class ActionRuleSuppressionScopeArgs(
public val resourceIds: Output>,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.monitoring.inputs.ActionRuleSuppressionScopeArgs =
com.pulumi.azure.monitoring.inputs.ActionRuleSuppressionScopeArgs.builder()
.resourceIds(resourceIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ActionRuleSuppressionScopeArgs].
*/
@PulumiTagMarker
public class ActionRuleSuppressionScopeArgsBuilder internal constructor() {
private var resourceIds: Output>? = null
private var type: Output? = null
/**
* @param value A list of resource IDs of the given scope type which will be the target of action rule.
*/
@JvmName("tvbpqntilodkleni")
public suspend fun resourceIds(`value`: Output>) {
this.resourceIds = value
}
@JvmName("hqxaanuwfhxtvhjn")
public suspend fun resourceIds(vararg values: Output) {
this.resourceIds = Output.all(values.asList())
}
/**
* @param values A list of resource IDs of the given scope type which will be the target of action rule.
*/
@JvmName("etuhwjcrchmqfxym")
public suspend fun resourceIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy