com.pulumi.azurenative.eventhub.kotlin.enums.TlsVersion.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.eventhub.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The minimum TLS version for the cluster to support, e.g. '1.2'
*/
public enum class TlsVersion(
public val javaValue: com.pulumi.azurenative.eventhub.enums.TlsVersion,
) : ConvertibleToJava {
_1_0(com.pulumi.azurenative.eventhub.enums.TlsVersion._1_0),
_1_1(com.pulumi.azurenative.eventhub.enums.TlsVersion._1_1),
_1_2(com.pulumi.azurenative.eventhub.enums.TlsVersion._1_2),
;
override fun toJava(): com.pulumi.azurenative.eventhub.enums.TlsVersion = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.eventhub.enums.TlsVersion): TlsVersion =
TlsVersion.values().first { it.javaValue == javaType }
}
}