All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.monitoring.kotlin.outputs.AlertProcessingRuleSuppressionSchedule.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@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