com.pulumi.azure.network.kotlin.inputs.RouteMapRuleMatchCriterionArgs.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.network.kotlin.inputs
import com.pulumi.azure.network.inputs.RouteMapRuleMatchCriterionArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property asPaths A list of AS paths which this criterion matches.
* @property communities A list of BGP communities which this criterion matches.
* @property matchCondition The match condition to apply the rule of the Route Map. Possible values are `Contains`, `Equals`, `NotContains`, `NotEquals` and `Unknown`.
* @property routePrefixes A list of route prefixes which this criterion matches.
*/
public data class RouteMapRuleMatchCriterionArgs(
public val asPaths: Output>? = null,
public val communities: Output>? = null,
public val matchCondition: Output,
public val routePrefixes: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.RouteMapRuleMatchCriterionArgs =
com.pulumi.azure.network.inputs.RouteMapRuleMatchCriterionArgs.builder()
.asPaths(asPaths?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.communities(communities?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.matchCondition(matchCondition.applyValue({ args0 -> args0 }))
.routePrefixes(routePrefixes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [RouteMapRuleMatchCriterionArgs].
*/
@PulumiTagMarker
public class RouteMapRuleMatchCriterionArgsBuilder internal constructor() {
private var asPaths: Output>? = null
private var communities: Output>? = null
private var matchCondition: Output? = null
private var routePrefixes: Output>? = null
/**
* @param value A list of AS paths which this criterion matches.
*/
@JvmName("sluoqrnpkvreuiok")
public suspend fun asPaths(`value`: Output>) {
this.asPaths = value
}
@JvmName("mfasrtfxgellqdhv")
public suspend fun asPaths(vararg values: Output) {
this.asPaths = Output.all(values.asList())
}
/**
* @param values A list of AS paths which this criterion matches.
*/
@JvmName("hhcjwevfiippvedm")
public suspend fun asPaths(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy