You can call this operation to allocate public endpoints.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes AllocatePublicContactPoints

The operation that you want to perform. Set the value to AllocatePublicContactPoints.

ClusterId String Yes cds-bp1hy2i****2z46l

The ID of the cluster.

DataCenterId String Yes cn-hangzhou-g

The ID of the data center in the cluster.

Response parameters

Parameter Type Example Description
RequestId String 50373857-C47B-4B64-9332-D0B5280B59EA

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=AllocatePublicContactPoints
&ClusterId=cds-bp1hy2i****2z46l
&DataCenterId=cn-hangzhou-g
&<Common request parameters>

Sample success responses

XML format

<AllocatePublicContactPointsResponse>
      <RequestId>50373857-C47B-4B64-9332-D0B5280B59EA</RequestId>
</AllocatePublicContactPointsResponse>

JSON format

{
  "RequestId": "50373857-C47B-4B64-9332-D0B5280B59EA"
}

Error codes

For a list of error codes, visit the API Error Center.