Creates a hybrid cloud cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:CreateHybridCloudCluster |
create |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
Call DescribeInstance to query the ID of the WAF instance. |
waf_cdnsdf3**** |
| ClusterName |
string |
Yes |
The name of the cluster. |
测试集群 |
| HttpPorts |
string |
Yes |
A list of active ports for the HTTP protocol. The value is a string. For multiple ports, use the port1,port2,port3 format. |
80,8080 |
| HttpsPorts |
string |
Yes |
A list of active ports for the HTTPS protocol. The value is a string. For multiple ports, use the port1,port2,port3 format. |
443,8443 |
| AccessMode |
string |
Yes |
The network access mode. Valid values:
|
internet |
| AccessRegion |
string |
No |
The region for leased line access. Valid values:
|
cn-hangzhou |
LogFieldsNotReturned
deprecated
|
string |
No |
Note
This parameter is deprecated. It no longer returns meaningful data. |
已弃用 |
| ProtectionServerCount |
integer |
Yes |
The number of protection nodes that can be added to the cluster. |
1 |
| Remark |
string |
No |
The remarks. |
测试集群备注 |
| ProxyType |
string |
No |
The cluster type. Valid values:
|
cname |
| RuleStatus |
string |
No |
The manual bypass status. Valid values:
|
on |
| RuleType |
string |
No |
The rule type. Valid values:
|
bypass |
| RuleConfig |
string |
No |
The rule configuration. |
{ "enable": true, "param": { "breaker": { "duration": 1, "failed": 1, "recent_failed": 1 }, "disable_protect": false, "max_request_body_len": 1, "timeout": 1 } } |
| ProxyStatus |
string |
No |
The proxy gateway mode. Valid values:
|
off |
| 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. |
||
| RequestId |
string |
The request ID. |
66A98669-ER12-WE34-23PO-301469*****E |
| Data |
integer |
The cluster ID. |
1 |
Examples
Success response
JSON format
{
"RequestId": "66A98669-ER12-WE34-23PO-301469*****E",
"Data": 1
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.