调用WithdrawPublishedRouteEntries接口撤回专有网络VPC(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当前状态不支持该操作,请稍后重试。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。