com.pulumi.azure.monitoring.kotlin.inputs.AlertProcessingRuleSuppressionScheduleArgs.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.AlertProcessingRuleSuppressionScheduleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property effectiveFrom Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
* @property effectiveUntil Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
* @property recurrence A `recurrence` block as defined above.
* @property timeZone The time zone (e.g. Pacific Standard time, Eastern Standard Time). Defaults to `UTC`. [possible values are defined here](https://docs.microsoft.com/en-us/previous-versions/windows/embedded/ms912391(v=winembedded.11)).
*/
public data class AlertProcessingRuleSuppressionScheduleArgs(
public val effectiveFrom: Output? = null,
public val effectiveUntil: Output? = null,
public val recurrence: Output? = null,
public val timeZone: Output? = null,
) : ConvertibleToJava {
override fun toJava():
com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionScheduleArgs =
com.pulumi.azure.monitoring.inputs.AlertProcessingRuleSuppressionScheduleArgs.builder()
.effectiveFrom(effectiveFrom?.applyValue({ args0 -> args0 }))
.effectiveUntil(effectiveUntil?.applyValue({ args0 -> args0 }))
.recurrence(recurrence?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.timeZone(timeZone?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AlertProcessingRuleSuppressionScheduleArgs].
*/
@PulumiTagMarker
public class AlertProcessingRuleSuppressionScheduleArgsBuilder internal constructor() {
private var effectiveFrom: Output? = null
private var effectiveUntil: Output? = null
private var recurrence: Output? = null
private var timeZone: Output? = null
/**
* @param value Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
*/
@JvmName("lwrqptawweqpmhpc")
public suspend fun effectiveFrom(`value`: Output) {
this.effectiveFrom = value
}
/**
* @param value Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
*/
@JvmName("jqmteywalvhavwlo")
public suspend fun effectiveUntil(`value`: Output) {
this.effectiveUntil = value
}
/**
* @param value A `recurrence` block as defined above.
*/
@JvmName("lvoubailhbdflldt")
public suspend
fun recurrence(`value`: Output) {
this.recurrence = value
}
/**
* @param value The time zone (e.g. Pacific Standard time, Eastern Standard Time). Defaults to `UTC`. [possible values are defined here](https://docs.microsoft.com/en-us/previous-versions/windows/embedded/ms912391(v=winembedded.11)).
*/
@JvmName("nxohttsetygharxt")
public suspend fun timeZone(`value`: Output) {
this.timeZone = value
}
/**
* @param value Specifies the Alert Processing Rule effective start time (Y-m-d'T'H:M:S).
*/
@JvmName("vxhswqyqewhitbhr")
public suspend fun effectiveFrom(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.effectiveFrom = mapped
}
/**
* @param value Specifies the Alert Processing Rule effective end time (Y-m-d'T'H:M:S).
*/
@JvmName("uktwyvwjrvihuqka")
public suspend fun effectiveUntil(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.effectiveUntil = mapped
}
/**
* @param value A `recurrence` block as defined above.
*/
@JvmName("vuyumahqiikbtkxl")
public suspend fun recurrence(`value`: AlertProcessingRuleSuppressionScheduleRecurrenceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.recurrence = mapped
}
/**
* @param argument A `recurrence` block as defined above.
*/
@JvmName("bhxdckotbbktsmqx")
public suspend
fun recurrence(argument: suspend AlertProcessingRuleSuppressionScheduleRecurrenceArgsBuilder.() -> Unit) {
val toBeMapped = AlertProcessingRuleSuppressionScheduleRecurrenceArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.recurrence = mapped
}
/**
* @param value The time zone (e.g. Pacific Standard time, Eastern Standard Time). Defaults to `UTC`. [possible values are defined here](https://docs.microsoft.com/en-us/previous-versions/windows/embedded/ms912391(v=winembedded.11)).
*/
@JvmName("triifrrljluhacqj")
public suspend fun timeZone(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.timeZone = mapped
}
internal fun build(): AlertProcessingRuleSuppressionScheduleArgs =
AlertProcessingRuleSuppressionScheduleArgs(
effectiveFrom = effectiveFrom,
effectiveUntil = effectiveUntil,
recurrence = recurrence,
timeZone = timeZone,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy