Queries the alert banner information of a Web Application Firewall (WAF) instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeAlarmBanner |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
Call the DescribeInstance operation to query the ID of the WAF instance. |
waf_v3prepaid_public_cn-kf74**** |
| RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the resource group to which the WAF instance belongs. |
rg-aek2zerdgm**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
5555DC36-0CF2-5AA3-B1C7-D6BD8**** |
| BannerStatus |
object |
The status information of the alert banner. |
|
| Status |
boolean |
Indicates whether an alert is triggered. Valid values:
|
true |
| Type |
string |
The alert type. Valid value:
|
sandbox |
| Cause |
string |
The cause of the alert. If Type is set to sandbox, valid values:
|
4count |
| Count |
integer |
The count associated with the alert at the time it was triggered.
|
9008 |
Examples
Success response
JSON format
{
"RequestId": "5555DC36-0CF2-5AA3-B1C7-D6BD8****",
"BannerStatus": {
"Status": true,
"Type": "sandbox",
"Cause": "4count",
"Count": 9008
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.