![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.network.kotlin.inputs.BgpSettingsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.BgpSettingsArgs.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.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* BGP settings details.
* @property asn The BGP speaker's ASN.
* @property bgpPeeringAddress The BGP peering address and BGP identifier of this BGP speaker.
* @property bgpPeeringAddresses BGP peering address with IP configuration ID for virtual network gateway.
* @property peerWeight The weight added to routes learned from this BGP speaker.
*/
public data class BgpSettingsArgs(
public val asn: Output? = null,
public val bgpPeeringAddress: Output? = null,
public val bgpPeeringAddresses: Output>? = null,
public val peerWeight: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.BgpSettingsArgs =
com.pulumi.azurenative.network.inputs.BgpSettingsArgs.builder()
.asn(asn?.applyValue({ args0 -> args0 }))
.bgpPeeringAddress(bgpPeeringAddress?.applyValue({ args0 -> args0 }))
.bgpPeeringAddresses(
bgpPeeringAddresses?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.peerWeight(peerWeight?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BgpSettingsArgs].
*/
@PulumiTagMarker
public class BgpSettingsArgsBuilder internal constructor() {
private var asn: Output? = null
private var bgpPeeringAddress: Output? = null
private var bgpPeeringAddresses: Output>? = null
private var peerWeight: Output? = null
/**
* @param value The BGP speaker's ASN.
*/
@JvmName("qumvqmxkhdlyljvn")
public suspend fun asn(`value`: Output) {
this.asn = value
}
/**
* @param value The BGP peering address and BGP identifier of this BGP speaker.
*/
@JvmName("ignddjjdqbgfkwky")
public suspend fun bgpPeeringAddress(`value`: Output) {
this.bgpPeeringAddress = value
}
/**
* @param value BGP peering address with IP configuration ID for virtual network gateway.
*/
@JvmName("dfyybyvbirqhdith")
public suspend fun bgpPeeringAddresses(`value`: Output>) {
this.bgpPeeringAddresses = value
}
@JvmName("afcheknjstaknnbl")
public suspend fun bgpPeeringAddresses(vararg values: Output) {
this.bgpPeeringAddresses = Output.all(values.asList())
}
/**
* @param values BGP peering address with IP configuration ID for virtual network gateway.
*/
@JvmName("itirgyckrlpwtvwp")
public suspend fun bgpPeeringAddresses(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy