
com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.gkeonprem.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property asn BGP autonomous system number (ASN) for the network that contains the
* external peer device.
* @property controlPlaneNodes The IP address of the control plane node that connects to the external
* peer.
* If you don't specify any control plane nodes, all control plane nodes
* can connect to the external peer. If you specify one or more IP addresses,
* only the nodes specified participate in peering sessions.
* @property ipAddress The IP address of the external peer device.
*/
public data class BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArgs(
public val asn: Output,
public val controlPlaneNodes: Output>? = null,
public val ipAddress: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArgs =
com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArgs.builder()
.asn(asn.applyValue({ args0 -> args0 }))
.controlPlaneNodes(controlPlaneNodes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.ipAddress(ipAddress.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArgs].
*/
@PulumiTagMarker
public class BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArgsBuilder internal constructor() {
private var asn: Output? = null
private var controlPlaneNodes: Output>? = null
private var ipAddress: Output? = null
/**
* @param value BGP autonomous system number (ASN) for the network that contains the
* external peer device.
*/
@JvmName("frlhkjebebqgmlgt")
public suspend fun asn(`value`: Output) {
this.asn = value
}
/**
* @param value The IP address of the control plane node that connects to the external
* peer.
* If you don't specify any control plane nodes, all control plane nodes
* can connect to the external peer. If you specify one or more IP addresses,
* only the nodes specified participate in peering sessions.
*/
@JvmName("twiperfjlmxkgosm")
public suspend fun controlPlaneNodes(`value`: Output>) {
this.controlPlaneNodes = value
}
@JvmName("crorxlceaodecvaf")
public suspend fun controlPlaneNodes(vararg values: Output) {
this.controlPlaneNodes = Output.all(values.asList())
}
/**
* @param values The IP address of the control plane node that connects to the external
* peer.
* If you don't specify any control plane nodes, all control plane nodes
* can connect to the external peer. If you specify one or more IP addresses,
* only the nodes specified participate in peering sessions.
*/
@JvmName("inxdcpxgxbbxtlgx")
public suspend fun controlPlaneNodes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy