vw_capacity_reservation_groups
Creates, updates, deletes, gets or lists a vw_capacity_reservation_groups
resource.
Overview
Name | vw_capacity_reservation_groups |
Type | View |
Id | azure.compute.vw_capacity_reservation_groups |
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,
zones as zones,
type as type,
tags as tags,
JSON_EXTRACT(properties, '$.capacityReservations') as "capacity_reservations",
JSON_EXTRACT(properties, '$.virtualMachinesAssociated') as "virtual_machines_associated",
JSON_EXTRACT(properties, '$.instanceView') as "instance_view",
JSON_EXTRACT(properties, '$.sharingProfile') as "sharing_profile",
subscriptionId,
resourceGroupName,
capacityReservationGroupName
FROM azure.compute.capacity_reservation_groups
WHERE subscriptionId = 'replace-me';
SELECT
id as id,
name as name,
location as location,
zones as zones,
type as type,
tags as tags,
json_extract_path_text(properties, '$.capacityReservations') as "capacity_reservations",
json_extract_path_text(properties, '$.virtualMachinesAssociated') as "virtual_machines_associated",
json_extract_path_text(properties, '$.instanceView') as "instance_view",
json_extract_path_text(properties, '$.sharingProfile') as "sharing_profile",
subscriptionId,
resourceGroupName,
capacityReservationGroupName
FROM azure.compute.capacity_reservation_groups
WHERE subscriptionId = 'replace-me';