Home >Operation and Maintenance >Linux Operation and Maintenance >How to release a pay-as-you-go data disk (including ordinary cloud disk, efficient cloud disk and SSD cloud disk)

How to release a pay-as-you-go data disk (including ordinary cloud disk, efficient cloud disk and SSD cloud disk)

坏嘻嘻
坏嘻嘻Original
2018-09-20 15:27:112924browse

The content of this article is about how to release a pay-as-you-go data disk (including ordinary cloud disk, high-efficiency cloud disk and SSD cloud disk). It has certain reference value. Friends in need can refer to it. , hope it helps you.

DeleteDisk

Release a pay-as-you-go data disk. Disk types include ordinary cloud disks, high-efficiency cloud disks and SSD cloud disks.

Description

When calling this interface, you need to pay attention to:

Your disk manual snapshot will be retained.

You can use ModifyDiskAttribute to set whether to retain or release automatic snapshots at the same time. It is recommended that you delete unnecessary snapshots in time to maintain sufficient snapshot quota to complete the periodic automatic snapshot policy.

When releasing a disk, the status of the cloud disk must be Available.

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

Request parameters

How to release a pay-as-you-go data disk (including ordinary cloud disk, efficient cloud disk and SSD cloud disk)

##Return parameters

are all public return parameters. See Public Parameters

Example

Request Example

https://ecs.aliyuncs.com/?Action=DeleteDisk
&DiskId=d-23jbf2v5m
&<公共请求参数>

Return Example

XML format

<DeleteDiskResponse>
    <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>
</DeleteDiskResponse>

JSON format

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

Error code

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

How to release a pay-as-you-go data disk (including ordinary cloud disk, efficient cloud disk and SSD cloud disk)

The above is the detailed content of How to release a pay-as-you-go data disk (including ordinary cloud disk, efficient cloud disk and SSD cloud disk). 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