vw_quotas
Creates, updates, deletes, gets or lists a vw_quotas
resource.
Overview
Name | vw_quotas |
Type | View |
Id | azure.quota.vw_quotas |
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, '$.limit') as "limit",
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.quotas
WHERE scope = 'replace-me';
SELECT
id as id,
name as name,
type as type,
json_extract_path_text(properties, '$.limit') as "limit",
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.quotas
WHERE scope = 'replace-me';