How to cancel the snapshot being created - call this interface to delete the snapshot

坏嘻嘻
Release: 2018-09-21 16:20:47
Original
2688 people have browsed it

The content of this article is about how to cancel the snapshot being created. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

DeleteSnapshot

Delete the specified snapshot. If you need to cancel the snapshot being created, you can also call this interface to delete the snapshot, that is, cancel the snapshot creation task.

Description

When calling this interface, you need to pay attention:

If the specified snapshot ID does not exist, the request will be ignored.

If the snapshot has been used to create a custom image, the snapshot cannot be deleted. You need to delete the created custom image (DeleteImage) before you can continue to delete snapshots.

Request parameters

How to cancel the snapshot being created - call this interface to delete the snapshot

##Return parameters

are all public return parameters. See Public Parameters.

Example

Request example

https://ecs.aliyuncs.com/?Action=DeleteSnapshot
&SnapshotId=s-923FE2BF0
&<公共请求参数>
Copy after login

Return example

XML format

<DeleteSnapshotResponse>
     <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>
</DeleteSnapshotResponse>
Copy after login

JSON format

{
    "RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
}
Copy after login

Error code

The following are error codes unique to this interface. For more error codes, please visit the API Error Center.

How to cancel the snapshot being created - call this interface to delete the snapshot

The above is the detailed content of How to cancel the snapshot being created - call this interface to delete the snapshot. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template