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

com.pulumi.azurenative.migrate.kotlin.enums.OsLicense.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.migrate.kotlin.enums

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

/**
 * Gets or sets user configurable setting to display the azure hybrid use benefit.
 */
public enum class OsLicense(
    public val javaValue: com.pulumi.azurenative.migrate.enums.OsLicense,
) : ConvertibleToJava {
    Unknown(com.pulumi.azurenative.migrate.enums.OsLicense.Unknown),
    Yes(com.pulumi.azurenative.migrate.enums.OsLicense.Yes),
    No(com.pulumi.azurenative.migrate.enums.OsLicense.No),
    ;

    override fun toJava(): com.pulumi.azurenative.migrate.enums.OsLicense = javaValue

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy