The method of releasing a pay-per-view data disk
This article will explain in detail how to release a pay-per-view data disk. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
DeleteDisk
Release a pay-per-view data disk. Disk types include ordinary cloud disks, efficient cloud disks and SSD cloud disks.
Description
When calling this interface, you need to be aware of:
Your manual snapshot of the disk will be retained.
You can set whether to retain or release automatic snapshots through ModifyDiskAttribute. It is recommended that you delete unnecessary snapshots in time to maintain a sufficient snapshot quota to complete a periodic automatic snapshot policy.
When releasing the disk, the status of the cloud disk must be Available.
If the disk for the specified ID does not exist, the request is ignored.
Request parameter
Return parameters
All are common return parameters. See common parameters
Example
Request example
Https://ecs.aliyuncs.com/?Action=DeleteDisk&DiskId=d-23jbf2v5m&
Return the example
XML format
CEF72CEB-54B6-4AE8-B225-F876FF7BA984
JSON format
{"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"}
Error code
The following are the error codes specific to this API. For more error codes, please visit the API error Center.
On the release of a pay-per-view data disk to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.