![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.monitoring.kotlin.inputs.ScheduledQueryRulesAlertActionArgs.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.ScheduledQueryRulesAlertActionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 ScheduledQueryRulesAlertActionArgs(
public val actionGroups: Output>,
public val customWebhookPayload: Output? = null,
public val emailSubject: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.monitoring.inputs.ScheduledQueryRulesAlertActionArgs =
com.pulumi.azure.monitoring.inputs.ScheduledQueryRulesAlertActionArgs.builder()
.actionGroups(actionGroups.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.customWebhookPayload(customWebhookPayload?.applyValue({ args0 -> args0 }))
.emailSubject(emailSubject?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ScheduledQueryRulesAlertActionArgs].
*/
@PulumiTagMarker
public class ScheduledQueryRulesAlertActionArgsBuilder internal constructor() {
private var actionGroups: Output>? = null
private var customWebhookPayload: Output? = null
private var emailSubject: Output? = null
/**
* @param value List of action group reference resource IDs.
*/
@JvmName("cuasovborcavitww")
public suspend fun actionGroups(`value`: Output>) {
this.actionGroups = value
}
@JvmName("aawbilrdqmtivltk")
public suspend fun actionGroups(vararg values: Output) {
this.actionGroups = Output.all(values.asList())
}
/**
* @param values List of action group reference resource IDs.
*/
@JvmName("ornogusbfujcuxfs")
public suspend fun actionGroups(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy