Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to call an interface whose instance status is stopped

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report