turbot/azure_insights

Query: cosmosdb_mongo_database_throughput_settings

Usage

powerpipe query azure_insights.query.cosmosdb_mongo_database_throughput_settings

SQL

select
throughput_settings ->> 'Name' as "Name",
throughput_settings ->> 'ResourceThroughput' as "Throughput - (RU/s)",
throughput_settings ->> 'AutoscaleSettingsMaxThroughput' as "Maximum Throughput - (RU/s)",
throughput_settings ->> 'ResourceMinimumThroughput' as "Minimum Throughput - (RU/s)",
throughput_settings ->> '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: