vw_reservation_recommendation_details
Creates, updates, deletes, gets or lists a vw_reservation_recommendation_details
resource.
Overview
Name | vw_reservation_recommendation_details |
Type | View |
Id | azure.consumption.vw_reservation_recommendation_details |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
location as location,
type as type,
sku as sku,
JSON_EXTRACT(properties, '$.currency') as "currency",
JSON_EXTRACT(properties, '$.resource') as "resource",
JSON_EXTRACT(properties, '$.resourceGroup') as "resource_group",
JSON_EXTRACT(properties, '$.savings') as "savings",
JSON_EXTRACT(properties, '$.scope') as "scope",
JSON_EXTRACT(properties, '$.usage') as "usage",
resourceScope,
scope,
region,
term,
lookBackPeriod,
product
FROM azure.consumption.reservation_recommendation_details
WHERE resourceScope = 'replace-me' AND scope = 'replace-me' AND region = 'replace-me' AND term = 'replace-me' AND lookBackPeriod = 'replace-me' AND product = 'replace-me';
SELECT
id as id,
name as name,
location as location,
type as type,
sku as sku,
json_extract_path_text(properties, '$.currency') as "currency",
json_extract_path_text(properties, '$.resource') as "resource",
json_extract_path_text(properties, '$.resourceGroup') as "resource_group",
json_extract_path_text(properties, '$.savings') as "savings",
json_extract_path_text(properties, '$.scope') as "scope",
json_extract_path_text(properties, '$.usage') as "usage",
resourceScope,
scope,
region,
term,
lookBackPeriod,
product
FROM azure.consumption.reservation_recommendation_details
WHERE resourceScope = 'replace-me' AND scope = 'replace-me' AND region = 'replace-me' AND term = 'replace-me' AND lookBackPeriod = 'replace-me' AND product = 'replace-me';