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

负载均衡

复制全文
下载 pdf
NLB实例
ModifyNetworkLoadBalancerZones - 为NLB实例添加、删除可用区
复制全文
下载 pdf
ModifyNetworkLoadBalancerZones - 为NLB实例添加、删除可用区
调用 ModifyNetworkLoadBalancerZones 接口,为NLB实例添加、删除可用区。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下表中:​
  • AddZoneMappings.N.a 类型参数中的“N”表示待添加可用区及其对应子网、IP地址或公网IP的序号,取值范围为1~n,n取决于地域的可用区数量,详情可参见地域与可用区。多个资源之间使用&分隔。​
  • 非必选参数不传入则表示保持原有配置不变。​
Action String 必选 示例值:ModifyNetworkLoadBalancerZones​
要执行的操作,取值为 ModifyNetworkLoadBalancerZones。​
​
Version String 必选 示例值:2020-04-01​
API版本信息,当前版本为 2020-04-01。​
​
LoadBalancerId String 必选 示例值:nlb-bp1b6c719dfa08ex****​
NLB实例ID。​
您可以调用DescribeNetworkLoadBalancers接口,获取NLB实例ID。​
​
AddZoneMappings.N.ZoneId String 可选 示例值:cn-beijing-a​
待添加的可用区 ID。​
​
AddZoneMappings.N.SubnetId String 可选 示例值:subnet-bp12mw1f8k3jgy****​
NLB实例在对应可用区内所属的子网 ID。​
您可以调用DescribeSubnets接口,获取子网ID。​
说明​
参数AddZoneMappings.N.ZoneId传入时,该参数必须传入。​
​
AddZoneMappings.N.Ipv4Address String 可选 示例值:192.XX.XX.2​
NLB实例在对应可用区内的 IPv4 私网 VIP 地址。​
​
AddZoneMappings.N.EipId String 可选 示例值:eip-2ziwb7ujxscd****​
公网NLB实例在对应可用区内关联的公网IP的 ID。​
​
DeleteZoneMappings.N String 可选 示例值:cn-beijing-a​
待删除的可用区ID。​
​
​
​
返回参数​
RequestId String 示例值:202409291106382514606306AF947C****​
请求ID。​
​
​
​
请求示例​
​
GET /?Action=ModifyNetworkLoadBalancerZones&Version=2020-04-01&LoadBalancerId=nlb-bp1b6c719dfa08ex**** 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": "ModifyNetworkLoadBalancerZones",​
"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​
InsufficientIpInSubnet​
The specified subnet does not contain enough free private IP addresses to fulfill your request.​
指定子网下可用 IP 不足。​
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.InvalidStatus​
The specified Eip is not in the correct status for the request.​
指定的 Eip 所处状态无法响应该请求。​
400​
InvalidEipBillingType.NotSupport​
The specified billing type of Eip dose not support this action.​
指定的 Eip 计费类型不支持当前操作。​
400​
InvalidEipISP.NotSupport​
The specified isp of Eip dose not support this action.​
指定的 Eip 线路类型不支持当前操作。​
400​
InvalidEipSecurityProtectionTypes.NotSupport​
The specified security types protection of Eip dose not support this action.​
指定的 Eip 安全防护类型不支持当前操作。​
400​
InvalidEipSpecificEgress.NotSupport​
The specified specific egress of Eip dose not support this action.​
指定的 Eip 公网出口不支持当前操作。​
400​
InvalidISP.Mismatch​
The isp of the bandwidth package does not match with the Eip.​
共享带宽包与 Eip 的线路类型不一致。​
400​
InvalidIncorrectOrder.Malformed​
The specified index order is malformed.​
指定的索引顺序参数格式不合法。​
400​
InvalidListener.InvalidStatus​
The specified Listener is not in the correct status 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.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​
InvalidSubnetIPv4Cidr.NotSupport​
The specified subnet does not support ipv4 cidr.​
指定子网不支持IPv4网段。​
400​
InvalidSubnetIPv6Cidr.NotSupport​
The specified subnet does not support ipv6 cidr.​
指定子网不支持IPv6网段。​
400​
InvalidSubnetIPv6CidrISP.Mismatch​
The ipv6 cidr isp of the subnets is not same.​
多个子网 IPv6 网段的线路类型不一致。​
400​
InvalidZoneMapping.SubnetAndZoneMismatch​
The specified subnet and zone is mismatched.​
指定的子网和可用区不匹配。​
400​
InvalidZoneMappings.EipId.Malformed​
The specified ZoneMappings.EipId is malformed.​
指定的 ZoneMappings.EipId 参数格式不合法。​
400​
InvalidZoneMappings.Ipv4Address.Malformed​
The specified ZoneMappings.Ipv4Address is malformed.​
指定的 ZoneMappings.Ipv4Address 参数格式不合法。​
400​
InvalidZoneMappings.SubnetId.Malformed​
The specified ZoneMappings.SubnetId is malformed.​
指定的 ZoneMappings.SubnetId 参数格式不合法。​
400​
InvalidZoneMappings.ZoneId.Malformed​
The specified ZoneMappings.ZoneId is malformed.​
指定的 ZoneMappings.ZoneId 参数格式不合法。​
400​
QuotaExceed.Eni​
You've reached the limit on the number of ENI that you can create.​
已达到可创建的弹性网卡数量的配额上限。​
400​
QuotaExceeded.BandwidthPackage​
You've reached the limit on the EIP number of that you can add to bandwidth package.​
已达到共享带宽包可加入公网 IP 的数量上限。​
400​
UnsupportedOperation​
The request on the specified instance is denied due to lack of Eip allocated.​
因 Eip 分配的数量不足,对于该实例的操作请求被拒绝。​
400​
UnsupportedOperation​
The request on the specified instance is denied due to Eip service manage.​
因 Eip 服务托管失败,对于该实例的操作请求被拒绝。​
400​
UnsupportedOperation​
The specified instance is denied due to the number of zones are less than the minimum number of zones.​
因实例下可用区数量小于最小可用区数量,对于该实例的操作请求被拒绝。​
403​
Forbidden​
You are not authorized to perform operations on the specified service.​
无权限对指定服务进行操作。​
403​
Forbidden​
You are not authorized to perform operations on the specified Zone.​
无权限对指定可用区进行操作。​
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​
InvalidSharedVPC.UnSupportAction​
The specified shared VPC does not support this action.​
指定的共享 VPC 不支持当前操作。​
404​
InvalidSubnet.NotFound​
The specified Subnet does not exist.​
指定的子网不存在。​
404​
InvalidVPC.NotFound​
The specified VPC does not exist.​
指定的 VPC 不存在。​
404​
InvalidZone.NotFound​
The specified Zone mapping 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.​
指定的资源操作冲突。​
409​
InvalidZone.Conflict​
The specified zone already exists.​
指定的可用区已存在。​
412​
IdempotentProcessing​
The request uses the same client token as a previous one that is still in process.​
幂等请求处理中。​
​
​
最近更新时间:2026.10.28 10:15:06
这个页面对您有帮助吗?
有用
有用
无用
无用