调用DetachCenChildInstance接口卸载云企业网实例中的网络实例。
接口说明
DetachCenChildInstance 接口仅支持解绑基础版转发路由器下指定的网络实例。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
cen:DetachCenChildInstance |
update |
*CenInstance
*virtualborderrouter
*VPC
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
CenId |
string |
是 |
云企业网实例的 ID。 |
cen-7qthudw0ll6jmx**** |
ChildInstanceId |
string |
是 |
待卸载的网络实例 ID。 |
vpc-bp18sth14qii3pnvx**** |
ChildInstanceType |
string |
是 |
网络实例的类型。取值:
|
VPC |
ChildInstanceRegionId |
string |
是 |
网络实例所属地域 ID。 您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-hangzhou |
ChildInstanceOwnerId |
integer |
否 |
网络实例所属阿里云账号(主账号)ID。 |
1699000000000000 |
CenOwnerId |
integer |
否 |
云企业网实例所属阿里云账号(主账号)ID。 |
1688000000000000 |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
|||
RequestId |
string |
请求 ID。 |
0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50 |
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
400 | OperationFailed.AttachmentReferencedVpcRouteEntryExisted | Operation is failed because there is at least one route entry which next hop is the specified attachment. | 存在路由指向attachment,无法支持该操作。 |
400 | Forbidden.OptimizationCCNExisted | Operation Forbidden. CCN with optimization is on, please turn it off firstly. | |
400 | Forbidden.PrivatezoneRouteExisted | Operation Forbidden. There is a Privatezone Route associated with the instance, please dessociate it firstly. | Privatezone Route存在,请先删除相关配置后重试。 |
400 | Forbidden.TypeInvalid | The specified ChildInstanceType or TransitRouterType is not supported by this operation. | 指定的ChildInstanceType或TransitRouterType不支持该操作。 |
400 | IncorrectStatus.Vpc | The resource is not in a valid state for the operation. | 当前VPC的状态不支持该操作,请稍后重试。 |
400 | OperationFailed.VbrAttachedVbrHa | The operation is failed because of VbrAttachedVbrHa. | |
400 | OperationFailed.RIInstanceExist | Operation is failed because RI exists. | RI存在,无法操作。 |
400 | IncorrectStatus.VpcRouteTable | The VPC route table is not in a desired state. | 该操作相关的VPC路由表不处于稳态,无法操作,请稍后重试。 |
400 | OperationFailed.CenReferencedVpcRouteEntryExisted | Operation is failed because there is at least one route entry which next hop is the specified cen. | 存在路由指向CEN,无法支持该操作。 |
400 | InvalidOperation.BondVbrAssociated | Illegal operation due to associated BondVBR. | 操作非法,因为存在关联的BondVBR。 |
400 | OperationFailed.VbrWithAllowPrefixes | Operation failed because allow prefixes referenced by vbr exists. | VBR上当前配置了允许的前缀路由从而导致操作失败 |
400 | InvalidOperation.CustomRegionDomainRouteEntryExist | Operation is invalid because custom region-domain route entry exist. | 操作失败,请删除自定义云服务路由条目后重试。 |
400 | InvalidParameter | Invalid parameter. | 参数不合法。 |
400 | Unauthorized | The AccessKeyId is unauthorized. | 账号无权限操作。 |
400 | OperationNotPermitted.AttachmentManagedByCloudService | The specified Attachment managed by cloud service can only be deleted through cloud service. | |
404 | Bid.NotFound | Not found Bid by specified AliUid. | bid不存在。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。