vw_usages
Creates, updates, deletes, gets or lists a vw_usages
resource.
Overview
Name | vw_usages |
Type | View |
Id | azure.quota.vw_usages |
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,
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';
SELECT
id as id,
name as name,
type as type,
json_extract_path_text(properties, '$.usages') as "usages",
json_extract_path_text(properties, '$.unit') as "unit",
json_extract_path_text(properties, '$.name') as "name",
json_extract_path_text(properties, '$.resourceType') as "resource_type",
json_extract_path_text(properties, '$.quotaPeriod') as "quota_period",
json_extract_path_text(properties, '$.isQuotaApplicable') as "is_quota_applicable",
json_extract_path_text(properties, '$.properties') as "properties",
scope,
resourceName
FROM azure.quota.usages
WHERE scope = 'replace-me';