All Products
Document Center

Global Accelerator:CreateIpSets

Last Updated:May 16, 2024

Creates acceleration regions.

Operation description

  • CreateIpSets is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the DescribeIpSet operation to query the status of the task.

    • If acceleration regions are in the init state, it indicates that the acceleration regions are being created. In this case, you can perform only query operations.
    • If acceleration regions are in the active state, it indicates that the acceleration regions are created.
  • You cannot call the CreateIpSets operation again on the same GA instance before the previous operation is completed.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
  • IpSet
  • Accelerator
  • ga:AcceleratorMainland

Request parameters


The region ID of the GA instance. Set the value to cn-hangzhou.


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 token can contain only ASCII characters.

Note If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.

The GA instance ID.

AccelerateRegionobject []Yes

The information about the acceleration regions.


The ID of the acceleration region.

The number of regions that you can add varies based on the specification of the GA instance. For more information, see Overview .


The IP version used to connect to the GA instance. Valid values:

  • IPv4 (default)
  • IPv6
  • DUAL_STACK: IPv4 and IPv6
Note Only pay-as-you-go standard GA instances support DUAL_STACK.

The bandwidth that you want to allocate to the acceleration region. Unit: Mbit/s.

  • This parameter is required.
  • You must allocate at least 2 Mbit/s of bandwidth to each acceleration region.
  • The total bandwidth of all acceleration regions cannot exceed the bandwidth limit of your basic bandwidth plan.
  • 2

    The line type of the elastic IP address (EIP) in the acceleration region. Valid values:

    • BGP: BGP (Multi-ISP) lines.
    • BGP_PRO: BGP (Multi-ISP) Pro lines
  • This parameter is required only if the bandwidth metering method of the GA instance is pay-by-data transfer.
  • Different acceleration regions support different line types of EIPs.
  • BGP

    Response parameters


    The response parameters.


    The request ID.

    IpSetsobject []

    The details about the acceleration regions.


    The acceleration region ID.


    The bandwidth allocated to the acceleration region. Unit: Mbit/s.


    The acceleration region ID.


    The line type of the EIP in the acceleration region.


    The GA instance ID.



    Sample success responses


      "RequestId": "1F4B6A4A-C89E-489E-BAF1-52777EE148EF",
      "IpSets": [
          "AccelerateRegionId": "cn-qingdao",
          "Bandwidth": 2,
          "IpSetId": "ips-bp11r5jb8ogp122xl****",
          "IspType": "BGP"
      "AcceleratorId": "ga-bp1yeeq8yfoyszmq****"

    Error codes

    HTTP status codeError codeError messageDescription
    400Domain.NotFitThe domain is not fit the ruleThe domain name does not have an ICP number.
    400Resource.QuotaFullThe resource quota is exceeded.The number of resources has reached the upper limit.
    400StateError.Acceleratoraccelerator state %s is illegalThe GA instance is in an invalid state %s.
    400RegionRepeat.IpSetAn accelerator can only have one IpSet in one region. accelerator = %s, region = %s-
    403Forbbiden.SubUserYou 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.
    403ForbiddenThe user is not authorized to operate on the specified resource.The current account does not have permissions to manage the specified resources.
    500UnknownErrorAn 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.

    For a list of error codes, visit the Service error codes.

    Change history

    Change timeSummary of changesOperation
    2023-04-20The Error code has changedsee changesets
    Change itemChange content
    Error CodesThe Error code has changed.
      delete Error Codes: 400
      delete Error Codes: 403
      delete Error Codes: 500
    2023-04-06The Error code has changedsee changesets
    Change itemChange content
    Error CodesThe Error code has changed.
      Error Codes 400 change
      delete Error Codes: 403
      delete Error Codes: 500