![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.monitoring.kotlin.outputs.AlertProcessingRuleSuppressionSchedule.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.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @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 AlertProcessingRuleSuppressionSchedule(
public val effectiveFrom: String? = null,
public val effectiveUntil: String? = null,
public val recurrence: AlertProcessingRuleSuppressionScheduleRecurrence? = null,
public val timeZone: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.AlertProcessingRuleSuppressionSchedule): AlertProcessingRuleSuppressionSchedule = AlertProcessingRuleSuppressionSchedule(
effectiveFrom = javaType.effectiveFrom().map({ args0 -> args0 }).orElse(null),
effectiveUntil = javaType.effectiveUntil().map({ args0 -> args0 }).orElse(null),
recurrence = javaType.recurrence().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.monitoring.kotlin.outputs.AlertProcessingRuleSuppressionScheduleRecurrence.Companion.toKotlin(args0)
})
}).orElse(null),
timeZone = javaType.timeZone().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy