Tüm Ürünler
Search
Belge Merkezi

:AllocateAnycastEipAddress

Son Güncelleme:Oct 26, 2026

Bir Anycast EIP örneği oluşturur.

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:AllocateAnycastEipAddress

create

*AnycastEipAddress

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

None None

Request parameters

Parameter

Type

Required

Description

Example

Bandwidth

string

No

Anycast EIP örneğinin en yüksek bant genişliği. Birim: Mbps.

Geçerli değerler: 200 ile 1000 arası.

Varsayılan değer: 1000.

Not

En yüksek bant genişliği garanti edilen bir metrik değildir. Yalnızca referans amaçlıdır ve üst sınır olarak hizmet eder.

Valid values:

  • 1000 :

    1000

200

ServiceLocation

string

Yes

Anycast EIP örneğinin hizmet konumu.

Geçerli değerler:

  • international: Çin anakarası dışındaki bölgeler.

Valid values:

  • international :

    international.

international

InstanceChargeType

string

No

Anycast EIP örneğinin faturalandırma yöntemi.

Geçerli değerler:

  • PostPaid: kullandıkça öde.

PostPaid

InternetChargeType

string

No

Anycast EIP örneğinin İnternet erişimi için faturalandırma yöntemi.

Geçerli değerler:

  • PayByTraffic: veri aktarımına göre öde.

PayByTraffic

ClientToken

string

No

İsteğin yinelenmezliğini sağlamak için kullanılan istemci belirteci.

Değeri oluşturmak için istemciyi kullanabilirsiniz, ancak farklı istekler arasında benzersiz olduğundan emin olmalısınız. Belirteç yalnızca ASCII karakterleri içerebilir ve uzunluğu 64 karakteri aşamaz.

Not

Bu parametreyi belirtmezseniz, sistem otomatik olarak API isteğinin RequestId değerini ClientToken olarak kullanır. Her API isteğinin RequestId değeri benzersizdir.

02fb3da4-130e-11e9-8e44-001****

Name

string

No

Anycast EIP örneğinin adı.

Adın uzunluğu 0 ila 128 karakter arasında olmalıdır. Bir harf veya Çince karakterle başlamalıdır; rakamlar, alt çizgiler (_) ve tireler (-) içerebilir.

doctest

Description

string

No

Anycast EIP örneğinin açıklaması.

Açıklamanın uzunluğu 0 ila 256 karakter arasında olmalıdır ve http:// veya https:// ile başlayamaz.

docdesc

ResourceGroupId

string

No

Örneğin ait olduğu kaynak grubunun kimliği.

rg-acfm3obzjuk****

Tag

array<object>

No

Kaynağın etiketleri.

object

No

Etiket bilgileri.

Tek seferde en fazla 20 etiket belirtebilirsiniz.

Key

string

No

Kaynağın etiket anahtarı. En fazla 20 etiket anahtarı belirtebilirsiniz. Etiket anahtarı boş bir dize olamaz.

Etiket anahtarının uzunluğu en fazla 128 karakter olabilir. aliyun veya acs: ile başlayamaz ve http:// veya https:// içeremez.

tag-key

Value

string

No

Kaynağın etiket değeri. En fazla 20 etiket değeri belirtebilirsiniz. Etiket değeri boş bir dize olabilir.

Etiket değerinin uzunluğu en fazla 128 karakter olabilir. aliyun veya acs: ile başlayamaz ve http:// veya https:// içeremez.

tag-value

Response elements

Element

Type

Description

Example

object

Yanıt bilgileri.

RequestId

string

İstek kimliği.

FBDB18D8-E91E-4978-8D6C-6E2E3EE10133

AnycastId

string

Anycast EIP örnek kimliği.

aeip-bp1ix34fralt4ykf3****

OrderId

string

Sipariş kimliği.

1422000****

Examples

Success response

JSON format

{
  "RequestId": "FBDB18D8-E91E-4978-8D6C-6E2E3EE10133",
  "AnycastId": "aeip-bp1ix34fralt4ykf3****",
  "OrderId": "1422000****"
}

Error codes

HTTP status code

Error code

Error message

Description

400 OperationFailed.CdtNotOpened Operation failed because cdt not opened.
400 QuotaExceeded.AnycastEIP Quota exceeded: The number of Anycast Elastic IP addresses has reached the limit. Please request a quota increase or release unused resources.
400 IllegalParameter.Name The specified Name is invalid.
400 COMMODITY.INVALID_COMPONENT The order configuration parameters do not meet the validation criteria. Please reselect the products.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.