All Products
Search
Document Center

DescribeRegions

Last Updated: May 29, 2020

Queries the regions and zones where AnalyticDB for MySQL is available.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeRegions The operation that you want to perform. Set the value to

DescribeRegions.

Response parameters

Parameter Type Description
<Common response parameters> - For more information, see Common parameters.
Regions List<Region> The information about regions.

Region

Parameter Type Example Description
RegionId String cn-hangzhou The ID of a region.
Zones List<Zones> cn-hangzhou-a The information about zones.

Zone

Parameter Type Example Description
ZoneId String cn-hangzhou-a The ID of a zone.
VpcEnabled String - Indicates whether the zone supports VPC.

Examples

Sample requests

  1. http(s)://[Endpoint]/?Action=DescribeRegions
  2. &<Common request parameters>

Sample success responses

XML format

  1. <DescribeRegionsResponse>
  2. <Regions>
  3. <Region>
  4. <RegionId>cn-hangzhou</RegionId>
  5. <Zones>
  6. <Zone>
  7. <VpcEnabled>true</VpcEnabled>
  8. <ZoneId>cn-hangzhou-i</ZoneId>
  9. </Zone>
  10. <Zone>
  11. <VpcEnabled>true</VpcEnabled>
  12. <ZoneId>cn-hangzhou-g</ZoneId>
  13. </Zone>
  14. </Zones>
  15. </Region>
  16. <Region>
  17. <RegionId>cn-shanghai</RegionId>
  18. <Zones>
  19. <Zone>
  20. <VpcEnabled>true</VpcEnabled>
  21. <ZoneId>cn-shanghai-e</ZoneId>
  22. </Zone>
  23. <Zone>
  24. <VpcEnabled>true</VpcEnabled>
  25. <ZoneId>cn-shanghai-f</ZoneId>
  26. </Zone>
  27. <Zone>
  28. <VpcEnabled>true</VpcEnabled>
  29. <ZoneId>cn-shanghai-d</ZoneId>
  30. </Zone>
  31. </Zones>
  32. </Region>
  33. <Region>
  34. <RegionId>cn-beijing</RegionId>
  35. <Zones>
  36. <Zone>
  37. <VpcEnabled>true</VpcEnabled>
  38. <ZoneId>cn-beijing-h</ZoneId>
  39. </Zone>
  40. <Zone>
  41. <VpcEnabled>true</VpcEnabled>
  42. <ZoneId>cn-beijing-g</ZoneId>
  43. </Zone>
  44. <Zone>
  45. <VpcEnabled>true</VpcEnabled>
  46. <ZoneId>cn-beijing-e</ZoneId>
  47. </Zone>
  48. </Zones>
  49. </Region>
  50. <Region>
  51. <RegionId>cn-zhangjiakou</RegionId>
  52. <Zones>
  53. <Zone>
  54. <VpcEnabled>true</VpcEnabled>
  55. <ZoneId>cn-zhangjiakou-b</ZoneId>
  56. </Zone>
  57. <Zone>
  58. <VpcEnabled>true</VpcEnabled>
  59. <ZoneId>cn-zhangjiakou-a</ZoneId>
  60. </Zone>
  61. </Zones>
  62. </Region>
  63. <Region>
  64. <RegionId>cn-huhehaote</RegionId>
  65. <Zones>
  66. <Zone>
  67. <VpcEnabled>true</VpcEnabled>
  68. <ZoneId>cn-huhehaote-a</ZoneId>
  69. </Zone>
  70. </Zones>
  71. </Region>
  72. <Region>
  73. <RegionId>cn-shenzhen</RegionId>
  74. <Zones>
  75. <Zone>
  76. <VpcEnabled>true</VpcEnabled>
  77. <ZoneId>cn-shenzhen-e</ZoneId>
  78. </Zone>
  79. </Zones>
  80. </Region>
  81. <Region>
  82. <RegionId>cn-hongkong</RegionId>
  83. <Zones>
  84. <Zone>
  85. <VpcEnabled>true</VpcEnabled>
  86. <ZoneId>cn-hongkong-b</ZoneId>
  87. </Zone>
  88. <Zone>
  89. <VpcEnabled>true</VpcEnabled>
  90. <ZoneId>cn-hongkong-c</ZoneId>
  91. </Zone>
  92. </Zones>
  93. </Region>
  94. <Region>
  95. <RegionId>ap-southeast-1</RegionId>
  96. <Zones>
  97. <Zone>
  98. <VpcEnabled>true</VpcEnabled>
  99. <ZoneId>ap-southeast-1c</ZoneId>
  100. </Zone>
  101. <Zone>
  102. <VpcEnabled>true</VpcEnabled>
  103. <ZoneId>ap-southeast-1a</ZoneId>
  104. </Zone>
  105. </Zones>
  106. </Region>
  107. <Region>
  108. <RegionId>ap-southeast-5</RegionId>
  109. <Zones>
  110. <Zone>
  111. <VpcEnabled>true</VpcEnabled>
  112. <ZoneId>ap-southeast-5b</ZoneId>
  113. </Zone>
  114. <Zone>
  115. <VpcEnabled>true</VpcEnabled>
  116. <ZoneId>ap-southeast-5a</ZoneId>
  117. </Zone>
  118. </Zones>
  119. </Region>
  120. <Region>
  121. <RegionId>us-west-1</RegionId>
  122. <Zones>
  123. <Zone>
  124. <VpcEnabled>true</VpcEnabled>
  125. <ZoneId>us-west-1a</ZoneId>
  126. </Zone>
  127. </Zones>
  128. </Region>
  129. </Regions>
  130. </DescribeRegionsResponse>

JSON format

  1. {
  2. "Regions":{
  3. "Region":[
  4. {
  5. "RegionId":"cn-hangzhou",
  6. "Zones":{
  7. "Zone":[
  8. {
  9. "VpcEnabled":true,
  10. "ZoneId":"cn-hangzhou-i"
  11. },
  12. {
  13. "VpcEnabled":true,
  14. "ZoneId":"cn-hangzhou-g"
  15. }
  16. ]
  17. }
  18. },
  19. {
  20. "RegionId":"cn-shanghai",
  21. "Zones":{
  22. "Zone":[
  23. {
  24. "VpcEnabled":true,
  25. "ZoneId":"cn-shanghai-e"
  26. },
  27. {
  28. "VpcEnabled":true,
  29. "ZoneId":"cn-shanghai-f"
  30. },
  31. {
  32. "VpcEnabled":true,
  33. "ZoneId":"cn-shanghai-d"
  34. }
  35. ]
  36. }
  37. },
  38. {
  39. "RegionId":"cn-beijing",
  40. "Zones":{
  41. "Zone":[
  42. {
  43. "VpcEnabled":true,
  44. "ZoneId":"cn-beijing-h"
  45. },
  46. {
  47. "VpcEnabled":true,
  48. "ZoneId":"cn-beijing-g"
  49. },
  50. {
  51. "VpcEnabled":true,
  52. "ZoneId":"cn-beijing-e"
  53. }
  54. ]
  55. }
  56. },
  57. {
  58. "RegionId":"cn-zhangjiakou",
  59. "Zones":{
  60. "Zone":[
  61. {
  62. "VpcEnabled":true,
  63. "ZoneId":"cn-zhangjiakou-b"
  64. },
  65. {
  66. "VpcEnabled":true,
  67. "ZoneId":"cn-zhangjiakou-a"
  68. }
  69. ]
  70. }
  71. },
  72. {
  73. "RegionId":"cn-huhehaote",
  74. "Zones":{
  75. "Zone":[
  76. {
  77. "VpcEnabled":true,
  78. "ZoneId":"cn-huhehaote-a"
  79. }
  80. ]
  81. }
  82. },
  83. {
  84. "RegionId":"cn-shenzhen",
  85. "Zones":{
  86. "Zone":[
  87. {
  88. "VpcEnabled":true,
  89. "ZoneId":"cn-shenzhen-e"
  90. }
  91. ]
  92. }
  93. },
  94. {
  95. "RegionId":"cn-hongkong",
  96. "Zones":{
  97. "Zone":[
  98. {
  99. "VpcEnabled":true,
  100. "ZoneId":"cn-hongkong-b"
  101. },
  102. {
  103. "VpcEnabled":true,
  104. "ZoneId":"cn-hongkong-c"
  105. }
  106. ]
  107. }
  108. },
  109. {
  110. "RegionId":"ap-southeast-1",
  111. "Zones":{
  112. "Zone":[
  113. {
  114. "VpcEnabled":true,
  115. "ZoneId":"ap-southeast-1c"
  116. },
  117. {
  118. "VpcEnabled":true,
  119. "ZoneId":"ap-southeast-1a"
  120. }
  121. ]
  122. }
  123. },
  124. {
  125. "RegionId":"ap-southeast-5",
  126. "Zones":{
  127. "Zone":[
  128. {
  129. "VpcEnabled":true,
  130. "ZoneId":"ap-southeast-5b"
  131. },
  132. {
  133. "VpcEnabled":true,
  134. "ZoneId":"ap-southeast-5a"
  135. }
  136. ]
  137. }
  138. },
  139. {
  140. "RegionId":"us-west-1",
  141. "Zones":{
  142. "Zone":[
  143. {
  144. "VpcEnabled":true,
  145. "ZoneId":"us-west-1a"
  146. }
  147. ]
  148. }
  149. }
  150. ]
  151. }
  152. }