All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalAdminClusterLoadBalancer.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.gkeonprem.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property manualLbConfig 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 BareMetalAdminClusterLoadBalancer(
    public val manualLbConfig: BareMetalAdminClusterLoadBalancerManualLbConfig? = null,
    public val portConfig: BareMetalAdminClusterLoadBalancerPortConfig,
    public val vipConfig: BareMetalAdminClusterLoadBalancerVipConfig,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.BareMetalAdminClusterLoadBalancer): BareMetalAdminClusterLoadBalancer = BareMetalAdminClusterLoadBalancer(
            manualLbConfig = javaType.manualLbConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalAdminClusterLoadBalancerManualLbConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            portConfig = javaType.portConfig().let({ args0 ->
                com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalAdminClusterLoadBalancerPortConfig.Companion.toKotlin(args0)
            }),
            vipConfig = javaType.vipConfig().let({ args0 ->
                com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalAdminClusterLoadBalancerVipConfig.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy