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

com.pulumi.azure.waf.kotlin.outputs.PolicyManagedRulesExclusion.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.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.waf.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property excludedRuleSet One or more `excluded_rule_set` block defined below.
 * @property matchVariable The name of the Match Variable. Possible values: `RequestArgKeys`, `RequestArgNames`, `RequestArgValues`, `RequestCookieKeys`, `RequestCookieNames`, `RequestCookieValues`, `RequestHeaderKeys`, `RequestHeaderNames`, `RequestHeaderValues`.
 * @property selector Describes field of the matchVariable collection.
 * @property selectorMatchOperator Describes operator to be matched. Possible values: `Contains`, `EndsWith`, `Equals`, `EqualsAny`, `StartsWith`.
 */
public data class PolicyManagedRulesExclusion(
    public val excludedRuleSet: PolicyManagedRulesExclusionExcludedRuleSet? = null,
    public val matchVariable: String,
    public val selector: String,
    public val selectorMatchOperator: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.waf.outputs.PolicyManagedRulesExclusion):
            PolicyManagedRulesExclusion = PolicyManagedRulesExclusion(
            excludedRuleSet = javaType.excludedRuleSet().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.waf.kotlin.outputs.PolicyManagedRulesExclusionExcludedRuleSet.Companion.toKotlin(args0)
                })
            }).orElse(null),
            matchVariable = javaType.matchVariable(),
            selector = javaType.selector(),
            selectorMatchOperator = javaType.selectorMatchOperator(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy