Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of uninstalling a pay-per-view disk from an instance

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Xiaobian to share with you the method of unloading a paid disk from an instance, I believe most people still do not know how, so share this article for your reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!

DetachDisk

Unmount a pay-per-view disk from an instance. Disk types include ordinary cloud disk, efficient cloud disk and SSD cloud disk.

described

When you use this interface, please note:

The Portable attribute of the cloud disk must be True.

The cloud disk must be mounted on the instance and in In_Use status.

The cloud disk must be in Running or Stopped status.

After the instance mounted on the cloud disk is under security control, the lock state marked as "LockReason" : "security" cannot be marked in OperationLocks.

After unloading the disk, its attribute DeleteWithInstance will be set to False, indicating that when the instance is released, the cloud disk will be retained and will not be released with the instance.

This interface is asynchronous operation. After successfully calling the interface, you need to wait for a while before unloading is completed. It is estimated that it will take about 1 minute.

request parameters

return parameter

All are common return parameters. See Common Parameters

example

request example

https://ecs.aliyuncs.com/? Action=DetachDisk&InstanceId=i-23jggx34b&DiskId=d-23jbf2v5m&

example of returned result is as

XML format

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

JSON format

{ "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"}

error code

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

That's all for unloading a pay-per-view disk from an instance. Thanks for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report