Note:
This is a legacy API which has been hidden and will no longer be updated. We recommend using the new CVM API 3.0 which is standardized and faster.
This API (DescribeRegions) is used to query regions.
Domain name for API request: cvm.api.qcloud.com
No API request parameters are available for this API. You can only specify common request parameters. For more information, please see Common Request Parameters.
Note: You do not need to specify the parameter Region in the common request parameter for this API.
Parameter Name | Type | Description |
---|---|---|
RequestId | String | Request ID. |
TotalCount | Integer | Number of regions. |
RegionSet | Array of Region object | Region list. |
For more information, please see Error Codes.
Input
https://cvm.api.qcloud.com/v2/index.php?Action=DescribeRegions &Version=2017-03-12 &<Common request parameters>
Output
{ "Response": { "TotalCount": 10, "RegionSet": [ { "Region": "ap-beijing", "RegionName": "North China (Beijing)", "RegionState": "AVAILABLE" }, { "Region": "ap-guangzhou", "RegionName": "South China (Guangzhou)", "RegionState": "AVAILABLE" }, { "Region": "ap-guangzhou-open", "RegionName": "South China (Guangzhou Open)", "RegionState": "AVAILABLE" }, { "Region": "ap-hongkong", "RegionName": "South China (Hong Kong)", "RegionState": "AVAILABLE" }, { "Region": "ap-shanghai", "RegionName": "East China (Shanghai)", "RegionState": "AVAILABLE" }, { "Region": "ap-shanghai-fsi", "RegionName": "East China (Shanghai Finance)", "RegionState": "AVAILABLE" }, { "Region": "ap-shenzhen-fsi", "RegionName": "South China (Shenzhen Finance)", "RegionState": "AVAILABLE" }, { "Region": "ap-singapore", "RegionName": "Southeast Asia (Singapore)", "RegionState": "AVAILABLE" }, { "Region": "na-siliconvalley", "RegionName": "Western U.S. (Silicon Valley)", "RegionState": "AVAILABLE" }, { "Region": "na-toronto", "RegionName": "North America (Toronto)", "RegionState": "AVAILABLE" } ], "RequestId": "C563943B-3BEA-FE92-29FE-591EAEB7871F" } }
Was this page helpful?