com.pulumi.azurenative.azurefleet.kotlin.enums.DeleteOptions.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azurefleet.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.azurefleet.enums.DeleteOptions,
) : ConvertibleToJava {
/**
* Delete Option
*/
Delete(com.pulumi.azurenative.azurefleet.enums.DeleteOptions.Delete),
/**
* Detach Option
*/
Detach(com.pulumi.azurenative.azurefleet.enums.DeleteOptions.Detach),
;
override fun toJava(): com.pulumi.azurenative.azurefleet.enums.DeleteOptions = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.azurefleet.enums.DeleteOptions): DeleteOptions = DeleteOptions.values().first { it.javaValue == javaType }
}
}