DescribeTencentRegions

1. API Description

This API is used to query location information supported for the Tencent Cloud access point.

2. Input Parameters

The following request parameter list only provides API request parameters.

Parameter Name
Required
Type
Description

product

No

String

Supported products at the location Available value:

  • PrivateConnect: Layer 2 Private Connect

  • CloudRouter: Layer 3 Cloud Router

3. Output Parameters

Parameter Name
Type
Description

requestId

String

The unique request ID, which is returned for each request. RequestId is required for locating a problem.

cloudRegions

Array of CloudRegion

Location information of Tencent Cloud access point.

4. Code Example

Query location information supported for the Tencent Cloud access point.

POST /api/v2/sdn HTTP/1.1
Host: console.zenlayer.com
Content-Type: application/json
X-ZC-Action: DescribeTencentRegions
<Common Request Params>

Request:
{}

Response:
{   
  "requestId": "T05992D0C-7E8B-4047-B0C0-780F2CD549D3",
  "response": {
    "requestId": "T05992D0C-7E8B-4047-B0C0-780F2CD549D3",
    "cloudRegions":[
        {
            "cloudRegionId":"ap-hongkong-kc",
            "dataCenter":{
                "dcId":"HKG2",
                "cityName":"Hong Kong",
                "areaName":"Asia Pacific",
                "dcName":"Equinix_HK2",
                "latitude":22.362572,
                "longitude":114.119218,
                "dcAddress":"Unit 1703 - 04, 17/F Kerry Warehouse 3 Shing Yiu Street Kwai Chung, N.T., Hong Kong",
                "countryName":"China"
            },
            "products":[
                "PrivateConnect",
                "CloudRouter"
            ]
        }
    ]
  }
}

5. Developer Resources

Zenlayer Cloud API 2.0 integrates SDKs to make it easier for you to call APIs. More programming languages will be supported.

6. Error Codes

No error codes related to the API business logic. For other error codes, see Common Error Codes.​

Last updated