Skip to main content

vw_workspace_subscriptions

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

Overview

Namevw_workspace_subscriptions
TypeView
Idazure.api_management.vw_workspace_subscriptions

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
JSON_EXTRACT(properties, '$.ownerId') as "owner_id",
JSON_EXTRACT(properties, '$.scope') as "scope",
JSON_EXTRACT(properties, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.state') as "state",
JSON_EXTRACT(properties, '$.createdDate') as "created_date",
JSON_EXTRACT(properties, '$.startDate') as "start_date",
JSON_EXTRACT(properties, '$.expirationDate') as "expiration_date",
JSON_EXTRACT(properties, '$.endDate') as "end_date",
JSON_EXTRACT(properties, '$.notificationDate') as "notification_date",
JSON_EXTRACT(properties, '$.primaryKey') as "primary_key",
JSON_EXTRACT(properties, '$.secondaryKey') as "secondary_key",
JSON_EXTRACT(properties, '$.stateComment') as "state_comment",
JSON_EXTRACT(properties, '$.allowTracing') as "allow_tracing",
subscriptionId,
resourceGroupName,
serviceName,
workspaceId,
sid
FROM azure.api_management.workspace_subscriptions
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serviceName = 'replace-me' AND workspaceId = 'replace-me';