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

com.pulumi.azurenative.connectedvmwarevsphere.kotlin.enums.IPAddressAllocationMethod.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.connectedvmwarevsphere.kotlin.enums

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

/**
 * Gets or sets the nic allocation method.
 */
public enum class IPAddressAllocationMethod(
    public val javaValue: com.pulumi.azurenative.connectedvmwarevsphere.enums.IPAddressAllocationMethod,
) : ConvertibleToJava {
    Unset(com.pulumi.azurenative.connectedvmwarevsphere.enums.IPAddressAllocationMethod.Unset),
    Dynamic(com.pulumi.azurenative.connectedvmwarevsphere.enums.IPAddressAllocationMethod.Dynamic),
    Static_(com.pulumi.azurenative.connectedvmwarevsphere.enums.IPAddressAllocationMethod.Static_),
    Linklayer(com.pulumi.azurenative.connectedvmwarevsphere.enums.IPAddressAllocationMethod.Linklayer),
    Random(com.pulumi.azurenative.connectedvmwarevsphere.enums.IPAddressAllocationMethod.Random),
    Other(com.pulumi.azurenative.connectedvmwarevsphere.enums.IPAddressAllocationMethod.Other),
    ;

    override fun toJava(): com.pulumi.azurenative.connectedvmwarevsphere.enums.IPAddressAllocationMethod = javaValue

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy