com.pulumi.azure.cdn.kotlin.inputs.FrontdoorRuleConditionsUrlFileExtensionConditionArgs.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.cdn.kotlin.inputs
import com.pulumi.azure.cdn.inputs.FrontdoorRuleConditionsUrlFileExtensionConditionArgs.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 A list of one or more string or integer values(e.g. "1") representing the value of the request file extension to match. If multiple values are specified, they're evaluated using `OR` logic.
* @property negateCondition If `true` operator becomes the opposite of its value. Possible values `true` or `false`. Defaults to `false`. Details can be found in the `Condition Operator List` below.
* @property operator A Conditional operator. Possible values include `Any`, `Equal`, `Contains`, `BeginsWith`, `EndsWith`, `LessThan`, `LessThanOrEqual`, `GreaterThan`, `GreaterThanOrEqual` or `RegEx`. Details can be found in the `Condition Operator List` below.
* @property transforms A Conditional operator. Possible values include `Lowercase`, `RemoveNulls`, `Trim`, `Uppercase`, `UrlDecode` or `UrlEncode`. Details can be found in the `Condition Transform List` below.
*/
public data class FrontdoorRuleConditionsUrlFileExtensionConditionArgs(
public val matchValues: Output>,
public val negateCondition: Output? = null,
public val `operator`: Output,
public val transforms: Output>? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.cdn.inputs.FrontdoorRuleConditionsUrlFileExtensionConditionArgs =
com.pulumi.azure.cdn.inputs.FrontdoorRuleConditionsUrlFileExtensionConditionArgs.builder()
.matchValues(matchValues.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.negateCondition(negateCondition?.applyValue({ args0 -> args0 }))
.`operator`(`operator`.applyValue({ args0 -> args0 }))
.transforms(transforms?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [FrontdoorRuleConditionsUrlFileExtensionConditionArgs].
*/
@PulumiTagMarker
public class FrontdoorRuleConditionsUrlFileExtensionConditionArgsBuilder internal constructor() {
private var matchValues: Output>? = null
private var negateCondition: Output? = null
private var `operator`: Output? = null
private var transforms: Output>? = null
/**
* @param value A list of one or more string or integer values(e.g. "1") representing the value of the request file extension to match. If multiple values are specified, they're evaluated using `OR` logic.
*/
@JvmName("rqwcehakufjunyst")
public suspend fun matchValues(`value`: Output>) {
this.matchValues = value
}
@JvmName("icvwjrkfbxwawwws")
public suspend fun matchValues(vararg values: Output) {
this.matchValues = Output.all(values.asList())
}
/**
* @param values A list of one or more string or integer values(e.g. "1") representing the value of the request file extension to match. If multiple values are specified, they're evaluated using `OR` logic.
*/
@JvmName("wplpleemdefcvjgb")
public suspend fun matchValues(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy