Queries the types of Tair (Redis OSS-compatible) instances that can be created in a specified zone.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeAvailableResource |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to query available regions. |
cn-hangzhou |
| ZoneId |
string |
No |
The zone ID. You can call the DescribeZones operation to query available zones. |
cn-hangzhou-h |
| InstanceChargeType |
string |
No |
The billing method. Valid values:
|
PrePaid |
| OrderType |
string |
No |
The order type. Valid values:
|
BUY |
| Engine |
string |
No |
The database engine of the instance. Valid values:
|
Redis |
| ResourceGroupId |
string |
No |
The resource group ID. You can call the ListResourceGroups operation to query resource group IDs. Note
You can also query resource group IDs in the Resource Management console. For more information, see View basic information about a resource group. |
rg-acfmyiu4e****** |
| InstanceId |
string |
No |
The ID of the instance. Note
This parameter is available and required only if the OrderType parameter is set to UPGRADE or DOWNGRADE. |
r-bp1zxszhcgatnx**** |
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh-CN |
| ProductType |
string |
No |
The instance type. Default value: Local. Valid values:
Note
The default value of this parameter is Local. To query disk resources, you must specify the instance type that provides the required disk resources. |
Local |
| NodeId |
string |
No |
The data node ID. You can call the DescribeLogicInstanceTopology operation to query data node IDs. Remove the number sign ( Note
Before you specify this parameter, you must set the InstanceId parameter to the ID of an instance that uses the cluster or read/write splitting architecture. |
r-bp1zxszhcgatnx****-db-0 |
| InstanceScene |
string |
No |
The edition of the instance. Valid values:
|
professional |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
493B7308-D9C2-55F6-B042-0313BD63**** |
| AvailableZones |
object |
||
| AvailableZone |
array<object> |
Details about the zones. |
|
|
array<object> |
|||
| ZoneId |
string |
The zone ID. |
cn-hangzhou-h |
| ZoneName |
string |
The name of the zone. |
杭州 可用区H |
| RegionId |
string |
The ID of the region. |
cn-hangzhou |
| SupportedEngines |
object |
||
| SupportedEngine |
array<object> |
The supported engines. |
|
|
array<object> |
|||
| Engine |
string |
The database engine of the instance. |
Redis |
| SupportedEditionTypes |
object |
||
| SupportedEditionType |
array<object> |
The instance edition types. |
|
|
array<object> |
|||
| EditionType |
string |
The edition of the instance. Valid values:
|
Enterprise |
| SupportedSeriesTypes |
object |
||
| SupportedSeriesType |
array<object> |
The instance series types. |
|
|
array<object> |
|||
| SeriesType |
string |
The instance series. Valid values:
|
enhanced_performance_type |
| SupportedEngineVersions |
object |
||
| SupportedEngineVersion |
array<object> |
The available engine versions. |
|
|
array<object> |
|||
| Version |
string |
The engine version of the instance. |
5.0 |
| SupportedArchitectureTypes |
object |
||
| SupportedArchitectureType |
array<object> |
The available architectures. |
|
|
array<object> |
|||
| Architecture |
string |
The architecture of the instance. Valid values:
|
cluster |
| SupportedShardNumbers |
object |
||
| SupportedShardNumber |
array<object> |
The numbers of available shards. |
|
|
array<object> |
|||
| ShardNumber |
string |
The number of shards. |
8 |
| SupportedNodeTypes |
object |
||
| SupportedNodeType |
array<object> |
The supported node types. |
|
|
array<object> |
The supported node type. |
||
| SupportedNodeType |
string |
The node type of the instance. Valid values:
|
double |
| AvailableResources |
object |
||
| AvailableResource |
array<object> |
The available instance types. |
|
|
object |
The available instance type. |
||
| InstanceClassRemark |
string |
The description of the instance type. |
16G集群版(8节点)(QPS:1920000 Connections:240000) |
| Capacity |
integer |
The memory size of the instance. Unit: MB. |
16384 |
| InstanceClass |
string |
The instance type code. For details about instance type codes, see the instance type documentation in Help Center. |
redis.amber.logic.sharding.2g.8db.0rodb.24proxy.multithread |
| IsMainSale |
boolean |
An internal parameter. |
true |
Examples
Success response
JSON format
{
"RequestId": "493B7308-D9C2-55F6-B042-0313BD63****",
"AvailableZones": {
"AvailableZone": [
{
"ZoneId": "cn-hangzhou-h",
"ZoneName": "杭州 可用区H",
"RegionId": "cn-hangzhou",
"SupportedEngines": {
"SupportedEngine": [
{
"Engine": "Redis",
"SupportedEditionTypes": {
"SupportedEditionType": [
{
"EditionType": "Enterprise",
"SupportedSeriesTypes": {
"SupportedSeriesType": [
{
"SeriesType": "enhanced_performance_type",
"SupportedEngineVersions": {
"SupportedEngineVersion": [
{
"Version": "5.0",
"SupportedArchitectureTypes": {
"SupportedArchitectureType": [
{
"Architecture": "cluster",
"SupportedShardNumbers": {
"SupportedShardNumber": [
{
"ShardNumber": "8",
"SupportedNodeTypes": {
"SupportedNodeType": [
{
"SupportedNodeType": "double",
"AvailableResources": {
"AvailableResource": [
{
"InstanceClassRemark": "16G集群版(8节点)(QPS:1920000 Connections:240000)",
"Capacity": 16384,
"InstanceClass": "redis.amber.logic.sharding.2g.8db.0rodb.24proxy.multithread"
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
},
"IsMainSale": true
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.