All Products
Search
Document Center

ApsaraDB for ClickHouse:AllocateClusterPublicConnection

Last Updated:Jul 17, 2024

Creates a public endpoint for an ApsaraDB for ClickHouse cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
DBClusterIdstringYes

The cluster ID.

cc-bp108z124a8o7****
ConnectionStringPrefixstringYes

The prefix of the endpoint that is used to connect to the database. Set the value to the cluster ID.

cc-bp108z124a8o7****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC

Examples

Sample success responses

JSONformat

{
  "RequestId": "D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC"
}

Error codes

HTTP status codeError codeError messageDescription
404InvalidDBCluster.NotFoundThe DBClusterId provided does not exist in our records.The DBClusterId provided does not exist in our records.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-01-18API Description Update. The Error code has changedView Change Details