Invokes the CreateBasicIpSet operation to create an acceleration region for a basic Alibaba Cloud Global Accelerator (GA) instance.
Operation description
When you invoke this operation, take note of the following items:
A basic Alibaba Cloud Global Accelerator (GA) instance supports only one acceleration region and supports only the IPv4 protocol.
- CreateBasicIpSet is an asynchronous operation. After a request is sent, the system returns an acceleration region instance ID but the acceleration region is not yet created. The creation node continues to run in the background. You can invoke GetBasicIpSet to query the status of the acceleration region:
If the acceleration region is in the init state, the acceleration region is being created. In this state, you can only execute query operations.
If the acceleration region is in the active state, the acceleration region is created.
The CreateBasicIpSet operation does not support concurrent creation of acceleration regions within the same basic Alibaba Cloud Global Accelerator (GA) instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:CreateBasicIpSet |
create |
*BasicAccelerator
*BasicIpSet
|
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 ap-southeast-1. |
cn-hangzhou |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of a 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-e89b-12d3-a456-426655440000 |
| AcceleratorId |
string |
Yes |
The instance ID of the basic Alibaba Cloud Global Accelerator (GA) instance. |
ga-bp17frjjh0udz4qz**** |
| AccelerateRegionId |
string |
Yes |
The ID of the region to be accelerated. You can invoke the ListAvailableBusiRegions operation to query the active acceleration regions for the specified Alibaba Cloud Global Accelerator (GA) instance. |
cn-shanghai |
| IspType |
string |
No |
The ISP type of the public network in the acceleration region. Valid values:
If you are a whitelist user of single-ISP bandwidth, you can also select the following types:
Note
|
BGP |
| Bandwidth |
integer |
No |
The bandwidth of the acceleration area. Unit: Mbps. The minimum bandwidth that can be allocated to an acceleration area is 2 Mbps. |
2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| IpSetId |
string |
The acceleration region instance ID of the basic Alibaba Cloud Global Accelerator (GA) instance. |
ips-bp11r5jb8ogp122xl**** |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"IpSetId": "ips-bp11r5jb8ogp122xl****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Resource.QuotaFull | The resource quota is exceeded. | The number of resources has reached the upper limit. |
| 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. |
| 403 | Forbbiden.SubUser | You are not authorized to operate on the specified resource because your account was created by another user. | The current account is a RAM user and does not have permissions to manage the specified resources. |
| 403 | Forbidden | The user is not authorized to operate on the specified resource. | The current account does not have permissions to manage the specified resources. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.