DeleteIpv6Gateway - 刪除IPv6網關
調用DeleteIpv6Gateway介面刪除IPv6網關。
介面說明
刪除 IPv6 網關前,請先刪除僅主動出規則。更多資訊,請參見 DeleteIpv6EgressOnlyRule 。
- DeleteIpv6Gateway 介面屬於非同步介面,即系統返回一個請求 ID,但該 IPv6 網關尚未刪除成功,系統背景刪除任務仍在進行。您可以調用 DescribeIpv6GatewayAttribute 查詢 IPv6 網關的刪除狀態:
當 IPv6 網關處於 Deleting 狀態時,表示 IPv6 網關正在刪除中。
當查詢不到指定的 IPv6 網關時,表示 IPv6 網關刪除成功。
DeleteIpv6Gateway 介面不支援並發刪除同一個 IPv6 網關。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
IPv6 網關所屬的地區 ID。您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
cn-huhehaote |
| Ipv6GatewayId |
string |
是 |
要刪除的 IPv6 網關執行個體 ID。 |
ipv6gw-hp3y0l3ln89j8**** |
| RegionId |
string |
是 |
IPv6 網關所屬的地區 ID。您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
cn-huhehaote |
| DryRun |
boolean |
否 |
是否只預檢此次請求,取值:
|
false |
| ClientToken |
string |
否 |
用戶端 Token,用於保證請求的等冪性。 從您的用戶端產生一個參數值,確保不同請求間該參數值唯一。ClientToken 只支援 ASCII 字元。 說明
若您未指定,則系統自動使用 API 請求的 RequestId 作為 ClientToken 標識。每次 API 請求的 RequestId 可能不一樣。 |
123e4567-e89b-12d3-a456-426655440000 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID。 |
E9A8AABE-A84B-4AF2-A68A-8E2EA190E7AE |
樣本
正常返回樣本
JSON格式
{
"RequestId": "E9A8AABE-A84B-4AF2-A68A-8E2EA190E7AE"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | ResourceNotFound.RouteTable | The specified resource gatewayRouteTable is not found. | 網關路由表不存在 |
| 400 | DependencyViolation.GatewayRouteTableRelation | The specified resource of %s depends on %s, so the operation cannot be completed. | 您指定的資源被其他的資源依賴,不允許進行當前操作 |
| 400 | IncorrectStatus.Ipv6Gateway | The status of %s [%s] is incorrect. | 您指定的Ipv6Gateway處於非穩態,請稍後重試 |
| 400 | DependencyViolation.EgressRules | The specified resource of %s depends on %s, so the operation cannot be completed. | 您指定的資源被其他的資源依賴,不允許進行當前操作 |
| 400 | DependencyViolation.Ipv6InternetBandwidth | The specified resource of %s depends on %s, so the operation cannot be completed. | 您指定的資源被其他的資源依賴,不允許進行當前操作 |
| 400 | OperationFailed.RouteEntryUnstable | The operation is failed because of route entry related to it is unstable, please try later. | 由於執行個體關聯的路由條目處於非穩態,請稍後重試 |
| 400 | Forbidden.OperateShareResource | You cannot operate shared resources. | 來自共用的資源不允許操作。 |
| 400 | DependencyViolation.SharedIpv6InternetBandwidth | The IPv6 gateway [%s] has IPv6 address [%s] that enabled internet from share user [%s], please delete it and try again later. | 此IPv6網關[%s]下的地址[%s]開通了公網頻寬,來自於共用使用者[%s],請刪除後重試。 |
| 400 | IncorrectStatus.Vpc | Vpc incorrect status. | VPC未處於穩態. |
| 400 | InvalidRegionId.NotFound | The specified RegionId does not exist in our records. | 指定的RegionId不存在。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。