com.pulumi.azure.backup.kotlin.outputs.PolicyVMRetentionWeekly.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.backup.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property count The number of weekly backups to keep. Must be between `1` and `9999`
* @property weekdays The weekday backups to retain. Must be one of `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
*/
public data class PolicyVMRetentionWeekly(
public val count: Int,
public val weekdays: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.backup.outputs.PolicyVMRetentionWeekly):
PolicyVMRetentionWeekly = PolicyVMRetentionWeekly(
count = javaType.count(),
weekdays = javaType.weekdays().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy