Modifies the rule information of a hybrid cloud cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:ModifyHybridCloudClusterRule |
update |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID of the WAF instance. Note
You can call DescribeInstanceInfo to query instance ID of the current WAF instance. |
waf-cn-n6w***x52m |
| ClusterRuleResourceId |
string |
No |
The resource ID of the cluster rule. |
hdbc-clusterrule-*******ym0w |
| RuleConfig |
string |
No |
The traffic redirection rule configuration. Important The mode cannot be modified.
|
{\"check_mode\": \"all\", \"type\": \"exact\", \"substance\": \"122\"} |
| RegionId |
string |
No |
The region where the WAF instance is deployed. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-acfm***q |
| ClusterId |
integer |
No |
[Deprecated] The ID of the hybrid cloud cluster. |
10* |
| RuleType |
string |
No |
[Deprecated] The rule type. Valid values:
|
pullin |
| RuleStatus |
string |
No |
The rule status. Valid values:
|
on |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
03D73D88-57D8-5BA2-96A4-6357CE***19 |
Examples
Success response
JSON format
{
"RequestId": "03D73D88-57D8-5BA2-96A4-6357CE***19"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.