NotificationRequestBody Class
The request body which contain contact detail metadata.
All required parameters must be populated in order to send to server.
Constructor
NotificationRequestBody(*, alert_type: str, email_receivers: List[_models.EmailReceiver] | None = None, sms_receivers: List[_models.SmsReceiver] | None = None, webhook_receivers: List[_models.WebhookReceiver] | None = None, itsm_receivers: List[_models.ItsmReceiver] | None = None, azure_app_push_receivers: List[_models.AzureAppPushReceiver] | None = None, automation_runbook_receivers: List[_models.AutomationRunbookReceiver] | None = None, voice_receivers: List[_models.VoiceReceiver] | None = None, logic_app_receivers: List[_models.LogicAppReceiver] | None = None, azure_function_receivers: List[_models.AzureFunctionReceiver] | None = None, arm_role_receivers: List[_models.ArmRoleReceiver] | None = None, event_hub_receivers: List[_models.EventHubReceiver] | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
alert_type
|
The value of the supported alert type. Supported alert type values are: servicehealth, metricstaticthreshold, metricsdynamicthreshold, logalertv2, smartalert, webtestalert, logalertv1numresult, logalertv1metricmeasurement, resourcehealth, activitylog, actualcostbudget, forecastedbudget. Required. |
|
email_receivers
|
The list of email receivers that are part of this action group. Default value: None
|
|
sms_receivers
|
The list of SMS receivers that are part of this action group. Default value: None
|
|
webhook_receivers
|
The list of webhook receivers that are part of this action group. Default value: None
|
|
itsm_receivers
|
The list of ITSM receivers that are part of this action group. Default value: None
|
|
azure_app_push_receivers
|
The list of AzureAppPush receivers that are part of this action group. Default value: None
|
|
automation_runbook_receivers
|
The list of AutomationRunbook receivers that are part of this action group. Default value: None
|
|
voice_receivers
|
The list of voice receivers that are part of this action group. Default value: None
|
|
logic_app_receivers
|
The list of logic app receivers that are part of this action group. Default value: None
|
|
azure_function_receivers
|
The list of azure function receivers that are part of this action group. Default value: None
|
|
arm_role_receivers
|
The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported. Default value: None
|
|
event_hub_receivers
|
The list of event hub receivers that are part of this action group. Default value: None
|
Variables
| Name | Description |
|---|---|
|
alert_type
|
The value of the supported alert type. Supported alert type values are: servicehealth, metricstaticthreshold, metricsdynamicthreshold, logalertv2, smartalert, webtestalert, logalertv1numresult, logalertv1metricmeasurement, resourcehealth, activitylog, actualcostbudget, forecastedbudget. Required. |
|
email_receivers
|
The list of email receivers that are part of this action group. |
|
sms_receivers
|
The list of SMS receivers that are part of this action group. |
|
webhook_receivers
|
The list of webhook receivers that are part of this action group. |
|
itsm_receivers
|
The list of ITSM receivers that are part of this action group. |
|
azure_app_push_receivers
|
The list of AzureAppPush receivers that are part of this action group. |
|
automation_runbook_receivers
|
The list of AutomationRunbook receivers that are part of this action group. |
|
voice_receivers
|
The list of voice receivers that are part of this action group. |
|
logic_app_receivers
|
The list of logic app receivers that are part of this action group. |
|
azure_function_receivers
|
The list of azure function receivers that are part of this action group. |
|
arm_role_receivers
|
The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported. |
|
event_hub_receivers
|
The list of event hub receivers that are part of this action group. |