撤回VPC發行路由。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
vpc:WithdrawVpcPublishedRouteEntries |
update |
*RouteTable
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
執行個體所在的地區 ID。您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
cn-hangzhou |
| RegionId |
string |
否 |
執行個體所在的地區 ID。您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
cn-hangzhou |
| RouteEntries |
array<object> |
否 |
需要撤回的路由條目資訊列表,最多支援傳入 50 條路由。 |
|
|
object |
否 |
需要撤回的路由條目資訊列表。 |
||
| RouteTableId |
string |
是 |
路由條目的路由表 ID。 |
vtb-bp145q7glnuzd**** |
| DestinationCidrBlock |
string |
是 |
路由條目的目標網段。 |
10.0.0.0/24 |
| TargetType |
string |
是 |
路由發布目標的類型 |
ECR |
| TargetInstanceId |
string |
是 |
路由發布目標執行個體 ID |
ecr-dhw2xsds5**** |
| DryRun |
boolean |
否 |
是否只預檢此次請求。取值:
|
false |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
請求 ID。 |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | IncorrectStatus.Vpc | The status of %s [%s] is incorrect. | 當前執行個體狀態非穩態 |
| 400 | ResourceNotFound.RouteEntry | The specified resource routeEntry is not found. | 指定的路由條目不存在 |
| 400 | IncorrectStatus.RouteEntry | The status of %s [%s] is incorrect. | 路由條目處於非穩態 |
| 400 | IncorrectStatus.RouteEntryPublishStatus | Route entry publish status is incorrect. | 路由條目的路由發布狀態不正確。 |
| 400 | Forbidden.OperateCustomRouteTable | The operation is forbidden because publish route entry in custom route table. | 操作被禁止,因為不允許發布自訂路由表中的路由條目。 |
| 400 | ResourceNotAssociated.TargetInstance | The target instance is not associated with vpc. | |
| 400 | OperationDenied.UnsupportedTargetType | The operation is not allowed because the target type is not supported. | 操作被拒絕,因為路由發布目標的類型當前不支援。 |
| 400 | IncorrectStatus.RouteTable | The route table is in an invalid state. | 指定的路由表狀態不對 |
| 400 | OperationUnsupported.PublishSystemRouteEntry | Publishing system route entry is unsupported. | 發布系統路由操作不支援。 |
| 400 | OperationUnsupported.UnsupportedNextHop | Unsupported nexthop type for route entry publish operation. | 路由條目的下一跳類型不支援發布。 |
| 400 | OperationUnsupported.PublishPrefixListRouteEntry | Publishing prefix list route entry is unsupported. | 發布路由首碼列表路由操作不支援。 |
| 400 | MissingParam.RouteEntries | The parameter RouteEntries is missing. | 參數RouteEntries缺失 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。