Skip to main content

notification_recipient_users

Creates, updates, deletes, gets or lists a notification_recipient_users resource.

Overview

Namenotification_recipient_users
TypeResource
Idazure.api_management.notification_recipient_users

Fields

NameDatatypeDescription
propertiesobjectRecipient User Contract Properties.

Methods

NameAccessible byRequired ParamsDescription
list_by_notificationSELECTnotificationName, resourceGroupName, serviceName, subscriptionIdGets the list of the Notification Recipient User subscribed to the notification.
create_or_updateINSERTnotificationName, resourceGroupName, serviceName, subscriptionId, userIdAdds the API Management User to the list of Recipients for the Notification.
deleteDELETEnotificationName, resourceGroupName, serviceName, subscriptionId, userIdRemoves the API Management user from the list of Notification.

SELECT examples

Gets the list of the Notification Recipient User subscribed to the notification.

SELECT
properties
FROM azure.api_management.notification_recipient_users
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_users resource.

/*+ create */
INSERT INTO azure.api_management.notification_recipient_users (
notificationName,
resourceGroupName,
serviceName,
subscriptionId,
userId
)
SELECT
'{{ notificationName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ userId }}'
;

DELETE example

Deletes the specified notification_recipient_users resource.

/*+ delete */
DELETE FROM azure.api_management.notification_recipient_users
WHERE notificationName = '{{ notificationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND userId = '{{ userId }}';