com.pulumi.azure.netapp.kotlin.inputs.SnapshotPolicyMonthlyScheduleArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.netapp.kotlin.inputs
import com.pulumi.azure.netapp.inputs.SnapshotPolicyMonthlyScheduleArgs.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.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property daysOfMonths List of the days of the month when the snapshots will be created, valid range is from 1 to 30.
* @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 SnapshotPolicyMonthlyScheduleArgs(
public val daysOfMonths: Output>,
public val hour: Output,
public val minute: Output,
public val snapshotsToKeep: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.netapp.inputs.SnapshotPolicyMonthlyScheduleArgs =
com.pulumi.azure.netapp.inputs.SnapshotPolicyMonthlyScheduleArgs.builder()
.daysOfMonths(daysOfMonths.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.hour(hour.applyValue({ args0 -> args0 }))
.minute(minute.applyValue({ args0 -> args0 }))
.snapshotsToKeep(snapshotsToKeep.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SnapshotPolicyMonthlyScheduleArgs].
*/
@PulumiTagMarker
public class SnapshotPolicyMonthlyScheduleArgsBuilder internal constructor() {
private var daysOfMonths: Output>? = null
private var hour: Output? = null
private var minute: Output? = null
private var snapshotsToKeep: Output? = null
/**
* @param value List of the days of the month when the snapshots will be created, valid range is from 1 to 30.
*/
@JvmName("eemdnbjmowkyturh")
public suspend fun daysOfMonths(`value`: Output>) {
this.daysOfMonths = value
}
@JvmName("jnetxtrsdcaamjvk")
public suspend fun daysOfMonths(vararg values: Output) {
this.daysOfMonths = Output.all(values.asList())
}
/**
* @param values List of the days of the month when the snapshots will be created, valid range is from 1 to 30.
*/
@JvmName("yuabhbtkbtvesgoq")
public suspend fun daysOfMonths(values: List