ovh_billovh_bill_detailovh_cloud_ai_appovh_cloud_ai_jobovh_cloud_ai_notebookovh_cloud_data_jobovh_cloud_databaseovh_cloud_flavorovh_cloud_imageovh_cloud_instanceovh_cloud_postgresovh_cloud_projectovh_cloud_regionovh_cloud_ssh_keyovh_cloud_storage_s3ovh_cloud_storage_swiftovh_cloud_volumeovh_cloud_volume_snapshotovh_refundovh_refund_detail
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, descriptionfrom ovh_cloud_databasewhere project_id = '27c5a6d3dfez87893jfd88fdsfmvnqb8'
List not ready database instances of a cloud project
select id, plan, status, descriptionfrom ovh_cloud_databasewhere project_id = '27c5a6d3dfez87893jfd88fdsfmvnqb8' and status != 'READY'
List PostgreSQL database of a cloud project
select id, plan, status, descriptionfrom ovh_cloud_databasewhere project_id = '27c5a6d3dfez87893jfd88fdsfmvnqb8' and engine = 'postgresql'
Schema for ovh_cloud_database
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
backup_time | text | Time on which backups start every day. | |
created_at | timestamp with time zone | Date of the creation of the cluster. | |
description | text | Description of the cluster. | |
engine | text | Name of the engine of the service. | |
flavor | text | The VM flavor used for this cluster. | |
id | text | = | Service ID. |
maintenance_time | text | Time on which maintenances can start every day. | |
network_type | text | Type of network of the cluster. | |
node_number | text | Number of nodes in the cluster. | |
plan | text | Plan of the cluster. | |
project_id | text | = | Project ID. |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
status | text | Current status of the cluster. | |
version | text | Version of the engine deployed on the cluster. |