Skip to main content

tenant_vspc_managed_backup_consumptions

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

Overview​

Nametenant_vspc_managed_backup_consumptions
TypeResource
Idovh.backup_services.tenant_vspc_managed_backup_consumptions

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
billed_vm_countintegerNumber of virtual machines generating a billing line, the sum of the vmCount of all lines (wire: billedVmCount)
linesarrayOne line per non-empty combination of vault level and size band. Empty while the service is suspended.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbackup_services_id, managed_backup_id, vspc_tenant_idRetrieves the current billable consumption of the Managed Backup service: number of backed up virtual machines per vault level and size band with the matching plan code; no price is returned

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)
managed_backup_idstringManaged backup ID (wire: managedBackupId)
vspc_tenant_idstring (uuid)Vspc tenant ID (wire: vspcTenantId)

SELECT examples​

Retrieves the current billable consumption of the Managed Backup service: number of backed up virtual machines per vault level and size band with the matching plan code; no price is returned

SELECT
billed_vm_count,
lines
FROM ovh.backup_services.tenant_vspc_managed_backup_consumptions
WHERE backup_services_id = '{{ backup_services_id }}' -- required
AND managed_backup_id = '{{ managed_backup_id }}' -- required
AND vspc_tenant_id = '{{ vspc_tenant_id }}' -- required
;