云防火墙 CFW-查询地址组列表:响应示例

时间:2024-04-07 14:13:38

响应示例

状态码: 200

OK

{
  "data" : {
    "limit" : 10,
    "offset" : 0,
    "records" : [ {
      "address_set_type" : 0,
      "object_id" : "cf18f0b1-0ce7-4eb8-83b6-4b33c8448e16",
      "address_type" : 0,
      "description" : "",
      "name" : "test",
      "ref_count" : 0,
      "set_id" : "50da1eff-e58d-4380-b899-a78f94137d3b"
    } ],
    "total" : 1
  }
}

状态码: 400

Bad Request

{
  "error_code" : "CFW.0020016",
  "error_msg" : "实例状态错误"
}
support.huaweicloud.com/api-cfw/ListAddressSets.html