com.pulumi.azurenative.compute.kotlin.enums.DeleteOptions.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.compute.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Specify what happens to the public IP when the VM is deleted
*/
public enum class DeleteOptions(
public val javaValue: com.pulumi.azurenative.compute.enums.DeleteOptions,
) : ConvertibleToJava {
Delete(com.pulumi.azurenative.compute.enums.DeleteOptions.Delete),
Detach(com.pulumi.azurenative.compute.enums.DeleteOptions.Detach),
;
override fun toJava(): com.pulumi.azurenative.compute.enums.DeleteOptions = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.compute.enums.DeleteOptions): DeleteOptions = DeleteOptions.values().first { it.javaValue == javaType }
}
}