RuleEmailActionArgs

data class RuleEmailActionArgs(val customEmails: Output<List<String>>? = null, val odataType: Output<String>, val sendToServiceOwners: Output<Boolean>? = null) : ConvertibleToJava<RuleEmailActionArgs>

Specifies the action to send email when the rule condition is evaluated. The discriminator is always RuleEmailAction in this case.

Constructors

Link copied to clipboard
constructor(customEmails: Output<List<String>>? = null, odataType: Output<String>, sendToServiceOwners: Output<Boolean>? = null)

Properties

Link copied to clipboard
val customEmails: Output<List<String>>? = null

the list of administrator's custom email addresses to notify of the activation of the alert.

Link copied to clipboard
val odataType: Output<String>

specifies the type of the action. There are two types of actions: RuleEmailAction and RuleWebhookAction. Expected value is 'Microsoft.Azure.Management.Insights.Models.RuleEmailAction'.

Link copied to clipboard
val sendToServiceOwners: Output<Boolean>? = null

Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated.

Functions

Link copied to clipboard
open override fun toJava(): RuleEmailActionArgs