調用UnAssociateEnsEipAddress將Elastic IP Address(EIP)從綁定的雲產品上解除綁定。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ens:UnAssociateEnsEipAddress |
update |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| AllocationId |
string |
是 |
邊緣彈性公網 IP 的執行個體 ID。 |
eip-5sqa431nx3vee8heqxfxp**** |
| Force |
boolean |
否 |
當 EIP 綁定了 NAT Gateway,且 NAT Gateway添加了 DNAT 或 SNAT 條目時,是否強制解除綁定 EIP,取值:
|
false |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
請求 ID。 |
4A431388-2D4B-46F4-A96B-D4E6BD0688C1 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "4A431388-2D4B-46F4-A96B-D4E6BD0688C1"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InstanceNotFound | The input parameter instancdId that is not found. | |
| 400 | Invalid%s | The specified parameter %s is invalid. | |
| 400 | Missing%s | You must specify the parameter %s. | |
| 400 | IncorrectEipStatus | The current status of the resource does not support this operation. | Eip狀態不正確,請檢查Eip狀態。 |
| 400 | EipNotFound | The input parameter allocationId that is not found. | |
| 400 | IncorrectEipIpStatus | The ip status of EIP is invalid. | |
| 400 | InvalidUnAssociation.UnAssociateStandbyEipFist | Unassociate standby eip first. | |
| 400 | ens.interface.error | Failed to call API. | 介面調用發生異常。 |
| 400 | InvalidIpStatus.HasBeenUsedByForwardEntry | The eip has been used by dnat. | 有dnat在使用該Eip。 |
| 400 | InvalidIpStatus.HasBeenUsedBySnatTable | The eip has been used by snat. | 有snat在使用該Eip。 |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。