You need to enable JavaScript to run this app.
文档中心
负载均衡

负载均衡

复制全文
下载 pdf
NLB实例
ModifyNetworkLoadBalancerBandwidthPackage - 将公网NLB实例加入、移出共享带宽包
复制全文
下载 pdf
ModifyNetworkLoadBalancerBandwidthPackage - 将公网NLB实例加入、移出共享带宽包
调用 ModifyNetworkLoadBalancerBandwidthPackage 接口,将公网网络型负载均衡实例加入、移出共享带宽包。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
Action String 必选 示例值:ModifyNetworkLoadBalancerBandwidthPackage​
要执行的操作,取值为 ModifyNetworkLoadBalancerBandwidthPackage。​
​
Version String 必选 示例值:2020-04-01​
API版本信息,当前版本为 2020-04-01。​
​
LoadBalancerId String 必选 示例值:nlb-bp1b6c719dfa08ex****​
NLB实例ID。​
您可以调用DescribeNetworkLoadBalancers接口获取NLB实例ID。​
​
Operation String 必选 示例值:add​
将NLB 实例加入、移出共享带宽包。​
  • add:加入共享带宽包。​
  • remove:移出共享带宽包。​
说明​
  • 参数Protocol为“ipv4”时,表示将NLB实例关联的公网IP加入、移出IPv4共享带宽包。​
  • 参数Protocol为“ipv6”时,表示将NLB实例关联的IPv6公网带宽加入、移出IPv6共享带宽包。​
​
Protocol String 必选 示例值:ipv4​
NLB 网络地址的协议类型。​
  • ipv4​
  • ipv6​
​
BandwidthPackageId String 必选 示例值:bwp-2zeo05qre24nhrqpy****​
共享带宽包的ID。​
​
​
​
返回参数​
RequestId String 示例值:202409291106382514606306AF947C****​
请求ID。​
​
​
​
请求示例​
​
GET /?Action=ModifyNetworkLoadBalancerBandwidthPackage&Version=2020-04-01&LoadBalancerId=nlb-bp1b6c719dfa08ex****&Operation=add&Protocol=ipv4&BandwidthPackageId=bwp-2zeo05qre24nhrqpy**** HTTP/1.1​
Host: clb.cn-beijing.volcengineapi.com​
Date: 20260310T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/clb/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "ModifyNetworkLoadBalancerBandwidthPackage",​
"Version": "2020-04-01",​
"Service": "clb",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "202409291106382514606306AF947C****"​
}​
}​
​
错误码​
此处仅展示当前API的错误码,更多错误码请参见公共错误码。​
​
状态码​
错误码​
错误信息​
说明​
400​
DryRunOperation​
Exception raised to indicate a successfully authorized action when the DryRun flag is set to true.​
该请求设置为DryRun操作,操作授权已获得许可,但未被实际执行。​
400​
IdempotentParameterMismatch​
Arguments on this idempotent request are inconsistent with arguments used in previous request(s).​
此幂等请求的参数与前一个请求中使用的参数不一致。​
400​
InvalidBandwidthPackage.InvalidBusinessStatus​
The specified bandwidth package is not in the correct business status for the request.​
指定的共享带宽包所处计费状态无法响应该请求。​
400​
InvalidClientToken.Malformed​
The specified ClientToken is malformed.​
指定的 ClientToken 参数格式不合法。​
400​
InvalidEip.InvalidBusinessStatus​
The specified Eip is not in the correct business status for the request.​
指定的 Eip 所处计费状态无法响应该请求。​
400​
InvalidEip.Malformed​
The specified Eip is malformed.The specified Eip not exist in the bandwidth package.​
指定的 Eip 不在对应的共享带宽包里。​
400​
InvalidISP.Mismatch​
The isp of the bandwidth package does not match with the Eip.​
共享带宽包与 Eip 的线路类型不一致。​
400​
InvalidLoadBalancer.InvalidNetworkType​
The specified LoadBalancer is not in the correct network type for the request.​
指定的负载均衡所处网络类型无法响应该请求。​
400​
InvalidLoadBalancer.InvalidStatus​
The specified LoadBalancer is not in the correct status for the request.​
指定的负载均衡所处状态无法响应该请求。​
400​
InvalidLoadBalancerBillingStatus.InvalidStatus​
The specified LoadBalancer is not in the correct billing status for the request.​
指定的负载均衡计费状态所处状态无法响应该请求。​
400​
InvalidOperation.Malformed​
The specified Operation is malformed.​
指定的 Operation 参数格式不合法。​
400​
InvalidProtocol.Malformed​
The specified Protocol is malformed.​
指定的 Protocol 参数格式不合法。​
400​
InvalidProtocol.Mismatch​
The protocol of the bandwidth package does not match with the Eip.​
共享带宽包与 Eip 的协议类型不匹配。​
400​
InvalidSecurityProtectionTypes.Mismatch​
The specified security protection types of the bandwidth package does not match with the Eip.​
共享带宽包与 Eip 的安全防护类型不一致。​
400​
InvalidSpecificEgress.Mismatch​
The specific egress of the bandwidth package does not match with the Eip.​
共享带宽包与 Eip 的指定出口不匹配。​
400​
QuotaExceeded.BandwidthPackage​
You've reached the limit on the EIP number of that you can add to bandwidth package.​
已达到共享带宽包可加入公网 IP 的数量上限。​
403​
Forbidden​
You are not authorized to perform operations on the specified service.​
无权限对指定服务进行操作。​
403​
InvalidResourceType.ServiceManaged​
The specified ResourceType is managed by a service.​
指定的资源是服务托管资源。​
404​
InvalidBandwidthPackage.NotFound​
The specified bandwidth package does not exist.​
指定的共享带宽包不存在。​
404​
InvalidEip.NotFound​
The specified Eip does not exist.​
指定的 Eip 不存在。​
404​
InvalidLoadBalancer.NotFound​
The specified LoadBalancer does not exist.​
指定的负载均衡不存在。​
404​
ServiceRoleForLoadBalancer.NotFound​
ServiceRoleForLoadBalancer does not exist.​
负载均衡服务关联角色不存在。​
409​
InvalidEip.Conflict​
The specified Eip conflicts with that of another Eip in your bandwidth package.​
指定的 Eip 已经在共享带宽包里。​
409​
InvalidOperation.Conflict​
The specified resource operation conflicts.​
指定的资源操作冲突。​
412​
IdempotentProcessing​
The request uses the same client token as a previous one that is still in process.​
幂等请求处理中。​
​
​
最近更新时间:2026.03.11 14:59:12
这个页面对您有帮助吗?
有用
有用
无用
无用