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 remove an instance from a specified security group when calling an interface

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

How do I move an instance of an interface out of a specified security group when it is invoked? Many novices are not very clear about this. In order to help you solve this problem, the following small series will explain it in detail for everyone. Those who have this need can come to learn. I hope you can gain something.

LeaveSecurityGroup

Moves an instance out of a specified security group.

described

When invoking this interface, you need to note:

Before moving out of a security group, the instance must be in a Stopped or Running state.

An instance must be a member of at least one security group. If the instance is a member of only one security group, the LeaveSecurityGroup request fails.

request parameters

return parameter

All are common return parameters. See Common Parameters.

example

request example

https://ecs.aliyuncs.com/? Action=LeaveSecurityGroup&InstanceId=i-instance1&SecurityGroupId=F876FF7BA984&

example of returned result is as

XML format

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

JSON format

{ "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"}

error code

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

Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.

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