Modifies a log delivery configuration for a hybrid cloud cluster.
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 Web Application Firewall (WAF) instance. Note
Call the DescribeInstance operation to query the ID of the WAF instance. |
waf_cdnsdf3**** |
| DeliveryName |
string |
Yes |
The name of the log delivery configuration that you want to modify. |
test1 |
| DeliveryType |
string |
Yes |
The type of the log delivery destination. Valid values:
|
syslog |
| DeliveryDetail |
string |
Yes |
The details of the log delivery configuration, in JSON format. Note
The value of this parameter is the same as the DeliveryDetail parameter of the CreateLogDeliveryConfig operation. For more information, see CreateLogDeliveryConfig. |
{ "rfcVersion": "rfc3164", "protocol": "tcp", "servers": [ { "address": "1.1.1.1", "port": 20 } ] } |
| RegionId |
string |
No |
The region in which the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| DeliveryName |
string |
The name of the log delivery configuration that was modified. |
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.