Queries the trend of traffic blocked by Internet access control.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
This parameter is deprecated. |
223.95.87.130 |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| StartTime |
string |
No |
The start time of the query. This value is a UNIX timestamp. Unit: seconds. |
1677050306 |
| EndTime |
string |
No |
The end time of the query. This value is a UNIX timestamp. Unit: seconds. |
1670397599 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
9063AB86-6FFA-5B2D-A16D-697C966DECA3 |
| Interval |
integer |
The time interval between data points in the trend graph. Unit: seconds. |
86400 |
| TotalProtectCnt |
integer |
The total number of blocks for Internet access control. |
300 |
| InProtectCnt |
integer |
The number of inbound blocks for Internet access control. |
100 |
| InterVPCProtectCnt |
integer |
This parameter is deprecated. |
0 |
| OutProtectCnt |
integer |
The number of outbound blocks for Internet access control. |
200 |
| TrendList |
array<object> |
A list of trend data about blocks for Internet access control. |
|
|
object |
|||
| Time |
integer |
The timestamp for 00:00 on the current day. Unit: seconds. |
1697299200 |
| ProtectCnt |
integer |
The number of blocks for Internet access control on the current day. |
100 |
Examples
Success response
JSON format
{
"RequestId": "9063AB86-6FFA-5B2D-A16D-697C966DECA3",
"Interval": 86400,
"TotalProtectCnt": 300,
"InProtectCnt": 100,
"InterVPCProtectCnt": 0,
"OutProtectCnt": 200,
"TrendList": [
{
"Time": 1697299200,
"ProtectCnt": 100
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid 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.