
com.pulumi.azure.cdn.kotlin.inputs.FrontdoorFirewallPolicyManagedRuleOverrideRuleExclusionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.cdn.kotlin.inputs
import com.pulumi.azure.cdn.inputs.FrontdoorFirewallPolicyManagedRuleOverrideRuleExclusionArgs.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 The variable type to be excluded. Possible values are `QueryStringArgNames`, `RequestBodyPostArgNames`, `RequestCookieNames`, `RequestHeaderNames`, `RequestBodyJsonArgNames`
* > **NOTE:** `RequestBodyJsonArgNames` is only available on Default Rule Set (DRS) 2.0 or later
* @property operator Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are: `Equals`, `Contains`, `StartsWith`, `EndsWith`, `EqualsAny`.
* @property selector Selector for the value in the `match_variable` attribute this exclusion applies to.
* > **NOTE:** `selector` must be set to `*` if `operator` is set to `EqualsAny`.
*/
public data class FrontdoorFirewallPolicyManagedRuleOverrideRuleExclusionArgs(
public val matchVariable: Output,
public val `operator`: Output,
public val selector: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.cdn.inputs.FrontdoorFirewallPolicyManagedRuleOverrideRuleExclusionArgs =
com.pulumi.azure.cdn.inputs.FrontdoorFirewallPolicyManagedRuleOverrideRuleExclusionArgs.builder()
.matchVariable(matchVariable.applyValue({ args0 -> args0 }))
.`operator`(`operator`.applyValue({ args0 -> args0 }))
.selector(selector.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FrontdoorFirewallPolicyManagedRuleOverrideRuleExclusionArgs].
*/
@PulumiTagMarker
public class FrontdoorFirewallPolicyManagedRuleOverrideRuleExclusionArgsBuilder internal
constructor() {
private var matchVariable: Output? = null
private var `operator`: Output? = null
private var selector: Output? = null
/**
* @param value The variable type to be excluded. Possible values are `QueryStringArgNames`, `RequestBodyPostArgNames`, `RequestCookieNames`, `RequestHeaderNames`, `RequestBodyJsonArgNames`
* > **NOTE:** `RequestBodyJsonArgNames` is only available on Default Rule Set (DRS) 2.0 or later
*/
@JvmName("xtdwmtnbhkttpgds")
public suspend fun matchVariable(`value`: Output) {
this.matchVariable = value
}
/**
* @param value Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are: `Equals`, `Contains`, `StartsWith`, `EndsWith`, `EqualsAny`.
*/
@JvmName("koeidltvitjqlvur")
public suspend fun `operator`(`value`: Output) {
this.`operator` = value
}
/**
* @param value Selector for the value in the `match_variable` attribute this exclusion applies to.
* > **NOTE:** `selector` must be set to `*` if `operator` is set to `EqualsAny`.
*/
@JvmName("pycvyhkshmgmjrpb")
public suspend fun selector(`value`: Output) {
this.selector = value
}
/**
* @param value The variable type to be excluded. Possible values are `QueryStringArgNames`, `RequestBodyPostArgNames`, `RequestCookieNames`, `RequestHeaderNames`, `RequestBodyJsonArgNames`
* > **NOTE:** `RequestBodyJsonArgNames` is only available on Default Rule Set (DRS) 2.0 or later
*/
@JvmName("ntpeqridhavflywr")
public suspend fun matchVariable(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.matchVariable = mapped
}
/**
* @param value Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values are: `Equals`, `Contains`, `StartsWith`, `EndsWith`, `EqualsAny`.
*/
@JvmName("cvcikqxmkghtkeku")
public suspend fun `operator`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`operator` = mapped
}
/**
* @param value Selector for the value in the `match_variable` attribute this exclusion applies to.
* > **NOTE:** `selector` must be set to `*` if `operator` is set to `EqualsAny`.
*/
@JvmName("fgfaspyuxuvqfjpr")
public suspend fun selector(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.selector = mapped
}
internal fun build(): FrontdoorFirewallPolicyManagedRuleOverrideRuleExclusionArgs =
FrontdoorFirewallPolicyManagedRuleOverrideRuleExclusionArgs(
matchVariable = matchVariable ?: throw PulumiNullFieldException("matchVariable"),
`operator` = `operator` ?: throw PulumiNullFieldException("operator"),
selector = selector ?: throw PulumiNullFieldException("selector"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy