notifications
Creates, updates, deletes, gets or lists a notifications
resource.
Overview
Name | notifications |
Type | Resource |
Id | azure.api_management.notifications |
Fields
- vw_notifications
- notifications
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
notificationName | text | field from the properties object |
recipients | text | field from the properties object |
resourceGroupName | text | field from the properties object |
serviceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
title | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Notification Contract properties. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | notificationName, resourceGroupName, serviceName, subscriptionId | Gets the details of the Notification specified by its identifier. |
list_by_service | SELECT | resourceGroupName, serviceName, subscriptionId | Lists a collection of properties defined within a service instance. |
create_or_update | INSERT | notificationName, resourceGroupName, serviceName, subscriptionId | Create or Update API Management publisher notification. |
SELECT
examples
Lists a collection of properties defined within a service instance.
- vw_notifications
- notifications
SELECT
description,
notificationName,
recipients,
resourceGroupName,
serviceName,
subscriptionId,
title
FROM azure.api_management.vw_notifications
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.api_management.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.api_management.notifications (
notificationName,
resourceGroupName,
serviceName,
subscriptionId
)
SELECT
'{{ notificationName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}'
;
- name: your_resource_model_name
props: []