Modifies the log delivery configuration for hybrid cloud.
Operation description
Before calling this operation, make sure that the WAF instance has purchased hybrid cloud extension nodes. You can call the DescribeInstance operation to query instance details. If the returned Details.HybridCloudNodeExtend parameter is greater than 0, hybrid cloud extension nodes have been purchased. If not, log on to the WAF console and purchase hybrid cloud extension nodes by upgrading the instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:ModifyLogDeliveryConfig |
create |
*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 obtain the ID of the current WAF instance. |
waf_cdnsdf3**** |
| DeliveryName |
string |
Yes |
The name of the log delivery configuration to modify. |
test1 |
| DeliveryType |
string |
Yes |
The type of the log delivery configuration to modify. Valid values:
|
syslog |
| DeliveryDetail |
string |
Yes |
The log delivery configuration content, which is a string converted from a JSON object constructed with a series of parameters. Note
This parameter is the same as the DeliveryDetail parameter of the CreateLogDeliveryConfig operation. For more information, see the log delivery configuration content parameter description in the CreateLogDeliveryConfig operation. |
{ "rfcVersion": "rfc3164", "protocol": "tcp", "servers": [ { "address": "1.1.1.1", "port": 20 } ] } |
| 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 response parameters. |
||
| DeliveryName |
string |
The name of the log delivery configuration. |
test1 |
| RequestId |
string |
The request ID. |
D7861F61-5B61-46CE-A47C-6B19****5EB0 |
Examples
Success response
JSON format
{
"DeliveryName": "test1",
"RequestId": "D7861F61-5B61-46CE-A47C-6B19****5EB0"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.