Basic Alibaba Cloud Global Accelerator (GA) instances leverage Alibaba Cloud's premium global the Internet bandwidth and high-quality transmission network to provide users with point-to-point acceleration. Basic Alibaba Cloud Global Accelerator (GA) instances are primarily used for Layer 3 (IP protocol) network acceleration. You can invoke the CreateBasicAccelerator operation to create a basic Alibaba Cloud Global Accelerator (GA) instance.
Operation description
CreateBasicAccelerator is an asynchronous operation. After you invoke this operation, the system returns a basic Alibaba Cloud Global Accelerator (GA) instance ID, but the instance is not yet created. The creation node continues to execute in the background. You can invoke GetBasicAccelerator or ListBasicAccelerators to query the status of the basic GA instance:
If the basic GA instance is in the init state, the instance is being created. In this state, you can only perform query operations.
If the basic GA instance is in the active state, the instance is created.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:CreateBasicAccelerator |
create |
*BasicAccelerator
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the basic Alibaba Cloud Global Accelerator (GA) instance. Set the value to cn-hangzhou. |
cn-hangzhou |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the RequestId of the API request as the ClientToken. The RequestId may be different for each API request. |
123e4567**** |
| Duration |
integer |
No |
The subscription duration.
|
1 |
| PricingCycle |
string |
No |
The billing cycle. Valid values:
|
Month |
| BandwidthBillingType |
string |
No |
The bandwidth billing method. Valid values:
|
CDT |
| AutoPay |
boolean |
No |
Specifies whether to enable automatic payment. Valid values:
|
false |
| AutoUseCoupon |
string |
No |
Specifies whether to use coupons for automatic payment of the bill. Valid values:
Note
This parameter takes effect only when AutoPay is set to true. |
false |
| PromotionOptionNo |
string |
No |
The coupon number. Note
This parameter is applicable only to the China site (aliyun.com). |
50003298014**** |
| AutoRenew |
boolean |
No |
Specifies whether to enable auto-renewal.
|
false |
| AutoRenewDuration |
integer |
No |
The auto-renewal duration. Unit: months. Valid values: 1 to 12. Default value: 1. Note
This parameter takes effect only when AutoRenew is set to true. |
1 |
| ResourceGroupId |
string |
No |
The ID of the resource group to which the basic Alibaba Cloud Global Accelerator (GA) instance belongs. |
rg-acfmxshhcsn**** |
| ChargeType |
string |
No |
The billing method. Valid values:
|
PREPAY |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run. Valid values:
|
false |
| Tag |
array<object> |
No |
The labels of the basic Alibaba Cloud Global Accelerator (GA) instance. |
|
|
object |
No |
The labels of the basic Alibaba Cloud Global Accelerator (GA) instance. |
||
| Key |
string |
No |
The label key of the basic Alibaba Cloud Global Accelerator (GA) instance. If you specify this parameter, the value cannot be an empty string. The label key can be up to 64 characters in length and cannot start with You can specify up to 20 label keys. |
tag-key |
| Value |
string |
No |
The label value of the basic Alibaba Cloud Global Accelerator (GA) instance. If you specify this parameter, the value cannot be an empty string. The label value can be up to 128 characters in length and cannot start with You can specify up to 20 label values. |
tag-value |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
F591955F-5CB5-4CCE-A75D-17CF2085CE22 |
| OrderId |
string |
The order ID. This parameter is returned only when ChargeType is set to PREPAY (upfront). If AutoPay is set to false, which means automatic payment of the bill is not enabled, go to the Order Center to complete the payment. |
2082574365 |
| AcceleratorId |
string |
The instance ID of the basic Alibaba Cloud Global Accelerator (GA) instance. |
ga-bp17frjjh0udz4qz**** |
Examples
Success response
JSON format
{
"RequestId": "F591955F-5CB5-4CCE-A75D-17CF2085CE22",
"OrderId": "2082574365",
"AcceleratorId": "ga-bp17frjjh0udz4qz****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | UnknownError | An error occurred while processing your request. Please try again. If the error persists, please submit a ticket. | An error occurred while the request was being processed. Try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.