Renews an ApsaraDB for HBase instance.

This operation applies only to subscription instances.

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 RenewInstance

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

ClusterId String Yes hb-bp1u0639js2h7****

The ID of the instance.

Duration Integer Yes 5

The subscription duration of the instance.

  • If PricingCycle is set to year, valid values are from 1 to 3.
  • If PricingCycle is set to month, valid values are from 1 to 9.
Note This parameter takes effect only when the billing method is set to subscription.
PricingCycle String Yes month

The unit of the subscription duration. Valid values:

  • year
  • month
Note This parameter takes effect only when the billing method is set to subscription.

Response parameters

Parameter Type Example Description
OrderId Long 211235614240728

The ID of the order.

RequestId String 729CB2A7-3065-53A9-B27C-7033CA4881D9

The ID of the request.

Examples

Sample requests

http(s)://hbase.aliyuncs.com/?Action=RenewInstance
&ClusterId=hb-bp1u0639js2h7****
&Duration=5
&PricingCycle=month
&<Common request parameters>

Sample success responses

XML format

<RenewInstanceResponse>
  <OrderId>211235614240728</OrderId>
  <RequestId>729CB2A7-3065-53A9-B27C-7033CA4881D9</RequestId>
</RenewInstanceResponse>

JSON format

{
    "OrderId": 211235614240728,
    "RequestId": "729CB2A7-3065-53A9-B27C-7033CA4881D9"
}

Error codes

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