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

com.pulumi.azurenative.eventhub.kotlin.enums.PublicNetworkAccessFlag.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.eventhub.kotlin.enums

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

/**
 * This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.
 */
public enum class PublicNetworkAccessFlag(
    public val javaValue: com.pulumi.azurenative.eventhub.enums.PublicNetworkAccessFlag,
) : ConvertibleToJava {
    Enabled(com.pulumi.azurenative.eventhub.enums.PublicNetworkAccessFlag.Enabled),
    Disabled(com.pulumi.azurenative.eventhub.enums.PublicNetworkAccessFlag.Disabled),
    SecuredByPerimeter(com.pulumi.azurenative.eventhub.enums.PublicNetworkAccessFlag.SecuredByPerimeter),
    ;

    override fun toJava(): com.pulumi.azurenative.eventhub.enums.PublicNetworkAccessFlag = javaValue

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy