com.pulumi.azurenative.cognitiveservices.kotlin.enums.KeySource.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.cognitiveservices.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Enumerates the possible value of keySource for Encryption
*/
public enum class KeySource(
public val javaValue: com.pulumi.azurenative.cognitiveservices.enums.KeySource,
) : ConvertibleToJava {
Microsoft_CognitiveServices(com.pulumi.azurenative.cognitiveservices.enums.KeySource.Microsoft_CognitiveServices),
Microsoft_KeyVault(com.pulumi.azurenative.cognitiveservices.enums.KeySource.Microsoft_KeyVault),
;
override fun toJava(): com.pulumi.azurenative.cognitiveservices.enums.KeySource = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.cognitiveservices.enums.KeySource): KeySource = KeySource.values().first { it.javaValue == javaType }
}
}