调用UpdateIpSets接口修改加速区域中的多个加速地域。
接口说明
- UpdateIpSets 接口属于异步接口,即系统会先返回一个请求 ID,但加速地域并未修改完成,系统后台的修改任务仍在进行。您可以调用 DescribeIpSet 查询加速地域的状态:
当加速地域处于 updating 状态时,表示加速地域正在修改中,在该状态下,您只能执行查询操作,不能执行其他操作。
当加速地域处于 active 状态时,表示加速地域修改完成。
UpdateIpSets 接口不支持在同一个全球加速实例内并发修改加速地域。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ga:UpdateIpSets |
update |
*IpSet
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
全球加速实例所在的地域 ID,仅取值cn-hangzhou。 |
cn-hangzhou |
| IpSets |
array<object> |
是 |
加速地域列表。 |
|
|
object |
否 |
加速地域列表。 您最多可输入 100 个加速地域信息。 |
||
| Bandwidth |
integer |
是 |
要修改的加速地域带宽。单位:Mbps。 每个加速地域支持分配的最小带宽为 2 Mbps。 您最多可输入 100 个加速地域带宽。 |
4 |
| IpSetId |
string |
是 |
要修改的加速地域 ID。 您最多可输入 100 个加速地域 ID。 |
ips-bp11c9mpphtb1xkds**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回信息列表。 |
||
| RequestId |
string |
请求 ID。 |
685662FF-B1CE-4D5C-A4C8-2FF3C2146BFC |
示例
正常返回示例
JSON格式
{
"RequestId": "685662FF-B1CE-4D5C-A4C8-2FF3C2146BFC"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Repeat.IpSets | The configuration of IpSet is duplicated. | IpSet配置重复 |
| 400 | NotExist.IpSets | The IpSet does not exist. | IpSet不存在。 |
| 400 | NotActive.IpSet | The state of IpSet is not active. | IpSet状态非稳态 |
| 400 | StateError.Accelerator | The state of the accelerated instance is invalid. | 加速实例状态非法。 |
| 400 | NotExist.BasicBandwidthPackage | You must specify the basic bandwidth package. | 缺少基础带宽包 |
| 400 | GreaterThanGa.IpSetBandwidth | The total bandwidth for IpSet exceeds the total bandwidth of the GA instance. | IpSet配置的总带宽超过GA实例的总带宽 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。