DescribeAzureRegions

1. API Description

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

2. Input Parameters

The following request parameter list only provides API request parameters.

Parameter NameRequiredTypeDescription

pairingKey

Yes

String

Azure Cloud service key.

product

No

String

Supported products at the location. Available value:

  • PrivateConnect: Layer 2 Private Connect

  • CloudRouter: Layer 3 Cloud Router

3. Output Parameters

Parameter NameRequiredDescription

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 Azure Cloud access point.

4. Code Example

Query location information supported for the Azure Cloud access point.

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

Response:
{   
  "requestId": "T05992D0C-7E8B-4047-B0C0-780F2CD549D3",
  "response": {
    "requestId": "T05992D0C-7E8B-4047-B0C0-780F2CD549D3",
    "cloudRegions":[
        {
            "cloudRegionId":"eu-west-1",
            "dataCenter":{
                "dcId":"SOF1",
                "cityName":"Sofia",
                "areaName":"Europe",
                "dcName":"Equinix_SO2",
                "latitude":42.671886,
                "longitude":23.407631,
                "dcAddress":"N33 Nedelcho Bonchev str, Sofia, Bulgaria",
                "countryName":"Bulgaria"
            },
            "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