調用DissociateRouteTableFromGateway解除綁定網關路由表和IPv4網關、IPv6網關執行個體。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
要解除綁定的網關路由表和 IPv4 網關執行個體的地區 ID。 您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
ap-southeast-6 |
| RouteTableId |
string |
是 |
要解除綁定的網關路由表 ID。 |
vtb-5ts0ohchwkp3dydt2**** |
| ClientToken |
string |
否 |
用戶端 Token,用於保證請求的等冪性。 由用戶端產生該參數值,要保證在不同請求間唯一,最大值不超過 64 個 ASCII 字元。 說明
若您未指定,則系統自動使用 API 請求的 RequestId 作為 ClientToken 標識。每次 API 請求的 RequestId 可能不一樣。 |
123e4567-e89b-12d3-a456-426655440000 |
| DryRun |
boolean |
否 |
是否只預檢此次請求。取值:
|
false |
| GatewayId |
string |
是 |
要解除綁定的 IPv4 網關的執行個體 ID。 |
ipv4gw-5tsnc6s4ogsedtp3k**** |
| GatewayType |
string |
否 |
要解除綁定的網關執行個體的類型。 |
Ipv4Gateway |
| RegionId |
string |
是 |
要解除綁定的網關路由表和 IPv4 網關執行個體的地區 ID。 您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
ap-southeast-6 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回資訊。 |
||
| RequestId |
string |
請求 ID。 |
C5644C9A-7480-13B6-AECB-30FF142E3724 |
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | OperationFailed.NotExistAssociateRelation | The operation is not failed because of not exist this associate relation. | 路由表和網關解除綁定操作失敗,因為不存在綁定關係 |
| 400 | ResourceNotFound.Ipv4Gateway | The specified resource ipv4Gateway is not found. | 未找到指定的Ipv4網關,無法刪除 |
| 400 | IncorrectStatus.Ipv4Gateway | The status of %s [%s] is incorrect. | 指定的Ipv4Gateway處於非穩態,請稍後重試 |
| 400 | ResourceNotFound.GatewayRouteTable | The specified resource GatewayRouteTable is not found. | 無法找到指定的網關路由表 |
| 400 | IncorrectStatus.GatewayRouteTable | The status of %s [%s] is incorrect. | 指定的網關路由表執行個體處於非穩態,請稍後重試 |
| 400 | ResourceNotFound.RouteTable | The specified resource gatewayRouteTable is not found. | 網關路由表不存在 |
| 400 | OperationDenied.RouteTableTypeIncorrect | The operation is not allowed because of %s. | 您指定的網關路由表執行個體不是邊界網關路由表,請檢查您的輸入是否正確 |
| 400 | IncorrectStatus.Ipv6Gateway | The status of %s [%s] is incorrect. | 您指定的Ipv6Gateway處於非穩態,請稍後重試 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。