
com.pulumi.googlenative.container.v1beta1.kotlin.inputs.DefaultSnatStatusArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.container.v1beta1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.container.v1beta1.inputs.DefaultSnatStatusArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster.
* @property disabled Disables cluster default sNAT rules.
*/
public data class DefaultSnatStatusArgs(
public val disabled: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.container.v1beta1.inputs.DefaultSnatStatusArgs =
com.pulumi.googlenative.container.v1beta1.inputs.DefaultSnatStatusArgs.builder()
.disabled(disabled?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DefaultSnatStatusArgs].
*/
@PulumiTagMarker
public class DefaultSnatStatusArgsBuilder internal constructor() {
private var disabled: Output? = null
/**
* @param value Disables cluster default sNAT rules.
*/
@JvmName("pukiaagxelarnifm")
public suspend fun disabled(`value`: Output) {
this.disabled = value
}
/**
* @param value Disables cluster default sNAT rules.
*/
@JvmName("auogstdtioqvmiah")
public suspend fun disabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.disabled = mapped
}
internal fun build(): DefaultSnatStatusArgs = DefaultSnatStatusArgs(
disabled = disabled,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy