Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.frontdoor.kotlin.inputs
import com.pulumi.azure.frontdoor.inputs.FirewallPolicyCustomRuleMatchConditionArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property matchValues Up to `600` possible values to match. Limit is in total across all `match_condition` blocks and `match_values` arguments. String value itself can be up to `256` characters long.
* @property matchVariable The request variable to compare with. Possible values are `Cookies`, `PostArgs`, `QueryString`, `RemoteAddr`, `RequestBody`, `RequestHeader`, `RequestMethod`, `RequestUri`, or `SocketAddr`.
* @property negationCondition Should the result of the condition be negated.
* @property operator Comparison type to use for matching with the variable value. Possible values are `Any`, `BeginsWith`, `Contains`, `EndsWith`, `Equal`, `GeoMatch`, `GreaterThan`, `GreaterThanOrEqual`, `IPMatch`, `LessThan`, `LessThanOrEqual` or `RegEx`.
* @property selector Match against a specific key if the `match_variable` is `QueryString`, `PostArgs`, `RequestHeader` or `Cookies`.
* @property transforms Up to `5` transforms to apply. Possible values are `Lowercase`, `RemoveNulls`, `Trim`, `Uppercase`, `URLDecode` or`URLEncode`.
*/
public data class FirewallPolicyCustomRuleMatchConditionArgs(
public val matchValues: Output>,
public val matchVariable: Output,
public val negationCondition: Output? = null,
public val `operator`: Output,
public val selector: Output? = null,
public val transforms: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.frontdoor.inputs.FirewallPolicyCustomRuleMatchConditionArgs =
com.pulumi.azure.frontdoor.inputs.FirewallPolicyCustomRuleMatchConditionArgs.builder()
.matchValues(matchValues.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.matchVariable(matchVariable.applyValue({ args0 -> args0 }))
.negationCondition(negationCondition?.applyValue({ args0 -> args0 }))
.`operator`(`operator`.applyValue({ args0 -> args0 }))
.selector(selector?.applyValue({ args0 -> args0 }))
.transforms(transforms?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [FirewallPolicyCustomRuleMatchConditionArgs].
*/
@PulumiTagMarker
public class FirewallPolicyCustomRuleMatchConditionArgsBuilder internal constructor() {
private var matchValues: Output>? = null
private var matchVariable: Output? = null
private var negationCondition: Output? = null
private var `operator`: Output? = null
private var selector: Output? = null
private var transforms: Output>? = null
/**
* @param value Up to `600` possible values to match. Limit is in total across all `match_condition` blocks and `match_values` arguments. String value itself can be up to `256` characters long.
*/
@JvmName("oxindxxbxumjuwei")
public suspend fun matchValues(`value`: Output>) {
this.matchValues = value
}
@JvmName("prlwemxtpiodkkyo")
public suspend fun matchValues(vararg values: Output) {
this.matchValues = Output.all(values.asList())
}
/**
* @param values Up to `600` possible values to match. Limit is in total across all `match_condition` blocks and `match_values` arguments. String value itself can be up to `256` characters long.
*/
@JvmName("wfxscxxctgclexat")
public suspend fun matchValues(values: List