![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.cdn.kotlin.inputs.EndpointDeliveryRuleRemoteAddressConditionArgs.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.EndpointDeliveryRuleRemoteAddressConditionArgs.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 List of string values. For `GeoMatch` `operator` this should be a list of country codes (e.g. `US` or `DE`). List of IP address if `operator` equals to `IPMatch`. This is required if `operator` is not `Any`.
* @property negateCondition Defaults to `false`.
* @property operator Valid values are `Any`, `GeoMatch` and `IPMatch`.
*/
public data class EndpointDeliveryRuleRemoteAddressConditionArgs(
public val matchValues: Output>? = null,
public val negateCondition: Output? = null,
public val `operator`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cdn.inputs.EndpointDeliveryRuleRemoteAddressConditionArgs = com.pulumi.azure.cdn.inputs.EndpointDeliveryRuleRemoteAddressConditionArgs.builder()
.matchValues(matchValues?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.negateCondition(negateCondition?.applyValue({ args0 -> args0 }))
.`operator`(`operator`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EndpointDeliveryRuleRemoteAddressConditionArgs].
*/
@PulumiTagMarker
public class EndpointDeliveryRuleRemoteAddressConditionArgsBuilder internal constructor() {
private var matchValues: Output>? = null
private var negateCondition: Output? = null
private var `operator`: Output? = null
/**
* @param value List of string values. For `GeoMatch` `operator` this should be a list of country codes (e.g. `US` or `DE`). List of IP address if `operator` equals to `IPMatch`. This is required if `operator` is not `Any`.
*/
@JvmName("hpwyreelpoqdhmxs")
public suspend fun matchValues(`value`: Output>) {
this.matchValues = value
}
@JvmName("iaixsvwktteycptn")
public suspend fun matchValues(vararg values: Output) {
this.matchValues = Output.all(values.asList())
}
/**
* @param values List of string values. For `GeoMatch` `operator` this should be a list of country codes (e.g. `US` or `DE`). List of IP address if `operator` equals to `IPMatch`. This is required if `operator` is not `Any`.
*/
@JvmName("lnpjdtnfwivuoldj")
public suspend fun matchValues(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy