steampipe plugin install francois2metz/ovh

Table: ovh_cloud_storage_s3

An S3 storage is an S3 object storage.

The ovh_cloud_storage_s3 table can be used to query information about storage containers and you must specify which cloud project AND region in the where clause (where project_id=xxxx and region=xxxx).

Examples

List S3 storage containers of a cloud project

select
name,
owner_id,
objects_count,
objects_size
from
ovh_cloud_storage_s3
where
project_id = '27c5a6d3dfez87893jfd88fdsfmvnqb8'
and region = 'GRA'

List specific storage container

select
name,
owner_id,
objects_count,
objects_size
from
ovh_cloud_storage_s3
where
project_id = '27c5a6d3dfez87893jfd88fdsfmvnqb8'
and region = 'GRA'
and name = 'databucket'

Schema for ovh_cloud_storage_s3

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
created_attimestamp with time zoneThe date and timestamp when the resource was created.
encryption_sse_algorithmtextEncryption configuration.
nametext=Container name.
objects_countbigintContainer total objects count.
objects_sizebigintContainer total objects size (bytes).
owner_idbigintContainer owner userID.
project_idtext=Project ID.
regiontext=Region of the container.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
virtual_hosttextContainer virtual host.