Overview: NAT Traffic Trend
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StartTime |
integer |
No |
The start of the time range to query. This value is a UNIX timestamp. Unit: seconds. |
1739326980 |
| EndTime |
integer |
No |
The end of the time range to query. This value is a UNIX timestamp. Unit: seconds. |
1739330580 |
| NatGatewayId |
string |
No |
The ID of the NAT Gateway. |
ngw-xxxxxx |
| SrcPublicIP |
string |
No |
The source IP address on the Internet. |
47.112.210.136 |
| SrcPrivateIP |
string |
No |
The private source IP address. |
10.100.134.60 |
| Interval |
integer |
No |
The time granularity for the query. Unit: seconds. Valid values:
|
60 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The ID of the request. |
87F23A3A-6F57-59C3-8237-A090D0613D71 |
| MaxTotalBps |
integer |
The peak total network throughput for inbound and outbound traffic. Unit: bps. |
66953194 |
| MaxOutBps |
integer |
The peak outbound network throughput. Unit: bps. |
122596487 |
| MaxInBps |
integer |
The peak inbound network throughput. Unit: bps. |
18038632 |
| DataList |
array<object> |
A list of traffic statistics. |
|
|
object |
A list of traffic statistics. |
||
| TrafficTime |
integer |
The time of the query. This value is a UNIX timestamp. Unit: seconds. |
1734418980 |
| MaxTotalBps |
integer |
The peak total network throughput for inbound and outbound traffic. Unit: bps. |
66953194 |
| MaxInBps |
integer |
The peak inbound network throughput. Unit: bps. |
18038632 |
| MaxOutBps |
integer |
The peak outbound network throughput. Unit: bps. |
122596487 |
Examples
Success response
JSON format
{
"RequestId": "87F23A3A-6F57-59C3-8237-A090D0613D71",
"MaxTotalBps": 66953194,
"MaxOutBps": 122596487,
"MaxInBps": 18038632,
"DataList": [
{
"TrafficTime": 1734418980,
"MaxTotalBps": 66953194,
"MaxInBps": 18038632,
"MaxOutBps": 122596487
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | The aliuid is invalid. | The aliuid is invalid. |
| 400 | ErrorIntervalError | The interval is invalid. | The interval is invalid. |
| 400 | ErrorTimeError | The time is invalid. | The time is invalid. |
| 400 | ErrorDataTypeError | The data type is invalid. | The data type is invalid. |
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.