DescribeGoogleRegions

1. API Description

This API is used to query location information supported for the Google Cloud access point according to Google Cloud pairing key.

Note

Ensure that your Google cloud pairing key is available.

2. Input Parameters

The following request parameter list only provides API request parameters.

3. Output Parameters

4. Code Example

Query location information supported for the Google Cloud access point according to Google Cloud pairing key.

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

Request:
{
   "pairingKey": "xxxxxxxxx/asia-southeast1/1"
}

Response:
{   
  "requestId": "T05992D0C-7E8B-4047-B0C0-780F2CD549D3",
  "response": {
    "requestId":"T05992D0C-7E8B-4047-B0C0-780F2CD549D3",
    "cloudRegions":[
        {
            "cloudRegionId":"asia-southeast1",
            "dataCenter":{
                "dcId":"SIN1",
                "cityName":"Singapore",
                "areaName":"AP",
                "dcName":"Equinix_SG1",
                "latitude":1.295689,
                "longitude":103.789789,
                "dcAddress":"20 Ayer Rajah Crescent, Ayer Rajah Industrial Park, Singapore 139964",
                "countryName":"Singapore"
            },
            "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