Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.automation.kotlin.inputs
import com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationScheduleArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property advancedMonthDays List of days of the month that the job should execute on. Must be between `1` and `31`. `-1` for last day of the month. Only valid when frequency is `Month`.
* @property advancedWeekDays List of days of the week that the job should execute on. Only valid when frequency is `Week`. Possible values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, and `Sunday`.
* @property creationTime
* @property description A description for this Schedule.
* @property expiryTime The end time of the schedule.
* @property expiryTimeOffsetMinutes
* @property frequency The frequency of the schedule. - can be either `OneTime`, `Day`, `Hour`, `Week`, or `Month`.
* @property interval The number of `frequency`s between runs. Only valid when frequency is `Day`, `Hour`, `Week`, or `Month`.
* @property isEnabled Whether the schedule is enabled. Defaults to `true`.
* @property lastModifiedTime
* @property monthlyOccurrences List of `monthly_occurrence` blocks as defined below to specifies occurrences of days within a month. Only valid when frequency is `Month`. The `monthly_occurrence` block supports fields as defined below.
* @property nextRun
* @property nextRunOffsetMinutes
* @property startTime Start time of the schedule. Must be at least five minutes in the future. Defaults to seven minutes in the future from the time the resource is created.
* @property startTimeOffsetMinutes
* @property timeZone The timezone of the start time. Defaults to `Etc/UTC`. For possible values see:
*/
public data class SoftwareUpdateConfigurationScheduleArgs(
public val advancedMonthDays: Output>? = null,
public val advancedWeekDays: Output>? = null,
public val creationTime: Output? = null,
public val description: Output? = null,
public val expiryTime: Output? = null,
public val expiryTimeOffsetMinutes: Output? = null,
public val frequency: Output,
public val interval: Output? = null,
public val isEnabled: Output? = null,
public val lastModifiedTime: Output? = null,
public val monthlyOccurrences:
Output>? = null,
public val nextRun: Output? = null,
public val nextRunOffsetMinutes: Output? = null,
public val startTime: Output? = null,
public val startTimeOffsetMinutes: Output? = null,
public val timeZone: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationScheduleArgs =
com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationScheduleArgs.builder()
.advancedMonthDays(advancedMonthDays?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.advancedWeekDays(advancedWeekDays?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.creationTime(creationTime?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.expiryTime(expiryTime?.applyValue({ args0 -> args0 }))
.expiryTimeOffsetMinutes(expiryTimeOffsetMinutes?.applyValue({ args0 -> args0 }))
.frequency(frequency.applyValue({ args0 -> args0 }))
.interval(interval?.applyValue({ args0 -> args0 }))
.isEnabled(isEnabled?.applyValue({ args0 -> args0 }))
.lastModifiedTime(lastModifiedTime?.applyValue({ args0 -> args0 }))
.monthlyOccurrences(
monthlyOccurrences?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.nextRun(nextRun?.applyValue({ args0 -> args0 }))
.nextRunOffsetMinutes(nextRunOffsetMinutes?.applyValue({ args0 -> args0 }))
.startTime(startTime?.applyValue({ args0 -> args0 }))
.startTimeOffsetMinutes(startTimeOffsetMinutes?.applyValue({ args0 -> args0 }))
.timeZone(timeZone?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SoftwareUpdateConfigurationScheduleArgs].
*/
@PulumiTagMarker
public class SoftwareUpdateConfigurationScheduleArgsBuilder internal constructor() {
private var advancedMonthDays: Output>? = null
private var advancedWeekDays: Output>? = null
private var creationTime: Output? = null
private var description: Output? = null
private var expiryTime: Output? = null
private var expiryTimeOffsetMinutes: Output? = null
private var frequency: Output? = null
private var interval: Output? = null
private var isEnabled: Output? = null
private var lastModifiedTime: Output? = null
private var monthlyOccurrences:
Output>? = null
private var nextRun: Output? = null
private var nextRunOffsetMinutes: Output? = null
private var startTime: Output? = null
private var startTimeOffsetMinutes: Output? = null
private var timeZone: Output? = null
/**
* @param value List of days of the month that the job should execute on. Must be between `1` and `31`. `-1` for last day of the month. Only valid when frequency is `Month`.
*/
@JvmName("rrkqfswkxjonwyab")
public suspend fun advancedMonthDays(`value`: Output>) {
this.advancedMonthDays = value
}
@JvmName("lmeckucucvtbfkim")
public suspend fun advancedMonthDays(vararg values: Output) {
this.advancedMonthDays = Output.all(values.asList())
}
/**
* @param values List of days of the month that the job should execute on. Must be between `1` and `31`. `-1` for last day of the month. Only valid when frequency is `Month`.
*/
@JvmName("ipquoharmjdohvwe")
public suspend fun advancedMonthDays(values: List