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

com.pulumi.azure.monitoring.kotlin.outputs.ScheduledQueryRulesAlertAction.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.monitoring.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property actionGroups List of action group reference resource IDs.
 * @property customWebhookPayload Custom payload to be sent for all webhook payloads in alerting action.
 * @property emailSubject Custom subject override for all email ids in Azure action group.
 */
public data class ScheduledQueryRulesAlertAction(
    public val actionGroups: List,
    public val customWebhookPayload: String? = null,
    public val emailSubject: String? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.ScheduledQueryRulesAlertAction):
            ScheduledQueryRulesAlertAction = ScheduledQueryRulesAlertAction(
            actionGroups = javaType.actionGroups().map({ args0 -> args0 }),
            customWebhookPayload = javaType.customWebhookPayload().map({ args0 -> args0 }).orElse(null),
            emailSubject = javaType.emailSubject().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy