虚拟私有云 VPC-查询安全组列表:响应示例

时间:2025-01-08 09:51:31

响应示例

状态码: 200

GET操作正常返回,更多状态码请参见状态码

  • {
      "request_id" : "d31cb32ca06f3c1a294fa24e6cbc5a56",
      "security_groups" : [ {
        "id" : "0552091e-b83a-49dd-88a7-4a5c86fd9ec3",
        "name" : "sg-test",
        "project_id" : "060576782980d5762f9ec014dd2f1148",
        "description" : "test",
        "enterprise_project_id" : 0,
        "created_at" : "2019-10-16T11:11:14.000+00:00",
        "updated_at" : "2020-03-25T10:53:46.000+00:00",
        "tags" : [ ]
      }, {
        "id" : "0b8cb773-197c-4c91-94f1-e051f0563e5a",
        "name" : "test-sg",
        "project_id" : "060576782980d5762f9ec014dd2f1148",
        "description" : "通用Web服务器,默认放通22、3389、80、443端口和ICMP协议。适用于需要远程登录、公网ping及用于网站服务的云服务器场景。",
        "enterprise_project_id" : 0,
        "created_at" : "2019-12-03T09:02:11.000+00:00",
        "updated_at" : "2019-12-03T09:02:11.000+00:00",
        "tags" : [ ]
      } ],
      "page_info" : {
        "previous_marker" : "0552091e-b83a-49dd-88a7-4a5c86fd9ec3",
        "current_count" : 2
      }
    }
support.huaweicloud.com/api-vpc/vpc_apiv3_0011.html