Modifies the name of a specified ApsaraDB for HBase instance.

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 ModifyInstanceName

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

ClusterId String Yes ld-bp150tns0sjxs****

The ID of the ApsaraDB for HBase instance.

ClusterName String Yes testhbaseone

The new name of the instance. You can call the DescribeInstance operation to query the original name of the instance.

RegionId String Yes cn-hangzhou

The ID of the region where the instance is deployed. You can call the DescribeRegions operation to query region IDs.

ClientToken String No ETnLKlblzczshOTUbOCz****

The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the value is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.

ZoneId String No cn-hangzhou-f

The ID of the zone where the instance is deployed. You can call the DescribeRegions operation to query zone IDs.

Response parameters

Parameter Type Example Description
RequestId String 959DA199-54E5-569D-AD46-92BED8515E62

The ID of the request.

Examples

Sample requests

http(s)://hbase.aliyuncs.com/?Action=ModifyInstanceName
&ClusterId=ld-bp150tns0sjxs****
&ClusterName=testhbaseone
&RegionId=cn-hangzhou
&ZoneId=cn-hangzhou-f
&<Common request parameters>

Sample success responses

XML format

<ModifyInstanceNameResponse>
  <RequestId>65BDA532-28AF-4122-AA39-B382721EEE64</RequestId>
</ModifyInstanceNameResponse>

JSON format

{
    "RequestId": "65BDA532-28AF-4122-AA39-B382721EEE64"
}

Error codes

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