DescribeAnycastEipAddress

Updated at:
Copy as MD

Queries the details of a specified Anycast elastic IP address (EIP), including the instance status, peak bandwidth, and bound resources.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

eipanycast:DescribeAnycastEipAddress

get

*AnycastEipAddress

acs:eipanycast:{#regionId}:{#accountId}:anycast/{#AnycastId}

None None

Request parameters

Parameter

Type

Required

Description

Example

Ip

string

No

The IP address of the Anycast EIP.

Note

You must specify either the Ip or AnycastId parameter.

139.95.XX.XX

AnycastId

string

No

The instance ID of the Anycast EIP.

Note

You must specify either the Ip or AnycastId parameter.

aeip-bp1ix34fralt4ykf3****

BindInstanceId

string

No

The instance ID of the cloud resource attached to the Anycast EIP.

lb-2zebb08phyczzawe****

Response elements

Element

Type

Description

Example

object

The list of returned information.

Status

string

The status of the IP address.

  • Associating: Associating.

  • Unassociating: Disassociating.

  • Allocated: Allocated.

  • Associated: Associated.

  • Modifying: Modifying.

  • Releasing: Releasing.

  • Released: Released.

Associated

Description

string

The description of the Anycast EIP.

doctest

RequestId

string

The request ID.

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

InstanceChargeType

string

The billing method of the Anycast EIP.

Valid value: PostPaid, which indicates the pay-as-you-go billing method.

PostPaid

CreateTime

string

The time when the Anycast EIP was created.

The time is displayed in the ISO 8601 standard format in UTC. Format: YYYY-MM-DDThh:mm:ssZ.

2021-04-23T01:37:38Z

AnycastEipBindInfoList

array<object>

The list of cloud resources bound to the Anycast EIP.

array<object>

The list of cloud resources bound to the Anycast EIP.

BindInstanceType

string

The type of the attached cloud resource instance. Valid values:

  • SlbInstance: a CLB instance of the VPC network type.

  • NetworkInterface: elastic network interface controller (NIC).

SlbInstance

BindTime

string

The time when the cloud resource was bound.

The time is displayed in the ISO 8601 standard format in UTC. Format: YYYY-MM-DDThh:mm:ssZ.

2021-04-23T02:37:38Z

Status

string

The status of the bound cloud resource instance. Valid values:

  • BINDING: Binding.

  • BINDED: Bound.

  • UNBINDING: Disassociating.

  • DELETED: Deleted.

  • MODIFYING: Modifying.

BINDING

BindInstanceRegionId

string

The region ID of the bound cloud resource instance.

us-west-1

BindInstanceId

string

The instance ID of the attached cloud resource.

lb-2zebb08phyczzawe****

PopLocations

array<object>

The access point information of the associated access areas when the cloud resource instance is bound.

If this is the first time you bind the cloud resource, the system returns the access point information of all access areas.

object

The access point information of the associated access areas when the cloud resource instance is bound.

If this is the first time you bind the cloud resource, the system returns the access point information of all access areas.

PopLocation

string

The access point information of the associated access areas when the cloud resource instance is bound.

If this is the first time you bind the cloud resource, the system returns the access point information of all access areas.

us-west-1-pop

AssociationMode

string

The association mode. Valid values:

  • Default: the default mode. The bound cloud resource instance serves as the default origin server.

  • Normal: the normal mode. The bound cloud resource instance serves as a normal origin server.

Default

PrivateIpAddress

string

The secondary private IP address of the attached elastic network interface controller (NIC).

This parameter is returned only when BindInstanceType is set to NetworkInterface.

192.168.XX.XX

BusinessStatus

string

The business status of the Anycast EIP instance. Valid values:

  • Normal: Normal.

  • FinancialLocked: locked due to overdue payment.

  • RiskExpired: Security lock.

Normal

InternetChargeType

string

The billing method of the Anycast EIP instance.

Valid value: PayByTraffic, which indicates the pay-by-traffic billing method.

PayByTraffic

Name

string

The name of the Anycast EIP.

docname

AnycastId

string

The instance ID of the Anycast EIP.

aeip-bp1ix34fralt4ykf3****

ServiceLocation

string

The access area of the Anycast EIP.

Valid value: international, which indicates regions outside the Chinese mainland.

international

Bandwidth

integer

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

200

IpAddress

string

The IP address of the Anycast EIP.

139.95.XX.XX

Bid

string

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

26842

AliUid

integer

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

25346073170691****

ResourceGroupId

string

The ID of the resource group to which the instance belongs.

rg-acfmzssisocarfy

Tags

array<object>

The tag information.

object

The tag information.

Key

string

The tag key.

FinanceDept

Value

string

The tag value.

FinanceJoshua

ServiceManaged

integer

Indicates whether the resource is created by a service account. 0: The resource is not created by a service account. 1: The resource is created by a service account.

1

Examples

Success response

JSON format

{
  "Status": "Associated",
  "Description": "doctest",
  "RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF",
  "InstanceChargeType": "PostPaid",
  "CreateTime": "2021-04-23T01:37:38Z",
  "AnycastEipBindInfoList": [
    {
      "BindInstanceType": "SlbInstance",
      "BindTime": "2021-04-23T02:37:38Z",
      "Status": "BINDING",
      "BindInstanceRegionId": "us-west-1",
      "BindInstanceId": "lb-2zebb08phyczzawe****",
      "PopLocations": [
        {
          "PopLocation": "us-west-1-pop"
        }
      ],
      "AssociationMode": "Default",
      "PrivateIpAddress": "192.168.XX.XX"
    }
  ],
  "BusinessStatus": "Normal",
  "InternetChargeType": "PayByTraffic",
  "Name": "docname",
  "AnycastId": "aeip-bp1ix34fralt4ykf3****",
  "ServiceLocation": "international",
  "Bandwidth": 200,
  "IpAddress": "139.95.XX.XX",
  "Bid": "26842",
  "AliUid": 0,
  "ResourceGroupId": "rg-acfmzssisocarfy",
  "Tags": [
    {
      "Key": "FinanceDept",
      "Value": "FinanceJoshua"
    }
  ],
  "ServiceManaged": 1
}

Error codes

HTTP status code

Error code

Error message

Description

200 MissingParam.ResourceIdentifier Missing required parameter: Please provide at least one of AnycastId, IP, or BindInstanceId.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.