NotificationChannel Class
A notification.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
NotificationChannel(*, location: str | None = None, tags: Dict[str, str] | None = None, web_hook_url: str | None = None, email_recipient: str | None = None, notification_locale: str | None = None, description: str | None = None, events: List[Event] | None = None, **kwargs)
Parameters
| Name | Description |
|---|---|
|
location
Required
|
The location of the resource. |
|
tags
Required
|
A set of tags. The tags of the resource. |
|
web_hook_url
Required
|
The webhook URL to send notifications to. |
|
email_recipient
Required
|
The email recipient to send notifications to (can be a list of semi- colon separated email addresses). |
|
notification_locale
Required
|
The locale to use when sending a notification (fallback for unsupported languages is EN). |
|
description
Required
|
Description of notification. |
|
events
Required
|
The list of event for which this notification is enabled. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
location
|
Default value: None
|
|
tags
|
Default value: None
|
|
web_hook_url
|
Default value: None
|
|
email_recipient
|
Default value: None
|
|
notification_locale
|
Default value: None
|
|
description
|
Default value: None
|
|
events
|
Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
The identifier of the resource. |
|
name
|
The name of the resource. |
|
type
|
The type of the resource. |
|
created_date
|
The creation date of the notification channel. |
|
provisioning_state
|
The provisioning status of the resource. |
|
unique_identifier
|
The unique immutable identifier of a resource (Guid). |