Skip to main content

notifications

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

Overview

Namenotifications
TypeResource
Idazure.api_management.notifications

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
notificationNametextfield from the properties object
recipientstextfield from the properties object
resourceGroupNametextfield from the properties object
serviceNametextfield from the properties object
subscriptionIdtextfield from the properties object
titletextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTnotificationName, resourceGroupName, serviceName, subscriptionIdGets the details of the Notification specified by its identifier.
list_by_serviceSELECTresourceGroupName, serviceName, subscriptionIdLists a collection of properties defined within a service instance.
create_or_updateINSERTnotificationName, resourceGroupName, serviceName, subscriptionIdCreate or Update API Management publisher notification.

SELECT examples

Lists a collection of properties defined within a service instance.

SELECT
description,
notificationName,
recipients,
resourceGroupName,
serviceName,
subscriptionId,
title
FROM azure.api_management.vw_notifications
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new notifications resource.

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