华为乾坤-查询防火墙设备接口的报文信息:响应示例
时间:2025-05-12 15:32:01
响应示例
返回状态码为200:接口调用成功,响应体参考DeviceInterfaceStatisticsOutput。
HTTP/1.1 200 OK Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive { "error_code" : "0", "error_msg" : "", "resourceStatistics" : [ { "interf_name" : "GE/0/0/1", "send_rate" : 32, "send_bytes" : 128, "receive_rate" : 30, "receive_bytes" : 256, "report_time" : "2023-06-05 16:35:00.0" } ] }
返回状态码为400:参数非法,查询失败。
HTTP/1.1 400 Bad Request Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive
返回状态码为500:内部错误。
HTTP/1.1 500 Internal Server Error Date: Sun,11 May 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000001852288354.html