com.pulumi.azurenative.keyvault.kotlin.enums.JsonWebKeyCurveName.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.keyvault.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The elliptic curve name. For valid values, see JsonWebKeyCurveName.
*/
public enum class JsonWebKeyCurveName(
public val javaValue: com.pulumi.azurenative.keyvault.enums.JsonWebKeyCurveName,
) : ConvertibleToJava {
P256(com.pulumi.azurenative.keyvault.enums.JsonWebKeyCurveName.P256),
P384(com.pulumi.azurenative.keyvault.enums.JsonWebKeyCurveName.P384),
P521(com.pulumi.azurenative.keyvault.enums.JsonWebKeyCurveName.P521),
P256K(com.pulumi.azurenative.keyvault.enums.JsonWebKeyCurveName.P256K),
;
override fun toJava(): com.pulumi.azurenative.keyvault.enums.JsonWebKeyCurveName = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.keyvault.enums.JsonWebKeyCurveName): JsonWebKeyCurveName = JsonWebKeyCurveName.values().first { it.javaValue == javaType }
}
}