turbot/azure_insights

Query: cosmosdb_account_by_subscription

Usage

powerpipe query azure_insights.query.cosmosdb_account_by_subscription

SQL

select
sub.title as "Subscription",
count(s.*) as "Accounts"
from
azure_cosmosdb_account 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: