vw_notifications
Creates, updates, deletes, gets or lists a vw_notifications
resource.
Overview
Name | vw_notifications |
Type | View |
Id | azure_extras.marketplace_notifications.vw_notifications |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
JSON_EXTRACT(properties, '$.offerId') as "offer_id",
JSON_EXTRACT(properties, '$.createdDate') as "created_date",
JSON_EXTRACT(properties, '$.offerDisplayName') as "offer_display_name",
JSON_EXTRACT(properties, '$.principalId') as "principal_id",
subscription,
notification,
principalId
FROM azure_extras.marketplace_notifications.notifications
WHERE subscription = 'replace-me' AND principalId = 'replace-me';
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.offerId') as "offer_id",
json_extract_path_text(properties, '$.createdDate') as "created_date",
json_extract_path_text(properties, '$.offerDisplayName') as "offer_display_name",
json_extract_path_text(properties, '$.principalId') as "principal_id",
subscription,
notification,
principalId
FROM azure_extras.marketplace_notifications.notifications
WHERE subscription = 'replace-me' AND principalId = 'replace-me';