Resource Center/Hardware/Backup Storage Operations/Ceph Backup Storage Operations
POSTCeph Backup Storage OperationsSince 0.6SynchronousAuth Required
AddCephBackupStorage
AddCephBackupStorage
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramsObjectRequiredRequest body parameter object.
monUrlsListRequiredThe URL list of the Ceph mon (monitor daemon ).
poolNameStringOptional. The name of the Ceph pool for storing images.
urlStringRequiredThe reserved field.
nameStringRequiredThe name of the Ceph backup storage.
descriptionStringOptional. The detailed description of the Ceph backup storage.
typeStringOptional. The backup storage type: Ceph.
importImagesbooleanOptional. Whether to import images
resourceUuidStringOptional. The resource UUID. If specified, the Ceph backup storage will use this field as the UUID.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/backup-storage/ceph
/zstack/v1/backup-storage/ceph
Request Example
curl -X POST 'http://{host}/zstack/v1/backup-storage/ceph' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"monUrls":["<monUrls>"],"poolName":"<poolName>","url":"<url>","name":"<name>","description":"<description>","type":"<type>","importImages":true,"resourceUuid":"<resourceUuid>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "name": "My Backup Storage", "description": "Public Backup Storage", "totalCapacity": 1.073741824E9, "availableCapacity": 9.68884224E8, "type": "Ceph", "state": "Enabled", "status": "Connected", "createDate": "Jun 7, 2017 9:20:17 PM", "lastOpDate": "Jun 7, 2017 9:20:17 PM", "attachedZoneUuids": [ "812bb731a83847ffba9d8caa3a4633d2" ] } }Change History
This API has no change history records yet.
