All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.containerstorage.kotlin.enums.ReclaimPolicy.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.containerstorage.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * ReclaimPolicy defines what happens to the backend storage when StoragePool is deleted
 */
public enum class ReclaimPolicy(
    public val javaValue: com.pulumi.azurenative.containerstorage.enums.ReclaimPolicy,
) : ConvertibleToJava {
    /**
     * Delete resource
     */
    Delete(com.pulumi.azurenative.containerstorage.enums.ReclaimPolicy.Delete),

    /**
     * Retain resource
     */
    Retain(com.pulumi.azurenative.containerstorage.enums.ReclaimPolicy.Retain),
    ;

    override fun toJava(): com.pulumi.azurenative.containerstorage.enums.ReclaimPolicy = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.containerstorage.enums.ReclaimPolicy): ReclaimPolicy = ReclaimPolicy.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy