Skip to main content

tenant_vault_buckets

Creates, updates, deletes, gets or lists a tenant_vault_buckets resource.

Overview​

Nametenant_vault_buckets
TypeResource
Idovh.backup_services.tenant_vault_buckets

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idstring (uuid)Specifies the unique identifier of the bucket
namestringSpecifies the name of the bucket
encryptedbooleanWhether the backup data stored in the bucket is encrypted. Always true for Managed Backup buckets. Null when not reported by the platform.
immutabilityobjectImmutability settings of the bucket, enabled on the buckets of a PREMIUM Managed Backup vault. Null when not reported by the platform.
performancestringSpecifies the performance tier of the bucket (HIGH_PERF, STANDARD)
regionstringSpecifies the geographic region where the bucket is located (af-north-lz-rba, ap-south-mum, ap-southeast-sgp, ap-southeast-syd, ca-east-bhs, ca-east-tor, eu-central-lz-buh, eu-central-lz-prg, eu-central-lz-sof, eu-central-waw, eu-north-lz-cph, eu-north-lz-hel, eu-north-lz-osl, eu-north-lz-sto, eu-south-lz-lis, eu-south-lz-mad, eu-south-lz-mil, eu-south-mil, eu-west-eri, eu-west-gra, eu-west-gra-snc, eu-west-lim, eu-west-lz-ams, eu-west-lz-bru, eu-west-lz-dln, eu-west-lz-lux, eu-west-lz-mnc, eu-west-lz-mrs, eu-west-lz-vie, eu-west-lz-zrh, eu-west-par, eu-west-rbx, eu-west-rbx-snc, eu-west-sbg, eu-west-sbg-snc, us-central-lz-slc, us-central-lz-stl, us-east-lz-atl, us-east-lz-bos, us-east-lz-chi, us-east-lz-dal, us-east-lz-mia, us-east-lz-nyc, us-east-vin, us-west-hil, us-west-lz-den, us-west-lz-lax, us-west-lz-pao, us-west-lz-phx, us-west-lz-sea)
rolestringSpecifies the role assigned to the bucket (PRIMARY, REPLICA)
statusstringSpecifies the current status of the bucket (CREATING, CREATION_PLANNED, DELETING, ERROR, OUT_OF_SYNC, READY, SUSPENDED, UNKNOWN, UPDATING)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbackup_services_id, bucket_id, vault_idGets specific vault bucket details
listselectbackup_services_id, vault_idx_pagination_cursor, x_pagination_sizeLists buckets of the vault

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
api_hoststringThe OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}})
backup_services_idstring (uuid)Backup services ID (wire: backupServicesId)
bucket_idstring (uuid)Bucket ID (wire: bucketId)
vault_idstringVault ID (wire: vaultId)
x_pagination_cursorstringPagination cursor (wire: X-Pagination-Cursor)
x_pagination_sizeintegerPagination size (wire: X-Pagination-Size)

SELECT examples​

Gets specific vault bucket details

SELECT
id,
name,
encrypted,
immutability,
performance,
region,
role,
status
FROM ovh.backup_services.tenant_vault_buckets
WHERE backup_services_id = '{{ backup_services_id }}' -- required
AND bucket_id = '{{ bucket_id }}' -- required
AND vault_id = '{{ vault_id }}' -- required
;