![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.storage.kotlin.outputs.AccountBlobPropertiesDeleteRetentionPolicy.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.storage.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
/**
*
* @property days Specifies the number of days that the blob should be retained, between `1` and `365` days. Defaults to `7`.
* @property permanentDeleteEnabled Indicates whether permanent deletion of the soft deleted blob versions and snapshots is allowed. Defaults to `false`.
* > **Note:** `permanent_delete_enabled` cannot be set to true if a `restore_policy` block is defined.
*/
public data class AccountBlobPropertiesDeleteRetentionPolicy(
public val days: Int? = null,
public val permanentDeleteEnabled: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.AccountBlobPropertiesDeleteRetentionPolicy): AccountBlobPropertiesDeleteRetentionPolicy = AccountBlobPropertiesDeleteRetentionPolicy(
days = javaType.days().map({ args0 -> args0 }).orElse(null),
permanentDeleteEnabled = javaType.permanentDeleteEnabled().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy