This operation queries a list of alerts.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
Call DescribeInstance to obtain the ID of the WAF instance. |
waf_v2_public_cn-pe33e**** |
| RegionId |
string |
No |
The region where the WAF instance is located. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-aek2ipnu*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
8D8EBFB7-E1EB-5236-952A-092EDC72*** |
| Alarms |
array<object> |
A list of alerts. |
|
|
object |
The alert information. |
||
| Status |
integer |
The current status of the alert. Valid values:
|
1 |
| Type |
string |
The alarm type. Valid value:
|
qps |
| MaxQps |
integer |
The peak QPS. |
12000 |
| EndTime |
integer |
The end time of the alert. This value is a UNIX timestamp in milliseconds. |
1605600798 |
| Cause |
string |
The cause of the alert. Valid values:
|
4count |
| StartTime |
integer |
The start time of the alert. This value is a UNIX timestamp in milliseconds. |
1605600767 |
| Spec |
integer |
The current specifications. |
10000 |
Examples
Success response
JSON format
{
"RequestId": "8D8EBFB7-E1EB-5236-952A-092EDC72***",
"Alarms": [
{
"Status": 1,
"Type": "qps",
"MaxQps": 12000,
"EndTime": 1605600798,
"Cause": "4count",
"StartTime": 1605600767,
"Spec": 10000
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.