You can call this operation to query the available acceleration areas and regions.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ListAccelerateAreas |
The operation that you want to perform. Set the value to ListAccelerateAreas. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the Global Accelerator instance. Set the value to cn-hangzhou. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 6FEA0CF3-D3B9-43E5-A304-D217037876A8 |
The ID of the request. |
Areas | Array |
The acceleration areas. |
|
AreaId | String | cn-huabei |
The ID of the acceleration area. |
LocalName | String | China North |
The name of the acceleration area. |
RegionList | Array |
The list of regions. |
|
RegionId | String | cn-qingdao |
The ID of the region. |
LocalName | String | China (Qingdao) |
The name of the region. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ListAccelerateAreas
&RegionId=cn-hangzhou
&<Common request parameters>
Sample success responses
XML
format
<ListAccelerateAreasResponse>
<Areas>
<AreaId>North-America</AreaId>
<LocalName>North America</LocalName>
<RegionList>
<RegionId>us-west-1</RegionId>
<LocalName>US (Silicon Valley)</LocalName>
</RegionList>
<RegionList>
<RegionId>us-east-1</RegionId>
<LocalName>US (Virginia)</LocalName>
</RegionList>
</Areas>
<Areas>
<AreaId>China</AreaId>
<LocalName>China</LocalName>
<RegionList>
<RegionId>cn-hangzhou</RegionId>
<LocalName>China (Hangzhou)</LocalName>
</RegionList>
<RegionList>
<RegionId>cn-beijing</RegionId>
<LocalName>China (Beijing)</LocalName>
</RegionList>
</Areas>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</ListAccelerateAreasResponse>
JSON
format
{
"Areas": [
{
"AreaId": "North-America",
"LocalName": "North America",
"RegionList": [
{
"RegionId": "us-west-1",
"LocalName": "US (Silicon Valley)"
},
{
"RegionId": "us-east-1",
"LocalName": "US (Virginia)"
}
]
},
{
"AreaId": "China",
"LocalName": "China",
"RegionList": [
{
"RegionId": "cn-hangzhou",
"LocalName": "China (Hangzhou)"
},
{
"RegionId": "cn-beijing",
"LocalName": "China (Beijing)"
}
]
}
],
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
For a list of error codes, visit the API Error Center.