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

com.pulumi.azure.waf.kotlin.outputs.PolicyManagedRulesManagedRuleSet.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.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property ruleGroupOverrides One or more `rule_group_override` block defined below.
 * @property type The rule set type. Possible values: `Microsoft_BotManagerRuleSet`, `Microsoft_DefaultRuleSet` and `OWASP`. Defaults to `OWASP`.
 * @property version The rule set version. Possible values: `0.1`, `1.0`, `2.1`, `2.2.9`, `3.0`, `3.1` and `3.2`.
 */
public data class PolicyManagedRulesManagedRuleSet(
    public val ruleGroupOverrides: List? = null,
    public val type: String? = null,
    public val version: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.waf.outputs.PolicyManagedRulesManagedRuleSet): PolicyManagedRulesManagedRuleSet = PolicyManagedRulesManagedRuleSet(
            ruleGroupOverrides = javaType.ruleGroupOverrides().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.waf.kotlin.outputs.PolicyManagedRulesManagedRuleSetRuleGroupOverride.Companion.toKotlin(args0)
                })
            }),
            type = javaType.type().map({ args0 -> args0 }).orElse(null),
            version = javaType.version(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy