Modifies the attributes of one or more acceleration regions within the acceleration area of a Global Accelerator (GA) instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes UpdateIpSets

The operation that you want to perform. Set the value to UpdateIpSets.

RegionId String Yes cn-hangzhou

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

IpSets.N.Bandwidth Integer Yes 4

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

IpSets.N.IpSetId String Yes ips-bp11c9mpphtb1xkds****

The ID of the acceleration region to be modified.

Response parameters

Parameter Type Example Description
RequestId String 685662FF-B1CE-4D5C-A4C8-2FF3C2146BFC

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=UpdateIpSets
&RegionId=cn-hangzhou
&IpSets=[{"Bandwidth":4,"IpSetId":"ips-bp11c9mpphtb1xkds****"}]
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<UpdateIpSetsResponse>
    <RequestId>685662FF-B1CE-4D5C-A4C8-2FF3C2146BFC</RequestId>
</UpdateIpSetsResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "685662FF-B1CE-4D5C-A4C8-2FF3C2146BFC"
}

Error codes

HTTP status code Error code Error message Description
400 Repeat.IpSets The configuration of IpSet is duplicated. The error message returned because duplicated acceleration regions are specified.
400 NotExist.IpSets The IpSet does not exist. The error message returned because the specified acceleration region does not exist.
400 NotActive.IpSet The state of IpSet is not active. The error message returned because the specified acceleration region is in an unstable status.
400 StateError.Accelerator The state of the accelerated instance is invalid. The error message returned because the specified GA instance is in an invalid status.
400 NotExist.BasicBandwidthPackage You must specify the basic bandwidth package. The error message returned because the required basic bandwidth plan is not specified.
400 GreaterThanGa.IpSetBandwidth The total bandwidth for IpSet exceeds the total bandwidth of the GA instance. The error message returned because the total bandwidth allocated to the specified acceleration regions exceeds the total bandwidth that can be provided by the GA instance.

For a list of error codes, visit the API Error Center.