![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.insights.kotlin.inputs.EmailNotificationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.insights.kotlin.inputs
import com.pulumi.azurenative.insights.inputs.EmailNotificationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Email notification of an autoscale event.
* @property customEmails the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored.
* @property sendToSubscriptionAdministrator a value indicating whether to send email to subscription administrator.
* @property sendToSubscriptionCoAdministrators a value indicating whether to send email to subscription co-administrators.
*/
public data class EmailNotificationArgs(
public val customEmails: Output>? = null,
public val sendToSubscriptionAdministrator: Output? = null,
public val sendToSubscriptionCoAdministrators: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.insights.inputs.EmailNotificationArgs =
com.pulumi.azurenative.insights.inputs.EmailNotificationArgs.builder()
.customEmails(customEmails?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.sendToSubscriptionAdministrator(sendToSubscriptionAdministrator?.applyValue({ args0 -> args0 }))
.sendToSubscriptionCoAdministrators(
sendToSubscriptionCoAdministrators?.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [EmailNotificationArgs].
*/
@PulumiTagMarker
public class EmailNotificationArgsBuilder internal constructor() {
private var customEmails: Output>? = null
private var sendToSubscriptionAdministrator: Output? = null
private var sendToSubscriptionCoAdministrators: Output? = null
/**
* @param value the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored.
*/
@JvmName("hpmmuytclmtilxfc")
public suspend fun customEmails(`value`: Output>) {
this.customEmails = value
}
@JvmName("yaovbqlevibuxgtp")
public suspend fun customEmails(vararg values: Output) {
this.customEmails = Output.all(values.asList())
}
/**
* @param values the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored.
*/
@JvmName("ubuxoyqemxcrtunx")
public suspend fun customEmails(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy