![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.mssql.kotlin.inputs.VirtualMachineAutoBackupManualScheduleArgs.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.mssql.kotlin.inputs
import com.pulumi.azure.mssql.inputs.VirtualMachineAutoBackupManualScheduleArgs.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 A list of days on which backup can take place. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`
* > **NOTE:** `days_of_week` can only be specified when `manual_schedule` is set to `Weekly`
* @property fullBackupFrequency Frequency of full backups. Valid values include `Daily` or `Weekly`.
* @property fullBackupStartHour Start hour of a given day during which full backups can take place. Valid values are from `0` to `23`.
* @property fullBackupWindowInHours Duration of the time window of a given day during which full backups can take place, in hours. Valid values are between `1` and `23`.
* @property logBackupFrequencyInMinutes Frequency of log backups, in minutes. Valid values are from `5` to `60`.
*/
public data class VirtualMachineAutoBackupManualScheduleArgs(
public val daysOfWeeks: Output>? = null,
public val fullBackupFrequency: Output,
public val fullBackupStartHour: Output,
public val fullBackupWindowInHours: Output,
public val logBackupFrequencyInMinutes: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.mssql.inputs.VirtualMachineAutoBackupManualScheduleArgs =
com.pulumi.azure.mssql.inputs.VirtualMachineAutoBackupManualScheduleArgs.builder()
.daysOfWeeks(daysOfWeeks?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.fullBackupFrequency(fullBackupFrequency.applyValue({ args0 -> args0 }))
.fullBackupStartHour(fullBackupStartHour.applyValue({ args0 -> args0 }))
.fullBackupWindowInHours(fullBackupWindowInHours.applyValue({ args0 -> args0 }))
.logBackupFrequencyInMinutes(logBackupFrequencyInMinutes.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VirtualMachineAutoBackupManualScheduleArgs].
*/
@PulumiTagMarker
public class VirtualMachineAutoBackupManualScheduleArgsBuilder internal constructor() {
private var daysOfWeeks: Output>? = null
private var fullBackupFrequency: Output? = null
private var fullBackupStartHour: Output? = null
private var fullBackupWindowInHours: Output? = null
private var logBackupFrequencyInMinutes: Output? = null
/**
* @param value A list of days on which backup can take place. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`
* > **NOTE:** `days_of_week` can only be specified when `manual_schedule` is set to `Weekly`
*/
@JvmName("ktgvkrdtpminkrno")
public suspend fun daysOfWeeks(`value`: Output>) {
this.daysOfWeeks = value
}
@JvmName("kbjjrxxyhopfhcyr")
public suspend fun daysOfWeeks(vararg values: Output) {
this.daysOfWeeks = Output.all(values.asList())
}
/**
* @param values A list of days on which backup can take place. Possible values are `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`
* > **NOTE:** `days_of_week` can only be specified when `manual_schedule` is set to `Weekly`
*/
@JvmName("fhcfgxjophfjsimj")
public suspend fun daysOfWeeks(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy