![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.network.kotlin.inputs.ExclusionManagedRuleArgs.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.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.ExclusionManagedRuleArgs.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.jvm.JvmName
/**
* Defines a managed rule to use for exclusion.
* @property ruleId Identifier for the managed rule.
*/
public data class ExclusionManagedRuleArgs(
public val ruleId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.ExclusionManagedRuleArgs =
com.pulumi.azurenative.network.inputs.ExclusionManagedRuleArgs.builder()
.ruleId(ruleId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ExclusionManagedRuleArgs].
*/
@PulumiTagMarker
public class ExclusionManagedRuleArgsBuilder internal constructor() {
private var ruleId: Output? = null
/**
* @param value Identifier for the managed rule.
*/
@JvmName("shaavtxbqnlhbgog")
public suspend fun ruleId(`value`: Output) {
this.ruleId = value
}
/**
* @param value Identifier for the managed rule.
*/
@JvmName("rcvqwgtmqriqftqk")
public suspend fun ruleId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.ruleId = mapped
}
internal fun build(): ExclusionManagedRuleArgs = ExclusionManagedRuleArgs(
ruleId = ruleId ?: throw PulumiNullFieldException("ruleId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy