AttachExpressConnectRouterChildInstance_专线网关_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

在调用 AttachExpressConnectRouterChildInstance 接口加载子实例(VBR)至专线网关之前,请确保专线网关的状态为 Active

流控信息

请求速率为120/60(s)。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
expressconnectrouter:AttachExpressConnectRouterChildInstance
Create
ExpressConnectRouter
acs:expressconnectrouter::{#accountId}:expressconnectrouter/{#EcrId}

请求参数

字段名称字段详情
EcrIdstring

专线网关实例 ID。

示例值:ecr-a5xqrgbeidz1w8****
ChildInstanceIdstring

VBR 实例的 ID。

示例值:vbr-j6cwxhgg0s5nuephp****参考取值来源:
    DescribeExpressConnectRouterChildInstance
ChildInstanceTypestring

网络实例的类型,取值:VBR 边界路由器。

示例值:VBR参考取值来源:
    DescribeExpressConnectRouterChildInstance
ChildInstanceRegionIdstring

VBR 实例所在的地域。

示例值:cn-hangzhou参考取值来源:
    DescribeExpressConnectRouterChildInstance
ChildInstanceOwnerIdinteger<int64>

VBR 实例所属的阿里云账号 ID(主账号)。展开详情

注意 该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。
示例值:1905501448682345参考取值来源:
    DescribeExpressConnectRouterChildInstance
DryRunboolean

是否只预检此次请求。取值:展开详情

示例值:true
ClientTokenstring

客户端 Token,用于保证请求的幂等性。展开详情

示例值:02fb3da4-130e-11e9-8e44-00****
Descriptionstring

子实例的描述信息。长度为 0~128 个字符。

示例值:test

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:6FABF516-FED3-5697-BDA2-B18C5D9A****
Successboolean

是否调用成功。取值:展开详情

示例值:True
Codestring

判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。

示例值:200
Messagestring

操作返回信息。

示例值:OK
HttpStatusCodeinteger<int32>

HTTP 状态码。

示例值:200
DynamicCodestring

动态错误码。

示例值:IllegalParamFormat.EcrId
DynamicMessagestring

动态错误信息,用于替换返回参数 ErrMessage 错误信息中的%s展开详情

示例值:The param format of EcrId **** is illegal.
AccessDeniedDetailstring

访问被拒绝详细信息。

示例值:Authentication is failed for ****

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
IncorrectStatus.Ecr
Ecr Status does not allow current operation.诊断
400
IncorrectStatus.EcrAssociation
Ecr Association Status does not allow current operation.诊断
400
OperationDenied.ForceDeleting
The current instance is being deleted.诊断
400
OperationDenied.CrossAccountDisassociating
Unbind cross-account.诊断
400
OperationDenied.EcrAttachmentExisted
Ecr and TR have been linked.诊断
400
OperationDenied.VbrDoesNotSupportMpbgp
The VBR does not support Mpbgp configuration.诊断
400
UnsupportedRegion
Feature not supported in specified region.诊断
400
MissingParam.%s
The param of %s is missing.诊断
400
IllegalParamFormat.%s
The param format of %s is illegal.诊断
400
IllegalParam.%s
The param of %s is illegal.诊断
400
Conflict.Lock
There are other unfinished operations.诊断
400
Conflict.ASNOfVBR
ASN already used by other VBR.诊断
400
OperationDenied.VbrHasRouteEntryInMiddleStatus
The operation is not allowed because of VBR has route entry in middle status.诊断
400
OperationDenied.VbrHasBgpGroupInMiddleStatus
The operation is not allowed because of VBR has BGP group in middle status.诊断
400
OperationDenied.VbrAlreadyAttachedToCen
VBR has already attached to CEN.诊断
400
OperationDenied.VbrAlreadyAttachedToEcr
VBR has already attached to ECR.诊断
400
ResourceAlreadyExist.ChildInstanceId
The specified resource of ChildInstanceId already exists.诊断
404
ResourceNotFound.EcrId
EcrId not found.诊断
404
ResourceNotFound.AssociationId
EcrAssociationId not found.诊断

变更历史

变更时间变更内容概要操作
2024-11-01
变更错误码400
2024-10-17
新增请求参数Description
2024-06-28
变更错误码400
2024-06-18
变更错误码400

相关示例