Skip to main content

workspace_notifications

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

Overview

Nameworkspace_notifications
TypeResource
Idazure.api_management.workspace_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
workspaceIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTnotificationName, resourceGroupName, serviceName, subscriptionId, workspaceIdGets the details of the Notification specified by its identifier.
list_by_serviceSELECTresourceGroupName, serviceName, subscriptionId, workspaceIdLists a collection of properties defined within a service instance.
create_or_updateINSERTnotificationName, resourceGroupName, serviceName, subscriptionId, workspaceIdCreate or Update API Management publisher notification for the workspace.

SELECT examples

Lists a collection of properties defined within a service instance.

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

INSERT example

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

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