![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.automanage.kotlin.outputs.ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDuration.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.automanage.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property count The count of the retention duration of the backup policy. Valid value inside `daily_schedule` is `7` to `9999` and inside `weekly_schedule` is `1` to `5163`.
* @property durationType The duration type of the retention duration of the backup policy. Valid value inside `daily_schedule` is `Days` and inside `weekly_schedule` is `Weeks`. Defaults to `Days`.
*/
public data class ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDuration(
public val count: Int? = null,
public val durationType: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.automanage.outputs.ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDuration): ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDuration =
ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDuration(
count = javaType.count().map({ args0 -> args0 }).orElse(null),
durationType = javaType.durationType().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy