com.pulumi.azure.dataprotection.kotlin.outputs.BackupPolicyKubernetesClusterRetentionRule.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.dataprotection.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property criteria A `criteria` block as defined below. Changing this forces a new resource to be created.
* @property lifeCycles A `life_cycle` block as defined below. Changing this forces a new resource to be created.
* @property name The name which should be used for this retention rule. Changing this forces a new resource 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 resource to be created.
*/
public data class BackupPolicyKubernetesClusterRetentionRule(
public val criteria: BackupPolicyKubernetesClusterRetentionRuleCriteria,
public val lifeCycles: List,
public val name: String,
public val priority: Int,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.dataprotection.outputs.BackupPolicyKubernetesClusterRetentionRule):
BackupPolicyKubernetesClusterRetentionRule = BackupPolicyKubernetesClusterRetentionRule(
criteria = javaType.criteria().let({ args0 ->
com.pulumi.azure.dataprotection.kotlin.outputs.BackupPolicyKubernetesClusterRetentionRuleCriteria.Companion.toKotlin(args0)
}),
lifeCycles = javaType.lifeCycles().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.dataprotection.kotlin.outputs.BackupPolicyKubernetesClusterRetentionRuleLifeCycle.Companion.toKotlin(args0)
})
}),
name = javaType.name(),
priority = javaType.priority(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy