Queries all regions and zones supported for an ApsaraDB for MongoDB instance.
Operation description
Note
To query available regions and zones in which an ApsaraDB for MongoDB instance can be created, call the DescribeAvailableResource operation.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | No | The region ID. Note
If you do not specify this parameter, all supported regions are queried.
| cn-hangzhou |
AcceptLanguage | string | No | The language of the values of the returned RegionName and ZoneName parameters. Valid values:
| zh |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "4E46C22C-D3B7-4DB8-9C76-63851BE68E20",
"Regions": {
"DdsRegion": [
{
"Zones": {
"Zone": [
{
"ZoneId": "cn-hangzhou-h",
"VpcEnabled": true,
"ZoneName": "Hangzhou Zone H"
}
]
},
"RegionId": "cn-hangzhou",
"RegionName": "China (Hangzhou)",
"EndPoint": "mongodb.aliyuncs.com"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-09-01 | The response structure of the API has changed | View Change Details |
2022-03-31 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |
2022-03-31 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |