Skip to main content

tenant_vspc_backup_licenses

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

Overview​

Nametenant_vspc_backup_licenses
TypeResource
Idovh.backup_services.tenant_vspc_backup_licenses

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idstringUnique identifier of the Backup Licenses subscription
created_atstring (date-time)Date and time when the subscription is created (wire: createdAt)
current_stateobjectCurrent state of the subscription (wire: currentState)
current_tasksarrayCurrent tasks running on the subscription (wire: currentTasks)
iamobjectIAM resource metadata
resource_statusstringIndicates the readiness of the subscription (CREATING, CREATION_PLANNED, DELETING, ERROR, OUT_OF_SYNC, READY, SUSPENDED, UNKNOWN, UPDATING) (wire: resourceStatus)
updated_atstring (date-time)Date and time when the subscription is last updated (wire: updatedAt)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbackup_licenses_id, backup_services_id, vspc_tenant_idRetrieves the Backup Licenses subscription of the VSPC tenant
listselectbackup_services_id, vspc_tenant_idx_pagination_cursor, x_pagination_size, iam_tagsRetrieves the Backup Licenses subscription list of the VSPC tenant

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_licenses_idstringBackup licenses ID (wire: backupLicensesId)
backup_services_idstring (uuid)Backup services ID (wire: backupServicesId)
vspc_tenant_idstring (uuid)Vspc tenant ID (wire: vspcTenantId)
iam_tagsobjectFilter resources on IAM tags (wire: iamTags)
x_pagination_cursorstringPagination cursor (wire: X-Pagination-Cursor)
x_pagination_sizeintegerPagination size (wire: X-Pagination-Size)

SELECT examples​

Retrieves the Backup Licenses subscription of the VSPC tenant

SELECT
id,
created_at,
current_state,
current_tasks,
iam,
resource_status,
updated_at
FROM ovh.backup_services.tenant_vspc_backup_licenses
WHERE backup_licenses_id = '{{ backup_licenses_id }}' -- required
AND backup_services_id = '{{ backup_services_id }}' -- required
AND vspc_tenant_id = '{{ vspc_tenant_id }}' -- required
;