![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.resources.kotlin.enums.CleanupOptions.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.resources.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The clean up preference when the script execution gets in a terminal state. Default setting is 'Always'.
*/
public enum class CleanupOptions(
public val javaValue: com.pulumi.azurenative.resources.enums.CleanupOptions,
) : ConvertibleToJava {
Always(com.pulumi.azurenative.resources.enums.CleanupOptions.Always),
OnSuccess(com.pulumi.azurenative.resources.enums.CleanupOptions.OnSuccess),
OnExpiration(com.pulumi.azurenative.resources.enums.CleanupOptions.OnExpiration),
;
override fun toJava(): com.pulumi.azurenative.resources.enums.CleanupOptions = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.resources.enums.CleanupOptions): CleanupOptions = CleanupOptions.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy