![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.automanage.kotlin.outputs.ConfigurationBackupRetentionPolicyWeeklySchedule.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property retentionDuration A `retention_duration` block as defined below.
* @property retentionTimes The retention times of the backup policy.
*/
public data class ConfigurationBackupRetentionPolicyWeeklySchedule(
public val retentionDuration: ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDuration? =
null,
public val retentionTimes: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.automanage.outputs.ConfigurationBackupRetentionPolicyWeeklySchedule): ConfigurationBackupRetentionPolicyWeeklySchedule =
ConfigurationBackupRetentionPolicyWeeklySchedule(
retentionDuration = javaType.retentionDuration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.automanage.kotlin.outputs.ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDuration.Companion.toKotlin(args0)
})
}).orElse(null),
retentionTimes = javaType.retentionTimes().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy