![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayWafConfigurationExclusionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin.inputs
import com.pulumi.azure.network.inputs.ApplicationGatewayWafConfigurationExclusionArgs.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
/**
*
* @property matchVariable Match variable of the exclusion rule to exclude header, cookie or GET arguments. Possible values are `RequestArgKeys`, `RequestArgNames`, `RequestArgValues`, `RequestCookieKeys`, `RequestCookieNames`, `RequestCookieValues`, `RequestHeaderKeys`, `RequestHeaderNames` and `RequestHeaderValues`
* @property selector String value which will be used for the filter operation. If empty will exclude all traffic on this `match_variable`
* @property selectorMatchOperator Operator which will be used to search in the variable content. Possible values are `Contains`, `EndsWith`, `Equals`, `EqualsAny` and `StartsWith`. If empty will exclude all traffic on this `match_variable`
*/
public data class ApplicationGatewayWafConfigurationExclusionArgs(
public val matchVariable: Output,
public val selector: Output? = null,
public val selectorMatchOperator: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.ApplicationGatewayWafConfigurationExclusionArgs =
com.pulumi.azure.network.inputs.ApplicationGatewayWafConfigurationExclusionArgs.builder()
.matchVariable(matchVariable.applyValue({ args0 -> args0 }))
.selector(selector?.applyValue({ args0 -> args0 }))
.selectorMatchOperator(selectorMatchOperator?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApplicationGatewayWafConfigurationExclusionArgs].
*/
@PulumiTagMarker
public class ApplicationGatewayWafConfigurationExclusionArgsBuilder internal constructor() {
private var matchVariable: Output? = null
private var selector: Output? = null
private var selectorMatchOperator: Output? = null
/**
* @param value Match variable of the exclusion rule to exclude header, cookie or GET arguments. Possible values are `RequestArgKeys`, `RequestArgNames`, `RequestArgValues`, `RequestCookieKeys`, `RequestCookieNames`, `RequestCookieValues`, `RequestHeaderKeys`, `RequestHeaderNames` and `RequestHeaderValues`
*/
@JvmName("xhhcjwsupdyvvuow")
public suspend fun matchVariable(`value`: Output) {
this.matchVariable = value
}
/**
* @param value String value which will be used for the filter operation. If empty will exclude all traffic on this `match_variable`
*/
@JvmName("buoibutdaxdwwecs")
public suspend fun selector(`value`: Output) {
this.selector = value
}
/**
* @param value Operator which will be used to search in the variable content. Possible values are `Contains`, `EndsWith`, `Equals`, `EqualsAny` and `StartsWith`. If empty will exclude all traffic on this `match_variable`
*/
@JvmName("iuofhfrwssomklkm")
public suspend fun selectorMatchOperator(`value`: Output) {
this.selectorMatchOperator = value
}
/**
* @param value Match variable of the exclusion rule to exclude header, cookie or GET arguments. Possible values are `RequestArgKeys`, `RequestArgNames`, `RequestArgValues`, `RequestCookieKeys`, `RequestCookieNames`, `RequestCookieValues`, `RequestHeaderKeys`, `RequestHeaderNames` and `RequestHeaderValues`
*/
@JvmName("shvojxhpvlxigdgv")
public suspend fun matchVariable(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.matchVariable = mapped
}
/**
* @param value String value which will be used for the filter operation. If empty will exclude all traffic on this `match_variable`
*/
@JvmName("iqadskecfifivphr")
public suspend fun selector(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.selector = mapped
}
/**
* @param value Operator which will be used to search in the variable content. Possible values are `Contains`, `EndsWith`, `Equals`, `EqualsAny` and `StartsWith`. If empty will exclude all traffic on this `match_variable`
*/
@JvmName("urumivilvmgybgac")
public suspend fun selectorMatchOperator(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.selectorMatchOperator = mapped
}
internal fun build(): ApplicationGatewayWafConfigurationExclusionArgs =
ApplicationGatewayWafConfigurationExclusionArgs(
matchVariable = matchVariable ?: throw PulumiNullFieldException("matchVariable"),
selector = selector,
selectorMatchOperator = selectorMatchOperator,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy