Platform O&M/Backup Management/Continuous Data Protection (CDP)/CDP Operations
POSTCDP OperationsSince 4.5.0SynchronousAuth Required
EnableCdpTask
EnableCdpTask
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredThe name of the resource.
Body Fields
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/cdp-task/enable/{uuid}
/zstack/v1/cdp-task/enable/{uuid}
Request Example
curl -X POST 'http://{host}/zstack/v1/cdp-task/enable/{uuid}' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "0945746644d9379faddf2ac0b70147ba", "name": "My Task", "policyUuid": "1fdbac28c4f737db9d0579ae8859e57b", "backupStorageUuid": "cfb2e97be9ab320594ee46d3946c356e", "status": "Running", "state": "Enabled", "taskType": "VM", "backupBandwidth": 1.048576E8, "maxCapacity": 1.073741824E11, "usedCapacity": 2.395916E7 } }Change History
This API has no change history records yet.
