
com.pulumi.azure.storage.kotlin.outputs.GetPolicyRuleActionSnapshot.kt Maven / Gradle / Ivy
@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 deleteAfterDaysSinceCreationGreaterThan The age in days after creation to delete the blob snapshot.
* @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 GetPolicyRuleActionSnapshot(
public val changeTierToArchiveAfterDaysSinceCreation: Int,
public val changeTierToCoolAfterDaysSinceCreation: Int,
public val deleteAfterDaysSinceCreationGreaterThan: Int,
public val tierToArchiveAfterDaysSinceLastTierChangeGreaterThan: Int,
public val tierToColdAfterDaysSinceCreationGreaterThan: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.GetPolicyRuleActionSnapshot): GetPolicyRuleActionSnapshot = GetPolicyRuleActionSnapshot(
changeTierToArchiveAfterDaysSinceCreation = javaType.changeTierToArchiveAfterDaysSinceCreation(),
changeTierToCoolAfterDaysSinceCreation = javaType.changeTierToCoolAfterDaysSinceCreation(),
deleteAfterDaysSinceCreationGreaterThan = javaType.deleteAfterDaysSinceCreationGreaterThan(),
tierToArchiveAfterDaysSinceLastTierChangeGreaterThan = javaType.tierToArchiveAfterDaysSinceLastTierChangeGreaterThan(),
tierToColdAfterDaysSinceCreationGreaterThan = javaType.tierToColdAfterDaysSinceCreationGreaterThan(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy