The AllocateAnycastEipAddress operation creates an Anycast EIP instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eipanycast:AllocateAnycastEipAddress |
create |
*AnycastEipAddress
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Bandwidth |
string |
No |
The peak bandwidth of the Anycast EIP instance. Unit: Mbps. Valid values: 200 to 1000. Default value: 1000. Note
The peak bandwidth is for reference only and is not a guaranteed value. It serves as the upper limit for bandwidth. Valid values:
|
200 |
| ServiceLocation |
string |
Yes |
The access area of the Anycast EIP instance. Valid values:
|
international |
| InstanceChargeType |
string |
No |
The billing method of the Anycast EIP instance. Set the value to PostPaid. This value specifies the pay-as-you-go billing method. |
PostPaid |
| InternetChargeType |
string |
No |
The metering method for Internet data transfer. Set the value to PayByTraffic. This value specifies the pay-by-data-transfer metering method. |
PayByTraffic |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. Make sure that the client token is unique for each request. The token can contain a maximum of 64 ASCII characters. Note
If you do not specify this parameter, the system automatically uses the RequestId of the request as the ClientToken. The RequestId may be different for each request. |
02fb3da4-130e-11e9-8e44-001**** |
| Name |
string |
No |
The name of the Anycast EIP instance. The name must be 0 to 128 characters in length. It must start with a letter or a Chinese character and can contain digits, underscores (_), and hyphens (-). |
doctest |
| Description |
string |
No |
The description of the Anycast EIP instance. The description must be 0 to 256 characters in length and cannot start with |
docdesc |
| ResourceGroupId |
string |
No |
The ID of the resource group to which the instance belongs. |
rg-acfm3obzjuk**** |
| Tag |
array<object> |
No |
The resource tags. |
|
|
object |
No |
The resource tag. Specify up to 20 tags at a time. |
||
| Key |
string |
No |
The tag key. Specify up to 20 tag keys. A tag key cannot be an empty string. A tag key contains up to 128 characters, cannot begin with |
tag-key |
| Value |
string |
No |
The tag value. Specify up to 20 tag values. A tag value can be an empty string. A tag value contains up to 128 characters, cannot begin with |
tag-value |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
FBDB18D8-E91E-4978-8D6C-6E2E3EE10133 |
| AnycastId |
string |
The ID of the Anycast EIP instance. |
aeip-bp1ix34fralt4ykf3**** |
| OrderId |
string |
The order ID. |
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. | Please activate CDT service before performing the current operation. |
| 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. | Quota Excess: The Anycast Elastic IP address has reached the upper limit and cannot be created. Apply for a quota increase or release useless 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. | Order configuration parameters do not meet the verification conditions, please re-match the goods! |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.