Modifies the manual bypass switch for a hybrid cloud SDK integration cluster.
Operation description
Before calling this operation, make sure that the hybrid cloud feature is enabled for the WAF instance. Call the DescribeInstance operation to query instance details. If the Details.HybridCloud parameter in the response is true, the hybrid cloud feature is enabled. If the feature is not enabled, log on to the WAF console and upgrade the instance to enable the hybrid cloud feature.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:ModifyHybridCloudClusterBypassStatus |
update |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
Call the DescribeInstanceInfo operation to query the ID of the current WAF instance. |
waf_elasticity-cn-0xldbqt**** |
| ClusterResourceId |
string |
Yes |
The resource ID of the hybrid cloud cluster. Note
Call the DescribeHybridCloudClusters operation and find the target hybrid cloud cluster in the ClusterInfos array of the response. Use the value of the ClusterResourceId field. If no cluster is available, call the CreateHybridCloudCluster operation to create a hybrid cloud cluster. |
hdbc_cluster_**** |
| RuleStatus |
string |
Yes |
The enabling status of the manual bypass switch. Valid values:
|
on |
| 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 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
D7861F61-5B61-46CE-A47C-6B19160D5EB0 |
Examples
Success response
JSON format
{
"RequestId": "D7861F61-5B61-46CE-A47C-6B19160D5EB0"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.