Skip to main content

vw_views

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

Overview

Namevw_views
TypeView
Idazure.cost_management.vw_views

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,
eTag as e_tag,
JSON_EXTRACT(properties, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.scope') as "scope",
JSON_EXTRACT(properties, '$.createdOn') as "created_on",
JSON_EXTRACT(properties, '$.modifiedOn') as "modified_on",
JSON_EXTRACT(properties, '$.dateRange') as "date_range",
JSON_EXTRACT(properties, '$.currency') as "currency",
JSON_EXTRACT(properties, '$.query') as "query",
JSON_EXTRACT(properties, '$.chart') as "chart",
JSON_EXTRACT(properties, '$.accumulated') as "accumulated",
JSON_EXTRACT(properties, '$.metric') as "metric",
JSON_EXTRACT(properties, '$.kpis') as "kpis",
JSON_EXTRACT(properties, '$.pivots') as "pivots",
scope,
viewName
FROM azure.cost_management.views
WHERE scope = 'replace-me' AND viewName = 'replace-me';