com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancerBgpLbConfig.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.Suppress
import kotlin.collections.List
/**
*
* @property addressPools AddressPools is a list of non-overlapping IP pools used by load balancer
* typed services. All addresses must be routable to load balancer nodes.
* IngressVIP must be included in the pools.
* Structure is documented below.
* @property asn BGP autonomous system number (ASN) of the cluster.
* This field can be updated after cluster creation.
* @property bgpPeerConfigs The list of BGP peers that the cluster will connect to.
* At least one peer must be configured for each control plane node.
* Control plane nodes will connect to these peers to advertise the control
* plane VIP. The Services load balancer also uses these peers by default.
* This field can be updated after cluster creation.
* Structure is documented below.
* @property loadBalancerNodePoolConfig Specifies the node pool running data plane load balancing. L2 connectivity
* is required among nodes in this pool. If missing, the control plane node
* pool is used for data plane load balancing.
* Structure is documented below.
*/
public data class BareMetalClusterLoadBalancerBgpLbConfig(
public val addressPools: List,
public val asn: Int,
public val bgpPeerConfigs: List,
public val loadBalancerNodePoolConfig: BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfig? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.BareMetalClusterLoadBalancerBgpLbConfig): BareMetalClusterLoadBalancerBgpLbConfig = BareMetalClusterLoadBalancerBgpLbConfig(
addressPools = javaType.addressPools().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancerBgpLbConfigAddressPool.Companion.toKotlin(args0)
})
}),
asn = javaType.asn(),
bgpPeerConfigs = javaType.bgpPeerConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfig.Companion.toKotlin(args0)
})
}),
loadBalancerNodePoolConfig = javaType.loadBalancerNodePoolConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfig.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy