Queries a list of alerts.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeAlarmList |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
Call DescribeInstance to query the ID of the WAF instance. |
waf_v2_public_cn-pe33e**** |
| RegionId |
string |
No |
The region where the WAF instance is deployed. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the 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> |
The list of alerts. |
|
|
object |
The alert information. |
||
| Status |
integer |
The current status of the alert. Valid values:
|
1 |
| Type |
string |
The type of the alert. Valid value:
|
qps |
| MaxQps |
integer |
The peak QPS. |
12000 |
| EndTime |
integer |
The end time of the alert. This is a UNIX timestamp. Unit: milliseconds. |
1605600798 |
| Cause |
string |
The cause of the alert. Valid values:
|
4count |
| StartTime |
integer |
The start time of the alert. This is a UNIX timestamp. Unit: 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.