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

com.pulumi.azure.monitoring.kotlin.outputs.AlertProcessingRuleActionGroupScheduleRecurrence.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.Suppress
import kotlin.collections.List

/**
 *
 * @property dailies One or more `daily` blocks as defined above.
 * @property monthlies One or more `monthly` blocks as defined above.
 * @property weeklies One or more `weekly` blocks as defined below.
 */
public data class AlertProcessingRuleActionGroupScheduleRecurrence(
    public val dailies: List? = null,
    public val monthlies: List? = null,
    public val weeklies: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.AlertProcessingRuleActionGroupScheduleRecurrence): AlertProcessingRuleActionGroupScheduleRecurrence =
            AlertProcessingRuleActionGroupScheduleRecurrence(
                dailies = javaType.dailies().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.monitoring.kotlin.outputs.AlertProcessingRuleActionGroupScheduleRecurrenceDaily.Companion.toKotlin(args0)
                    })
                }),
                monthlies = javaType.monthlies().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.monitoring.kotlin.outputs.AlertProcessingRuleActionGroupScheduleRecurrenceMonthly.Companion.toKotlin(args0)
                    })
                }),
                weeklies = javaType.weeklies().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.monitoring.kotlin.outputs.AlertProcessingRuleActionGroupScheduleRecurrenceWeekly.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy