turbot/azure_insights

Query: cosmosdb_account_for_cosmosdb_mongo_database

Usage

powerpipe query azure_insights.query.cosmosdb_account_for_cosmosdb_mongo_database

SQL

select
lower(a.id) as account_id
from
azure_cosmosdb_mongo_database d,
azure_cosmosdb_account as a
where
d.resource_group = a.resource_group
and d.subscription_id = a.subscription_id
and account_name = a.name
and lower(d.id) = $1;