All Products
Search
Document Center

ApsaraDB for Redis:RenewAdditionalBandwidth

Last Updated:Mar 20, 2023

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.

NoteBefore you call this operation, you can call the DescribeIntranetAttribute operation, which returns the expiration time of the purchased bandwidth in the BandwidthExpireTime parameter.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the instance. You can call the DescribeInstances operation to query the IDs of instances.

r-bp1zxszhcgatnx****
CouponNostringNo

The ID of the coupon that you want to use.

youhuiquan_promotion_option_id_for_blank
AutoPaybooleanNo

Specifies whether to enable automatic payment. Valid values:

  • true: Automatic payment is enabled. This is the default value.
  • false: Automatic payment is disabled. If automatic payment is disabled, you must perform the following steps to complete the payment in the ApsaraDB for Redis console: In the top navigation bar, choose Expenses > Renewal Management. In the left-side navigation pane, click Orders****. On the page that appears, find the order and complete the payment.
true
OrderTimeLengthstringYes

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
SourceBizstringNo

The source of the operation. This parameter is used only for internal maintenance. You do not need to specify this parameter.

SDK

Response parameters

ParameterTypeDescriptionExample
object
OrderIdstring

The ID of the order.

2084452111111
RequestIdstring

The ID of the request.

D622714-AEDD-4609-9167-F5DDD3D1****

Examples

Sample success responses

JSONformat

{
  "OrderId": "2084452111111",
  "RequestId": "D622714-AEDD-4609-9167-F5DDD3D1****\t"
}

Error codes

For a list of error codes, visit the Service error codes.