notification_recipient_emails
Creates, updates, deletes, gets or lists a notification_recipient_emails
resource.
Overview
Name | notification_recipient_emails |
Type | Resource |
Id | azure.api_management.notification_recipient_emails |
Fields
Name | Datatype | Description |
---|---|---|
properties | object | Recipient Email Contract Properties. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_by_notification | SELECT | notificationName, resourceGroupName, serviceName, subscriptionId | Gets the list of the Notification Recipient Emails subscribed to a notification. |
create_or_update | INSERT | email, notificationName, resourceGroupName, serviceName, subscriptionId | Adds the Email address to the list of Recipients for the Notification. |
delete | DELETE | email, notificationName, resourceGroupName, serviceName, subscriptionId | Removes the email from the list of Notification. |
SELECT
examples
Gets the list of the Notification Recipient Emails subscribed to a notification.
SELECT
properties
FROM azure.api_management.notification_recipient_emails
WHERE notificationName = '{{ notificationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new notification_recipient_emails
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.api_management.notification_recipient_emails (
email,
notificationName,
resourceGroupName,
serviceName,
subscriptionId
)
SELECT
'{{ email }}',
'{{ notificationName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}'
;
- name: your_resource_model_name
props: []
DELETE
example
Deletes the specified notification_recipient_emails
resource.
/*+ delete */
DELETE FROM azure.api_management.notification_recipient_emails
WHERE email = '{{ email }}'
AND notificationName = '{{ notificationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';