Adjusts the bandwidth of a Tair (Redis® OSS-Compatible) instance. Currently, only the pay-as-you-go billing method is supported. You only need to specify the InstanceId, NodeId (optional), Bandwidth, and ChargeType parameters.
Operation description
If you call this operation while the automatic bandwidth adjustment feature is enabled for the instance, the instance preferentially uses the automatic bandwidth adjustment feature. When the bandwidth is automatically downgraded, it is downgraded to the default bandwidth of the instance specification. For more information about the limits, billing, and FAQ of this feature, see Modify instance bandwidth.
Before you call this operation, you can call DescribeRoleZoneInfo to query the current bandwidth of each data node in the instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:EnableAdditionalBandwidth |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. You can call DescribeInstances to query the instance ID. |
r-bp1zxszhcgatnx**** |
| CouponNo |
string |
No |
The coupon code. |
youhuiquan_promotion_option_id_for_blank |
| AutoPay |
boolean |
No |
Specifies whether to enable automatic payment. Valid values:
|
true |
| NodeId |
string |
No |
The ID of the data shard. You can call DescribeLogicInstanceTopology to query the data shard ID. Separate multiple IDs with commas (,). You can also set this parameter to All to specify all data shards. Note
This parameter is available and required only when the instance uses the cluster architecture or read/write splitting architecture. |
r-bp1zxszhcgatnx****-db-0 |
| Bandwidth |
string |
No |
The amount of bandwidth to increase, in MB/s. The value must be an integer greater than or equal to 0. The maximum value is six times the default bandwidth of the instance or a single shard, with an upper limit of 192 MB/s. For example, if the default bandwidth of the instance is 10 MB/s, the valid range is 0 to 60. Note
|
20 |
| OrderTimeLength |
string |
No |
The duration of the purchase, in days. Valid values: 1, 2, 3, 7, 14, 30, 60, 90, 180, 365, 730, 1095, and 1825. Note
To continue using the purchased bandwidth, call RenewAdditionalBandwidth to renew the bandwidth before it expires. |
30 |
| SourceBiz |
string |
No |
The source of the request. This parameter is used only for internal maintenance. You do not need to specify this parameter. |
SDK |
| AutoRenew |
boolean |
No |
Specifies whether to enable auto-renewal. Valid values:
|
false |
| AutoRenewPeriod |
integer |
No |
The auto-renewal period, in months. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, and 60. Note
|
1 |
| ChargeType |
string |
No |
The billing method for the additional bandwidth. Valid values:
|
PrePaid |
| BandWidthBurst |
boolean |
No |
Specifies whether to enable burstable (second-level) elastic bandwidth. After elastic bandwidth scaling is enabled, burstable (second-level) elastic bandwidth cannot be enabled, and vice versa. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| OrderId |
string |
The order ID. |
2084452111111 |
| RequestId |
string |
The request ID. |
D622714-AEDD-4609-9167-F5DDD3D1**** |
Examples
Success response
JSON format
{
"OrderId": "2084452111111",
"RequestId": "D622714-AEDD-4609-9167-F5DDD3D1****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.