Resource Center/Hardware/Primary Storage Operations
GETPrimary Storage OperationsSince 4.7.21SynchronousAuth Required
GetPrimaryStorageUsageReport
GetPrimaryStorageUsageReport
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Query Parameters
Request Inputs
Path Parameters
primaryStorageUuidStringRequiredThe primary storage UUID.
Query Parameters
urisListOptinal. The storage protocol.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
GET/zstack/v1/primary-storage/{primaryStorageUuid}/usage/report
/zstack/v1/primary-storage/{primaryStorageUuid}/usage/report
Request Example
curl -X GET 'http://{host}/zstack/v1/primary-storage/{primaryStorageUuid}/usage/report?uris=<uris>&systemTags=<systemTags>&userTags=<userTags>' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "uriUsageForecast": {}, "usageReport": {} }Change History
This API has no change history records yet.
