Platform O&M/Backup Management/Continuous Data Protection (CDP)/CDP Operations
POSTCDP OperationsSince 4.5.0SynchronousAuth Required
CreateCdpTask
CreateCdpTask
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.
nameStringRequiredThe name of the resource.
descriptionStringOptional. Optional. The detailed description of the resource.
taskTypeStringRequiredThe type of the CDP task.
policyUuidStringRequiredThe UUID of permission policy.
backupStorageUuidStringRequiredThe UUID of backup storage.
resourceUuidsListRequiredThe backup resource list.
backupBandwidthlongOptional. The backup rate of a single volume.
maxCapacitylongOptional. The planning capacity of the CDP task.
maxLatencylongOptional. The RPO maximum latency of the CDP task.
resourceUuidStringOptional. The UUID of the resource.
tagUuidsListOptional. The UUID list of the tags.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/cdp-backup-storage/task
/zstack/v1/cdp-backup-storage/task
Request Example
curl -X POST 'http://{host}/zstack/v1/cdp-backup-storage/task' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"name":"<name>","description":"<description>","taskType":"<taskType>","policyUuid":"<policyUuid>","backupStorageUuid":"<backupStorageUuid>","resourceUuids":["<resourceUuids>"],"backupBandwidth":1,"maxCapacity":1,"maxLatency":1,"resourceUuid":"<resourceUuid>","tagUuids":["<tagUuids>"]},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "613a2bba58f03c4ba98ec089674cefaa", "name": "My Task", "policyUuid": "ba5ccc11257b396089abd5f00e9bac50", "backupStorageUuid": "64a1daa72c9d3f578646517ba22e8988", "status": "Created", "state": "Enabled", "taskType": "VM", "backupBandwidth": 1.048576E8, "maxCapacity": 1.073741824E11, "usedCapacity": 0.0, "maxLatency": 1.048576E8, "currentLatency": 0.0 } }Change History
This API has no change history records yet.
