Skip to main content

notifications

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

Overview

Namenotifications
TypeResource
Idazure.api_management.notifications

Fields

The following fields are returned by SELECT queries:

The response body contains the specified Notification.

NameDatatypeDescription
propertiesobjectNotification entity contract properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, serviceName, notificationName, subscriptionIdGets the details of the Notification specified by its identifier.
list_by_serviceselectresourceGroupName, serviceName, subscriptionId$top, $skipLists a collection of properties defined within a service instance.
create_or_updateinsertresourceGroupName, serviceName, notificationName, subscriptionIdIf-MatchCreate or Update API Management publisher notification.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
notificationNamestringNotification Name Identifier.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serviceNamestringThe name of the API Management service.
subscriptionIdstringThe ID of the target subscription.
$skipinteger (int32)Number of records to skip.
$topinteger (int32)Number of records to return.
If-MatchstringETag of the Entity. Not required when creating an entity, but required when updating an entity.

SELECT examples

Gets the details of the Notification specified by its identifier.

SELECT
properties
FROM azure.api_management.notifications
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND notificationName = '{{ notificationName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

INSERT examples

Create or Update API Management publisher notification.

INSERT INTO azure.api_management.notifications (
resourceGroupName,
serviceName,
notificationName,
subscriptionId,
If-Match
)
SELECT
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ notificationName }}',
'{{ subscriptionId }}',
'{{ If-Match }}'
RETURNING
properties
;