Queries the types of instances that can be created in specified zones.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeAvailableResource |
The operation that you want to perform. Set the value to DescribeAvailableResource. |
RegionId | String | Yes | cn-beijing |
The ID of the region. You can call the DescribeRegions operation to query the region ID of the instance. |
ZoneId | String | No | cn-beijing-c |
The ID of the zone. You can call the DescribeZones operation to query the zone ID. |
InstanceChargeType | String | No | PrePaid |
The billing method. Valid values:
Note Default value: PrePaid.
|
OrderType | String | No | BUY |
The type of order. Valid values:
|
Engine | String | No | redis |
The type of engine. Valid values:
|
ResourceGroupId | String | No | rg-acfmyiu4e****** |
The ID of the resource group. You can call the ListResourceGroups operation to query the ID of the resource group. Note You can also query the ID of the resource group on the Resource Management console.
For more information, see View basic information about a resource group.
|
InstanceId | String | No | r-bp1zxszhcg****** |
The ID of the instance. Note This parameter is valid and required only if you set the OrderType parameter to UPGRADE or RENEW.
|
AcceptLanguage | String | No | zh-CN |
The language of the returned value. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
AvailableZones | Array of AvailableZone |
The detailed information about the zones that are queried. |
|
AvailableZone | |||
RegionId | String | cn-beijing |
The ID of the region. |
SupportedEngines | Array of SupportedEngine |
The engine types that are supported. |
|
SupportedEngine | |||
Engine | String | Redis |
The engine type of the instance. |
SupportedEditionTypes | Array of SupportedEditionType |
The edition of the instance. |
|
SupportedEditionType | |||
EditionType | String | Community |
The edition of the instance. Valid values:
|
SupportedSeriesTypes | Array of SupportedSeriesType |
The series of the instance. Valid values: |
|
SupportedSeriesType | |||
SeriesType | String | enhanced_performance_type |
Series. Valid values:
|
SupportedEngineVersions | Array of SupportedEngineVersion |
The list of engine versions. |
|
SupportedEngineVersion | |||
SupportedArchitectureTypes | Array of SupportedArchitectureType |
The architecture types that are supported. |
|
SupportedArchitectureType | |||
Architecture | String | cluster |
Architecture. Valid values:
|
SupportedShardNumbers | Array of SupportedShardNumber |
The list of available shards. |
|
SupportedShardNumber | |||
ShardNumber | String | 8 |
The number of shards. |
SupportedNodeTypes | Array of SupportedNodeType |
The list of supported node types. |
|
SupportedNodeType | |||
AvailableResources | Array of AvailableResource |
The list of available specifications. |
|
AvailableResource | |||
InstanceClass | String | redis.logic.sharding.2g.8db.0rodb.8proxy.default |
The instance type code. To view the specification information, search for the instance type code in the search bar in the Document Center. |
InstanceClassRemark | String | 16 GB cluster instance (Sharding) (Queries per second (QPS): 2,000,000, number of connections: 80,000) |
The description of the instance type. |
SupportedNodeType | String | double |
The type of the node. Valid values:
|
Version | String | 5.0 |
The engine version of the instance. |
ZoneId | String | cn-beijing-c |
The ID of the zone. |
ZoneName | String | Beijing Zone C |
The name of the zone. |
RequestId | String | 128BD75D-A423-4235-B777-811429BB**** |
The ID of the request. |
Examples
Sample requests
https://r-kvstore.aliyuncs.com?Action=DescribeAvailableResource
&RegionId=cn-beijing
&ZoneId=cn-beijing-c
&<Common request parameters>
Sample success responses
XML
format
<DescribeAvailableResourceResponse>
<RequestId>5094D428-5CC5-4494-A8B4-59BBBDED****</RequestId>
<AvailableZones>
<AvailableZone>
<ZoneName>Beijing Zone C</ZoneName>
<ZoneId>cn-beijing-c</ZoneId>
<SupportedEngines>
<SupportedEngine>
<SupportedEditionTypes>
<SupportedEditionType>
<EditionType>Community</EditionType>
<SupportedSeriesTypes>
<SupportedSeriesType>
<SupportedEngineVersions>
<SupportedEngineVersion>
<SupportedArchitectureTypes>
<SupportedArchitectureType>
<SupportedShardNumbers>
<SupportedShardNumber>
<ShardNumber>8</ShardNumber>
<SupportedNodeTypes>
<SupportedNodeType>
<AvailableResources>
<AvailableResource>
<InstanceClass>redis.logic.sharding.2g.8db.0rodb.8proxy.default</InstanceClass>
<InstanceClassRemark>16G cluster instance (Sharding) (QPS: 2,000,000, number of connections: 80,000)</InstanceClassRemark>
</AvailableResource>
</AvailableResources>
<SupportedNodeType>double</SupportedNodeType>
</SupportedNodeType>
</SupportedNodeTypes>
</SupportedShardNumber>
</SupportedShardNumbers>
<Architecture>cluster</Architecture>
</SupportedArchitectureType>
</SupportedArchitectureTypes>
<Version>5</Version>
</SupportedEngineVersion>
</SupportedEngineVersions>
<SeriesType>enhanced_performance_type</SeriesType>
</SupportedSeriesType>
</SupportedSeriesTypes>
</SupportedEditionType>
</SupportedEditionTypes>
<Engine>redis</Engine>
</SupportedEngine>
</SupportedEngines>
</AvailableZone>
</AvailableZones>
</DescribeAvailableResourceResponse>
JSON
format
{
"RequestId": "5094D428-5CC5-4494-A8B4-59BBBDED****",
"AvailableZones": {
"AvailableZone": {
"ZoneName": "Beijing Zone C",
"ZoneId": "cn-beijing-c",
"SupportedEngines": {
"SupportedEngine": {
"SupportedEditionTypes": {
"SupportedEditionType": {
"EditionType": "Community",
"SupportedSeriesTypes": {
"SupportedSeriesType": {
"SupportedEngineVersions": {
"SupportedEngineVersion": {
"SupportedArchitectureTypes": {
"SupportedArchitectureType": {
"SupportedShardNumbers": {
"SupportedShardNumber": {
"ShardNumber": 8,
"SupportedNodeTypes": {
"SupportedNodeType": {
"AvailableResources": {
"AvailableResource": {
"InstanceClass": "redis.logic.sharding.2g.8db.0rodb.8proxy.default",
"InstanceClassRemark": "16G cluster (Sharding) (QPS: 2,000,000, number of connections: 80,000)"
}
},
"SupportedNodeType": "double"
}
}
}
},
"Architecture": "cluster"
}
},
"Version": 5
}
},
"SeriesType": "enhanced_performance_type"
}
}
}
},
"Engine": "redis"
}
}
}
}
}
Error codes
For a list of error codes, visit the API Error Center.