Queries the current bandwidth of an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
Operation description
You can call the EnableAdditionalBandwidth operation to purchase bandwidth for an instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeIntranetAttribute |
get |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
r-bp1zxszhcgatnx**** |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-acfmyiu4ekp**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AutoRenewal |
boolean |
Specifies whether auto-renewal is enabled for the purchased bandwidth. Valid values:
Note
This parameter is not returned if no bandwidth is purchased. |
true |
| RequestId |
string |
The request ID. |
25D42CC3-FBA1-4AEC-BCE2-B8DD3137**** |
| ExpireTime |
string |
The expiration time of the temporary bandwidth. The time follows the yyyy-MM-ddTHH:mm:ssZ format. Note
If no temporary bandwidth adjustment has been performed on the instance or the temporary bandwidth has expired, this parameter returns 0. |
0 |
| IntranetBandwidth |
integer |
The current internal network bandwidth of the instance. This parameter indicates the total bandwidth of all shards in the instance. Unit: MB/s. |
102 |
| HasPrePaidBandWidthOrderRunning |
boolean |
Specifies whether the instance has an unexpired bandwidth plan. Valid values:
Note
This parameter is not returned if no extra bandwidth is purchased for the instance. |
true |
| BandwidthExpireTime |
string |
The expiration time of the purchased bandwidth. The time follows the yyyy-MM-ddTHH:mm:ssZ format. Note
This parameter is not returned if no extra bandwidth is purchased for the instance. |
2021-03-06T16:00:00Z |
| BandwidthPrePaid |
string |
The billing method of the bandwidth plan. Valid values:
|
0 |
| IntranetBandWidthBurst |
integer |
The burst quota for the internal network bandwidth. |
0 |
Examples
Success response
JSON format
{
"AutoRenewal": true,
"RequestId": "25D42CC3-FBA1-4AEC-BCE2-B8DD3137****",
"ExpireTime": "0",
"IntranetBandwidth": 102,
"HasPrePaidBandWidthOrderRunning": true,
"BandwidthExpireTime": "2021-03-06T16:00:00Z",
"BandwidthPrePaid": "0",
"IntranetBandWidthBurst": 0
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.