steampipe plugin install francois2metz/ovh

Table: ovh_cloud_database

An hosted database.

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

Examples

List database instances of a cloud project

select
id,
plan,
status,
description
from
ovh_cloud_database
where
project_id = '27c5a6d3dfez87893jfd88fdsfmvnqb8'

List not ready database instances of a cloud project

select
id,
plan,
status,
description
from
ovh_cloud_database
where
project_id = '27c5a6d3dfez87893jfd88fdsfmvnqb8'
and status != 'READY'

List PostgreSQL database of a cloud project

select
id,
plan,
status,
description
from
ovh_cloud_database
where
project_id = '27c5a6d3dfez87893jfd88fdsfmvnqb8'
and engine = 'postgresql'

Schema for ovh_cloud_database

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
backup_timetextTime on which backups start every day.
created_attimestamp with time zoneDate of the creation of the cluster.
descriptiontextDescription of the cluster.
enginetextName of the engine of the service.
flavortextThe VM flavor used for this cluster.
idtext=Service ID.
maintenance_timetextTime on which maintenances can start every day.
network_typetextType of network of the cluster.
node_numbertextNumber of nodes in the cluster.
plantextPlan of the cluster.
project_idtext=Project ID.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
statustextCurrent status of the cluster.
versiontextVersion of the engine deployed on the cluster.