Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to quickly and easily query the information of a security group in a security group

Shulou Source: shulou.com Published: 2022-06-02 16:46:43 09月22日 Update

Today, I would like to talk to you about how to quickly and easily query the information of the security group in the security group. Many people may not know much about it. In order to make you understand better, the editor summarized the following for you. I hope you can get something from this article.

DescribeSecurityGroupAttribute

Request parameter

Return parameters

Example

Request example

Https://ecs.aliyuncs.com/?Action=DescribeSecurityGroupAttribute&RegionId=cn-hangzhou&SecurityGroupId=sg-F876FF7BA&

Return the example

XML format

1651FBB6-4FBF-49FF-A9F5-DF5D696C7EC6 cn-hangzhou C0003E8B-B930-4F59-ADC0-0E209A9012B0 for demo Accept ALL-1 Acme 1 8dsmf982 test@aliyun.com Accept intranet tcp 1max 65535 0.0.0.0/0 accept internet

JSON format

{"RequestId": "1651FBB6-4FBF-49FF-A9F5-DF5D696C7EC6", "RegionId": "cn-hangzhou", "SecurityGroupId": "C0003E8B-B930-4F59-ADC0-0E209A9012B0", "Description": "for demo", "Permissions": {"Permission": [{"IpProtocol": "ALL", "PortRange": "- 1Mobil 1", "SourceGroupId": "8dsmf982" "SourceGroupOwnerAccount": "test@aliyun.com"Policy": "Accept", "NicType": "intranet"}, {"IpProtocol": "tcp", "PortRange": "1SourceCidrIp 65535", "SourceCidrIp": "0.0.0.0amp 0", "Policy": "accept" "NicType": "internet"]}}

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, do you have any further understanding of how to quickly and easily query the information of a security group within a security group? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Tags: Security errors content examples information queries parameters more formats interfaces knowledge articles industry information information channels channels enter one support related Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Linux Huawei Shulou Technology Microsoft