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

com.pulumi.azure.dataprotection.kotlin.outputs.BackupPolicyBlobStorageRetentionRule.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.dataprotection.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property criteria A `criteria` block as defined below. Changing this forces a new Backup Policy Blob Storage to be created.
 * @property lifeCycle A `life_cycle` block as defined below. Changing this forces a new Backup Policy Blob Storage to be created.
 * @property name The name which should be used for this retention rule. Changing this forces a new Backup Policy Blob Storage to be created.
 * @property priority Specifies the priority of the rule. The priority number must be unique for each rule. The lower the priority number, the higher the priority of the rule. Changing this forces a new Backup Policy Blob Storage to be created.
 */
public data class BackupPolicyBlobStorageRetentionRule(
    public val criteria: BackupPolicyBlobStorageRetentionRuleCriteria,
    public val lifeCycle: BackupPolicyBlobStorageRetentionRuleLifeCycle,
    public val name: String,
    public val priority: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.dataprotection.outputs.BackupPolicyBlobStorageRetentionRule): BackupPolicyBlobStorageRetentionRule = BackupPolicyBlobStorageRetentionRule(
            criteria = javaType.criteria().let({ args0 ->
                com.pulumi.azure.dataprotection.kotlin.outputs.BackupPolicyBlobStorageRetentionRuleCriteria.Companion.toKotlin(args0)
            }),
            lifeCycle = javaType.lifeCycle().let({ args0 ->
                com.pulumi.azure.dataprotection.kotlin.outputs.BackupPolicyBlobStorageRetentionRuleLifeCycle.Companion.toKotlin(args0)
            }),
            name = javaType.name(),
            priority = javaType.priority(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy