You need to enable JavaScript to run this app.
文档中心
公网IP

公网IP

复制全文
下载 pdf
公网IP
DisassociateEipAddress - 解绑公网IP
复制全文
下载 pdf
DisassociateEipAddress - 解绑公网IP
调用 DisassociateEipAddress 接口,将公网IP与云资源解绑。​
使用说明​
公网类型负载均衡不支持解绑公网IP,您可调用 ModifyLoadBalancerAttributes 将其转换成私网类型负载均衡后,再进行解绑。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:DisassociateEipAddress​
要执行的操作,取值:DisassociateEipAddress。​
​
Version String 必选 示例值:2020-04-01​
API的版本信息,当前版本为 2020-04-01。​
​
AllocationId String 必选 示例值:eip-2ze7ujxscd****​
要解绑的公网IP的ID。​
您可以调用 DescribeEipAddresses 接口,查询公网IP的ID。​
​
InstanceType String 可选 示例值:EcsInstance​
要解绑的公网IP的实例类型。​
  • Nat:NAT网关。​
  • NetworkInterface: 辅助网卡。​
  • ClbInstance: 负载均衡CLB。​
  • EcsInstance:云服务器ECS。​
  • HaVip:高可用虚拟IP。​
  • IpAddress:私网IP 地址。​
说明​
公网IP绑定IP地址功能正在邀测中,如需试用,请联系客户经理申请。​
​
InstanceId String 可选 示例值:i-2zebbhyczzaweeval****​
待解绑云资源的ID。根据InstanceType传入的参数,传入对应类型云资源的ID。​
​
ClientToken String 可选 示例值:123e4567-e89b-12d3-a456-42665544****​
保证请求幂等性。由客户端自动生成一个参数值,确保不同请求间该参数值唯一,避免当调用API超时或服务器内部错误时,客户端多次重试导致重复性操作。取值:​
  • 仅支持ASCII字符,且不能超过64个字符。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
RequestId String 示例值:2021062415303301022514515207C4****​
请求ID。​
​
​
​
请求示例​
​
GET /?Action=DisassociateEipAddress&Version=2020-04-01&AllocationId=eip-2ze7ujxscd****&InstanceType=EcsInstance HTTP/1.1​
Host: vpc.cn-beijing.volcengineapi.com​
Service: vpc​
Region: cn-beijing​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "2021062415303301022514515207C4****",​
"Action": "DisassociateEipAddress",​
"Version": "2020-04-01",​
"Service": "vpc",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "2021062415303301022514515207C4****"​
}​
}​
​
错误码​
公共错误码请参见公共错误码。​
​
状态码​
错误码​
错误信息​
说明​
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​
InvaildIpv6.NotSupport​
The specified IPv6 address does not support this operation.​
指定的IPv6地址不支持此操作。​
400​
InvalidEip.InUse​
The specified EIP is being operated by another request.​
指定的EIP正被另一个请求操作,请稍后再试。​
400​
InvalidEip.InstanceMismatch​
The specified elastic ip and instance mismatch.​
指定的弹性公网IP和实例不匹配。​
400​
InvalidEip.InvalidStatus​
The specified elastic ip is not in the correct status for the request.​
指定的弹性公网IP所处的状态无法响应该请求。​
400​
InvalidEipMode.Malformed​
The specified elastic IP mode is malformed.​
指定的EIP模式不合法。​
400​
InvalidEipOrNat.InvalidStatus​
The specified elastic ip or Nat is not in the correct status for the request.​
指定的弹性公网IP或Nat网关所处的状态无法响应该请求。​
400​
InvalidEni.InvalidStatus​
The specified elastic network interface is not in the correct status for the request.​
指定的弹性网卡所处的状态无法响应该请求。​
400​
InvalidInstanceType.Malformed​
The specified instance type is malformed. Instance type can only support NetworkInterface when EIP is in BINDED mode.​
指定的实例类型不合法。EIP处于可见模式下只支持绑定辅助网卡。​
400​
InvalidNatGateway.InvalidStatus​
The specified NAT gateway is not in the correct status for the request.​
指定的NAT网关所处的状态无法响应该请求。​
400​
InvalidNatGateway.UnSupportAction​
The specified NAT gateway does not support this action.​
指定的NAT网关不支持当前操作。​
400​
InvalidParameter.ClientTokenMalformed​
The specified parameter ClientToken is malformed.​
指定的参数ClientToken格式不合法,长度不能超过64个ASCII字符。​
400​
LimitExceeded.Eip​
You've reached the limit on the number of EIPs that you can operate per action.​
已达到单次操作EIP数量上限。​
400​
MissingParameter​
The request is missing a required parameter.​
该请求缺少必要参数。​
403​
Forbidden​
You are not authorized to perform operations on the specified elastic network interface. The specified elastic network interface is a service-managed elastic network interface.​
无权限对指定弹性网卡进行操作。指定的弹性网卡为云产品托管的弹性网卡。​
403​
Forbidden​
You are not authorized to perform operations on the specified elastic ip and public CLB.​
无权限操作此EIP和公网CLB。​
403​
Forbidden​
You are not authorized to perform operations on the specified elastic ip and ALB.​
无权限操作此EIP和ALB。​
403​
Forbidden​
You are not authorized to perform operations on the specified EIP. The specified EIP is a service-managed EIP.​
无权限对指定EIP进行操作。指定的EIP为云产品托管的EIP。​
403​
Forbidden​
You are not authorized to disassociate elastic ip from Nat gateway.​
无权限将EIP从Nat网关解绑。​
403​
Forbidden​
You are not authorized to perform operations on the specified elastic ip and private CLB.​
无权限操作此EIP和私网CLB。​
404​
InvalidEip.NotFound​
The specified EIP does not exist.​
指定的EIP不存在。​
404​
InvalidInstance.NotFound​
The specified instance does not exist.​
指定的实例不存在。​
404​
InvalidInstanceType.NotFound​
The specified instance type does not exist.​
指定的instance type不可用。​
404​
InvalidNatBindEip.NotFound​
The specified eip bound with nat does not exist.​
指定的NAT关联EIP不存在。​
404​
InvalidNatGateway.NotFound​
The specified NAT gateway does not exist.​
指定的NAT网关不存在。​
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.​
幂等请求处理中。​
500​
InternalError​
An internal error has occurred.​
发生内部错误。​
​
​
最近更新时间:2026.01.23 15:56:39
这个页面对您有帮助吗?
有用
有用
无用
无用