CreateAckClusterConnector
Creates an ACK cluster connector.
Operation description
QPS limits
The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable frequency.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:CreateAckClusterConnector |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MemberUid |
string |
No |
The Alibaba Cloud UID of the account to which the ACK cluster resources belong. |
135809047715**** |
| RegionNo |
string |
Yes |
The region ID of the ACK cluster connector. You can obtain the value from the following API operation:
Note
For more information about the regions where Cloud Firewall supports 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, uppercase and lowercase letters, digits, periods (.), underscores (_), and hyphens (-). |
ack-cluster-connector-name |
| ClusterId |
string |
Yes |
The ID of the ACK cluster. You can obtain the value from the following API operation:
|
cb0f5640b1b2d404cad6ba21509d7847b |
| PrimaryVswitchId |
string |
Yes |
The ID of the primary vSwitch for the ACK cluster connector. You can obtain the value from the following API operation:
|
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 secondary vSwitch for the ACK cluster connector. You can obtain the value from the following API operation:
|
vsw-2ze2gtlfozrab01cfo**** |
| StandbyVswitchIp |
string |
No |
The IP address of the secondary vSwitch for the ACK cluster connector. |
10.100.2.1 |
| Ttl |
string |
Yes |
The synchronization interval of the ACK cluster connector. Valid values: 2 to 60. Unit: seconds. |
30 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AckClusterConnector |
object |
The ACK cluster connector details. |
|
| ConnectorId |
string |
The unique ID of the ACK cluster connector. |
ac-7c1bad6c3cc84c33baab |
| ConnectorName |
string |
The name of the ACK cluster connector. The name must be 1 to 64 characters in length, and can contain Chinese characters, uppercase and lowercase letters, digits, periods (.), underscores (_), and hyphens (-). |
ack-cluster-connector-name |
| MemberUid |
string |
The Alibaba Cloud UID of the account to which the ACK cluster resources belong. |
135809047715**** |
| RegionNo |
string |
The region ID of the ACK cluster connector. You can obtain the value from the following API operation:
Note
For more information about the regions where Cloud Firewall supports ACK cluster connectors, see ACK cluster synchronization nodes. |
cn-shanghai |
| ClusterId |
string |
The ID of the ACK cluster. You can obtain the value from the following API operation:
|
cb0f5640b1b2d404cad6ba21509d7847b |
| ClusterName |
string |
The name of the ACK cluster. |
ack-cluster-name |
| VpcId |
string |
The VPC-connected instance ID of the ACK cluster. |
vpc-j6cvhdscntzuvr0x**** |
| PrimaryVswitchId |
string |
The ID of the primary vSwitch for the ACK cluster connector. You can obtain the value from the following API operation:
|
vsw-2zerfbbje7dvnbii2**** |
| PrimaryVswitchZoneId |
string |
The zone ID of the primary vSwitch for the ACK cluster connector. You can obtain the value from the following API operation:
|
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 secondary vSwitch for the ACK cluster connector. You can obtain the value from the following API operation:
|
vsw-2ze2gtlfozrab01cfo**** |
| StandbyVswitchZoneId |
string |
The zone ID of the secondary vSwitch for the ACK cluster connector. You can obtain the value from the following API operation:
|
cn-hangzhou-h |
| StandbyVswitchIp |
string |
The IP address of the secondary vSwitch for the ACK cluster connector. |
10.100.2.1 |
| Ttl |
integer |
The synchronization interval of 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 access point 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 that creates the ACK cluster connector. |
task-c92d4544ef7b6a42 |
| CreateTime |
string |
The timestamp when the ACK cluster connector was created. 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. |
| 400 | MissingParameter.ClusterId | ClusterId is required and must not be empty. | |
| 400 | InvalidParameter.ClusterId | The specified ClusterId is not a valid ACK cluster identifier. | |
| 400 | InvalidParameter.Ttl | The value of Ttl must be between 2 and 60. | |
| 400 | ErrorOpenApiError | An OpenAPI interface error occurred. | An OpenAPI interface error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.