UnassociateHaVip
目前該API介面已標記為棄用,推薦使用替代API:Vpc(2016-04-28) - UnassociateHaVip。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
vpc:UnassociateHaVip |
delete |
*Instance
*HaVip
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ClientToken |
string |
否 |
||
| RegionId |
string |
是 |
||
| HaVipId |
string |
是 |
||
| InstanceId |
string |
是 |
||
| Force |
string |
否 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
樣本
正常返回樣本
JSON格式
{
"RequestId": ""
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | IncorrectHaVipStatus | HaVip can be operated by this action only when it's status is InUse. | |
| 400 | IncorrectInstanceStatus | ECS instance can be operated by this action only when it's status is Running or Stopped. | |
| 400 | ResourceNotAssociated | The HaVip and ECS instance are not associated. | HaVip 與 ECS 執行個體不關聯。 |
| 400 | Forbidden.UnassociateMaster | Unassociating a master instance is not allowed unless the parameter Force is True. | |
| 400 | OperationFailed.DistibuteLock | Distibute lock fail. | |
| 400 | Forbidden.HaVip | No permissions to perform operations on HAVIPs. Please apply for privilege--vpc_privilege_allow_buy_havip_instance. | 操作HaVip沒有許可權,請到配額中心申請許可權。 |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | 地區資訊錯誤 |
| 404 | InvalidHaVipId.NotFound | The specified HaVip does not exist in the specified region. | |
| 404 | InvalidInstanceId.NotFound | The specified Instance does not exist in the specified region. | 指定的執行個體不存在,請您檢查執行個體 ID 是否正確。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。