com.pulumi.azurenative.azurefleet.kotlin.enums.NetworkApiVersion.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azurefleet.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* specifies the Microsoft.Network API version used when creating networking
* resources in the Network Interface Configurations for Virtual Machine Scale Set
* with orchestration mode 'Flexible'
*/
public enum class NetworkApiVersion(
public val javaValue: com.pulumi.azurenative.azurefleet.enums.NetworkApiVersion,
) : ConvertibleToJava {
/**
* Initial version supported. Later versions are supported as well.
*/
V2020_11_01(com.pulumi.azurenative.azurefleet.enums.NetworkApiVersion.V2020_11_01),
;
override fun toJava(): com.pulumi.azurenative.azurefleet.enums.NetworkApiVersion = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.azurefleet.enums.NetworkApiVersion): NetworkApiVersion = NetworkApiVersion.values().first { it.javaValue == javaType }
}
}