Skip to main content

vw_communications

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

Overview

Namevw_communications
TypeView
Idazure.support.vw_communications

Fields

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

SQL Definition

SELECT
id as id,
name as name,
type as type,
JSON_EXTRACT(properties, '$.communicationType') as "communication_type",
JSON_EXTRACT(properties, '$.communicationDirection') as "communication_direction",
JSON_EXTRACT(properties, '$.sender') as "sender",
JSON_EXTRACT(properties, '$.subject') as "subject",
JSON_EXTRACT(properties, '$.body') as "body",
JSON_EXTRACT(properties, '$.createdDate') as "created_date",
subscriptionId,
supportTicketName,
communicationName
FROM azure.support.communications
WHERE subscriptionId = 'replace-me' AND supportTicketName = 'replace-me';