All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.waf.kotlin.outputs.PolicyManagedRulesManagedRuleSetRuleGroupOverrideRule.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@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