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

com.pulumi.azure.dataprotection.kotlin.outputs.BackupPolicyKubernetesClusterRetentionRuleLifeCycle.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.dataprotection.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property dataStoreType The type of data store. The only possible value is `OperationalStore`. Changing this forces a new resource to be created.
 * @property duration The retention duration up to which the backups are to be retained in the data stores. It should follow `ISO 8601` duration format. Changing this forces a new resource to be created.
 */
public data class BackupPolicyKubernetesClusterRetentionRuleLifeCycle(
    public val dataStoreType: String,
    public val duration: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.dataprotection.outputs.BackupPolicyKubernetesClusterRetentionRuleLifeCycle):
            BackupPolicyKubernetesClusterRetentionRuleLifeCycle =
            BackupPolicyKubernetesClusterRetentionRuleLifeCycle(
                dataStoreType = javaType.dataStoreType(),
                duration = javaType.duration(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy