Control: Disks with high IOPS should be resized if too large
Description
High IOPS disks are costly and usage should be reviewed.
Usage
Run the control in your terminal:
powerpipe control run azure_thrifty.control.compute_disk_high_iopsSnapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_thrifty.control.compute_disk_high_iops --shareSteampipe Tables
SQL
select  disk.id as resource,  case    when disk_iops_read_write > $1 then 'alarm'    else 'ok'  end as status,  disk.title || ' has ' || disk_iops_read_write || ' IOPS.'  as reason    , disk.resource_group  , display_name as subscriptionfrom  azure_compute_disk as disk,  azure_subscription as subwhere  sub.subscription_id = disk.subscription_id;
Params
| Args | Name | Default | Description | Variable | 
|---|---|---|---|---|
| $1 | compute_disk_max_iops |  | The maximum IOPS allowed for disks. |