Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to call an interface whose instance status is stopped

Shulou Source: shulou.com Published: 2022-06-03 06:26:34 09月21日 Update

How do I call an interface whose instance status is stopped? Many people have little knowledge of how to call an interface whose instance state is stopped. The editor summarizes the following. The following information is related.

StartInstance

Start an instance.

Description

The instance status must be stopped (Stopped) before the interface can be called.

The instance goes into Starting state after the API call is successful.

The instance cannot be started when the locked state of "LockReason": "security" is marked in the security-controlled instance OperationLocks.

Request parameter

Return parameters

All are common return parameters. See common return parameters.

Example

Request example

Https://ecs.aliyuncs.com/?Action=StartInstance&InstanceId=i-instance1&

Return the example

XML format

C0003E8B-B930-4F59-ADC0-0E20xxxxxxxx

JSON format

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

Error code

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

After reading the above, have you mastered the method of calling the interface whose instance status is stopped? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Tags: Instances status interfaces content parameters errors more examples formats security success half-knowledge skills methods tags industry data information information channels channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Microsoft OPPO Reno NVidia Shulou Information