
com.pulumi.azurenative.peering.kotlin.inputs.PeeringPropertiesExchangeArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.peering.kotlin.inputs
import com.pulumi.azurenative.peering.inputs.PeeringPropertiesExchangeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The properties that define an exchange peering.
* @property connections The set of connections that constitute an exchange peering.
* @property peerAsn The reference of the peer ASN.
*/
public data class PeeringPropertiesExchangeArgs(
public val connections: Output>? = null,
public val peerAsn: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.peering.inputs.PeeringPropertiesExchangeArgs =
com.pulumi.azurenative.peering.inputs.PeeringPropertiesExchangeArgs.builder()
.connections(
connections?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.peerAsn(peerAsn?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [PeeringPropertiesExchangeArgs].
*/
@PulumiTagMarker
public class PeeringPropertiesExchangeArgsBuilder internal constructor() {
private var connections: Output>? = null
private var peerAsn: Output? = null
/**
* @param value The set of connections that constitute an exchange peering.
*/
@JvmName("ojwactuajmeiojcm")
public suspend fun connections(`value`: Output>) {
this.connections = value
}
@JvmName("wfpvrtsbpjggtbtg")
public suspend fun connections(vararg values: Output) {
this.connections = Output.all(values.asList())
}
/**
* @param values The set of connections that constitute an exchange peering.
*/
@JvmName("xpyrdhdikijktpme")
public suspend fun connections(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy