com.pulumi.gcp.container.kotlin.inputs.ClusterAddonsConfigHttpLoadBalancingArgs.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.container.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.ClusterAddonsConfigHttpLoadBalancingArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property disabled Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when defaultSnatStatus is disabled.When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic
* The `cluster_telemetry` block supports
*/
public data class ClusterAddonsConfigHttpLoadBalancingArgs(
public val disabled: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.ClusterAddonsConfigHttpLoadBalancingArgs =
com.pulumi.gcp.container.inputs.ClusterAddonsConfigHttpLoadBalancingArgs.builder()
.disabled(disabled.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterAddonsConfigHttpLoadBalancingArgs].
*/
@PulumiTagMarker
public class ClusterAddonsConfigHttpLoadBalancingArgsBuilder internal constructor() {
private var disabled: Output? = null
/**
* @param value Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when defaultSnatStatus is disabled.When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic
* The `cluster_telemetry` block supports
*/
@JvmName("xnqtrrnfbbeglscq")
public suspend fun disabled(`value`: Output) {
this.disabled = value
}
/**
* @param value Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when defaultSnatStatus is disabled.When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic
* The `cluster_telemetry` block supports
*/
@JvmName("fhpntvvfebmhfbsk")
public suspend fun disabled(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.disabled = mapped
}
internal fun build(): ClusterAddonsConfigHttpLoadBalancingArgs =
ClusterAddonsConfigHttpLoadBalancingArgs(
disabled = disabled ?: throw PulumiNullFieldException("disabled"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy