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

com.pulumi.googlenative.container.v1.kotlin.enums.WindowsNodeConfigOsVersion.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.container.v1.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * OSVersion specifies the Windows node config to be used on the node
 */
public enum class WindowsNodeConfigOsVersion(
    public val javaValue: com.pulumi.googlenative.container.v1.enums.WindowsNodeConfigOsVersion,
) : ConvertibleToJava {
    /**
     * When OSVersion is not specified
     */
    OsVersionUnspecified(com.pulumi.googlenative.container.v1.enums.WindowsNodeConfigOsVersion.OsVersionUnspecified),

    /**
     * LTSC2019 specifies to use LTSC2019 as the Windows Servercore Base Image
     */
    OsVersionLtsc2019(com.pulumi.googlenative.container.v1.enums.WindowsNodeConfigOsVersion.OsVersionLtsc2019),

    /**
     * LTSC2022 specifies to use LTSC2022 as the Windows Servercore Base Image
     */
    OsVersionLtsc2022(com.pulumi.googlenative.container.v1.enums.WindowsNodeConfigOsVersion.OsVersionLtsc2022),
    ;

    override fun toJava(): com.pulumi.googlenative.container.v1.enums.WindowsNodeConfigOsVersion =
        javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.container.v1.enums.WindowsNodeConfigOsVersion): WindowsNodeConfigOsVersion =
            WindowsNodeConfigOsVersion.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy