![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.azurefleet.kotlin.enums.IPVersion.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azurefleet.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 IPVersion(
public val javaValue: com.pulumi.azurenative.azurefleet.enums.IPVersion,
) : ConvertibleToJava {
/**
* IPv4 version
*/
IPv4(com.pulumi.azurenative.azurefleet.enums.IPVersion.IPv4),
/**
* IPv6 version
*/
IPv6(com.pulumi.azurenative.azurefleet.enums.IPVersion.IPv6),
;
override fun toJava(): com.pulumi.azurenative.azurefleet.enums.IPVersion = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.azurefleet.enums.IPVersion): IPVersion =
IPVersion.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy