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

You can temporarily adjust the maximum internal bandwidth 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 Yes DescribeIntranetAttribute

The operation that you want to perform. Set the value to DescribeIntranetAttribute.

InstanceId String Yes r-bp1zxszhcgatnx****

The ID of the instance.

RegionId String No cn-hangzhou

The ID of the region where the instance is deployed.

ResourceGroupId String No rg-acfmyiu4ekp****

The ID of the resource group.

Response parameters

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

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

RequestId String 846C9278-4D71-419F-BBE8-57C00A0A46EF

The ID of the request.

Examples

Sample requests

https://r-kvstore.aliyuncs.com/?Action=DescribeIntranetAttribute
&InstanceId=r-bp1zxszhcgatnx****
&<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.