vw_quotas
Creates, updates, deletes, gets or lists a vw_quotas
resource.
Overview
Name | vw_quotas |
Type | View |
Id | azure.reservations.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, '$.currentValue') as "current_value",
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, '$.properties') as "properties",
subscriptionId,
providerId,
location,
resourceName
FROM azure.reservations.quotas
WHERE subscriptionId = 'replace-me' AND providerId = 'replace-me' AND location = '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, '$.currentValue') as "current_value",
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, '$.properties') as "properties",
subscriptionId,
providerId,
location,
resourceName
FROM azure.reservations.quotas
WHERE subscriptionId = 'replace-me' AND providerId = 'replace-me' AND location = 'replace-me';