調用WithdrawPublishedRouteEntries介面撤回Virtual Private Cloud(Virtual Private Cloud)或邊界路由器VBR(Virtual border router)執行個體發行至雲企業網的路由條目。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
cen:WithdrawPublishedRouteEntries |
update |
*CenInstance
*VPC
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| CenId |
string |
是 |
雲企業網執行個體 ID。 |
cen-sxjfjkjfkjfiein**** |
| ChildInstanceId |
string |
是 |
網路執行個體 ID。 |
vpc-rj9gt5nll27onu7**** |
| ChildInstanceType |
string |
是 |
網路執行個體類型。取值:
|
VPC |
| ChildInstanceRegionId |
string |
是 |
網路執行個體所屬地區 ID。 您可以通過調用 DescribeChildInstanceRegions 介面擷取地區 ID。 |
cn-hangzhou |
| ChildInstanceRouteTableId |
string |
是 |
網路執行個體的路由表 ID。 |
vtb-bp174d1gje79u1g4t**** |
| DestinationCidrBlock |
string |
是 |
要撤回的路由條目的目標網段。 |
172.16.1.0/24 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID。 |
FBDB18D8-E91E-4978-8D6C-6E2E3EE10133 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "FBDB18D8-E91E-4978-8D6C-6E2E3EE10133"
}
異常返回樣本
JSON格式
{
"RequestId": "FBDB18D8-E91E-4978-8D6C-6E2E3EE10133"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InvalidOperation.UnsupportnexthopType | The specified next hop type is not supported by this operation. | 操作不支援該nexthopType。 |
| 400 | InvalidOperation.NotFoundRoute | You cannot query the system routing information of the specified instance. | |
| 400 | ParameterIllegal.CenInstanceId | The parameter of CEN instance id is illegal. | |
| 400 | ParameterIllegal.ChildInstanceRegionId | The parameter of child instance region id is illegal. | |
| 400 | ParameterIllegal.ChildInstanceType | The parameter of child instance type is illegal. | |
| 400 | InvalidParameter | Invalid parameter. | 參數不合法。 |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | 帳號無許可權操作。 |
| 404 | Instance.NotExist | The instance is not exist. | 指定執行個體不存在。 |
| 409 | InvalidOperation.ChildInstanceStatus | The child-instance is not in a valid state for the operation. | |
| 409 | InvalidOperation.CenInstanceStatus | The CEN instance is not in a valid state for the operation. | cen目前狀態不支援該操作,請稍後重試。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。