赛尔校园公共服务平台 Logo
平台使用
阿里云
百度云
移动云
智算服务
教育生态
登录 →
赛尔校园公共服务平台 Logo
平台使用 阿里云 百度云 移动云 智算服务 教育生态
登录
  1. 首页
  2. 阿里云
  3. 云企业网
  4. 开发参考
  5. API参考
  6. API目录
  7. 网络实例连接
  8. DetachCenChildInstance - 从云企业网实例中解绑指定的网络实例

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

  • 网络实例连接
  • 发布于 2025-04-22
  • 0 次阅读
文档编辑
文档编辑

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

接口说明

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

调试

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

调试

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用前面加 * 表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
cen:DetachCenChildInstanceupdate
*CenInstance
acs:cen:*:{#accountId}:ceninstance/{#ceninstanceId}
*virtualborderrouter
acs:vpc:*:{#accountId}:virtualborderrouter/{#virtualborderrouterId}
*VPC
acs:vpc:*:{#accountId}:vpc/{#vpcId}
    无
无

请求参数

名称类型必填描述示例值
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。
400OperationFailed.VbrWithAllowPrefixesOperation failed because allow prefixes referenced by vbr exists.VBR上当前配置了允许的前缀路由从而导致操作失败
400InvalidOperation.CustomRegionDomainRouteEntryExistOperation is invalid because custom region-domain route entry exist.操作失败,请删除自定义云服务路由条目后重试。
400InvalidParameterInvalid parameter.参数不合法。
400UnauthorizedThe AccessKeyId is unauthorized.账号无权限操作。
404Bid.NotFoundNot found Bid by specified AliUid.bid不存在。

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

变更历史

变更时间变更内容概要操作
2025-03-21OpenAPI 错误码发生变更查看变更详情
2025-02-28OpenAPI 错误码发生变更查看变更详情
2024-11-21OpenAPI 描述信息更新、OpenAPI 错误码发生变更查看变更详情
2024-07-10OpenAPI 错误码发生变更查看变更详情
2023-08-04OpenAPI 错误码发生变更查看变更详情
2023-03-21OpenAPI 错误码发生变更查看变更详情
2022-12-22OpenAPI 错误码发生变更查看变更详情
相关文章

AttachCenChildInstance - 将网络实例加载到云企业网实例中 2025-04-22 17:15

调用AttachCenChildInstance接口将网络实例加载到云企业网实例中。

DetachCenChildInstance - 从云企业网实例中解绑指定的网络实例 2025-04-22 17:14

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

DescribeCenAttachedChildInstanceAttribute - 查看网络实例(VPC、VBR、CCN)详细信息 2025-04-22 17:14

调用DescribeCenAttachedChildInstanceAttribute接口查看加载到CEN中的网络实例(VPC、VBR、CCN)的网络实例的加载状态、网络实例的类型等详细信息。

DescribeCenAttachedChildInstances - 查询云企业网实例下已加载的网络实例信息 2025-04-22 17:14

调用DescribeCenAttachedChildInstances接口查询云企业网实例下已加载的网络实例信息。

DescribeChildInstanceRegions - 查询云企业网支持加载网络实例的地域信息 2025-04-22 17:14

调用DescribeChildInstanceRegions接口查询云企业网支持加载网络实例的地域信息。

DescribeGrantRulesToCen - 查看网络实例对云企业网实例的授权关系 2025-04-22 17:14

调用DescribeGrantRulesToCen接口查询云企业网实例已获得授权的跨账号的网络实例的信息。

目录
Copyright © 2025 your company All Rights Reserved. Powered by 赛尔网络.
京ICP备14022346号-15
gongan beian 京公网安备11010802041014号