com.pulumi.azurenative.dashboard.kotlin.enums.PublicNetworkAccess.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.dashboard.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Indicate the state for enable or disable traffic over the public interface.
*/
public enum class PublicNetworkAccess(
public val javaValue: com.pulumi.azurenative.dashboard.enums.PublicNetworkAccess,
) : ConvertibleToJava {
Enabled(com.pulumi.azurenative.dashboard.enums.PublicNetworkAccess.Enabled),
Disabled(com.pulumi.azurenative.dashboard.enums.PublicNetworkAccess.Disabled),
;
override fun toJava(): com.pulumi.azurenative.dashboard.enums.PublicNetworkAccess = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.dashboard.enums.PublicNetworkAccess): PublicNetworkAccess = PublicNetworkAccess.values().first { it.javaValue == javaType }
}
}