Renews the purchased bandwidth for an ApsaraDB for Redis instance.
Operation Description
Before you call this operation, make sure that you understand the billing methods and prices of ApsaraDB for Redis. For more information, see Billing items and pricing.
You can adjust the bandwidth of an instance in the ApsaraDB for Redis console. For more information, see Adjust the maximum bandwidth value of an instance. You can also call the EnableAdditionalBandwidth operation to adjust the bandwidth of an instance. If you want to continue using the bandwidth that you purchase after the validity period of the bandwidth, you must call the RenewAdditionalBandwidth operation to renew the bandwidth before the bandwidth expires.
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | Yes | The ID of the instance. You can call the DescribeInstances operation to query the IDs of instances. | r-bp1zxszhcgatnx**** |
CouponNo | string | No | The ID of the coupon that you want to use. | youhuiquan_promotion_option_id_for_blank |
AutoPay | boolean | No | Specifies whether to enable automatic payment. Valid values:
| true |
OrderTimeLength | string | Yes | The validity period of the bandwidth that you purchase. Unit: days. Valid values: 1, 2, 3, 7, 14, 30, 60, 90, 180, 365, 730, 1095, and 1825. | 30 |
SourceBiz | string | No | The source of the operation. This parameter is used only for internal maintenance. You do not need to specify this parameter. | SDK |
Response parameters
Examples
Sample success responses
JSON
format
{
"OrderId": "2084452111111",
"RequestId": "D622714-AEDD-4609-9167-F5DDD3D1****\t"
}
Error codes
For a list of error codes, visit the Service error codes.