Modifies the rule 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 | None |
Request parameters
Parameter | Type | Required | Description | Example |
InstanceId | string | Yes | The Web Application Firewall (WAF) instance ID. Note Call DescribeInstanceInfo to query the current WAF instance ID. | waf-cn-n6w***x52m |
ClusterRuleResourceId | string | No | The cluster rule resource ID. | hdbc-clusterrule-*******ym0w |
RuleConfig | string | No | The traffic routing rule configuration: Important The mode cannot be changed after it is selected.
| {\"check_mode\": \"all\", \"type\": \"exact\", \"substance\": \"122\"} |
RegionId | string | No | The region of the WAF instance. Valid values:
| cn-hangzhou |
ResourceManagerResourceGroupId | string | No | The ID of the Alibaba Cloud resource group. | rg-acfm***q |
ClusterId | integer | No | [Deprecated] The hybrid cloud cluster ID. | 10* |
RuleType | string | No | [Deprecated] The rule type. Valid values:
| pullin |
RuleStatus | string | No | The status of the rule. Valid values:
| on |
Response elements
Parameter | 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.