Queries a list of the zones that are supported by an ApsaraDB for MongoDB instance.
Operation description
Queries the zones in which an ApsaraDB for MongoDB instance can be deployed under specified purchase conditions. The region ID is required in the purchase condition.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeAvailabilityZones |
list |
*All Resource
|
None | None |
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 latest available regions. |
cn-hangzhou |
| ZoneId |
string |
No |
The zone ID of the instance. You can call the DescribeRegions operation to query available zones. |
cn-hangzhou-b |
| InstanceChargeType |
string |
No |
The billing method of the product. Valid values:
|
PrePaid |
| DbType |
string |
No |
The architecture of the instance. Valid values:
|
normal |
| ResourceGroupId |
string |
No |
The ID of the resource group. For more information, see View basic information of a resource group. |
rg-acfmx2m4rqu7pry |
| AcceptLanguage |
string |
No |
The language of the returned RegionName and ZoneName parameter values. Valid values:
|
zh |
| StorageSupport |
string |
No |
The storage type. Valid values:
|
local |
| MongoType |
string |
No |
The edition of the instance. High-Available Edition and Preview Edition (dbfs) are supported. |
dbfs |
| StorageType |
string |
No |
The storage type. Valid values:
Note
|
local_ssd |
| ExcludeZoneId |
string |
No |
The zone ID that is excluded from the query results. |
cn-shanghai-g |
| ExcludeSecondaryZoneId |
string |
No |
The secondary zone ID that is excluded from the query results. You can configure the ExcludeZoneId and ExcludeSecondaryZoneId parameters to specify the IDs of multiple zones that are excluded from the query results. |
cn-shanghai-b |
| DBInstanceClass |
string |
No |
The instance type of the instance. |
dds.mongo.standard |
| EngineVersion |
string |
No |
The database engine version of the instance. |
5.0 |
| ReplicationFactor |
string |
No |
The number of nodes in the instance. Note
This parameter is available only for replica set instances. Valid values:
Valid values:
|
3 |
| InstanceType |
string |
No |
The architecture of the instance. Valid values:
|
replicate |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
19A13A33-0FAD-5120-8AE1-B1636F74DD80 |
| AvailableZones |
array<object> |
The details of the zones in which you can create ApsaraDB for MongoDB instances. |
|
|
object |
|||
| ZoneId |
string |
The ID of the zone. |
cn-beijing-f |
| ZoneName |
string |
The name of the zone. The return value of the ZoneName parameter is in the language that is specified by the AcceptLanguage parameter. For example, if the value of the ZoneId parameter in the response is cn-hangzhou-h, the following values are returned for the ZoneName parameter:
|
杭州 可用区H |
| RegionId |
string |
The ID of the region. You can call the DescribeRegions operation to query the latest available regions. |
cn-beijing |
Examples
Success response
JSON format
{
"RequestId": "19A13A33-0FAD-5120-8AE1-B1636F74DD80",
"AvailableZones": [
{
"ZoneId": "cn-beijing-f",
"ZoneName": "杭州 可用区H",
"RegionId": "cn-beijing"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.