turbot/azure_insights

Query: compute_snapshot_by_subscription

Usage

powerpipe query azure_insights.query.compute_snapshot_by_subscription

SQL

select
sub.title as "Subscription",
count(s.*) as "Snapshots"
from
azure_compute_snapshot as s,
azure_subscription as sub
where
sub.subscription_id = s.subscription_id
group by
sub.title
order by
sub.title;

Dashboards

The query is used in the dashboards: