com.pulumi.gcp.gkeonprem.kotlin.inputs.VMwareClusterLoadBalancerMetalLbConfigAddressPoolArgs.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.VMwareClusterLoadBalancerMetalLbConfigAddressPoolArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property addresses The addresses that are part of this pool. Each address
* must be either in the CIDR form (1.2.3.0/24) or range
* form (1.2.3.1-1.2.3.5).
* @property avoidBuggyIps If true, avoid using IPs ending in .0 or .255.
* This avoids buggy consumer devices mistakenly dropping IPv4 traffic for
* those special IP addresses.
* @property manualAssign If true, prevent IP addresses from being automatically assigned.
* The `dataplane_v2` block supports:
* @property pool The name of the address pool.
*/
public data class VMwareClusterLoadBalancerMetalLbConfigAddressPoolArgs(
public val addresses: Output>,
public val avoidBuggyIps: Output? = null,
public val manualAssign: Output? = null,
public val pool: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.VMwareClusterLoadBalancerMetalLbConfigAddressPoolArgs =
com.pulumi.gcp.gkeonprem.inputs.VMwareClusterLoadBalancerMetalLbConfigAddressPoolArgs.builder()
.addresses(addresses.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.avoidBuggyIps(avoidBuggyIps?.applyValue({ args0 -> args0 }))
.manualAssign(manualAssign?.applyValue({ args0 -> args0 }))
.pool(pool.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VMwareClusterLoadBalancerMetalLbConfigAddressPoolArgs].
*/
@PulumiTagMarker
public class VMwareClusterLoadBalancerMetalLbConfigAddressPoolArgsBuilder internal constructor() {
private var addresses: Output>? = null
private var avoidBuggyIps: Output? = null
private var manualAssign: Output? = null
private var pool: Output? = null
/**
* @param value The addresses that are part of this pool. Each address
* must be either in the CIDR form (1.2.3.0/24) or range
* form (1.2.3.1-1.2.3.5).
*/
@JvmName("fahdwrccinkfbkkv")
public suspend fun addresses(`value`: Output>) {
this.addresses = value
}
@JvmName("aluhncbmhfofdnsg")
public suspend fun addresses(vararg values: Output) {
this.addresses = Output.all(values.asList())
}
/**
* @param values The addresses that are part of this pool. Each address
* must be either in the CIDR form (1.2.3.0/24) or range
* form (1.2.3.1-1.2.3.5).
*/
@JvmName("sdrlvmaglehtwmdw")
public suspend fun addresses(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy