com.pulumi.azurenative.digitaltwins.kotlin.enums.PublicNetworkAccess.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.digitaltwins.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Public network access for the DigitalTwinsInstance.
*/
public enum class PublicNetworkAccess(
public val javaValue: com.pulumi.azurenative.digitaltwins.enums.PublicNetworkAccess,
) : ConvertibleToJava {
Enabled(com.pulumi.azurenative.digitaltwins.enums.PublicNetworkAccess.Enabled),
Disabled(com.pulumi.azurenative.digitaltwins.enums.PublicNetworkAccess.Disabled),
;
override fun toJava(): com.pulumi.azurenative.digitaltwins.enums.PublicNetworkAccess = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.digitaltwins.enums.PublicNetworkAccess): PublicNetworkAccess = PublicNetworkAccess.values().first { it.javaValue == javaType }
}
}