Skip to main content

vw_usages

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

Overview

Namevw_usages
TypeView
Idazure.quota.vw_usages

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, '$.usages') as "usages",
JSON_EXTRACT(properties, '$.unit') as "unit",
JSON_EXTRACT(properties, '$.name') as "name",
JSON_EXTRACT(properties, '$.resourceType') as "resource_type",
JSON_EXTRACT(properties, '$.quotaPeriod') as "quota_period",
JSON_EXTRACT(properties, '$.isQuotaApplicable') as "is_quota_applicable",
JSON_EXTRACT(properties, '$.properties') as "properties",
scope,
resourceName
FROM azure.quota.usages
WHERE scope = 'replace-me';