Queries the Anycast elastic IP addresses (Anycast EIPs) in a 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 dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListAnycastEipAddresses

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

AnycastId String No aeip-2zeerraiwb7ujsxdc****

The ID of the Anycast EIP.

AnycastEipAddress String No 11.XX.XX.1

The IP address that is allocated to the Anycast EIP.

ServiceLocation String No international

The area from which you can use the Anycast EIP to access the backend server over the Internet.

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

InstanceChargeType String No PostPaid

The billing method of the Anycast EIP.

Set the value to PostPaid. This value specifies the pay-as-you-go billing method.

InternetChargeType String No PayByTraffic

The metering method of the Anycast EIP.

Set the value to PayByTraffic. This value specifies the pay-by-data-transfer metering method.

Name String No doctest

The name of the Anycast EIP.

The name must be 2 to 128 characters in length, and can contain digits, hyphens (-), and underscores (_). It must start with a letter.

MaxResults Integer No 50

The number of entries to return on each page. Valid values: 20 to 100. Default value: 50.

NextToken String No caeba0bbb2be03f84eb48b699f0a****

The token that is used to query the next page.

Status String No Associated

The state of the Anycast EIP. Valid values:

  • Associating: The Anycast EIP is being associated with a resource.
  • Unassociating: The Anycast EIP is being disassociated from a resource.
  • Allocated: An IP address is allocated to the Anycast EIP.
  • Associated: The Anycast EIP is associated with a resource.
  • Modifying: The Anycast EIP is being modified.
  • Releasing: The Anycast EIP is being released.
  • Released: The Anycast EIP is released.
BusinessStatus String No Normal

The service state of the Anycast EIP. Valid values:

  • Normal: The Anycast EIP functions as expected.
  • FinancialLocked: The Anycast EIP is locked due to overdue payments.
BindInstanceIds.N RepeatList No lb-2zebb08phyczzawe****

The list of IDs of the cloud resources with which the Anycast EIPs are associated. Maximum value of N: 1000.

Response parameters

Parameter Type Example Description
AnycastList Array of Anycast

The list of Anycast EIPs.

AliUid Long 1234401595961234

The ID of the account to which the Anycast EIP belongs.

AnycastEipBindInfoList Array of AnycastEipBindInfo

The list of cloud resources with which the Anycast EIPs are associated.

BindInstanceId String lb-2zebb08phyczzawe****

The ID of the cloud resource with which the Anycast EIP is associated.

BindInstanceRegionId String us-west-1

The ID of the region where the cloud resource is deployed.

BindInstanceType String SlbInstance

The type of cloud resource with which the Anycast EIP is associated.

SlbInstance: indicates that the cloud resource is an internal-facing Server Load Balancer (SLB) instance that is deployed in a virtual private cloud (VPC).

BindTime String 2019-04-23T01:37:38Z

The time when the Anycast EIP was associated with the SLB instance.

AnycastId String aeip-bp1ix34fralt4ykf3****

The ID of the Anycast EIP.

Bandwidth Integer 5

The bandwidth limit of the Anycast EIP. Unit: Mbit/s.

Bid String 12345

The BID of the account to which the Anycast EIP belongs.

BusinessStatus String Normal

The service state of the Anycast EIP. Valid values:

  • Normal: The Anycast EIP functions as expected.
  • FinancialLocked: The Anycast EIP is locked due to overdue payments.
CreateTime String 2019-04-23T01:37:38Z

The time when the Anycast EIP was created.

Description String docdesc

The description of the Anycast EIP.

InstanceChargeType String PostPaid

The billing method of the Anycast EIP.

PostPaid: pay-as-you-go

InternetChargeType String PayByTraffic

The metering method of the Anycast EIP.

PayByTraffic: pay-by-data-transfer

IpAddress String 101.XX.XX.36

The IP address of the Anycast EIP.

Name String docname

The name of the Anycast EIP.

ServiceLocation String international

The area from which you can use the Anycast EIP to access the backend server over the Internet.

international: regions outside mainland China.

Status String Associating

The state of the Anycast EIP. Valid values:

  • Associating: The Anycast EIP is being associated with a resource.
  • Unassociating: The Anycast EIP is being disassociated from a resource.
  • Allocated: An IP address is allocated to the Anycast EIP.
  • Associated: The Anycast EIP is associated with a resource.
  • Modifying: The Anycast EIP is being modified.
  • Releasing: The Anycast EIP is being released.
  • Released: The Anycast EIP is released.
NextToken String caeba0bbb2be03f84eb48b699f0a4****

The token that is used to query the next page.

If this parameter is not returned, it indicates that the next page does not exist.

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

The ID of the request.

TotalCount Integer 100

The number of returned entries.

Examples

Sample requests

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

Sample success responses

XML format

<ListAnycastEipAddressesResponse>
  <TotalCount>1</TotalCount>
  <RequestId>AD72F5DA-5C56-40B3-82E4-BB70FD2708EB</RequestId>
  <AnycastList>
        <Status>Associated</Status>
        <InstanceChargeType>PostPaid</InstanceChargeType>
        <CreateTime>2020-05-27T06:06:14Z</CreateTime>
        <AnycastEipBindInfoList>
              <BindInstanceId>lb-d7oxbixhxv1uupnon****</BindInstanceId>
              <BindTime>2020-05-27T06:06:14Z</BindTime>
              <BindInstanceType>SlbInstance</BindInstanceType>
              <BindInstanceRegionId>eu-west-1</BindInstanceRegionId>
        </AnycastEipBindInfoList>
        <BusinessStatus>Normal</BusinessStatus>
        <Name>zxtest</Name>
        <InternetChargeType>PayByTraffic</InternetChargeType>
        <AnycastId>aeip-bp16g2gojh7ox6726****</AnycastId>
        <ServiceLocation>international</ServiceLocation>
        <Bandwidth>50</Bandwidth>
        <IpAddress>139.XX.XX.184</IpAddress>
        <Bid>26***</Bid>
        <AliUid>134398588779****</AliUid>  </AnycastList>
</ListAnycastEipAddressesResponse>

JSON format

{
  "TotalCount": 1,
  "RequestId": "AD72F5DA-5C56-40B3-82E4-BB70FD2708EB",
  "AnycastList": [
    {
      "Status": "Associated",
      "InstanceChargeType": "PostPaid",
      "CreateTime": "2020-05-27T06:06:14Z",
      "AnycastEipBindInfoList": [
        {
          "BindInstanceId": "lb-d7oxbixhxv1uupnon****",
          "BindTime": "2020-05-27T06:06:14Z",
          "BindInstanceType": "SlbInstance",
          "BindInstanceRegionId": "eu-west-1"
        }
      ],
      "BusinessStatus": "Normal",
      "Name": "zxtest",
      "InternetChargeType": "PayByTraffic",
      "AnycastId": "aeip-bp16g2gojh7ox6726****",
      "ServiceLocation": "international",
      "Bandwidth": 50,
      "IpAddress": "139.XX.XX.184",
      "Bid": "26***",
      "AliUid": "134398588779****"
    }
  ]
}

Error codes

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