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

com.pulumi.azure.waf.kotlin.outputs.PolicyPolicySettingsLogScrubbingRule.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 enabled Describes if the managed rule is in enabled state or disabled state.
 * @property matchVariable
 * @property selector When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
 * @property selectorMatchOperator
 */
public data class PolicyPolicySettingsLogScrubbingRule(
    public val enabled: Boolean? = null,
    public val matchVariable: String,
    public val selector: String? = null,
    public val selectorMatchOperator: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.waf.outputs.PolicyPolicySettingsLogScrubbingRule): PolicyPolicySettingsLogScrubbingRule = PolicyPolicySettingsLogScrubbingRule(
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
            matchVariable = javaType.matchVariable(),
            selector = javaType.selector().map({ args0 -> args0 }).orElse(null),
            selectorMatchOperator = javaType.selectorMatchOperator().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy