全部产品
Search
文档中心

云企业网:DetachCenChildInstance - 从云企业网实例中解绑指定的网络实例

更新时间:Jul 10, 2024

调用DetachCenChildInstance接口卸载云企业网实例中的网络实例。

接口说明

DetachCenChildInstance 接口仅支持解绑基础版转发路由器下指定的网络实例。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
CenIdstring

云企业网实例的 ID。

cen-7qthudw0ll6jmx****
ChildInstanceIdstring

待卸载的网络实例 ID。

vpc-bp18sth14qii3pnvx****
ChildInstanceTypestring

网络实例的类型。取值:

  • VPC:专有网络实例。

  • VBR:边界路由器实例。

  • CCN:云连接网实例。

VPC
ChildInstanceRegionIdstring

网络实例所属地域 ID。

您可以通过调用 DescribeRegions 接口获取地域 ID。

cn-hangzhou
ChildInstanceOwnerIdlong

网络实例所属阿里云账号(主账号)ID。

1699000000000000
CenOwnerIdlong

云企业网实例所属阿里云账号(主账号)ID。

1688000000000000

返回参数

名称类型描述示例值
object
RequestIdstring

请求 ID。

0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50

示例

正常返回示例

JSON格式

{
  "RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}

错误码

HTTP status code错误码错误信息描述
400OperationFailed.AttachmentReferencedVpcRouteEntryExistedOperation is failed because there is at least one route entry which next hop is the specified attachment.存在路由指向attachment,无法支持该操作。
400Forbidden.OptimizationCCNExistedOperation Forbidden. CCN with optimization is on, please turn it off firstly.-
400Forbidden.PrivatezoneRouteExistedOperation Forbidden. There is a Privatezone Route associated with the instance, please dessociate it firstly.Privatezone Route存在,请先删除相关配置后重试。
400Forbidden.TypeInvalidThe specified ChildInstanceType or TransitRouterType is not supported by this operation.指定的ChildInstanceType或TransitRouterType不支持该操作。
400IncorrectStatus.VpcThe resource is not in a valid state for the operation.当前VPC的状态不支持该操作,请稍后重试。
400OperationFailed.VbrAttachedVbrHa The operation is failed because of VbrAttachedVbrHa.-
400OperationFailed.RIInstanceExistOperation is failed because RI exists.RI存在,无法操作。
400IncorrectStatus.VpcRouteTableThe VPC route table is not in a desired state.该操作相关的VPC路由表不处于稳态,无法操作,请稍后重试。
400OperationFailed.CenReferencedVpcRouteEntryExistedOperation is failed because there is at least one route entry which next hop is the specified cen.存在路由指向CEN,无法支持该操作。
400InvalidOperation.BondVbrAssociatedIllegal operation due to associated BondVBR.操作非法,因为存在关联的BondVBR。
400InvalidParameterInvalid parameter.参数不合法。
400UnauthorizedThe AccessKeyId is unauthorized.账号无权限操作。
404Bid.NotFoundNot found Bid by specified AliUid.bid不存在。

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2024-07-10OpenAPI 错误码发生变更查看变更详情
2023-08-04OpenAPI 错误码发生变更查看变更详情
2023-03-21OpenAPI 错误码发生变更查看变更详情
2022-12-22OpenAPI 错误码发生变更查看变更详情