Restarting a Migration Task
Function
This API is used to restart a migration task after the task failed or has been paused.
Request
Request Parameters
Table 2 describes the request parameters.
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
operation |
Yes |
String |
Specifies the operation type, which is start for this API. |
source_ak |
Yes |
String |
Specifies the AK of the source node. Enter a maximum of 100 characters. |
source_sk |
Yes |
String |
Specifies the SK of the source node. Enter a maximum of 100 characters. |
target_ak |
Yes |
String |
Specifies the AK of the destination node. Enter a maximum of 100 characters. |
target_sk |
Yes |
String |
Specifies the SK of the destination node. Enter a maximum of 100 characters. |
source_cdn_authentication_key |
No |
String |
Specifies the CDN authentication key. |
migration_failed_object |
No |
Boolean |
Specifies whether to perform a full migration. The value can be true, null, or false.
|
Response
Response Parameters
None.
Examples
Request example
PUT /v1/{project_id}/objectstorage/task/{task_id}
{ "operation": "start", "source_ak": "source_ak", "source_sk": "source_sk", "target_ak": "target_ak", "target_sk": "target_sk", "source_cdn_authentication_key": "xxxxxx", "migration_failed_object": false }
Response example
None.
Status Code
For details about the status code, see Status Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot