All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.container.kotlin.inputs.ClusterReleaseChannelArgs.kt Maven / Gradle / Ivy

@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.ClusterReleaseChannelArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property channel The selected release channel.
 * Accepted values are:
 * * UNSPECIFIED: Not set.
 * * RAPID: Weekly upgrade cadence; Early testers and developers who requires new features.
 * * REGULAR: Multiple per month upgrade cadence; Production users who need features not yet offered in the Stable channel.
 * * STABLE: Every few months upgrade cadence; Production users who need stability above all else, and for whom frequent upgrades are too risky.
 * * EXTENDED: GKE provides extended support for Kubernetes minor versions through the Extended channel. With this channel, you can stay on a minor version for up to 24 months.
 */
public data class ClusterReleaseChannelArgs(
    public val channel: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.ClusterReleaseChannelArgs =
        com.pulumi.gcp.container.inputs.ClusterReleaseChannelArgs.builder()
            .channel(channel.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterReleaseChannelArgs].
 */
@PulumiTagMarker
public class ClusterReleaseChannelArgsBuilder internal constructor() {
    private var channel: Output? = null

    /**
     * @param value The selected release channel.
     * Accepted values are:
     * * UNSPECIFIED: Not set.
     * * RAPID: Weekly upgrade cadence; Early testers and developers who requires new features.
     * * REGULAR: Multiple per month upgrade cadence; Production users who need features not yet offered in the Stable channel.
     * * STABLE: Every few months upgrade cadence; Production users who need stability above all else, and for whom frequent upgrades are too risky.
     * * EXTENDED: GKE provides extended support for Kubernetes minor versions through the Extended channel. With this channel, you can stay on a minor version for up to 24 months.
     */
    @JvmName("lbkttwjtveerwcxv")
    public suspend fun channel(`value`: Output) {
        this.channel = value
    }

    /**
     * @param value The selected release channel.
     * Accepted values are:
     * * UNSPECIFIED: Not set.
     * * RAPID: Weekly upgrade cadence; Early testers and developers who requires new features.
     * * REGULAR: Multiple per month upgrade cadence; Production users who need features not yet offered in the Stable channel.
     * * STABLE: Every few months upgrade cadence; Production users who need stability above all else, and for whom frequent upgrades are too risky.
     * * EXTENDED: GKE provides extended support for Kubernetes minor versions through the Extended channel. With this channel, you can stay on a minor version for up to 24 months.
     */
    @JvmName("kgownnuayolnfnpw")
    public suspend fun channel(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.channel = mapped
    }

    internal fun build(): ClusterReleaseChannelArgs = ClusterReleaseChannelArgs(
        channel = channel ?: throw PulumiNullFieldException("channel"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy