Resource Center/Hardware/Primary Storage Operations
PUTPrimary Storage OperationsSince 0.6SynchronousAuth Required
SyncPrimaryStorageCapacity
SyncPrimaryStorageCapacity
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
primaryStorageUuidStringRequiredThe primary storage UUID.
Body Fields
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/primary-storage/{primaryStorageUuid}/actions
/zstack/v1/primary-storage/{primaryStorageUuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/primary-storage/{primaryStorageUuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "name": "PS1", "url": "/Cloud_ps", "availableCapacity": 9.73078528E8, "availablePhysicalCapacity": 9.73078528E8, "type": "LocalStorage", "state": "Enabled", "status": "Connected", "attachedClusterUuids": [ "06b22ab47bb74d2d97dba43ccdde8b9a" ] } }Change History
This API has no change history records yet.
