Queries the types of ApsaraDB for Redis instances that can be created in a specified zone.
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the instance. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
ZoneId | string | No | The zone ID of the instance. You can call the DescribeZones operation to query the most recent zone list. | cn-hangzhou-h |
InstanceChargeType | string | No | The billing method of the instance. Valid values:
NoteThe default value is PrePaid. | PrePaid |
OrderType | string | No | The type of the order. Default value: BUY. Valid values:
| BUY |
Engine | string | No | The database engine of the instance. Valid values:
| Redis |
ResourceGroupId | string | No | The ID of the resource group to which to assign the instance. You can call the ListResourceGroups operation to query the IDs of resource groups. NoteYou can also query the IDs of resource groups 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 NoteThis 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 return values. Defualt value: zh-CN. Valid values:
| zh-CN |
ProductType | string | No | The series of the instance. Valid values:
| Local |
NodeId | string | No | The ID of the data node for which you want to query available resources that can be created. You can call the DescribeLogicInstanceTopology operation to query the ID of the data node. Remove the number sign ( NoteBefore 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 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "493B7308-D9C2-55F6-B042-0313BD63****",
"AvailableZones": {
"AvailableZone": [
{
"ZoneId": "cn-hangzhou-h",
"ZoneName": "",
"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": "",
"Capacity": 16384,
"InstanceClass": "redis.amber.logic.sharding.2g.8db.0rodb.24proxy.multithread"
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.