In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you how to mount a data disk for an ECS instance. I hope you will gain a lot after reading this article. Let's discuss it together.
AttachDisk
Description
When calling this interface, you need to be aware of:
The status of the ECS instance to be mounted must be Running or stopped (Stopped).
When mounting a data disk, the status of the cloud disk must be Available.
The OperationLocks of a security-controlled ECS instance cannot be marked "LockReason": "security".
Even if you set DeleteWithInstance to false when mounting the cloud disk, once the ECS instance is securely controlled and "LockReason": "security" is marked in the OperationLocks, the DeleteWithInstance attribute of the cloud disk will be ignored and released at the same time when the ECS instance is released.
Request parameter
Return parameters
All are common return parameters. See common return parameters.
Example
Request example
Https://ecs.aliyuncs.com/?Action=AttachDisk&InstanceId=i-23jggx34b&DiskId=d-23jbf2v5m&
Return the example
XML format
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
JSON format
{"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"}
Error code
The following are the error codes specific to this API. For more error codes, please visit the API error Center.
After reading this article, I believe you have a certain understanding of the method of mounting a data disk for an ECS instance. If you want to know more about it, welcome to follow the industry information channel. Thank you for your reading!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.