Resource Center/Hardware/Backup Storage Operations
GETBackup Storage OperationsSince 0.6SynchronousAuth Required
GetBackupStorageCapacity
GetBackupStorageCapacity
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Query Parameters
Request Inputs
Query Parameters
zoneUuidsListOptional. The zone UUID list.
backupStorageUuidsListOptional. The backup storage UUID list. Make sure that at least one of zoneUuids and backupStorageUuids is specified. Or, set all to true.
allbooleanOptional. If backupStorageUuids is null, this parameter is set true, which means that all backup storages in the system are queried.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
GET/zstack/v1/backup-storage/capacities
/zstack/v1/backup-storage/capacities
Request Example
curl -X GET 'http://{host}/zstack/v1/backup-storage/capacities?zoneUuids=<zoneUuids>&backupStorageUuids=<backupStorageUuids>&all=True&systemTags=<systemTags>&userTags=<userTags>' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "totalCapacity": 1.073741824E9, "availableCapacity": 9.68884224E8 }Change History
This API has no change history records yet.
