You need to enable JavaScript to run this app.
Cache for Redis

Cache for Redis

Copy page
Download PDF
Instance management
DescribeDBInstanceSpecs
Copy page
Download PDF
DescribeDBInstanceSpecs
Call the DescribeDBInstanceSpecs API to query the list of instance specifications supported by Redis.​
Request type​
Synchronous request.​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
​
Parameters​
Type​
Required​
Example​
Description​
ArchType​
String​
No​
Standard​
Architecture type of the Redis instance. Valid values:​
  • Cluster: Shard cluster is enabled (i.e., the number of shards is greater than 1).​
  • Standard: Shard cluster is not enabled (i.e., the number of shards is 1).​
tip​
  • If this parameter is left blank, the instance architecture type condition will not be used for filtering.​
InstanceClass​
String​
No​
Standalone​
Redis instance type. Valid values:​
  • PrimarySecondary: primary-secondary instance.​
  • Standalone: single node instance.​
tip​
  • If this parameter is left blank, no instance type condition is used for filtering.​
​
Response parameters​
​
Parameters​
Type​
Example​
Description​
InstanceSpecs​
Array of InstanceSpecInfo​
Refer to the Sample response.​
Redis instance specification list.​
tip​
For more details about Redis instance specifications, refer to Product specifications.​
​
InstanceSpecInfo​
​
Parameters​
Type​
Example​
Description​
ArchType​
String​
Standard​
The architecture type of the instance. Valid values:​
  • Cluster: Shard cluster is enabled (i.e., the number of shards is greater than 1).​
  • Standard: Shard cluster is not enabled (i.e., the number of shards is 1).​
InstanceClass​
String​
Standalone​
Instance type. Valid values:​
  • PrimarySecondary: primary-secondary instance.​
  • Standalone: single node instance.​
NodeNumbers​
Array of Integer​
[1]​
List of nodes allowed per shard. The number of nodes allowed varies for different instance types:​
  • Primary-secondary instances (i.e., where InstanceClass is PrimarySecondary): allow at least 2 nodes.​
  • Single node instances (i.e., where InstanceClass is Standalone): only allow 1 node.​
ShardNumbers​
Array of Integer​
[1]​
List of allowed shard numbers for the instance. The number of allowed shards varies by instance architecture type:​
  • Enable shard cluster (i.e., ArchType is Cluster): Allows at least 2 shards.​
  • Do not enable shard cluster (i.e., ArchType is Standard): Only allows 1 shard.​
ShardCapacitySpecs​
Refer to the sample response.​
List of capacity specifications for a single shard.​
MaxConnectionsPerShard​
Integer​
10000​
Maximum default connections per shard.​
​
ShardCapacitySpecInfo​
​
Parameters​
Type​
Example​
Description​
ShardCapacity​
Integer​
1024​
Memory capacity per shard. Unit: MiB.​
DefaultBandwidthPerShard​
Integer​
48​
Default bandwidth of the instance at the current memory capacity Unit: MB/s.​
MaxAdditionalBandwidthPerShard​
Integer​
144​
The maximum bandwidth allowed for instance modification under the current memory capacity.​
tip​
For more information on modifying bandwidth, see Modifying bandwidth.​
​
Example​
Request example​
​
POST https://redis.cn-beijing.volcengineapi.com/?Action=DescribeDBInstanceSpecs&Version=2020-12-07 HTTP/1.1​
Host: redis.cn-beijing.volcengineapi.com​
Content-Type: application/json; charset=utf-8​
X-Date: 20201103T104027Z​
Authorization: HMAC-SHA256 Credential=AK****/20201103/cn-beijing/Redis/request,SignedHeaders=content-type;host;x-date,Signature=****​
{​
"ArchType": "Standard",​
"InstanceClass": "Standalone"​
}​
​
Response example​
​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420100232280022D31****",​
"Action": "DescribeDBInstanceSpecs",​
"Version": "2020-12-07",​
"Service": "Redis",​
"Region": "cn-beijing"​
},​
"Result": {​
"InstanceSpecs": [​
{​
"ArchType": "Cluster",​
"NodeNumbers": [​
1​
],​
"ShardNumbers": [​
1​
],​
"InstanceClass": "PrimarySecondary",​
"ShardCapacitySpecs": [​
{​
"ShardCapacity": 1024,​
"DefaultBandwidthPerShard": 48,​
"MaxAdditionalBandwidthPerShard": 144​
}​
],​
"MaxConnectionsPerShard": 10000​
}​
]​
}​
}​
​
Error code​
For more details, see Error code.​
Last updated: 2026.09.21 15:01:07