com.pulumi.googlenative.container.v1beta1.kotlin.inputs.ReleaseChannelArgs.kt Maven / Gradle / Ivy
@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.ReleaseChannelArgs.builder
import com.pulumi.googlenative.container.v1beta1.kotlin.enums.ReleaseChannelChannel
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled.
* @property channel channel specifies which release channel the cluster is subscribed to.
*/
public data class ReleaseChannelArgs(
public val channel: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.container.v1beta1.inputs.ReleaseChannelArgs =
com.pulumi.googlenative.container.v1beta1.inputs.ReleaseChannelArgs.builder()
.channel(channel?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ReleaseChannelArgs].
*/
@PulumiTagMarker
public class ReleaseChannelArgsBuilder internal constructor() {
private var channel: Output? = null
/**
* @param value channel specifies which release channel the cluster is subscribed to.
*/
@JvmName("wfiqxbkdjsqmkixk")
public suspend fun channel(`value`: Output) {
this.channel = value
}
/**
* @param value channel specifies which release channel the cluster is subscribed to.
*/
@JvmName("lnofvvgmwuxpugmv")
public suspend fun channel(`value`: ReleaseChannelChannel?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.channel = mapped
}
internal fun build(): ReleaseChannelArgs = ReleaseChannelArgs(
channel = channel,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy