
com.pulumi.azure.cdn.kotlin.inputs.FrontdoorRuleConditionsSocketAddressConditionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.cdn.kotlin.inputs
import com.pulumi.azure.cdn.inputs.FrontdoorRuleConditionsSocketAddressConditionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property matchValues Specify one or more IP address ranges. If multiple IP address ranges are specified, they're evaluated using `OR` logic.
* ->**NOTE:** See the `Specifying IP Address Ranges` section below on how to correctly define the `match_values` field.
* @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 The type of match. The Possible values are `IpMatch` or `Any`. Defaults to `IPMatch`.
* ->**NOTE:** If the value of the `operator` field is set to `IpMatch` then the `match_values` field is also required.
*/
public data class FrontdoorRuleConditionsSocketAddressConditionArgs(
public val matchValues: Output>? = null,
public val negateCondition: Output? = null,
public val `operator`: Output? = null,
) : ConvertibleToJava {
override fun toJava():
com.pulumi.azure.cdn.inputs.FrontdoorRuleConditionsSocketAddressConditionArgs =
com.pulumi.azure.cdn.inputs.FrontdoorRuleConditionsSocketAddressConditionArgs.builder()
.matchValues(matchValues?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.negateCondition(negateCondition?.applyValue({ args0 -> args0 }))
.`operator`(`operator`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FrontdoorRuleConditionsSocketAddressConditionArgs].
*/
@PulumiTagMarker
public class FrontdoorRuleConditionsSocketAddressConditionArgsBuilder internal constructor() {
private var matchValues: Output>? = null
private var negateCondition: Output? = null
private var `operator`: Output? = null
/**
* @param value Specify one or more IP address ranges. If multiple IP address ranges are specified, they're evaluated using `OR` logic.
* ->**NOTE:** See the `Specifying IP Address Ranges` section below on how to correctly define the `match_values` field.
*/
@JvmName("hiceovauplqfhlsg")
public suspend fun matchValues(`value`: Output>) {
this.matchValues = value
}
@JvmName("jfrxelthxcllnfky")
public suspend fun matchValues(vararg values: Output) {
this.matchValues = Output.all(values.asList())
}
/**
* @param values Specify one or more IP address ranges. If multiple IP address ranges are specified, they're evaluated using `OR` logic.
* ->**NOTE:** See the `Specifying IP Address Ranges` section below on how to correctly define the `match_values` field.
*/
@JvmName("ralmarxocmgydxup")
public suspend fun matchValues(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy