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

com.pulumi.gcp.gkeonprem.kotlin.outputs.VMwareClusterLoadBalancer.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 f5Config Configuration for F5 Big IP typed load balancers.
 * Structure is documented below.
 * @property manualLbConfig Manually configured load balancers.
 * Structure is documented below.
 * @property metalLbConfig Configuration for MetalLB typed load balancers.
 * Structure is documented below.
 * @property vipConfig The VIPs used by the load balancer.
 * Structure is documented below.
 */
public data class VMwareClusterLoadBalancer(
    public val f5Config: VMwareClusterLoadBalancerF5Config? = null,
    public val manualLbConfig: VMwareClusterLoadBalancerManualLbConfig? = null,
    public val metalLbConfig: VMwareClusterLoadBalancerMetalLbConfig? = null,
    public val vipConfig: VMwareClusterLoadBalancerVipConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.VMwareClusterLoadBalancer): VMwareClusterLoadBalancer = VMwareClusterLoadBalancer(
            f5Config = javaType.f5Config().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.gkeonprem.kotlin.outputs.VMwareClusterLoadBalancerF5Config.Companion.toKotlin(args0)
                })
            }).orElse(null),
            manualLbConfig = javaType.manualLbConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.gkeonprem.kotlin.outputs.VMwareClusterLoadBalancerManualLbConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            metalLbConfig = javaType.metalLbConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.gkeonprem.kotlin.outputs.VMwareClusterLoadBalancerMetalLbConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            vipConfig = javaType.vipConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.gkeonprem.kotlin.outputs.VMwareClusterLoadBalancerVipConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy