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

com.pulumi.azure.storage.kotlin.outputs.GetPolicyRuleActionBaseBlob.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.storage.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property autoTierToHotFromCoolEnabled Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool.
 * @property deleteAfterDaysSinceCreationGreaterThan The age in days after creation to delete the blob snapshot.
 * @property deleteAfterDaysSinceLastAccessTimeGreaterThan The age in days after last access time to delete the blob.
 * @property deleteAfterDaysSinceModificationGreaterThan The age in days after last modification to delete the blob.
 * @property tierToArchiveAfterDaysSinceCreationGreaterThan The age in days after creation to archive storage.
 * @property tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan The age in days after last access time to tier blobs to archive storage.
 * @property tierToArchiveAfterDaysSinceLastTierChangeGreaterThan The age in days after last tier change to the blobs to skip to be archived.
 * @property tierToArchiveAfterDaysSinceModificationGreaterThan The age in days after last modification to tier blobs to archive storage.
 * @property tierToColdAfterDaysSinceCreationGreaterThan Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
 * @property tierToColdAfterDaysSinceLastAccessTimeGreaterThan The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier.
 * @property tierToColdAfterDaysSinceModificationGreaterThan The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier.
 * @property tierToCoolAfterDaysSinceCreationGreaterThan Optional The age in days after creation to cool storage. Supports blob currently at Hot tier.
 * @property tierToCoolAfterDaysSinceLastAccessTimeGreaterThan The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier.
 * @property tierToCoolAfterDaysSinceModificationGreaterThan The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier.
 */
public data class GetPolicyRuleActionBaseBlob(
    public val autoTierToHotFromCoolEnabled: Boolean,
    public val deleteAfterDaysSinceCreationGreaterThan: Int,
    public val deleteAfterDaysSinceLastAccessTimeGreaterThan: Int,
    public val deleteAfterDaysSinceModificationGreaterThan: Int,
    public val tierToArchiveAfterDaysSinceCreationGreaterThan: Int,
    public val tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan: Int,
    public val tierToArchiveAfterDaysSinceLastTierChangeGreaterThan: Int,
    public val tierToArchiveAfterDaysSinceModificationGreaterThan: Int,
    public val tierToColdAfterDaysSinceCreationGreaterThan: Int,
    public val tierToColdAfterDaysSinceLastAccessTimeGreaterThan: Int,
    public val tierToColdAfterDaysSinceModificationGreaterThan: Int,
    public val tierToCoolAfterDaysSinceCreationGreaterThan: Int,
    public val tierToCoolAfterDaysSinceLastAccessTimeGreaterThan: Int,
    public val tierToCoolAfterDaysSinceModificationGreaterThan: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.GetPolicyRuleActionBaseBlob):
            GetPolicyRuleActionBaseBlob = GetPolicyRuleActionBaseBlob(
            autoTierToHotFromCoolEnabled = javaType.autoTierToHotFromCoolEnabled(),
            deleteAfterDaysSinceCreationGreaterThan = javaType.deleteAfterDaysSinceCreationGreaterThan(),
            deleteAfterDaysSinceLastAccessTimeGreaterThan = javaType.deleteAfterDaysSinceLastAccessTimeGreaterThan(),
            deleteAfterDaysSinceModificationGreaterThan = javaType.deleteAfterDaysSinceModificationGreaterThan(),
            tierToArchiveAfterDaysSinceCreationGreaterThan = javaType.tierToArchiveAfterDaysSinceCreationGreaterThan(),
            tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan = javaType.tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan(),
            tierToArchiveAfterDaysSinceLastTierChangeGreaterThan = javaType.tierToArchiveAfterDaysSinceLastTierChangeGreaterThan(),
            tierToArchiveAfterDaysSinceModificationGreaterThan = javaType.tierToArchiveAfterDaysSinceModificationGreaterThan(),
            tierToColdAfterDaysSinceCreationGreaterThan = javaType.tierToColdAfterDaysSinceCreationGreaterThan(),
            tierToColdAfterDaysSinceLastAccessTimeGreaterThan = javaType.tierToColdAfterDaysSinceLastAccessTimeGreaterThan(),
            tierToColdAfterDaysSinceModificationGreaterThan = javaType.tierToColdAfterDaysSinceModificationGreaterThan(),
            tierToCoolAfterDaysSinceCreationGreaterThan = javaType.tierToCoolAfterDaysSinceCreationGreaterThan(),
            tierToCoolAfterDaysSinceLastAccessTimeGreaterThan = javaType.tierToCoolAfterDaysSinceLastAccessTimeGreaterThan(),
            tierToCoolAfterDaysSinceModificationGreaterThan = javaType.tierToCoolAfterDaysSinceModificationGreaterThan(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy