
com.pulumi.azurenative.network.kotlin.inputs.ExclusionManagedRuleGroupArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.ExclusionManagedRuleGroupArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Defines a managed rule group to use for exclusion.
* @property ruleGroupName The managed rule group for exclusion.
* @property rules List of rules that will be excluded. If none specified, all rules in the group will be excluded.
*/
public data class ExclusionManagedRuleGroupArgs(
public val ruleGroupName: Output,
public val rules: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.ExclusionManagedRuleGroupArgs =
com.pulumi.azurenative.network.inputs.ExclusionManagedRuleGroupArgs.builder()
.ruleGroupName(ruleGroupName.applyValue({ args0 -> args0 }))
.rules(
rules?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ExclusionManagedRuleGroupArgs].
*/
@PulumiTagMarker
public class ExclusionManagedRuleGroupArgsBuilder internal constructor() {
private var ruleGroupName: Output? = null
private var rules: Output>? = null
/**
* @param value The managed rule group for exclusion.
*/
@JvmName("xamhqlhdppukwdob")
public suspend fun ruleGroupName(`value`: Output) {
this.ruleGroupName = value
}
/**
* @param value List of rules that will be excluded. If none specified, all rules in the group will be excluded.
*/
@JvmName("lkhspvfijylknaxq")
public suspend fun rules(`value`: Output>) {
this.rules = value
}
@JvmName("wdrjxcvoupmdndai")
public suspend fun rules(vararg values: Output) {
this.rules = Output.all(values.asList())
}
/**
* @param values List of rules that will be excluded. If none specified, all rules in the group will be excluded.
*/
@JvmName("qykmfyjskfpitlcg")
public suspend fun rules(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy