Queries available acceleration regions.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ListAvailableAccelerateAreas |
The operation that you want to perform. Set the value to ListAvailableAccelerateAreas. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region where the Global Accelerator (GA) instance is deployed. Set the value to cn-hangzhou. |
AcceleratorId | String | Yes | ga-bp1yeeq8yfoyszmqy**** |
The ID of the GA instance. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | A9B4E54C-9CCD-4002-91A9-D38C6C209192 |
The ID of the request. |
Areas | Array of Areas |
The information about acceleration areas. |
|
LocalName | String | China North |
The name of the acceleration area. |
AreaId | String | cn-huabei |
The ID of the acceleration area. |
RegionList | Array of RegionList |
The information about acceleration regions. |
|
LocalName | String | China (Qingdao) |
The name of the acceleration region. |
RegionId | String | cn-qingdao |
The ID of the acceleration region. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ListAvailableAccelerateAreas
&RegionId=cn-hangzhou
&AcceleratorId=ga-bp1yeeq8yfoyszmqy****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ListAvailableAccelerateAreasResponse>
<RequestId>A9B4E54C-9CCD-4002-91A9-D38C6C209192</RequestId>
<Areas>
<LocalName>China North</LocalName>
<AreaId>cn-huabei</AreaId>
<RegionList>
<LocalName>China (Qingdao)</LocalName>
<RegionId>cn-qingdao</RegionId>
</RegionList>
</Areas>
</ListAvailableAccelerateAreasResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "A9B4E54C-9CCD-4002-91A9-D38C6C209192",
"Areas" : [ {
"LocalName" : "China North",
"AreaId" : "cn-huabei",
"RegionList" : [ {
"LocalName" : "China (Qingdao)",
"RegionId" : "cn-qingdao"
} ]
} ]
}
Error codes
For a list of error codes, visit the API Error Center.