turbot/oci_insights

Query: blockstorage_boot_volume_by_tenancy

Usage

powerpipe query oci_insights.query.blockstorage_boot_volume_by_tenancy

SQL

select
t.title as "Tenancy",
count(v.*) as "Boot volumes"
from
oci_core_boot_volume as v,
oci_identity_tenancy as t
where
t.id = v.tenant_id and v.lifecycle_state <> 'TERMINATED'
group by
t.title
order by
t.title;

Dashboards

The query is used in the dashboards: