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 query a security group and which other security groups have authorization behavior at the security group level

2025-03-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article will explain in detail how to query a security group and which other security groups have authorized behavior at the security group level. The content of the article is of high quality, so the editor shares it for you as a reference. I hope you will have some understanding of the relevant knowledge after reading this article.

DescribeSecurityGroupReferences

Query one security group and which other security groups have authorization behavior at the security group level.

Description

When calling this interface, you need to be aware of:

Authorization behavior includes inward authorization and outgoing authorization.

The API returns a maximum of 100 records at a time.

When you cannot delete a security group (DeleteSecurityGroup), you can call this API to check whether the specified security group is authorized by another security group. If the specified security group is authorized, you need to unauthorize the behavior before deleting the security group.

Request parameter

Return parameters

Example

Request example

Https://ecs.aliyuncs.com/?Action=DescribeSecurityGroupReferences&RegionId=cn-hangzhou&SecurityGroupId.1=sg-1133aa&

Return the example

XML format

CEF72CEB-54B6-4AE8-B225-F876FF7BA984 sg-1133aa sg-2255cc 123 sg-2255dd 123

JSON format

{"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"SecurityGroupReferences": [{"SecurityGroupId": "sg-1133aa", "SecurityReferencingGroups": [{"AliUid": 123, "SecurityGroupId": "sg-2255cc"} {"AliUid": 123, "SecurityGroupId": "sg-2255dd"}]}}

Error code

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

On how to query a security group and which other security groups have security group-level authorization behavior is shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

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