turbot/alicloud_insights

Query: ecs_disk_age_table

Usage

powerpipe query alicloud_insights.query.ecs_disk_age_table

SQL

select
d.name as "Name",
d.disk_id as "Disk ID",
now()::date - d.creation_time::date as "Age in Days",
d.creation_time as "Create Time",
d.status as "State",
a.title as "Account",
d.account_id as "Account ID",
d.region as "Region",
d.arn as "ARN"
from
alicloud_ecs_disk as d,
alicloud_account as a
where
d.account_id = a.account_id
order by
d.creation_time,
d.name;

Dashboards

The query is used in the dashboards: