![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.automanage.kotlin.outputs.ConfigurationBackupRetentionPolicy.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
/**
*
* @property dailySchedule A `daily_schedule` block as defined below.
* @property retentionPolicyType The retention policy type of the backup policy. Possible value is `LongTermRetentionPolicy`. Defaults to `LongTermRetentionPolicy`.
* @property weeklySchedule A `weekly_schedule` block as defined below.
*/
public data class ConfigurationBackupRetentionPolicy(
public val dailySchedule: ConfigurationBackupRetentionPolicyDailySchedule? = null,
public val retentionPolicyType: String? = null,
public val weeklySchedule: ConfigurationBackupRetentionPolicyWeeklySchedule? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.automanage.outputs.ConfigurationBackupRetentionPolicy): ConfigurationBackupRetentionPolicy = ConfigurationBackupRetentionPolicy(
dailySchedule = javaType.dailySchedule().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.automanage.kotlin.outputs.ConfigurationBackupRetentionPolicyDailySchedule.Companion.toKotlin(args0)
})
}).orElse(null),
retentionPolicyType = javaType.retentionPolicyType().map({ args0 -> args0 }).orElse(null),
weeklySchedule = javaType.weeklySchedule().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.automanage.kotlin.outputs.ConfigurationBackupRetentionPolicyWeeklySchedule.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy