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

com.pulumi.azurenative.network.kotlin.inputs.ApplicationGatewayFirewallExclusionArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.network.kotlin.inputs

import com.pulumi.azurenative.network.inputs.ApplicationGatewayFirewallExclusionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Allow to exclude some variable satisfy the condition for the WAF check.
 * @property matchVariable The variable to be excluded.
 * @property selector When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
 * @property selectorMatchOperator When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
 */
public data class ApplicationGatewayFirewallExclusionArgs(
    public val matchVariable: Output,
    public val selector: Output,
    public val selectorMatchOperator: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.network.inputs.ApplicationGatewayFirewallExclusionArgs =
        com.pulumi.azurenative.network.inputs.ApplicationGatewayFirewallExclusionArgs.builder()
            .matchVariable(matchVariable.applyValue({ args0 -> args0 }))
            .selector(selector.applyValue({ args0 -> args0 }))
            .selectorMatchOperator(selectorMatchOperator.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApplicationGatewayFirewallExclusionArgs].
 */
@PulumiTagMarker
public class ApplicationGatewayFirewallExclusionArgsBuilder internal constructor() {
    private var matchVariable: Output? = null

    private var selector: Output? = null

    private var selectorMatchOperator: Output? = null

    /**
     * @param value The variable to be excluded.
     */
    @JvmName("bkvnsvfccpovhtpn")
    public suspend fun matchVariable(`value`: Output) {
        this.matchVariable = value
    }

    /**
     * @param value When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
     */
    @JvmName("odvjkmckjnfjpjha")
    public suspend fun selector(`value`: Output) {
        this.selector = value
    }

    /**
     * @param value When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
     */
    @JvmName("tacspxoqgandkadv")
    public suspend fun selectorMatchOperator(`value`: Output) {
        this.selectorMatchOperator = value
    }

    /**
     * @param value The variable to be excluded.
     */
    @JvmName("hbffymdxxgvberog")
    public suspend fun matchVariable(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.matchVariable = mapped
    }

    /**
     * @param value When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
     */
    @JvmName("inqcemocjjpjymwj")
    public suspend fun selector(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.selector = mapped
    }

    /**
     * @param value When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
     */
    @JvmName("jhkjwvhdorqifdmh")
    public suspend fun selectorMatchOperator(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.selectorMatchOperator = mapped
    }

    internal fun build(): ApplicationGatewayFirewallExclusionArgs =
        ApplicationGatewayFirewallExclusionArgs(
            matchVariable = matchVariable ?: throw PulumiNullFieldException("matchVariable"),
            selector = selector ?: throw PulumiNullFieldException("selector"),
            selectorMatchOperator = selectorMatchOperator ?: throw
                PulumiNullFieldException("selectorMatchOperator"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy