Home  >  Article  >  Operation and Maintenance  >  How to put a securely controlled ECS instance into the Starting state

How to put a securely controlled ECS instance into the Starting state

坏嘻嘻
坏嘻嘻Original
2018-09-19 16:35:291793browse

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

How to put a securely controlled ECS instance into the Starting state

##Return parameters

are all public return parameters. See Public Parameters

Example

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.

How to put a securely controlled ECS instance into the Starting state

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!

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