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

时间:2024-09-14 15:40:20

响应示例

状态码: 200

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

  • {
      "request_id" : "80747d36e3376c0894ba8f9a9156355d",
      "security_group_rules" : [ {
        "id" : "f626eb24-d8bd-4d26-ae0b-c16bb65730cb",
        "project_id" : "060576782980d5762f9ec014dd2f1148",
        "security_group_id" : "0552091e-b83a-49dd-88a7-4a5c86fd9ec3",
        "direction" : "ingress",
        "protocol" : "tcp",
        "description" : "security group rule description",
        "created_at" : "2020-08-13T07:12:36.000+00:00",
        "updated_at" : "2020-08-13T07:12:36.000+00:00",
        "ethertype" : "IPv4",
        "remote_ip_prefix" : "10.10.0.0/16",
        "multiport" : 333,
        "action" : "allow",
        "priority" : 1,
        "remote_group_id" : null,
        "remote_address_group_id" : null
      } ]
    }
support.huaweicloud.com/api-vpc/vpc_apiv3_0017.html