In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces the method of entering the stopping state after calling the interface, which has a certain reference value and can be used for reference by friends who need it. The following information is about the detailed steps of the method of entering a stopped state after calling the interface.
StopInstance
Stop running an instance.
Description
Only instances with a status of running (Running) can do this.
After successfully calling the API, the instance enters a Stopping state. After successfully stopping the shutdown, the instance enters the stopped (Stopped) state.
Support for forced stop, which is equivalent to power-off processing, and may lose data in the instance operating system that is not written to disk.
The instance cannot be stopped when the lock status of "LockReason": "security" is marked in the OperationLocks of the security controlled instance.
For I1 specification family instances with local disk storage (Local_storage) configured, the input parameter ConfirmStop is required. The API call will be successful only if the value is True, otherwise an error code will be returned.
For the instance of I1 specification family, after the API is successfully called, the data stored on the local disk will be emptied, and data availability needs to be ensured through data redundancy in the application layer.
The system automatically ignores ConfirmStop input parameters for other specification family instances.
After you activate the free feature for instance downtime in the default VPC, you can set StoppedMode=KeepCharging to keep the charge for downtime. After the ECS instance stops, the charge will continue, and the inventory of ECS instance specifications and the public network IP address will be retained for you.
Request parameter
Return parameters
All are common return parameters. See common parameters
Example
Request example
Https://ecs.aliyuncs.com/?Action=StopInstance&InstanceId=i-instance1&
Returns the sample XML format
1C488B66-B819-4D14-8711-C4EAAA13AC01
JSON format
{"RequestId": "1C488B66-B819-4D14-8711-C4EAAA13AC01"}
Error code
The following are the error codes specific to this API. For more error codes, please visit the API error Center.
The method of entering the stopping state after calling the interface is shared here, of course, it is not only the above analysis method with you, but the editor can guarantee its accuracy is absolutely no problem. I hope that the above content can have a certain reference value for everyone, and can be put into practice. If you like this article, you might as well share it for more people to see.
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.