Home > Operation and Maintenance > Linux Operation and Maintenance > How to call this interface when the instance status is stopped

How to call this interface when the instance status is stopped

坏嘻嘻
Release: 2018-09-19 16:22:55
Original
2102 people have browsed it

The content of this article is about how to call the interface when the instance status is stopped. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

StartInstance

Start an instance.

Description

The instance status must be Stopped before this interface can be called.

After the interface is called successfully, the instance enters the Starting state.

When the security-controlled instance OperationLocks is marked with "LockReason" : "security" lock status, the instance cannot be started.

Request parameters

How to call this interface when the instance status is stopped

##Return parameters

are all public return parameters. See Public Return Parameters.

Example

Request example

 https://ecs.aliyuncs.com/?Action=StartInstance
&InstanceId=i-instance1
&<公共请求参数>
Copy after login

Return example

XML format

<StartInstanceResponse>
    <RequestId>C0003E8B-B930-4F59-ADC0-0E20xxxxxxxx</RequestId>
</StartInstanceResponse>
Copy after login

JSON format

{
    "RequestId": "C0003E8B-B930-4F59-ADC0-0E20xxxxxxxx"
}
Copy after login

Error code

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

How to call this interface when the instance status is stopped

The above is the detailed content of How to call this interface when the instance status is stopped. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template