com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfig.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.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfig(
public val asn: Int,
public val controlPlaneNodes: List? = null,
public val ipAddress: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfig): BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfig =
BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfig(
asn = javaType.asn(),
controlPlaneNodes = javaType.controlPlaneNodes().map({ args0 -> args0 }),
ipAddress = javaType.ipAddress(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy