Bir esnek IP adresinin (EIP) bir bulut kaynağıyla ilişkisini keser.
Operation description
- UnassociateEipAddress işlemi eşzamansızdır. Bu işlemi çağırdıktan sonra sistem bir istek kimliği döndürür, ancak EIP'nin ilişkisi hemen kesilmez. İlişki kesme görevi arka planda çalışır. EIP'nin durumunu sorgulamak için DescribeEipAddresses işlemini çağırabilirsiniz:
EIP Unassociating durumundaysa, EIP'nin ilişkisi kesiliyor demektir. Bu durumda yalnızca sorgulama işlemleri gerçekleştirebilirsiniz.
EIP Available durumundaysa, EIP'nin ilişkisi kesilmiş demektir.
UnassociateEipAddress işlemi, aynı EIP'nin eşzamanlı ilişki kesimini desteklemez.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:UnassociateEipAddress |
delete |
Instance
*Address
HaVip
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Force |
boolean |
No |
EIP, DNAT veya SNAT girişleri yapılandırılmış bir NAT ağ geçidiyle ilişkili olduğunda EIP'nin ilişkisinin zorla kesilip kesilmeyeceğini belirtir. Geçerli değerler:
|
false |
| RegionId |
string |
No |
İlişkisi kesilecek EIP'nin bölge kimliği. Bölge kimliğini sorgulamak için DescribeRegions işlemini çağırabilirsiniz. |
cn-hangzhou |
| AllocationId |
string |
Yes |
İlişkisi kesilecek EIP'nin kimliği. |
eip-2zeerraiwb7uj6i0d**** |
| InstanceId |
string |
No |
EIP'nin ilişkisinin kesileceği bulut kaynağı örneğinin kimliği. Bir NAT ağ geçidi, Klasik Yük Dengeleyici (CLB) örneği, ECS örneği, ikincil esnek ağ arabirimi denetleyicisi (NIC) örneği, yüksek kullanılabilirlikli sanal IP adresi örneği veya bir IP adresinin örnek kimliğini girebilirsiniz. |
i-hp3akk9irtd69jad**** |
| InstanceType |
string |
No |
EIP'nin ilişkisinin kesileceği bulut kaynağının türü. Geçerli değerler:
|
EcsInstance |
| PrivateIpAddress |
string |
No |
EIP'nin ilişkisinin kesileceği ECS örneğinin veya ikincil esnek ağ arabirimi denetleyicisi (NIC) örneğinin özel IP adresi. |
192.XX.XX.2 |
| ClientToken |
string |
No |
İsteğin idempotent olmasını sağlamak için kullanılan istemci belirteci. Belirteci oluşturmak için istemciyi kullanabilirsiniz, ancak belirtecin farklı istekler arasında benzersiz olduğundan emin olmalısınız. Belirteç yalnızca ASCII karakterleri içerebilir. Not
Bu parametreyi belirtmezseniz, sistem otomatik olarak RequestId değerini ClientToken olarak kullanır. RequestId her API isteği için farklı olabilir. |
02fb3da4-130e-11**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt parametreleri. |
||
| RequestId |
string |
İstek kimliği. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
Examples
Success response
JSON format
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectEipStatus | Current elastic IP status does not support this operation. | |
| 400 | InvalidInstanceId.NotFound | Specified instance does not exist. | |
| 400 | IncorrectInstanceStatus | The current status of instance does not support this operation. | |
| 400 | InvalidInstanceType.ValueNotSupported | The specified value of InstanceType is not supported. | |
| 400 | IncorrectHaVipStatus | This operation is denied because satus of the specified HaVip is neither Available nor InUse. | You cannot perform the operation when the specified HAVIP is in the Available or InUse state. |
| 400 | OperationDenied | Eip of default vpc not allow this operation | |
| 400 | InvalidParameter | The specified parameter is not valid. | |
| 400 | TaskConflict | The eip operate too frequent, TaskConflict. | Operations are too frequent and tasks conflict with each other. |
| 400 | InvalidBindingStatus | The eip binding status invalid. | |
| 400 | Forbidden.FinancialLocked | The ip business status is invalid. | The error message returned because the instance has overdue payments. |
| 400 | InvalidIpStatus.HasBeenUsedBySnatTable | The removed ip address has been used by snat table. | |
| 400 | InvalidIpStatus.HasBeenUsedByForwardEntry | The specified address has been used by forwardTable. | |
| 400 | Eni.Attached | The eni should be detached from ecs when associating with direct eip. | If the ENI is associated with an EIP in cut-through mode, you must disassociate the ENI from the ECS instance. |
| 400 | InvalidEIPStatus.BizDisabled | The EIP has been locked. | The error message returned because the EIP is locked. |
| 400 | InvalidStatus.EcsStatusNotSupport | The special instance status Pending is not support operate | The operation is not supported because the instance is suspended. |
| 400 | InvalidStatus.EniStatusNotSupport | %s | |
| 400 | InvalidStatus.SnatOrDnat | Operation failed because snat or dnat in unstable status. | The EIP failed to be disassociated because the SNAT or DNAT entry is in an unstable state. |
| 400 | DependencyViolation.SnatEntry | The specified eip is in ip pool. | |
| 400 | %s | %s | |
| 400 | InvalidStatus.NotAllow | Bind instance status invalid | The status of the associated instance is invalid. |
| 400 | Forbidden | The eip instance owener error | The EIP does not belong to your account. Check whether you have the permissions to perform the operation on the EIP. |
| 400 | InvalidLoadBalancerId.NotFound | LoadBalancerId does not exist. | The ID of the SLB instance does not exist. |
| 400 | OperationFailed.SystemBusy | Operation failed because system is busy. | The error message returned because the system is busy. Try again later. |
| 404 | InvalidAllocationId.NotFound | Specified allocation ID is not found | The specified EIP does not exist. Check whether the specified value is valid. |
| 404 | InvalidBindInstance.NotFound | The specified bind instance does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.