介绍
这期内容当中小编将会给大家带来有关查询创建的安全组的基本信息并且返回列表按照安全组ID降序排列的方法,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。
DescribeSecurityGroups
<强>请求示例强>
https://ecs.aliyuncs.com/?Action=DescribeSecurityGroups ,RegionId=cn-hangzhou ,& lt;公共请求参数在
<强>返回示例强>
<强> XML格式强>
& lt; DescribeSecurityGroupsResponse> & lt; RequestId> 94 d38899 - 626 d - 434 a - 891 f - 7 - e1f77a81525 & lt; TotalCount> 4 & lt;/TotalCount> & lt; PageNumber> 1 & lt;/PageNumber> & lt; PageSize> 10 & lt;/PageSize> & lt; RegionId> cn-hangzhou & lt; SecurityGroups> & lt; SecurityGroup> & lt; SecurityGroupId> sg-F876FF7BA & lt; Description> Test & lt;/SecurityGroup> & lt; SecurityGroup> & lt; SecurityGroupId> sg - 086 ffc27a & lt; Description> test00212 & lt;/SecurityGroup> & lt; SecurityGroup> & lt; SecurityGroupId> sg-BA4B7975B & lt; Description> cn-hangzhou测试group & lt;/SecurityGroup> & lt; SecurityGroup> & lt; SecurityGroupId> sg-35F20777C & lt; Description> cn-hangzhou测试group & lt;/SecurityGroup> & lt;/SecurityGroups> & lt;/DescribeSecurityGroupsResponse>
<强> JSON格式强>
{ “RequestId":“94 d38899 - 626 d - 434 a - 891 f - 7 - e1f77a81525", “TotalCount": 4 “PageSize":“10“, “RegionId":“cn-hangzhou" “PageNumber":“1”, “SecurityGroups": { “SecurityGroup": [{ “SecurityGroupId":“sg-F876FF7BA" “Description":“TestByXcf" }, { “SecurityGroupId":“sg - 086 ffc27a" “Description":“test00212" }, { “SecurityGroupId":“sg-BA4B7975B" “Description":“cn-hangzhou group"测试; }, { “SecurityGroupId":“sg-35F20777C" “Description":“cn-hangzhou group"测试; }) } }
全是公共错误码。更多错误码,请访问API错误中心。
上述就是小编为大家分享的查询创建的安全组的基本信息并且返回列表按照安全组ID降序排列的方法了,如果刚好有类似的疑惑,不妨参照上述分析进行理解。如果想知道更多相关知识,欢迎关注行业资讯频道。