![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.netapp.kotlin.inputs.SnapshotPolicyWeeklyScheduleArgs.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.netapp.kotlin.inputs
import com.pulumi.azure.netapp.inputs.SnapshotPolicyWeeklyScheduleArgs.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 daysOfWeeks List of the week days using English names when the snapshots will be created.
* @property hour Hour of the day that the snapshots will be created, valid range is from 0 to 23.
* @property minute Minute of the hour that the snapshots will be created, valid range is from 0 to 59.
* @property snapshotsToKeep How many hourly snapshots to keep, valid range is from 0 to 255.
*/
public data class SnapshotPolicyWeeklyScheduleArgs(
public val daysOfWeeks: Output>,
public val hour: Output,
public val minute: Output,
public val snapshotsToKeep: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.netapp.inputs.SnapshotPolicyWeeklyScheduleArgs =
com.pulumi.azure.netapp.inputs.SnapshotPolicyWeeklyScheduleArgs.builder()
.daysOfWeeks(daysOfWeeks.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.hour(hour.applyValue({ args0 -> args0 }))
.minute(minute.applyValue({ args0 -> args0 }))
.snapshotsToKeep(snapshotsToKeep.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SnapshotPolicyWeeklyScheduleArgs].
*/
@PulumiTagMarker
public class SnapshotPolicyWeeklyScheduleArgsBuilder internal constructor() {
private var daysOfWeeks: Output>? = null
private var hour: Output? = null
private var minute: Output? = null
private var snapshotsToKeep: Output? = null
/**
* @param value List of the week days using English names when the snapshots will be created.
*/
@JvmName("vihjesfcxbxwpqle")
public suspend fun daysOfWeeks(`value`: Output>) {
this.daysOfWeeks = value
}
@JvmName("gsbtweuuyqiuboek")
public suspend fun daysOfWeeks(vararg values: Output) {
this.daysOfWeeks = Output.all(values.asList())
}
/**
* @param values List of the week days using English names when the snapshots will be created.
*/
@JvmName("rabjletsdkwaldix")
public suspend fun daysOfWeeks(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy