Creates an ACK cluster connector.
Operation description
QPS limits
Each user is limited to 10 queries per second (QPS) for this API. If this limit is exceeded, API calls are throttled. To avoid service disruptions, plan your calls accordingly.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MemberUid |
string |
No |
The Alibaba Cloud UID of the account to which the ACK cluster belongs. |
135809047715**** |
| RegionNo |
string |
Yes |
The region ID of the ACK cluster connector.
Note
For more information about the regions that Cloud Firewall supports for ACK cluster connectors, see ACK cluster synchronization nodes. |
cn-hangzhou |
| ConnectorName |
string |
Yes |
The name of the ACK cluster connector. The name must be 1 to 64 characters in length and can contain Chinese characters, letters, digits, periods (.), underscores (_), and hyphens (-). |
ack-cluster-connector-name |
| ClusterId |
string |
Yes |
The ID of the ACK cluster.
|
cb0f5640b1b2d404cad6ba21509d7847b |
| PrimaryVswitchId |
string |
Yes |
The ID of the primary vSwitch for the ACK cluster connector.
|
vsw-2zerfbbje7dvnbii2**** |
| PrimaryVswitchIp |
string |
No |
The IP address of the primary vSwitch for the ACK cluster connector. |
10.100.1.1 |
| StandbyVswitchId |
string |
No |
The ID of the standby vSwitch for the ACK cluster connector.
|
vsw-2ze2gtlfozrab01cfo**** |
| StandbyVswitchIp |
string |
No |
The IP address of the standby vSwitch for the ACK cluster connector. |
10.100.2.1 |
| Ttl |
string |
Yes |
The synchronization interval for the ACK cluster connector. Valid values: 2 to 60. Unit: seconds. |
30 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AckClusterConnector |
object |
The details of the ACK cluster connector. |
|
| ConnectorId |
string |
The unique ID of the ACK cluster connector. |
ac-7c1bad6c3cc84c33baab |
| ConnectorName |
string |
The name of the ACK cluster connector. The name is 1 to 64 characters in length and can contain Chinese characters, letters, digits, periods (.), underscores (_), and hyphens (-). |
ack-cluster-connector-name |
| MemberUid |
string |
The Alibaba Cloud UID of the account to which the ACK cluster belongs. |
135809047715**** |
| RegionNo |
string |
The region ID of the ACK cluster connector.
Note
For more information about the regions that Cloud Firewall supports for ACK cluster connectors, see ACK cluster synchronization nodes. |
cn-shanghai |
| ClusterId |
string |
The ID of the ACK cluster.
|
cb0f5640b1b2d404cad6ba21509d7847b |
| ClusterName |
string |
The name of the ACK cluster. |
ack-cluster-name |
| VpcId |
string |
The ID of the VPC to which the ACK cluster belongs. |
vpc-j6cvhdscntzuvr0x**** |
| PrimaryVswitchId |
string |
The ID of the primary vSwitch for the ACK cluster connector.
|
vsw-2zerfbbje7dvnbii2**** |
| PrimaryVswitchZoneId |
string |
The zone ID of the primary vSwitch for the ACK cluster connector.
|
cn-hangzhou-g |
| PrimaryVswitchIp |
string |
The IP address of the primary vSwitch for the ACK cluster connector. |
10.100.1.1 |
| StandbyVswitchId |
string |
The ID of the standby vSwitch for the ACK cluster connector.
|
vsw-2ze2gtlfozrab01cfo**** |
| StandbyVswitchZoneId |
string |
The zone ID of the standby vSwitch for the ACK cluster connector.
|
cn-hangzhou-h |
| StandbyVswitchIp |
string |
The IP address of the standby vSwitch for the ACK cluster connector. |
10.100.2.1 |
| Ttl |
integer |
The synchronization interval for the ACK cluster connector. Valid values: 2 to 60. Unit: seconds. |
30 |
| ConnectorStatus |
string |
The instance status of the ACK cluster connector. Valid values:
|
ready |
| ConnectorHealthCheckStatus |
string |
The health check status of the ACK cluster connector. Valid values:
|
healthy |
| AckClientHostIp |
string |
The IP address used by the ACK cluster connector to access the ACK cluster over the internal network. |
10.40.32.240 |
| TaskId |
string |
The unique ID of the task to create the ACK cluster connector. |
task-c92d4544ef7b6a42 |
| CreateTime |
string |
The timestamp when the ACK cluster connector was created. This value is a UNIX timestamp. Unit: seconds. |
1724982259 |
| RequestId |
string |
The request ID. |
0DC783F1-B3A7-578D-8A63-***** |
Examples
Success response
JSON format
{
"AckClusterConnector": {
"ConnectorId": "ac-7c1bad6c3cc84c33baab",
"ConnectorName": "ack-cluster-connector-name",
"MemberUid": "135809047715****",
"RegionNo": "cn-shanghai",
"ClusterId": "cb0f5640b1b2d404cad6ba21509d7847b",
"ClusterName": "ack-cluster-name",
"VpcId": "vpc-j6cvhdscntzuvr0x****",
"PrimaryVswitchId": "vsw-2zerfbbje7dvnbii2****",
"PrimaryVswitchZoneId": "cn-hangzhou-g",
"PrimaryVswitchIp": "10.100.1.1",
"StandbyVswitchId": "vsw-2ze2gtlfozrab01cfo****",
"StandbyVswitchZoneId": "cn-hangzhou-h",
"StandbyVswitchIp": "10.100.2.1",
"Ttl": 30,
"ConnectorStatus": "ready",
"ConnectorHealthCheckStatus": "healthy",
"AckClientHostIp": "10.40.32.240",
"TaskId": "task-c92d4544ef7b6a42",
"CreateTime": "1724982259"
},
"RequestId": "0DC783F1-B3A7-578D-8A63-*****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorVSwitchAndPrivateIpAddressMismatched | The vSwitch and privateIpAddress are mismatched. | The vSwitch and privateIpAddress are mismatched. |
| 400 | ErrorAckClusterNotFound | The specified resource ACK cluster is not found. | The specified resource ACK cluster is not found. |
| 400 | ErrorAckClusterConnectorReverseEndpointIpNotAllocated | The IP is already allocated, failed to create reverse endpoint. | The IP is already allocated, failed to create reverse endpoint. |
| 400 | ErrorParametersUid | The aliUid parameter is invalid. | The aliUid parameter is invalid. |
| 400 | ErrorParameters | Parameters error. | Parameter error. |
| 400 | ErrorRegionNo | regionNo error. | Region selection error, please re-enter. |
| 400 | ErrorDBSelect | An error occurred while querying database. | An error occurred while querying database. |
| 400 | ErrorVswitchNoAvailableIP | the vswitch has no available ip. | No IP available for the specified switch |
| 400 | ErrorVswitchNotFound | vswitch not found | The vSwitch does not exist. Select another vSwitch. |
| 400 | ErrorDBInsert | An error occurred while performing an insert operation in the database. | An error occurred while performing an insert operation in the database. |
| 400 | ErrorAckClusterNetworkOnlySupportTerway | The ACK cluster network only support Terway. | The ACK cluster network only support Terway. |
| 400 | ErrorAckVpcAndVSwitchVpcMismatched | The ACK VPC and vSwitch VPC are mismatched. | The ACK VPC and vSwitch VPC are mismatched. |
| 400 | ErrorPrimaryStandbyVswitchSameZone | The primary and standby vSwitch are in the same availability zone. | The primary and standby vSwitch are in the same availability zone. |
| 400 | ErrorAckClusterSpecOnlySupportAckPro | The ACK cluster spec only support ack.pro.small. | The ACK cluster spec only support ack.pro.small. |
| 400 | ErrorAckClusterConnectorQuotaExceeded | ACK cluster connector resource exceeds the quota limit. | ACK cluster connector resource exceeds the quota limit. |
| 400 | ErrorAckNotOpen | ACK service is not open. | ACK service is not open. |
| 400 | ErrorAckClusterConnectorExist | The ACK cluster connector already exist. | The ACK cluster connector already exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.