Queries the log status of protected objects.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeResourceLogStatus |
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-cn-zz11zcl**** |
| Resources |
string |
Yes |
The protected objects that you want to query. Separate multiple protected objects with commas (,). |
alb-wewbb23dfsetetcic1242-0****,alb-wewbb23dfsetetcic1242-1**** |
| RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The request result. |
||
| RequestId |
string |
The request ID. |
0DABF8AB-2321-5F8D-A8D7-922D757FBFFE |
| Result |
array<object> |
The returned result. |
|
|
object |
The log status information of the protected object. |
||
| Status |
boolean |
The log collection status for the protected object. Valid values:
|
true |
| Resource |
string |
The protected object that was queried. |
alb-wewbb23dfsetetcic**** |
Examples
Success response
JSON format
{
"RequestId": "0DABF8AB-2321-5F8D-A8D7-922D757FBFFE",
"Result": [
{
"Status": true,
"Resource": "alb-wewbb23dfsetetcic****"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.