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

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

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

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property changeTierToArchiveAfterDaysSinceCreation The age in days after creation to tier blob version to archive storage.
 * @property changeTierToCoolAfterDaysSinceCreation The age in days after creation to tier blob version to cool storage.
 * @property deleteAfterDaysSinceCreation The age in days after creation to delete the blob version.
 * @property tierToArchiveAfterDaysSinceLastTierChangeGreaterThan The age in days after last tier change to the blobs to skip to be archived.
 * @property tierToColdAfterDaysSinceCreationGreaterThan Optional The age in days after creation to cold storage. Supports blob currently at Hot tier.
 */
public data class GetPolicyRuleActionVersion(
    public val changeTierToArchiveAfterDaysSinceCreation: Int,
    public val changeTierToCoolAfterDaysSinceCreation: Int,
    public val deleteAfterDaysSinceCreation: Int,
    public val tierToArchiveAfterDaysSinceLastTierChangeGreaterThan: Int,
    public val tierToColdAfterDaysSinceCreationGreaterThan: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.GetPolicyRuleActionVersion): GetPolicyRuleActionVersion = GetPolicyRuleActionVersion(
            changeTierToArchiveAfterDaysSinceCreation = javaType.changeTierToArchiveAfterDaysSinceCreation(),
            changeTierToCoolAfterDaysSinceCreation = javaType.changeTierToCoolAfterDaysSinceCreation(),
            deleteAfterDaysSinceCreation = javaType.deleteAfterDaysSinceCreation(),
            tierToArchiveAfterDaysSinceLastTierChangeGreaterThan = javaType.tierToArchiveAfterDaysSinceLastTierChangeGreaterThan(),
            tierToColdAfterDaysSinceCreationGreaterThan = javaType.tierToColdAfterDaysSinceCreationGreaterThan(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy