云防火墙 CFW-查询黑白名单列表:响应示例

时间:2024-12-24 19:48:35

响应示例

状态码: 200

查询黑白名单列表返回值

{
  "data" : {
    "limit" : 10,
    "offset" : 0,
    "records" : [ {
      "address" : "1.1.1.1",
      "address_type" : 0,
      "description" : "",
      "direction" : 0,
      "list_id" : "1310d401-daf5-44f2-8276-f79e1643984d",
      "protocol" : 6
    } ],
    "total" : 1
  }
}

状态码: 400

Bad Request

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