Home >Operation and Maintenance >Linux Operation and Maintenance >How to cancel an ongoing copy image (CopyImage) task

How to cancel an ongoing copy image (CopyImage) task

坏嘻嘻
坏嘻嘻Original
2018-09-21 15:10:523585browse

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

How to cancel an ongoing copy image (CopyImage) task

##Return parameters

are all public return parameters. See Public Parameters

Example

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.

How to cancel an ongoing copy image (CopyImage) task

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn