Changes the endpoint of an AnalyticDB for MySQL cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:ModifyClusterConnectionString |
update |
DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the AnalyticDB for MySQL Data Warehouse Edition cluster. Note
Call the DescribeDBClusters operation to query the IDs of all AnalyticDB for MySQL Data Warehouse Edition clusters within a region. |
am-bp18934i73vb**** |
| ConnectionStringPrefix |
string |
Yes |
The prefix of the public endpoint.
|
test-123 |
| CurrentConnectionString |
string |
Yes |
The current public endpoint of the AnalyticDB for MySQL Data Warehouse Edition cluster. Note
Call the DescribeDBClusterNetInfo operation to query the public endpoint of the cluster. |
am-bp18934i73vb****.ads.aliyuncs.com |
| Port |
integer |
No |
The port number. Set the value to 3306. |
3306 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
370D09FD-442A-5225-AAD3-7362CAE39177 |
Examples
Success response
JSON format
{
"RequestId": "370D09FD-442A-5225-AAD3-7362CAE39177"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist. Make sure that the DBClusterId value is valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.