turbot/azure_insights

Query: batch_accounts_for_storage_account

Usage

powerpipe query azure_insights.query.batch_accounts_for_storage_account

SQL

select
lower(b.id) as batch_account_id
from
azure_batch_account as b
left join azure_storage_account as a on a.id = b.auto_storage ->> 'storageAccountId'
where
lower(a.id) = $1;