
com.pulumi.azurenative.network.kotlin.inputs.ExpressRouteCircuitConnectionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.ExpressRouteCircuitConnectionArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
* @property addressPrefix /29 IP address space to carve out Customer addresses for tunnels.
* @property authorizationKey The authorization key.
* @property expressRouteCircuitPeering Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
* @property id Resource ID.
* @property ipv6CircuitConnectionConfig IPv6 Address PrefixProperties of the express route circuit connection.
* @property name The name of the resource that is unique within a resource group. This name can be used to access the resource.
* @property peerExpressRouteCircuitPeering Reference to Express Route Circuit Private Peering Resource of the peered circuit.
*/
public data class ExpressRouteCircuitConnectionArgs(
public val addressPrefix: Output? = null,
public val authorizationKey: Output? = null,
public val expressRouteCircuitPeering: Output? = null,
public val id: Output? = null,
public val ipv6CircuitConnectionConfig: Output? = null,
public val name: Output? = null,
public val peerExpressRouteCircuitPeering: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.ExpressRouteCircuitConnectionArgs =
com.pulumi.azurenative.network.inputs.ExpressRouteCircuitConnectionArgs.builder()
.addressPrefix(addressPrefix?.applyValue({ args0 -> args0 }))
.authorizationKey(authorizationKey?.applyValue({ args0 -> args0 }))
.expressRouteCircuitPeering(
expressRouteCircuitPeering?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.id(id?.applyValue({ args0 -> args0 }))
.ipv6CircuitConnectionConfig(
ipv6CircuitConnectionConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.name(name?.applyValue({ args0 -> args0 }))
.peerExpressRouteCircuitPeering(
peerExpressRouteCircuitPeering?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
).build()
}
/**
* Builder for [ExpressRouteCircuitConnectionArgs].
*/
@PulumiTagMarker
public class ExpressRouteCircuitConnectionArgsBuilder internal constructor() {
private var addressPrefix: Output? = null
private var authorizationKey: Output? = null
private var expressRouteCircuitPeering: Output? = null
private var id: Output? = null
private var ipv6CircuitConnectionConfig: Output? = null
private var name: Output? = null
private var peerExpressRouteCircuitPeering: Output? = null
/**
* @param value /29 IP address space to carve out Customer addresses for tunnels.
*/
@JvmName("bugmmdlqyjwvrbgr")
public suspend fun addressPrefix(`value`: Output) {
this.addressPrefix = value
}
/**
* @param value The authorization key.
*/
@JvmName("jlpocevpdivewfhk")
public suspend fun authorizationKey(`value`: Output) {
this.authorizationKey = value
}
/**
* @param value Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
*/
@JvmName("gdsdyqgcsqbrwohc")
public suspend fun expressRouteCircuitPeering(`value`: Output) {
this.expressRouteCircuitPeering = value
}
/**
* @param value Resource ID.
*/
@JvmName("chmxgeocffexwayn")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value IPv6 Address PrefixProperties of the express route circuit connection.
*/
@JvmName("vxoxuvpuernkmfoc")
public suspend fun ipv6CircuitConnectionConfig(`value`: Output) {
this.ipv6CircuitConnectionConfig = value
}
/**
* @param value The name of the resource that is unique within a resource group. This name can be used to access the resource.
*/
@JvmName("umoujvqhpvrbtkdt")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Reference to Express Route Circuit Private Peering Resource of the peered circuit.
*/
@JvmName("jbmuuxbrdjwkbwwb")
public suspend fun peerExpressRouteCircuitPeering(`value`: Output) {
this.peerExpressRouteCircuitPeering = value
}
/**
* @param value /29 IP address space to carve out Customer addresses for tunnels.
*/
@JvmName("hhfcfbwiwpbnduav")
public suspend fun addressPrefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.addressPrefix = mapped
}
/**
* @param value The authorization key.
*/
@JvmName("ddbjgmfjxfaaeadr")
public suspend fun authorizationKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.authorizationKey = mapped
}
/**
* @param value Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
*/
@JvmName("axjfahdhdvcwbxyw")
public suspend fun expressRouteCircuitPeering(`value`: SubResourceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.expressRouteCircuitPeering = mapped
}
/**
* @param argument Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
*/
@JvmName("dtoxiygevoopywqu")
public suspend fun expressRouteCircuitPeering(argument: suspend SubResourceArgsBuilder.() -> Unit) {
val toBeMapped = SubResourceArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.expressRouteCircuitPeering = mapped
}
/**
* @param value Resource ID.
*/
@JvmName("squddbrilegxftat")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value IPv6 Address PrefixProperties of the express route circuit connection.
*/
@JvmName("pryyhjtyrjilqdgf")
public suspend fun ipv6CircuitConnectionConfig(`value`: Ipv6CircuitConnectionConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ipv6CircuitConnectionConfig = mapped
}
/**
* @param argument IPv6 Address PrefixProperties of the express route circuit connection.
*/
@JvmName("mnygmaxeaxhcvpev")
public suspend fun ipv6CircuitConnectionConfig(argument: suspend Ipv6CircuitConnectionConfigArgsBuilder.() -> Unit) {
val toBeMapped = Ipv6CircuitConnectionConfigArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.ipv6CircuitConnectionConfig = mapped
}
/**
* @param value The name of the resource that is unique within a resource group. This name can be used to access the resource.
*/
@JvmName("hnyfwqbhhexnjxdi")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Reference to Express Route Circuit Private Peering Resource of the peered circuit.
*/
@JvmName("jtcveayrljdbqhgb")
public suspend fun peerExpressRouteCircuitPeering(`value`: SubResourceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.peerExpressRouteCircuitPeering = mapped
}
/**
* @param argument Reference to Express Route Circuit Private Peering Resource of the peered circuit.
*/
@JvmName("ovwskvkwojkevjoo")
public suspend fun peerExpressRouteCircuitPeering(argument: suspend SubResourceArgsBuilder.() -> Unit) {
val toBeMapped = SubResourceArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.peerExpressRouteCircuitPeering = mapped
}
internal fun build(): ExpressRouteCircuitConnectionArgs = ExpressRouteCircuitConnectionArgs(
addressPrefix = addressPrefix,
authorizationKey = authorizationKey,
expressRouteCircuitPeering = expressRouteCircuitPeering,
id = id,
ipv6CircuitConnectionConfig = ipv6CircuitConnectionConfig,
name = name,
peerExpressRouteCircuitPeering = peerExpressRouteCircuitPeering,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy