概览页-NAT流量趋势
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| StartTime |
integer |
否 |
查询开始时间。使用秒级时间戳格式表示。 |
1739326980 |
| EndTime |
integer |
否 |
查询结束时间。使用秒级时间戳格式表示。 |
1739330580 |
| NatGatewayId |
string |
否 |
NAT 网关的 ID。 |
ngw-xxxxxx |
| SrcPublicIP |
string |
否 |
公网源 IP 地址。 |
47.112.210.136 |
| SrcPrivateIP |
string |
否 |
私网源 IP 地址。 |
10.100.134.60 |
| Interval |
integer |
否 |
指定查询数据的时间粒度,单位:秒。取值如下:
|
60 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
87F23A3A-6F57-59C3-8237-A090D0613D71 |
| MaxTotalBps |
integer |
出方向和入方向总的峰值网络吞吐率(每秒发送多少 bit)。单位:bps。 |
66953194 |
| MaxOutBps |
integer |
出方向的峰值网络吞吐率(每秒发送多少 bit)。单位:bps。 |
122596487 |
| MaxInBps |
integer |
入方向的峰值网络吞吐率(每秒发送多少 bit)。单位:bps。 |
18038632 |
| DataList |
array<object> |
流量统计信息列表。 |
|
|
object |
流量统计信息列表。 |
||
| TrafficTime |
integer |
查询时间。使用秒级时间戳格式表示。 |
1734418980 |
| MaxTotalBps |
integer |
出方向和入方向总的峰值网络吞吐率(每秒发送多少 bit)。单位:bps。 |
66953194 |
| MaxInBps |
integer |
入方向的峰值网络吞吐率(每秒发送多少 bit)。单位:bps。 |
18038632 |
| MaxOutBps |
integer |
出方向的峰值网络吞吐率(每秒发送多少 bit)。单位:bps。 |
122596487 |
示例
正常返回示例
JSON格式
{
"RequestId": "87F23A3A-6F57-59C3-8237-A090D0613D71",
"MaxTotalBps": 66953194,
"MaxOutBps": 122596487,
"MaxInBps": 18038632,
"DataList": [
{
"TrafficTime": 1734418980,
"MaxTotalBps": 66953194,
"MaxInBps": 18038632,
"MaxOutBps": 122596487
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | ErrorAliUid | The aliuid is invalid. | 无效的用户id |
| 400 | ErrorIntervalError | The interval is invalid. | 无效的时间间隔 |
| 400 | ErrorTimeError | The time is invalid. | 时间选择错误 |
| 400 | ErrorDataTypeError | The data type is invalid. | 无效的数据类型 |
| 400 | ErrorDBSelectError | A database select error occurred. | 内部错误:数据库查询错误 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。