All Products
Search
Document Center

Anycast Elastic IP Address:ListAnycastEipAddresses

Last Updated:Mar 03, 2024

Queries Anycast elastic IP addresses (Anycast EIPs), such as the status, bandwidth, and associated resources.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
Eipanycast:ListAnycastEipAddressesREAD
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
AnycastIdstringNo

The ID of the Anycast EIP.

Note To ensure the accuracy of the query result, we do not recommend that you specify AnycastIds and AnycastId at the same time.
aeip-2zeerraiwb7ujsxdc****
AnycastIdsarrayNo

The IDs of Anycast EIPs.

You can enter at most 50 Anycast EIP IDs.

Note To ensure the accuracy of the query result, we do not recommend that you specify AnycastIds and AnycastId at the same time.
stringNo
aeip-2zeerraiwb7ujsxdc****
AnycastEipAddressstringNo

The IP address that is allocated to the Anycast EIP.

139.95.XX.XX
ServiceLocationstringNo

The access area of the Anycast EIP.

Set the value to international, which specifies the regions outside the Chinese mainland.

international
InstanceChargeTypestringNo

The billing method of the Anycast EIP.

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

PostPaid
InternetChargeTypestringNo

The metering method of the Anycast EIP.

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

PayByTraffic
NamestringNo

The name of the Anycast EIP.

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

doctest
Tagsobject []No

The tags.

KeystringNo

The tag key of the resource. You can specify up to 20 tag keys. You cannot specify empty strings as tag keys.

The key can be up to 64 characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The key must start with a letter but cannot start with aliyun or acs:. The key cannot contain http:// or https://.

Note You must specify at least one of Tag.N (Tag.N.Key and Tag.N.Value).
1
ValuestringNo

The tag value of the resource. You can specify up to 20 tag values. It can be an empty string.

The value cannot exceed 128 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). The value must start with a letter but cannot start with aliyun or acs:. The value cannot contain http:// or https://.

Note You must specify at least one of Tag.N (Tag.N.Key and Tag.N.Value).
tag1
MaxResultsintegerNo

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

50
NextTokenstringNo

The pagination token that is used in the next request to retrieve a new page of results. Valid values:

  • You do not need to specify this parameter for the first request.
  • You must specify the token that is obtained from the previous query as the value of NextToken.
caeba0bbb2be03f84eb48b699f0a****
StatusstringNo

The status of the Anycast EIP. Valid values:

  • Associating
  • Unassociating
  • Allocated
  • Associated
  • Modifying
  • Releasing
  • Released
Associated
BusinessStatusstringNo

The service status of the Anycast EIP. Valid values:

  • Normal
  • FinancialLocked
Normal
BindInstanceIdsarrayNo

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

You can enter at most 100 cloud resource IDs.

stringNo
lb-2zebb08phyczzawe****

Response parameters

ParameterTypeDescriptionExample
object
TotalCountinteger

The number of entries returned.

100
NextTokenstring

A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:

  • If NextToken is empty, no next page exists.
  • If NextToken is not empty, the value of NextToken can be used in the next request to retrieve a new page of results.
FFmyTO70tTpLG6I3FmYAXGKPd****
RequestIdstring

The request ID.

4EC47282-1B74-4534-BD0E-403F3EE64CAF
AnycastListobject []

The list of Anycast EIPs.

Statusstring

The status of the Anycast EIP.

  • Associating
  • Unassociating
  • Allocated
  • Associated
  • Modifying
  • Releasing
  • Released
Associating
CreateTimestring

The time when the Anycast EIP was created.

2022-04-22T01:37:38Z
AnycastIdstring

The ID of the Anycast EIP.

aeip-2zeerraiwb7ujsxdc****
AliUidlong

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

123440159596****
ServiceLocationstring

The access area of the Anycast EIP.

international: regions outside the Chinese mainland

international
InstanceChargeTypestring

The billing method of the Anycast EIP.

PostPaid: pay-as-you-go

PostPaid
IpAddressstring

The IP address of the Anycast EIP.

139.95.XX.XX
Bandwidthinteger

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

200
Descriptionstring

The description of the Anycast EIP.

docdesc
AnycastEipBindInfoListobject []

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

BindInstanceTypestring

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

  • SlbInstance: an internal-facing Classic Load Balancer (CLB) instance deployed in a virtual private cloud (VPC). CLB is formerly known as Server Load Balancer (SLB).
  • NetworkInterface: an elastic network interface (ENI).
SlbInstance
BindTimestring

The time when the Anycast EIP was associated.

2022-04-23T01:37:38Z
BindInstanceRegionIdstring

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

us-west-1
BindInstanceIdstring

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

lb-2zebb08phyczzawe****
InternetChargeTypestring

The metering method of the Anycast EIP.

PayByTraffic: pay-by-data-transfer

PayByTraffic
BusinessStatusstring

The service status of the Anycast EIP. Valid values:

  • Normal
  • FinancialLocked
Normal
Namestring

The name of the Anycast EIP.

docname
ServiceManagedinteger

Indicates whether the resource is created by the service account.

  • 0: no
  • 1: yes
0
Tagsobject []

The information about the tags.

Keystring

The tag key.

Valuestring

The tag value.

Examples

Sample success responses

JSONformat

{
  "TotalCount": 100,
  "NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
  "RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF",
  "AnycastList": [
    {
      "Status": "Associating",
      "CreateTime": "2022-04-22T01:37:38Z",
      "AnycastId": "aeip-2zeerraiwb7ujsxdc****",
      "AliUid": 0,
      "ServiceLocation": "international",
      "InstanceChargeType": "PostPaid",
      "IpAddress": "139.95.XX.XX",
      "Bandwidth": 200,
      "Description": "docdesc",
      "AnycastEipBindInfoList": [
        {
          "BindInstanceType": "SlbInstance",
          "BindTime": "2022-04-23T01:37:38Z",
          "BindInstanceRegionId": "us-west-1",
          "BindInstanceId": "lb-2zebb08phyczzawe****"
        }
      ],
      "InternetChargeType": "PayByTraffic",
      "BusinessStatus": "Normal",
      "Name": "docname",
      "ServiceManaged": 0,
      "Tags": [
        {
          "Key": "",
          "Value": ""
        }
      ]
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-07-24The request parameters of the API has changed. The response structure of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: ResourceGroupId
Output ParametersThe response structure of the API has changed.
2023-04-07API Description Update. The request parameters of the API has changed. The response structure of the API has changedsee changesets
Change itemChange content
API DescriptionAPI Description Update.
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: Tags
Output ParametersThe response structure of the API has changed.