Creates a basic Global Accelerator (GA) instance. Basic GA instances rely on Alibaba Cloud's premium global Internet bandwidth and high-quality transmission networks to provide point-to-point acceleration. They are primarily used for Layer 3 (IP protocol) network acceleration. You can call the CreateBasicAccelerator operation to create a basic GA instance.
Operation description
The CreateBasicAccelerator operation is asynchronous. The system first returns the ID of the basic Global Accelerator (GA) instance, but the instance is not yet created and the creation task is still running in the background. You can call GetBasicAccelerator or ListBasicAccelerators to query the status of the basic GA instance:
When the basic GA instance is in the init state, the instance is being created. In this state, you can only perform query operations.
When 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 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 value, but you must ensure that it 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 of each API request is unique. |
123e4567**** |
| Duration |
integer |
No |
The purchase duration.
|
1 |
| PricingCycle |
string |
No |
The billing cycle. Valid values:
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 bills. Valid values:
Note
This parameter takes effect only when AutoPay is set to true. |
false |
| PromotionOptionNo |
string |
No |
The coupon code. Note
This parameter is applicable only to the international site. |
50003298014**** |
| AutoRenew |
boolean |
No |
Specifies whether to enable auto-renewal. Valid values:
|
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 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 tags of the basic GA instance. |
|
|
object |
No |
The tags of the basic GA instance. |
||
| Key |
string |
No |
The tag key of the basic GA instance. The tag key cannot be an empty string. The tag key can be up to 64 characters in length, and cannot start with aliyun or acs:, or contain http:// or https://. You can specify up to 20 tag keys. |
tag-key |
| Value |
string |
No |
The tag value of the basic GA instance. The tag value cannot be an empty string. The tag value can be up to 128 characters in length, and cannot start with aliyun or acs:, or contain http:// or https://. You can specify up to 20 tag values. |
tag-value |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned information. |
||
| AcceleratorId |
string |
The ID of the basic GA instance. |
ga-bp17frjjh0udz4qz**** |
| OrderId |
string |
The order ID. This parameter is returned when ChargeType is set to PREPAY. If AutoPay is set to false, which means automatic payment is disabled, go to the Order Center to complete the payment. |
2082574365 |
| RequestId |
string |
The request ID. |
F591955F-5CB5-4CCE-A75D-17CF2085CE22 |
Examples
Success response
JSON format
{
"AcceleratorId": "ga-bp17frjjh0udz4qz****",
"OrderId": "2082574365",
"RequestId": "F591955F-5CB5-4CCE-A75D-17CF2085CE22"
}
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.