查詢資產統計
更新時間 2024-12-05 17:31:11
最近更新時間: 2024-12-05 17:31:11
分享文章
接口功能介紹
查詢資產統計接口
接口約束
傳參規范
URI
GET /vfw/v2_system_vrf_bind_statistics
路徑參數
無
Query參數
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|---|
| firewallId | 否 | String | 防火墻id | dca4f9ffaca2447aa24310c1e62c4690 | |
| firewallType | 否 | String | 防火墻類型 | NorthSouth |
請求參數
請求頭header參數
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|---|
| urlType | 是 | String | 請求地址類型 | CTAPI | |
| regionId | 是 | String | 資源池id | 100054c0416811e9a6690242ac110002 |
請求體body參數
無
響應參數
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| statusCode | String | 狀態碼 | ||
| message | String | 返回信息 | 成功 | |
| error | String | 錯誤碼:CFW_0000 :成功!;CFW_0001:參數錯誤!;CFW_0002:業務錯誤! | CFW_0000 | |
| returnObj | Object | 接口返回結果 | SystemVrfBindStatisticsView |
表 SystemVrfBindStatisticsView
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| inFlowMax | Long | 入向峰值帶寬 | ||
| outFlowMax | Long | 出向峰值帶寬 | ||
| flowProcessingCapacity | Integer | 帶寬規格 | ||
| percentage | Double | 百分比 | ||
| ipProtectCount | Integer | 彈性ip未防護數量 | ||
| ipUnProtectCount | Integer | 彈性ip已防護數量 | ||
| natProtectCount | Integer | 公網nat未防護數量 | ||
| natUnProtectCount | Integer | 公網nat已防護數量 | ||
| ipUsedQuotaCount | Integer | 公網ip配額已使用數量 | ||
| ipUnUsedQuotaCount | Integer | 公網ip配額未使用數量 | ||
| ipQuotaCount | Integer | 公網ip配額數量 |
枚舉參數
無
請求示例
請求url
無
請求頭header
{
"regionid": "100054c0416811e9a6690242ac110002",
"urlType": "CTAPI"
}
請求體body
{}
響應示例
{
"statusCode": "800",
"message": "成功!",
"returnObj": {
"inFlowMax": 0,
"outFlowMax": 0,
"percentage": 0.0,
"flowProcessingCapacity": 10,
"natProtectCount": 0,
"natUnProtectCount": 2,
"elbProtectCount": 0,
"elbUnProtectCount": 0,
"ipUsedQuotaCount": 0,
"ipUnUsedQuotaCount": 20,
"ipProtectCount": 0,
"ipUnProtectCount": 1,
"ipQuotaCount": 20
}
}
狀態碼
請參考
錯誤碼
請參考