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

com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancerMetalLbConfig.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

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 loadBalancerNodePoolConfig Specifies the load balancer's node pool configuration.
 * Structure is documented below.
 */
public data class BareMetalClusterLoadBalancerMetalLbConfig(
    public val addressPools: List,
    public val loadBalancerNodePoolConfig: BareMetalClusterLoadBalancerMetalLbConfigLoadBalancerNodePoolConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.BareMetalClusterLoadBalancerMetalLbConfig): BareMetalClusterLoadBalancerMetalLbConfig = BareMetalClusterLoadBalancerMetalLbConfig(
            addressPools = javaType.addressPools().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancerMetalLbConfigAddressPool.Companion.toKotlin(args0)
                })
            }),
            loadBalancerNodePoolConfig = javaType.loadBalancerNodePoolConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancerMetalLbConfigLoadBalancerNodePoolConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy