turbot/azure_insights

Query: torage_account_by_subscription

Usage

powerpipe query azure_insights.query.torage_account_by_subscription

SQL

select
a.title as "Subscription",
count(v.*) as "Storage Accounts"
from
azure_storage_account as v,
azure_subscription as a
where
a.subscription_id = v.subscription_id
group by
a.title
order by
a.title;

Dashboards

The query is used in the dashboards: