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

com.pulumi.azurenative.azurearcdata.kotlin.enums.SqlVersion.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.azurearcdata.kotlin.enums

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

/**
 * SQL Server version.
 */
public enum class SqlVersion(
    public val javaValue: com.pulumi.azurenative.azurearcdata.enums.SqlVersion,
) : ConvertibleToJava {
    SQL_Server_2012(com.pulumi.azurenative.azurearcdata.enums.SqlVersion.SQL_Server_2012),
    SQL_Server_2014(com.pulumi.azurenative.azurearcdata.enums.SqlVersion.SQL_Server_2014),
    SQL_Server_2016(com.pulumi.azurenative.azurearcdata.enums.SqlVersion.SQL_Server_2016),
    SQL_Server_2017(com.pulumi.azurenative.azurearcdata.enums.SqlVersion.SQL_Server_2017),
    SQL_Server_2019(com.pulumi.azurenative.azurearcdata.enums.SqlVersion.SQL_Server_2019),
    SQL_Server_2022(com.pulumi.azurenative.azurearcdata.enums.SqlVersion.SQL_Server_2022),
    Unknown(com.pulumi.azurenative.azurearcdata.enums.SqlVersion.Unknown),
    ;

    override fun toJava(): com.pulumi.azurenative.azurearcdata.enums.SqlVersion = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.azurearcdata.enums.SqlVersion): SqlVersion = SqlVersion.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy