com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancerMetalLbConfigAddressPool.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.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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.
* @property pool The name of the address pool.
*/
public data class BareMetalClusterLoadBalancerMetalLbConfigAddressPool(
public val addresses: List,
public val avoidBuggyIps: Boolean? = null,
public val manualAssign: Boolean? = null,
public val pool: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.BareMetalClusterLoadBalancerMetalLbConfigAddressPool): BareMetalClusterLoadBalancerMetalLbConfigAddressPool =
BareMetalClusterLoadBalancerMetalLbConfigAddressPool(
addresses = javaType.addresses().map({ args0 -> args0 }),
avoidBuggyIps = javaType.avoidBuggyIps().map({ args0 -> args0 }).orElse(null),
manualAssign = javaType.manualAssign().map({ args0 -> args0 }).orElse(null),
pool = javaType.pool(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy