Modifies multiple acceleration regions in an acceleration area of a Global Accelerator (GA) instance.
Operation description
-
UpdateIpSets is an asynchronous operation. The system returns a request ID and processes the modification in the background. You can call the DescribeIpSet operation to query the status of the task.
-
If an acceleration region is in the updating state, it is being modified. You can only perform query operations.
-
If an acceleration region is in the active state, the modification is complete.
-
-
Do not call the UpdateIpSets operation repeatedly for the same GA instance within a short period of time.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:UpdateIpSets |
update |
*IpSet
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the GA instance. Set the value to cn-hangzhou. |
cn-hangzhou |
| IpSets |
array<object> |
Yes |
The acceleration regions. |
|
|
object |
No |
An acceleration region. You can specify up to 100 acceleration regions. |
||
| Bandwidth |
integer |
Yes |
The bandwidth to allocate to the acceleration region, in Mbit/s. Minimum: 2 Mbit/s per region. You can specify the bandwidth for up to 100 acceleration regions. |
4 |
| IpSetId |
string |
Yes |
The ID of the acceleration region to modify. You can specify up to 100 acceleration region IDs. |
ips-bp11c9mpphtb1xkds**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
685662FF-B1CE-4D5C-A4C8-2FF3C2146BFC |
Examples
Success response
JSON format
{
"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. | Duplicate accelerated IP addresses exist. |
| 400 | NotExist.IpSets | The IpSet does not exist. | The acceleration region does not exist. |
| 400 | NotActive.IpSet | The state of IpSet is not active. | The accelerated IP address is in an unstable state. |
| 400 | StateError.Accelerator | The state of the accelerated instance is invalid. | The status of the GA instance is invalid. |
| 400 | NotExist.BasicBandwidthPackage | You must specify the basic bandwidth package. | You must specify the basic bandwidth package. |
| 400 | GreaterThanGa.IpSetBandwidth | The total bandwidth for IpSet exceeds the total bandwidth of the GA instance. | The total bandwidth for IpSet exceeds the total bandwidth of the GA instance. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.