Queries the available regions for FC 2.0.
Try it now
Test
RAM authorization
Request syntax
GET /2021-04-06/regions HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AcceptLanguage |
string |
No |
The language of the response. For more information, see RFC 7231. Valid values: zh-CN: Chinese. en-US: English. ja: Japanese Default value: zh-CN. |
zh-CN |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response |
||
| Regions |
object |
Region information |
|
| Region |
array<object> |
A collection of region information |
|
|
object |
A region object |
||
| RegionId |
string |
The region ID |
cn-qingdao |
| LocalName |
string |
The name of the region |
华北1(青岛) |
Sample JSON response
{
"Regions": {
"Region": [
{
"RegionId": "cn-qingdao",
"LocalName": "China (Qingdao)"
}
]
}
}
Examples
Success response
JSON format
{
"Regions": {
"Region": [
{
"RegionId": "cn-qingdao",
"LocalName": "华北1(青岛)"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.