turbot/azure_insights

Query: cosmosdb_account_failover_policy

Usage

powerpipe query azure_insights.query.cosmosdb_account_failover_policy

Steampipe Tables

SQL

select
f ->> 'failoverPriority' as "Failover Priority",
f ->> 'locationName' as "Location"
from
azure_cosmosdb_account,
jsonb_array_elements(failover_policies) f
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);

Dashboards

The query is used in the dashboards: