說明: 目前 HaVip 只支持綁定到 ECS 實(shí)例上 HaVip 綁定成功后立刻生效,才能執(zhí)行該操作 綁定后的 ECS 不能刪除,取值:AssociateHaVip RegionId String 是 HaVip 實(shí)例所在的地域 HaVipId String 是 要綁定的 HaVip 的 ID InstanceId String 是 要綁定的 ECS 實(shí)例 ID 返回參數(shù) 是公共返回參數(shù),才能夠執(zhí)行綁定操作 只有狀態(tài)為 Available 或者 InUse 狀態(tài)下的 HaVip 實(shí)例, CountLimitExceeded.HaVipOnECSInstance The amount of Instance associated with the specified HaVip reach its limits. 400 HaVip 上綁定的 ECS 實(shí)例個(gè)數(shù)已經(jīng)達(dá)到上限 CountLimitExceed.HaVipOnInstance The amount of HaVip associated with the specified Instance reach its limits. 400 ECS 實(shí)例上綁定的 HaVip 個(gè)數(shù)已經(jīng)達(dá)到上限 NotBelongToSameVSwitch The specified HaVip and ECS Instance do not belong to same VSwitch. 400 指定的 HaVip 與 ECS 實(shí)例不屬于同一個(gè) Vswitch ,但是需要將 HaVip 的 IP 地址配置到云服務(wù)器實(shí)例的網(wǎng)卡上 HaVip 目前只能被綁定到相同 VPC 相同 VSwitch 的專有網(wǎng)絡(luò)類型云服務(wù)器實(shí)例上 每個(gè)云服務(wù)器實(shí)例只能同時(shí)綁定 5 個(gè) HaVip 一個(gè) HaVip 同一時(shí)間最多只能綁定 2 個(gè)云服務(wù)器實(shí)例 只有狀態(tài)為運(yùn)行中或已停止的 ECS 實(shí)例, IncorrectInstanceStatus ECS instance can be operated by this action only when its status is Running or Stopped. 400 ECS Instance 狀態(tài)不符合要求,系統(tǒng)規(guī)定參數(shù),詳見公共返回參數(shù) 錯(cuò)誤碼 錯(cuò)誤代碼描述Http 狀態(tài)碼語義 InvalidRegionId.NotFound The RegionId provided does not exist in our records. 404 指定的 RegionId 不存在 MissingParameter The input parameter $ParammeterName that is mandatory for processing this request is not supplied. 400 缺少某個(gè)必選參數(shù) InvalidHaVipId.NotFound The specified HaVip does not exist in the specified region. 404 指定的 HaVipId 不存在 InvalidInstanceId.NotFound The specified Instance does not exist in the specified region. 404 指定的 ECS Instance 不存在 IncorrectHaVipStatus HHaVip can be operated by this action only when its status is Available or InUse. 400 HaVip 狀態(tài)不符合要求,僅在 Available 狀態(tài)下可以執(zhí)行該操作,僅在 Available 或者 InUse 狀態(tài)下可以執(zhí)行該操作。
不需要重啟云服務(wù)器實(shí)例,。
需要解綁后才能刪除該 ECS 實(shí)例 請(qǐng)求參數(shù) 名稱類型是否必須描述 Action String 是 操作接口名, 綁定 HaVip 與 ECS 實(shí)例 描述 將 HaVip 實(shí)例綁定到相同 VPC 相同 Vswitch 的 ECS 實(shí)例上。