Queries the details of the regions that are available for ApsaraDB RDS.
Operation description
Before you call the CreateDBInstance operation to create an RDS instance, you can call the DescribeRegions operation to query the available regions and zones.
Note
If a zone supports the multi-zone deployment method, the value of the ZoneId parameter for the zone contains an MAZ part. Examples: cn-hangzhou-MAZ6(b,f) and cn-hangzhou-MAZ5(b,e,f).
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
AcceptLanguage | string | No | The language that is used for the return value of the LocalName parameter. Valid values:
Default value: en-US. | en-US |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF",
"Regions": {
"RDSRegion": [
{
"ZoneId": "cn-hangzhou-h",
"RegionEndpoint": "rds.aliyuncs.com",
"LocalName": "China (Hangzhou)",
"RegionId": "cn-hangzhou",
"ZoneName": "Hangzhou Zone H"
}
]
}
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
404 | InvalidAcceptLanguage.NotFound | Only Chinese (zh-CN) and English (en-US) are allowed. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history