tencent cloud

DescribeRegions
最后更新时间:2025-10-30 21:54:03
DescribeRegions
最后更新时间: 2025-10-30 21:54:03

1. API Description

Domain name for API request: region.intl.tencentcloudapi.com.

This interface (DescribeRegions) is used for querying the supported regions of each product.

A maximum of 50 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeRegions.
Version Yes String Common Params. The value used for this API: 2022-06-27.
Region No String Common Params. This parameter is not required.
Product Yes String Name of the product to be queried, such as cvm. for specific value, query the DescribeProducts api.
Scene No Integer Not passed or 0 means no query [optional business allowlist], 1 means query [optional business allowlist]. if this parameter is set to 1, the allowlist will only be queried when no business allowlist is found.

3. Output Parameters

Parameter Name Type Description
TotalCount Integer Number of Regions
RegionSet Array of RegionInfo List Information of Region
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Querying the List of Regions Supported by the Product

Query the list of regions supported by the product

Input Example

POST / HTTP/1.1
Host: region.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeRegions
<Common request parameters>

{
    "Product": "cvm",
    "Scene": 1
}

Output Example

{
    "Response": {
        "TotalCount": 21,
        "RequestId": "2b41c59d-93c8-43e2-a2f0-6c5df9735d21",
        "RegionSet": [
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "ap-guangzhou",
                "RegionTypeMC": null,
                "RegionName": "South China (Guangzhou)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "ap-shanghai",
                "RegionTypeMC": null,
                "RegionName": "East China (Shanghai)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "ap-nanjing",
                "RegionTypeMC": null,
                "RegionName": "East China (Nanjing)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "ap-beijing",
                "RegionTypeMC": null,
                "RegionName": "North China (Beijing)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "ap-chengdu",
                "RegionTypeMC": null,
                "RegionName": "Southwest China (Chengdu)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "ap-chongqing",
                "RegionTypeMC": null,
                "RegionName": "Southwest China (Chongqing)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "ap-xian-ec",
                "RegionTypeMC": null,
                "RegionName": "Northwest China (Xi'an)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "ap-hongkong",
                "RegionTypeMC": null,
                "RegionName": "Hong Kong/Macao/Taiwan (Hong Kong, China)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "ap-guiyang",
                "RegionTypeMC": null,
                "RegionName": "Southwest China (Guiyang)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "ap-seoul",
                "RegionTypeMC": null,
                "RegionName": "Northeast Asia (Seoul)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "ap-tokyo",
                "RegionTypeMC": null,
                "RegionName": "Northeast Asia (Tokyo)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "ap-singapore",
                "RegionTypeMC": null,
                "RegionName": "Southeast Asia (Singapore)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "ap-bangkok",
                "RegionTypeMC": null,
                "RegionName": "Southeast Asia Pacific (Bangkok)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "ap-jakarta",
                "RegionTypeMC": null,
                "RegionName": "Southeast Asia (Jakarta)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "na-siliconvalley",
                "RegionTypeMC": null,
                "RegionName": "West US (Silicon Valley)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "eu-frankfurt",
                "RegionTypeMC": null,
                "RegionName": "Europe (Frankfurt)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "na-ashburn",
                "RegionTypeMC": null,
                "RegionName": "Eastern United States (Virginia)"
            },
            {
                "RegionIdMC": null,
                "LocationMC": null,
                "RegionState": "AVAILABLE",
                "RegionNameMC": null,
                "Region": "sa-saopaulo",
                "RegionTypeMC": null,
                "RegionName": "South America (Sao Paulo)"
            }
        ]
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
InvalidParameter Parameter error.
InvalidParameter.ParameterError Parameter error.
RequestLimitExceeded Too many and frequent requests.
本页内容是否解决了您的问题?
您也可以 联系销售 提交工单 以寻求帮助。

文档反馈