turbot/azure_insights

Query: virtual_network_by_subscription

Usage

powerpipe query azure_insights.query.virtual_network_by_subscription

SQL

select
sub.title as "Subscription",
count(n.*) as "Virtual Networks"
from
azure_virtual_network as n,
azure_subscription as sub
where
sub.subscription_id = n.subscription_id
group by
sub.title
order by
sub.title;

Dashboards

The query is used in the dashboards: