Queries the log delivery status of protected objects.
Operation description
Before calling this operation, make sure that the WAF instance has hybrid cloud extension nodes purchased. You can call the DescribeInstance operation to query instance details. If the returned parameter Details.HybridCloudNodeExtend is greater than 0, hybrid cloud extension nodes have been purchased. If not, log on to the WAF console and upgrade the instance to purchase hybrid cloud extension nodes.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeResourceLogDeliveryStatus |
list |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
You can call DescribeInstance to query the ID of the current WAF instance. |
waf_v3prepaid_public_cn-g6z3z***** |
| Resources |
string |
Yes |
The protected objects to query. Separate multiple protected objects with commas (,). |
alb-wewbb23dfsetetcic1242-0****,test.waf.com-waf |
| ResourceManagerResourceGroupId |
string |
No |
The Alibaba Cloud resource group ID. |
rg-acfm***q |
| RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
D7861F61-5B61-46CE-A47C-6B19****5EB0 |
| LogConfigs |
array<object> |
The list of log delivery configurations for protected objects. |
|
|
object |
The log delivery configuration for a protected object. |
||
| Resource |
string |
The protected object. |
test.waf.com-waf |
| Status |
boolean |
The log delivery status of the protected object. Valid values:
|
true |
| DeliveryName |
string |
The name of the delivery configuration. |
export-kafka |
| DeliveryType |
string |
The delivery type of the protected object. Valid values:
|
kafka |
Examples
Success response
JSON format
{
"RequestId": "D7861F61-5B61-46CE-A47C-6B19****5EB0",
"LogConfigs": [
{
"Resource": "test.waf.com-waf",
"Status": true,
"DeliveryName": "export-kafka",
"DeliveryType": "kafka"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.