Queries the protection configurations for a specific defense scenario.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeDefenseSceneConfig |
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 your WAF instance. |
waf_elasticity-cn-0xldbqtm005 |
| RegionId |
string |
No |
The region of the WAF instance. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfm***q |
| DefenseScene |
string |
Yes |
The defense scenario whose configuration you want to query. For more information, see the DefenseScene parameter in ModifyDefenseSceneConfig. |
apisec |
| ConfigKey |
string |
Yes |
The name of the configuration item that you want to query. For more information, see the ConfigKey parameter in ModifyDefenseSceneConfig. |
autoEnableStatus |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| RequestId |
string |
The ID of the request. |
D7861F61-5B61-46CE-A47C-6B19160D5EB0 |
| ConfigValue |
string |
The value of the configuration item. For more information, see the ConfigValue parameter in ModifyDefenseSceneConfig. |
true |
Examples
Success response
JSON format
{
"RequestId": "D7861F61-5B61-46CE-A47C-6B19160D5EB0",
"ConfigValue": "true"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.