全部产品
存储与CDN 数据库 安全 应用服务 数加·人工智能 数加·大数据基础服务 互联网中间件 视频服务 阿里云办公 培训与认证 物联网
资源编排

查询region

更新时间:2017-09-12 17:51:06

描述:查询阿里云的region列表

请求参数

返回参数

返回是Region列表

Regions

名称 参数类型 描述
Regions List 所有的region列表

错误码

错误代码 描述 Http状态码 语义
InternalError Server error 500 服务器端出现未知异常

示例

请求示例

  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

返回示例

  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":"华南 1",
  17. "RegionId":"cn-shenzhen"
  18. },
  19. {
  20. "LocalName":"亚太东南 1 (新加坡)",
  21. "RegionId":"ap-southeast-1"
  22. },
  23. {
  24. "LocalName":"华北 1",
  25. "RegionId":"cn-qingdao"
  26. },
  27. {
  28. "LocalName":"华北 2",
  29. "RegionId":"cn-beijing"
  30. },
  31. {
  32. "LocalName":"华东 2",
  33. "RegionId":"cn-shanghai"
  34. },
  35. {
  36. "LocalName":"美国东部 1 (弗吉尼亚)",
  37. "RegionId":"us-east-1"
  38. },
  39. {
  40. "LocalName":"香港",
  41. "RegionId":"cn-hongkong"
  42. },
  43. {
  44. "LocalName":"中东东部 1 (迪拜)",
  45. "RegionId":"me-east-1"
  46. },
  47. {
  48. "LocalName":"亚太东南 2 (悉尼)",
  49. "RegionId":"ap-southeast-2"
  50. },
  51. {
  52. "LocalName":"华东 1",
  53. "RegionId":"cn-hangzhou"
  54. },
  55. {
  56. "LocalName":"欧洲中部 1 (法兰克福)",
  57. "RegionId":"eu-central-1"
  58. },
  59. {
  60. "LocalName":"亚太东北 1 (东京)",
  61. "RegionId":"ap-northeast-1"
  62. },
  63. {
  64. "LocalName":"美国西部 1 (硅谷)",
  65. "RegionId":"us-west-1"
  66. }
  67. ]
  68. }
本文导读目录