技術(shù)員聯(lián)盟提供win764位系統(tǒng)下載,win10,win7,xp,裝機純凈版,64位旗艦版,綠色軟件,免費軟件下載基地!

當(dāng)前位置:主頁 > 教程 > 服務(wù)器類 >

阿里云如何使用刪除交換機接口

來源:技術(shù)員聯(lián)盟┆發(fā)布時間:2017-11-29 06:29┆點擊:

  刪除交換機

  描述

  刪除指定的VSwitch

  只允許刪除Available狀態(tài)下的VSwitch

  刪除VSwitch之前,需要先釋放或移走VSwitch下的所有產(chǎn)品實例,比如ECS實例

  指定RouteTable所在的VPC正在創(chuàng)建/刪除VSwitch或正在創(chuàng)建/刪除RouteEntry操作時,無法進行刪除VSwitch操作

  刪除VSwitch之前,需要先釋放該VSwitch下所有的HaVip實例

  請求參數(shù)

名稱 類型 是否必須 描述
Action   String     系統(tǒng)規(guī)定參數(shù),取值:DeleteVSwitch  
VSwitchId   String     需要刪除的VSwitch的Id  

  返回參數(shù)

  全是公共返回參數(shù),詳見公共返回參數(shù)

  錯誤碼

錯誤代碼 描述 Http 狀態(tài)碼 語義
InvalidRegionId.NotFound   The RegionId provided does not exist in our records.   404   指定的 RegionId 不存在  
IncorrectVSwitchStatus   The current virtual switch status does not support this operation.   400   指定的VSwitch處于pending狀態(tài),無法刪除  
DependencyViolation   Specified object has dependent resources.   400   指定的VSwitch還有資源未釋放,無法刪除  
DependencyViolation.HaVip   VSwitch cannot be deleted when there are some HaVip dependent with it.   400   指定的VSwitch還有HaVip資源未釋放,無法刪除  
IncorretRouteEntryStatus   Some route entry status blocked this operation.   400   部分自定義路由條目處于pending狀態(tài),無法刪除  

  示例

  請求示例

  https://ecs.aliyuncs.com/?Action=DeleteVSwitch

  &VSwitchId=vsw-25naue4gz

  &<公共請求參數(shù)>

  返回示例

23.png

  JSON格式

  {

  "RequestId": "AF083E3D-7E29-4B77-A937-1F129802D5F3"