com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterLoadBalancerMetalLbConfigArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerMetalLbConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 BareMetalClusterLoadBalancerMetalLbConfigArgs(
public val addressPools: Output>,
public val loadBalancerNodePoolConfig: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerMetalLbConfigArgs =
com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerMetalLbConfigArgs.builder()
.addressPools(
addressPools.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.loadBalancerNodePoolConfig(
loadBalancerNodePoolConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [BareMetalClusterLoadBalancerMetalLbConfigArgs].
*/
@PulumiTagMarker
public class BareMetalClusterLoadBalancerMetalLbConfigArgsBuilder internal constructor() {
private var addressPools: Output>? =
null
private var loadBalancerNodePoolConfig:
Output? = null
/**
* @param value 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.
*/
@JvmName("mwjqptophvhjhpwy")
public suspend fun addressPools(`value`: Output>) {
this.addressPools = value
}
@JvmName("wmrsbmfmeghfnobw")
public suspend fun addressPools(vararg values: Output) {
this.addressPools = Output.all(values.asList())
}
/**
* @param values 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.
*/
@JvmName("cbccextnmifwytbk")
public suspend fun addressPools(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy