turbot/azure_insights

Query: app_service_web_app_by_resource_group

Usage

powerpipe query azure_insights.query.app_service_web_app_by_resource_group

SQL

select
resource_group || ' [' || sub.title || ']' as "Resource Group",
count(wa.*) as "Web Apps"
from
azure_app_service_web_app as wa,
azure_subscription as sub
where
wa.subscription_id = sub.subscription_id
group by
resource_group, sub.title
order by
resource_group;

Dashboards

The query is used in the dashboards: