![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.waf.kotlin.outputs.PolicyManagedRulesManagedRuleSetRuleGroupOverrideRule.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.waf.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property action Describes the override action to be applied when rule matches. Possible values are `Allow`, `AnomalyScoring`, `Block`, `JSChallenge` and `Log`. `JSChallenge` is only valid for rulesets of type `Microsoft_BotManagerRuleSet`.
* @property enabled Describes if the managed rule is in enabled state or disabled state.
* @property id Identifier for the managed rule.
*/
public data class PolicyManagedRulesManagedRuleSetRuleGroupOverrideRule(
public val action: String? = null,
public val enabled: Boolean? = null,
public val id: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.waf.outputs.PolicyManagedRulesManagedRuleSetRuleGroupOverrideRule): PolicyManagedRulesManagedRuleSetRuleGroupOverrideRule =
PolicyManagedRulesManagedRuleSetRuleGroupOverrideRule(
action = javaType.action().map({ args0 -> args0 }).orElse(null),
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
id = javaType.id(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy