You can call this operation to query the current maximum internal bandwidth of an ApsaraDB for Redis instance. If you have adjusted the maximum internal bandwidth temporarily, this operation also returns the expiration time of the temporary maximum internal bandwidth.

You can adjust the maximum internal bandwidth temporarily in the following ways:

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 No DescribeIntranetAttribute

The operation that you want to perform. Set this parameter to DescribeIntranetAttribute.

InstanceId String Yes r-bp1xxxxxxxxxxxxx

The ID of the instance.

RegionId String No cn-hangzhou

The ID of the region.

ResourceGroupId String No rg-resourcegroupid1

The ID of the resource group.

Response parameters

Parameter Type Example Description
RequestId String 846C9278-4D71-419F-BBE8-57C00A0A46EF

The ID of the request.

IntranetBandwidth Integer 20

The current maximum internal bandwidth of the instance. Unit: Mbit/s.

ExpireTime String 2019-08-13T16:00:00Z
  • If you have not adjusted the maximum internal bandwidth temporarily, the value of the parameter is 0.
  • If you have adjusted the maximum internal bandwidth temporarily, the value of the parameter indicates the expiration time of the temporary maximum internal bandwidth.

Examples

Sample requests

https://r-kvstore.aliyuncs.com/
?Action=DescribeIntranetAttribute
&InstanceId=r-bp1xxxxxxxxxxxxx
&<Common request parameters>

Sample success responses

XML format

<DescribeIntranetAttributeResponse>
      <IntranetBandwidth>20</IntranetBandwidth>
      <ExpireTime>2019-08-13T16:00:00Z</ExpireTime>
      <RequestId>846C9278-4D71-419F-BBE8-57C00A0A46EF</RequestId>
</DescribeIntranetAttributeResponse>

JSON format

{
    "IntranetBandwidth": 20,
    "ExpireTime": "2019-08-13T16:00:00Z",
    "RequestId": "846C9278-4D71-419F-BBE8-57C00A0A46EF"
}

Error codes

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