虚拟私有云 VPC-批量创建安全组规则:响应示例

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

响应示例

状态码: 201

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

  • {
      "security_group_rules" : [ {
        "id" : "abef369b-d646-4b8a-9f44-fcd248a6c421",
        "project_id" : "5f6387106c2048b589b369d96c2f23a2",
        "security_group_id" : "15457509-18f9-4387-bae6-d4ed1898b301",
        "direction" : "ingress",
        "protocol" : "tcp",
        "description" : "",
        "created_at" : "2023-04-28T04:08:52.000+00:00",
        "updated_at" : "2023-04-28T04:08:52.000+00:00",
        "ethertype" : "IPv4",
        "remote_ip_prefix" : "117.78.12.122/32",
        "multiport" : 22,
        "action" : "allow",
        "priority" : 1,
        "remote_group_id" : null,
        "remote_address_group_id" : null
      } ],
      "request_id" : "f1ae2c6f9e94babf077cd3b3e1570c81"
    }
support.huaweicloud.com/api-vpc/BatchCreateSecurityGroupRules.html