com.pulumi.azurenative.compute.kotlin.enums.IPVersions.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.compute.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
*/
public enum class IPVersions(
public val javaValue: com.pulumi.azurenative.compute.enums.IPVersions,
) : ConvertibleToJava {
IPv4(com.pulumi.azurenative.compute.enums.IPVersions.IPv4),
IPv6(com.pulumi.azurenative.compute.enums.IPVersions.IPv6),
;
override fun toJava(): com.pulumi.azurenative.compute.enums.IPVersions = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.compute.enums.IPVersions): IPVersions =
IPVersions.values().first { it.javaValue == javaType }
}
}