AllocateAnycastEipAddress
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 maximum bandwidth of the Anycast EIP instance. Unit: Mbit/s. Valid values: 200 to 1000. Default value: 1000. Note
The maximum bandwidth is not a committed service metric. It is provided for reference only and serves as the upper limit. Valid values:
|
200 |
| ServiceLocation |
string |
Yes |
The access area of the Anycast EIP instance. Valid values: international, which indicates regions outside the Chinese mainland. Valid values:
|
international |
| InstanceChargeType |
string |
No |
The billing method of the Anycast EIP instance. Valid values: PostPaid, which indicates pay-as-you-go. |
PostPaid |
| InternetChargeType |
string |
No |
The billable methods for Internet access of the Anycast EIP instance. Valid values: PayByTraffic, which indicates billing by data transfer. |
PayByTraffic |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can be up to 64 ASCII characters in length. Note
If you do not specify this parameter, the system automatically uses the RequestId of the API request as the ClientToken. The RequestId of each API request is unique. |
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 tags of the resource. |
|
|
object |
No |
The tag information. You can specify up to 20 tags at a time. |
||
| Key |
string |
No |
The tag key of the resource. You can specify up to 20 tag keys. The tag key cannot be an empty string. The tag key can be up to 128 characters in length, and cannot start with aliyun or acs:. It cannot contain |
tag-key |
| Value |
string |
No |
The tag value of the resource. You can specify up to 20 tag values. The tag value can be an empty string. The tag value can be up to 128 characters in length, and cannot start with |
tag-value |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response information. |
||
| RequestId |
string |
The request ID. |
FBDB18D8-E91E-4978-8D6C-6E2E3EE10133 |
| AnycastId |
string |
The Anycast EIP instance ID. |
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.