com.pulumi.azurenative.dbforpostgresql.kotlin.enums.SkuTier.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.dbforpostgresql.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The tier of the particular SKU, e.g. Burstable.
*/
public enum class SkuTier(
public val javaValue: com.pulumi.azurenative.dbforpostgresql.enums.SkuTier,
) : ConvertibleToJava {
Burstable(com.pulumi.azurenative.dbforpostgresql.enums.SkuTier.Burstable),
GeneralPurpose(com.pulumi.azurenative.dbforpostgresql.enums.SkuTier.GeneralPurpose),
MemoryOptimized(com.pulumi.azurenative.dbforpostgresql.enums.SkuTier.MemoryOptimized),
;
override fun toJava(): com.pulumi.azurenative.dbforpostgresql.enums.SkuTier = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.dbforpostgresql.enums.SkuTier): SkuTier =
SkuTier.values().first { it.javaValue == javaType }
}
}