com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancer.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.Suppress
/**
*
* @property bgpLbConfig Configuration for BGP typed load balancers.
* Structure is documented below.
* @property manualLbConfig A nested object resource
* Structure is documented below.
* @property metalLbConfig A nested object resource
* Structure is documented below.
* @property portConfig Specifies the load balancer ports.
* Structure is documented below.
* @property vipConfig Specified the Bare Metal Load Balancer Config
* Structure is documented below.
*/
public data class BareMetalClusterLoadBalancer(
public val bgpLbConfig: BareMetalClusterLoadBalancerBgpLbConfig? = null,
public val manualLbConfig: BareMetalClusterLoadBalancerManualLbConfig? = null,
public val metalLbConfig: BareMetalClusterLoadBalancerMetalLbConfig? = null,
public val portConfig: BareMetalClusterLoadBalancerPortConfig,
public val vipConfig: BareMetalClusterLoadBalancerVipConfig,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.BareMetalClusterLoadBalancer): BareMetalClusterLoadBalancer = BareMetalClusterLoadBalancer(
bgpLbConfig = javaType.bgpLbConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancerBgpLbConfig.Companion.toKotlin(args0)
})
}).orElse(null),
manualLbConfig = javaType.manualLbConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancerManualLbConfig.Companion.toKotlin(args0)
})
}).orElse(null),
metalLbConfig = javaType.metalLbConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancerMetalLbConfig.Companion.toKotlin(args0)
})
}).orElse(null),
portConfig = javaType.portConfig().let({ args0 ->
com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancerPortConfig.Companion.toKotlin(args0)
}),
vipConfig = javaType.vipConfig().let({ args0 ->
com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancerVipConfig.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy