All Products
Document Center


Last Updated: Aug 04, 2020

Applies for a public endpoint for an AnalyticDB for MySQL cluster.

Request parameters

ActionStringYesAllocateClusterPublicConnectionThe operation that you want to perform. Set the value to AllocateClusterPublicConnection.

DBClusterIdsStringYesam-bp1xxxxxxxx47The ID of the cluster for which you apply for a public endpoint. prefix of the public endpoint.
  • The prefix must start with a lowercase letter and contain lowercase letters, digits, and hyphens (-).
  • The prefix can be up to 30 characters in length.
  • By default, the cluster name is used as the prefix of the public endpoint.

Response parameters

RequestIdString1AD222E9-E606-4A42-BF6D-8A4442913CEFThe ID of the request.


Sample requests

  1. http(s)://[Endpoint]/?Action=AllocateClusterPublicConnection
  2. &DBClusterId=am-xxxxxxxxxx
  3. &<Common request parameters>

Sample success responses

XML format

  1. <AllocateClusterPublicConnectionResponse>
  2. <RequestId>D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC</RequestId>
  3. </AllocateClusterPublicConnectionResponse>

JSON format

  1. {
  2. "RequestId":"D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC"
  3. }