The content of this article is about how to put the securely controlled ECS instance into the starting state. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you. .
RebootInstance
Restart an instance.
Description
You can only restart an ECS instance whose status is Running.
Restart the ECS instance and enter the Starting state.
Supports forced restart (ForceStop). Forced restart is equivalent to the power-off restart of a traditional server, which may cause the loss of data in the instance operating system that is not written to the disk.
When the OperationLocks of an ECS instance controlled by security is marked with "LockReason" : "security", the instance cannot be restarted.
Request parameters
##Return parameters
are all public return parameters. See Public ParametersExample
Request Example
https://ecs.aliyuncs.com/?Action=RebootInstance &InstanceId=i-instance1 &<公共请求参数>
Return Example
XML format
<RebootInstanceResponse> <RequestId>F2E2C40D-AB09-45A1-B5C5-EB9F5C4E4E4A</RequestId> </RebootInstanceResponse>
JSON format
{ "RequestId": "F2E2C40D-AB09-45A1-B5C5-EB9F5C4E4E4A" }
Error code
The following are error codes unique to this interface. For more error codes, please visit the API Error Center.The above is the detailed content of How to put a securely controlled ECS instance into the Starting state. For more information, please follow other related articles on the PHP Chinese website!