Home >Operation and Maintenance >Linux Operation and Maintenance >How to cancel an ongoing copy image (CopyImage) task
This article introduces how to cancel the ongoing copy image (CopyImage) task, and focuses on the specific steps. The content of this article is compact, and I hope everyone can gain something.
CancelCopyImage
Description
When calling this interface, you need to pay attention to:
Cancel copying the image Afterwards, the newly created image in the target region will be automatically deleted, and the source image will remain unchanged.
If copying the image has been completed, the operation fails and an error message is returned.
Request parameters
##Return parameters
are all public return parameters. See Public ParametersExample
Request Example
https://ecs.aliyuncs.com/?Action=CancelCopyImage &RegionId=cn-hangzhou &ImageId=img-2012-12-01-1300 &<公共请求参数>
Return Example
XML format
<CancelCopyImageResponse> <RequestId>C8B26B44-0189-443E-9816-D951F59623A9</RequestId> </CancelCopyImageResponse>
JSON format
{ "RequestId": "C8B26B44-0189-443E-9816-D951F59623A9" }
Error code
The following are error codes unique to this interface. For more error codes, please visit the API Error Center.The above is the detailed content of How to cancel an ongoing copy image (CopyImage) task. For more information, please follow other related articles on the PHP Chinese website!