edit-icon download-icon

Query regions

Last Updated: May 18, 2018

Call /regions by GET method to query the region list of Alibaba Cloud.

Request parameters

None.

Returned parameters

The system returns the region list.

Name Parameter type Description
Regions List List of all regions.

Error codes

Error code Description HTTP status code Meaning
InternalError Server error. 500 Server-side unknown exception.

Example

Request example

  1. GET http://ros.aliyuncs.com/regions HTTP/1.1
  2. x-acs-signature-method: HMAC-SHA1
  3. Authorization: acs ACSTQDkNtSMrZtwL:8xKxVMy4xi2zgXUNLERRiZbgapg=
  4. Date: Fri, 11 Sep 2015 05:30:11 GMT
  5. x-acs-signature-version: 1.0
  6. x-sdk-client: Java/2.0.0
  7. Accept: application/octet-stream
  8. x-acs-version: 2015-09-01
  9. Cache-Control: no-cache
  10. Pragma: no-cache
  11. User-Agent: Java/1.6.0_27
  12. Host: ros.aliyuncs.com
  13. Connection: keep-alive

Response example

  1. HTTP/1.1 200 OK
  2. Date: Fri, 11 Sep 2015 05:30:12 GMT
  3. Content-Type: application/json; charset=UTF-8
  4. Content-Length: 1694
  5. Connection: close
  6. Vary: Accept-Encoding
  7. Access-Control-Allow-Origin: *
  8. Access-Control-Allow-Methods: POST, GET, OPTIONS
  9. Access-Control-Allow-Headers: X-Requested-With, X-Sequence, _aop_secret, _aop_signature
  10. Access-Control-Max-Age: 172800
  11. X-Acs-Request-Id: A21A4B12-CCD7-42F0-9A62-DE8347D88385
  12. Server: Jetty(7.2.2.v20101205)
  13. {
  14. "Regions":[
  15. {
  16. "LocalName":" China South 1 (Shenzhen)",
  17. "RegionId":"cn-shenzhen"
  18. },
  19. {
  20. "LocalName":" Singapore",
  21. "RegionId":"ap-southeast-1"
  22. },
  23. {
  24. "LocalName":" China North 1 (Qingdao)",
  25. "RegionId":"cn-qingdao"
  26. },
  27. {
  28. "LocalName":" China North 2 (Beijing)",
  29. "RegionId":"cn-beijing"
  30. },
  31. {
  32. "LocalName":" China East 2 (Shanghai)",
  33. "RegionId":"cn-shanghai"
  34. },
  35. {
  36. "LocalName":" US East 1 (Virginia)",
  37. "RegionId":"us-east-1"
  38. },
  39. {
  40. "LocalName":" Hong Kong",
  41. "RegionId":"cn-hongkong"
  42. },
  43. {
  44. "LocalName":" Middle East 1 (Dubai)",
  45. "RegionId":"me-east-1"
  46. },
  47. {
  48. "LocalName":" Asia Pacific SE 2 (Sydney)",
  49. "RegionId":"ap-southeast-2"
  50. },
  51. {
  52. "LocalName":" China East 1 (Hangzhou)",
  53. "RegionId":"cn-hangzhou"
  54. },
  55. {
  56. "LocalName":" Germany 1 (Frankfurt)",
  57. "RegionId":"eu-central-1"
  58. },
  59. {
  60. "LocalName":" Asia Pacific NE 1 (Tokyo)",
  61. "RegionId":"ap-northeast-1"
  62. },
  63. {
  64. "LocalName":" US West 1 (Silicon Valley)",
  65. "RegionId":"us-west-1"
  66. }
  67. ]
  68. }
Thank you! We've received your feedback.