Skip to main content

vw_departments

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

Overview

Namevw_departments
TypeView
Idazure.billing.vw_departments

Fields

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

SQL Definition

SELECT
tags as tags,
JSON_EXTRACT(properties, '$.costCenter') as "cost_center",
JSON_EXTRACT(properties, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.id') as "id",
JSON_EXTRACT(properties, '$.status') as "status",
billingAccountName,
departmentName
FROM azure.billing.departments
WHERE billingAccountName = 'replace-me';