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

com.pulumi.azurenative.web.kotlin.enums.SupportedTlsVersions.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.web.kotlin.enums

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

/**
 * ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site
 */
public enum class SupportedTlsVersions(
    public val javaValue: com.pulumi.azurenative.web.enums.SupportedTlsVersions,
) : ConvertibleToJava {
    _1_0(com.pulumi.azurenative.web.enums.SupportedTlsVersions._1_0),
    _1_1(com.pulumi.azurenative.web.enums.SupportedTlsVersions._1_1),
    _1_2(com.pulumi.azurenative.web.enums.SupportedTlsVersions._1_2),
    ;

    override fun toJava(): com.pulumi.azurenative.web.enums.SupportedTlsVersions = javaValue

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy