turbot/azure_insights

Query: sql_database_overview

Usage

powerpipe query azure_insights.query.sql_database_overview

Steampipe Tables

SQL

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

Dashboards

The query is used in the dashboards: