steampipe plugin install francois2metz/ovh

Table: ovh_cloud_volume

A volume is an independent additional disk.

The ovh_cloud_volume table can be used to query information about volumes and you must specify which cloud project in the where or join clause (where project_id=, join ovh_cloud_project on id=).

Examples

List volumes of a cloud project

select
id,
name
from
ovh_cloud_volume
where
project_id = '27c5a6d3dfez87893jfd88fdsfmvnqb8'

List unused volumes of a cloud project

select
id,
name
from
ovh_cloud_volume
where
project_id = '27c5a6d3dfez87893jfd88fdsfmvnqb8'
and status != 'in-use'

Schema for ovh_cloud_volume

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
attached_tojsonbVolume attached to instances ID.
bootablebooleanVolume bootable.
created_attimestamp with time zoneVolume creation date.
descriptiontextVolume description.
idtext=Volume ID.
nametextVolume name.
planCodetextOrder plan code.
project_idtext=Project ID.
regiontextVolume region.
sizebigintVolume size (in GB).
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
statustextVolume status.
typetextVolume type (classic, high-speed, high-speed-gen2