turbot/azure_insights

Query: compute_disk_storage_by_resource_group

Usage

powerpipe query azure_insights.query.compute_disk_storage_by_resource_group

SQL

select
resource_group || ' [' || sub.title || ']' as "Resource Group",
sum(d.disk_size_gb) as "GB"
from
azure_compute_disk as d,
azure_subscription as sub
where
d.subscription_id = sub.subscription_id
group by
resource_group, sub.title
order by
resource_group;

Dashboards

The query is used in the dashboards: