com.pulumi.azurenative.cloudngfw.kotlin.enums.DNSProxy.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.cloudngfw.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Enable DNS proxy, disabled by default
*/
public enum class DNSProxy(
public val javaValue: com.pulumi.azurenative.cloudngfw.enums.DNSProxy,
) : ConvertibleToJava {
DISABLED(com.pulumi.azurenative.cloudngfw.enums.DNSProxy.DISABLED),
ENABLED(com.pulumi.azurenative.cloudngfw.enums.DNSProxy.ENABLED),
;
override fun toJava(): com.pulumi.azurenative.cloudngfw.enums.DNSProxy = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.cloudngfw.enums.DNSProxy): DNSProxy =
DNSProxy.values().first { it.javaValue == javaType }
}
}