turbot/azure_insights

Query: cosmosdb_account_automatic_failover

Usage

powerpipe query azure_insights.query.cosmosdb_account_automatic_failover

Steampipe Tables

SQL

select
'Automatic Failover' as label,
case when enable_automatic_failover then 'Enabled' else 'Disabled' end as value,
case when enable_automatic_failover then 'ok' else 'alert' end as type
from
azure_cosmosdb_account
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);

Dashboards

The query is used in the dashboards: