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

com.pulumi.azurenative.network.kotlin.enums.AccessRuleDirection.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.network.kotlin.enums

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

/**
 * Direction that specifies whether the access rules is inbound/outbound.
 */
public enum class AccessRuleDirection(
    public val javaValue: com.pulumi.azurenative.network.enums.AccessRuleDirection,
) : ConvertibleToJava {
    Inbound(com.pulumi.azurenative.network.enums.AccessRuleDirection.Inbound),
    Outbound(com.pulumi.azurenative.network.enums.AccessRuleDirection.Outbound),
    ;

    override fun toJava(): com.pulumi.azurenative.network.enums.AccessRuleDirection = javaValue

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy