All Products
Search
Document Center

ApsaraDB for HBase:AllocatePublicNetworkAddress

Last Updated:Jan 05, 2024

Applies for a public endpoint. This API operation is applicable only to ApsaraDB for HBase Standard Edition.

Request parameters

Parameter

Type

Required

Example

Description

Action String Yes AllocatePublicNetworkAddress

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

ClusterId String Yes hb-t4naqsay5gn******

The cluster ID.

ClientToken String No 83b2b5e117a5b8bce0fae88d90576a84_6452320_82718582

The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters. Note: If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.

Response parameters

Parameter

Type

Example

Description

RequestId String 50373857-C47B-4B64-9332-D0B5280B59EA

The request ID.

Examples

Sample requests

http(s)://hbase.aliyuncs.com/?Action=AllocatePublicNetworkAddress
&ClusterId=hb-t4naqsay5gn******
&ClientToken=83b2b5e117a5b8bce0fae88d90576a84_6452320_8271****
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<AllocatePublicNetworkAddressResponse>
    <RequestId>50373857-C47B-4B64-9332-D0B5280B****</RequestId>
</AllocatePublicNetworkAddressResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "50373857-C47B-4B64-9332-D0B5280B****"
}

Error codes

For a list of error codes, see Service error codes.