com.pulumi.azurenative.resourceconnector.kotlin.enums.Distro.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.resourceconnector.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Represents a supported Fabric/Infra. (AKSEdge etc...).
*/
public enum class Distro(
public val javaValue: com.pulumi.azurenative.resourceconnector.enums.Distro,
) : ConvertibleToJava {
AKSEdge(com.pulumi.azurenative.resourceconnector.enums.Distro.AKSEdge),
;
override fun toJava(): com.pulumi.azurenative.resourceconnector.enums.Distro = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.resourceconnector.enums.Distro): Distro =
Distro.values().first { it.javaValue == javaType }
}
}