Queries regions where you can associate Anycast elastic IP addresses (Anycast EIPs) with backend servers. The regions must belong to the specified access area.

Debugging

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

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeAnycastServerRegions

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

ServiceLocation String Yes international

The access area from which you use the Anycast EIP to communicate with the Internet.

Set the value to international. This value specifies regions outside mainland China.

Response parameters

Parameter Type Example Description
AnycastServerRegionList Array of AnycastServerRegion

The list of regions where you can associate Anycast EIPs with backend servers.

RegionId String eu-west-1

The ID of the region.

RegionName String eu-west-1-gb33-a01

The name of the region.

Count String 2

The total number of entries returned.

RequestId String 4EC47282-1B74-4534-BD0E-403F3EE64CAF

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeAnycastServerRegions
&ServiceLocation=international
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeAnycastServerRegionsResponse>
    <RequestId>4EC47282-1B74-4534-BD0E-403F3EE64CAF</RequestId>
    <Count>2</Count>
    <AnycastServerRegionList>
        <RegionName>eu-west-1-gb33-a01</RegionName>
        <RegionId>eu-west-1</RegionId>
    </AnycastServerRegionList>
</DescribeAnycastServerRegionsResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "4EC47282-1B74-4534-BD0E-403F3EE64CAF",
  "Count" : "2",
  "AnycastServerRegionList" : [ {
    "RegionName" : "eu-west-1-gb33-a01",
    "RegionId" : "eu-west-1"
  } ]
}

Error codes

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