You can call this operation to query the regions that Global Accelerator instances can be deployed.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeRegions

The operation that you want to perform. Set the value to DescribeRegions.

RegionId String Yes cn-hangzhou

The ID of the region to query.

Response parameters

Parameter Type Example Description
RequestId String 611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F

The ID of the request.

Regions Array

The list of available regions.

RegionId String cn-hangzhou

The ID of the region.

LocalName String China (Hangzhou)

The name of the region.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeRegions
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<DescribeRegionsResponse>
  <Regions>
        <RegionId>cn-hangzhou</RegionId>
        <LocalName>China (Hangzhou)</LocalName>
  </Regions>
  <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</DescribeRegionsResponse>

JSON format

{
    "Regions": [
        {
            "RegionId": "cn-hangzhou", 
            "LocalName": "China (Hangzhou)"
        }
    ], 
    "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}

Error codes

For a list of error codes, visit the API Error Center.