![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.monitoring.kotlin.inputs.AutoscaleSettingProfileRecurrenceArgs.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.monitoring.kotlin.inputs
import com.pulumi.azure.monitoring.inputs.AutoscaleSettingProfileRecurrenceArgs.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 days A list of days that this profile takes effect on. Possible values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
* @property hours A list containing a single item, which specifies the Hour interval at which this recurrence should be triggered (in 24-hour time). Possible values are from `0` to `23`.
* @property minutes A list containing a single item which specifies the Minute interval at which this recurrence should be triggered.
* @property timezone The Time Zone used for the `hours` field. A list of [possible values can be found here](https://msdn.microsoft.com/en-us/library/azure/dn931928.aspx). Defaults to `UTC`.
*/
public data class AutoscaleSettingProfileRecurrenceArgs(
public val days: Output>,
public val hours: Output,
public val minutes: Output,
public val timezone: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.monitoring.inputs.AutoscaleSettingProfileRecurrenceArgs =
com.pulumi.azure.monitoring.inputs.AutoscaleSettingProfileRecurrenceArgs.builder()
.days(days.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.hours(hours.applyValue({ args0 -> args0 }))
.minutes(minutes.applyValue({ args0 -> args0 }))
.timezone(timezone?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AutoscaleSettingProfileRecurrenceArgs].
*/
@PulumiTagMarker
public class AutoscaleSettingProfileRecurrenceArgsBuilder internal constructor() {
private var days: Output>? = null
private var hours: Output? = null
private var minutes: Output? = null
private var timezone: Output? = null
/**
* @param value A list of days that this profile takes effect on. Possible values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
*/
@JvmName("mcjpgjfrxysrhrfb")
public suspend fun days(`value`: Output>) {
this.days = value
}
@JvmName("apxxhrpwhqqabtmg")
public suspend fun days(vararg values: Output) {
this.days = Output.all(values.asList())
}
/**
* @param values A list of days that this profile takes effect on. Possible values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
*/
@JvmName("jdtbljfxuocrihdl")
public suspend fun days(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy