com.pulumi.azure.backup.kotlin.inputs.PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs.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.inputs
import com.pulumi.azure.backup.inputs.PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property count The number of weekly backups to keep. Possible values are between `1` and `5163`.
* @property weekdays The weekday backups to retain. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
*/
public data class PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs(
public val count: Output,
public val weekdays: Output>,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.backup.inputs.PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs =
com.pulumi.azure.backup.inputs.PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs.builder()
.count(count.applyValue({ args0 -> args0 }))
.weekdays(weekdays.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgs].
*/
@PulumiTagMarker
public class PolicyVMWorkloadProtectionPolicyRetentionWeeklyArgsBuilder internal constructor() {
private var count: Output? = null
private var weekdays: Output>? = null
/**
* @param value The number of weekly backups to keep. Possible values are between `1` and `5163`.
*/
@JvmName("jbkierytibeisfhs")
public suspend fun count(`value`: Output) {
this.count = value
}
/**
* @param value The weekday backups to retain. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
*/
@JvmName("fvuskocuxiflmxun")
public suspend fun weekdays(`value`: Output>) {
this.weekdays = value
}
@JvmName("qrcxnqrlrkqreysy")
public suspend fun weekdays(vararg values: Output) {
this.weekdays = Output.all(values.asList())
}
/**
* @param values The weekday backups to retain. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` or `Saturday`.
*/
@JvmName("ponnlvoylmrljrrk")
public suspend fun weekdays(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy