RuleEmailAction Class

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

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.monitor.v2015_04_01.models._models_py3.RuleAction
RuleEmailAction

Constructor

RuleEmailAction(*, send_to_service_owners: Optional[bool] = None, custom_emails: Optional[List[str]] = None, **kwargs)

Variables

odata_type
str

Required. specifies the type of the action. There are two types of actions: RuleEmailAction and RuleWebhookAction.Constant filled by server.

send_to_service_owners
bool

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

custom_emails
list[str]

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