turbot/azure_insights

Query: cosmosdb_mongo_database_overview

Usage

powerpipe query azure_insights.query.cosmosdb_mongo_database_overview

SQL

select
name as "Name",
database_id as "Database ID",
region as "Region",
resource_group as "Resource Group",
subscription_id as "Subscription ID",
id as "ID"
from
azure_cosmosdb_mongo_database
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);

Dashboards

The query is used in the dashboards: