com.pulumi.azurenative.network.kotlin.inputs.ExpressRouteCircuitPeeringConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.ExpressRouteCircuitPeeringConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Specifies the peering configuration.
* @property advertisedCommunities The communities of bgp peering. Specified for microsoft peering.
* @property advertisedPublicPrefixes The reference to AdvertisedPublicPrefixes.
* @property customerASN The CustomerASN of the peering.
* @property legacyMode The legacy mode of the peering.
* @property routingRegistryName The RoutingRegistryName of the configuration.
*/
public data class ExpressRouteCircuitPeeringConfigArgs(
public val advertisedCommunities: Output>? = null,
public val advertisedPublicPrefixes: Output>? = null,
public val customerASN: Output? = null,
public val legacyMode: Output? = null,
public val routingRegistryName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.ExpressRouteCircuitPeeringConfigArgs = com.pulumi.azurenative.network.inputs.ExpressRouteCircuitPeeringConfigArgs.builder()
.advertisedCommunities(advertisedCommunities?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.advertisedPublicPrefixes(
advertisedPublicPrefixes?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.customerASN(customerASN?.applyValue({ args0 -> args0 }))
.legacyMode(legacyMode?.applyValue({ args0 -> args0 }))
.routingRegistryName(routingRegistryName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ExpressRouteCircuitPeeringConfigArgs].
*/
@PulumiTagMarker
public class ExpressRouteCircuitPeeringConfigArgsBuilder internal constructor() {
private var advertisedCommunities: Output>? = null
private var advertisedPublicPrefixes: Output>? = null
private var customerASN: Output? = null
private var legacyMode: Output? = null
private var routingRegistryName: Output? = null
/**
* @param value The communities of bgp peering. Specified for microsoft peering.
*/
@JvmName("heopagebpsqirmrv")
public suspend fun advertisedCommunities(`value`: Output>) {
this.advertisedCommunities = value
}
@JvmName("yifuyglurrxpvgda")
public suspend fun advertisedCommunities(vararg values: Output) {
this.advertisedCommunities = Output.all(values.asList())
}
/**
* @param values The communities of bgp peering. Specified for microsoft peering.
*/
@JvmName("agdxmblbroddndgl")
public suspend fun advertisedCommunities(values: List