workspace_notifications
Creates, updates, deletes, gets or lists a workspace_notifications
resource.
Overview
Name | workspace_notifications |
Type | Resource |
Id | azure.api_management.workspace_notifications |
Fields
- vw_workspace_notifications
- workspace_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 |
workspaceId | 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, workspaceId | Gets the details of the Notification specified by its identifier. |
list_by_service | SELECT | resourceGroupName, serviceName, subscriptionId, workspaceId | Lists a collection of properties defined within a service instance. |
create_or_update | INSERT | notificationName, resourceGroupName, serviceName, subscriptionId, workspaceId | Create or Update API Management publisher notification for the workspace. |
SELECT
examples
Lists a collection of properties defined within a service instance.
- vw_workspace_notifications
- workspace_notifications
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 }}';
SELECT
properties
FROM azure.api_management.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.api_management.workspace_notifications (
notificationName,
resourceGroupName,
serviceName,
subscriptionId,
workspaceId
)
SELECT
'{{ notificationName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ workspaceId }}'
;
- name: your_resource_model_name
props: []