turbot/ibm_insights

Query: ibm_compute_instance_data_volume

Usage

powerpipe query ibm_insights.query.ibm_compute_instance_data_volume

Steampipe Tables

SQL

select
a -> 'volume' ->> 'name' as "Name",
a -> 'volume' ->> 'id' as "ID",
a ->> 'name' as "Attachment Name",
a ->> 'id' as "Attachment ID"
from
ibm_is_instance,
jsonb_array_elements(volume_attachments) as a
where
a ->> 'id' <> boot_volume_attachment ->> 'id'
and crn = $1
order by
a -> 'volume' ->> 'name';

Params

ArgsNameDefaultDescriptionVariable
$1crn

    Dashboards

    The query is used in the dashboards: