Billing - VSPC
General Workflow for License and Storage Consumption
Obtaining storage consumption statistics from VCD tenants requires querying several Veeam Service Provider Console REST API endpoints and aggregating the numbers in the client code.
-
Retrieve List of Companies and Their UID
GET /api/v3/organizations/companies -
Retrieve List of Backup Jobs and Accumulate Them Using
mappedOrganizationUidValue
This will represent all backup jobs assigned to the tenant.
GET /api/v3/infrastructure/backupServers/jobs/backupVmJobs
You can use the
backupChainSizevalue as the total size of all backup files created by the backup job, in bytes. Alternatively, you can get a breakdown using other API endpoints. -
Retrieve All Protected VMs and Accumulate Them Using
jobUidValue
This will represent all protected VMs for a specific company.
GET /api/v3/protectedWorkloads/virtualMachines
- Use
latestRestorePointDateless then 30 days to calculate licensed workloads. - Use
totalRestorePointSizeto calculate storage consumption.
- Use