加载子实例(VBR)至ECR。
接口说明
在调用 AttachExpressConnectRouterChildInstance 接口加载子实例(VBR)至专线网关之前,请确保专线网关的状态为 Active。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
expressconnectrouter:AttachExpressConnectRouterChildInstance |
create |
*ExpressConnectRouter
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
EcrId |
string |
是 |
专线网关实例 ID。 |
ecr-a5xqrgbeidz1w8**** |
ChildInstanceId |
string |
是 |
VBR 实例的 ID。 |
vbr-j6cwxhgg0s5nuephp**** |
ChildInstanceType |
string |
是 |
网络实例的类型,取值:VBR 边界路由器。 |
VBR |
ChildInstanceRegionId |
string |
是 |
VBR 实例所在的地域。 |
cn-hangzhou |
ChildInstanceOwnerId |
integer |
否 |
VBR 实例所属的阿里云账号 ID(主账号)。 说明
如果您要加载跨账号的网络实例,本参数必填。 |
1905501448682345 |
DryRun |
boolean |
否 |
是否只预检此次请求。取值:
|
true |
ClientToken |
string |
否 |
客户端 Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。 说明
若您未指定,则系统自动使用 API 请求的 RequestId 作为 ClientToken 标识。每次 API 请求的 RequestId 不一样。 |
02fb3da4-130e-11e9-8e44-00**** |
Description |
string |
否 |
子实例的描述信息。长度为 0~128 个字符。 |
test |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
RpcResponse |
||
RequestId |
string |
请求 ID。 |
6FABF516-FED3-5697-BDA2-B18C5D9A**** |
Success |
boolean |
是否调用成功。取值:
|
True |
Code |
string |
判断调用是否成功。返回值为 200 表示加载成功,返回其他值表示加载失败,失败原因参见错误码。 |
200 |
Message |
string |
操作返回信息。 |
OK |
HttpStatusCode |
integer |
HTTP 状态码。 |
200 |
DynamicCode |
string |
动态错误码。 |
IllegalParamFormat.EcrId |
DynamicMessage |
string |
动态错误信息,用于替换返回参数 ErrMessage 错误信息中的 说明
如果 ErrMessage 返回The Value of Input Parameter %s is not valid,且 DynamicMessage 返回 DtsJobId,则代表所传入的请求参数 DtsJobId 不合法。 |
The param format of EcrId **** is illegal. |
AccessDeniedDetail |
string |
访问被拒绝详细信息。 |
Authentication is failed for **** |
示例
正常返回示例
JSON
格式
{
"RequestId": "6FABF516-FED3-5697-BDA2-B18C5D9A****",
"Success": true,
"Code": "200",
"Message": "OK",
"HttpStatusCode": 200,
"DynamicCode": "IllegalParamFormat.EcrId",
"DynamicMessage": "The param format of EcrId **** is illegal.",
"AccessDeniedDetail": "Authentication is failed for ****"
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
400 | IncorrectStatus.Ecr | Ecr Status does not allow current operation. | 专线网关实例状态不允许当前操作。目前有其它操作正在执行或者专线网关实例正在被删除,请求稍后再试 |
400 | IncorrectStatus.EcrAssociation | Ecr Association Status does not allow current operation. | ECR Association实例不允许当前操作。请在进行中的操作完成后,重试 |
400 | OperationDenied.ForceDeleting | The current instance is being deleted. | 您当前操作被拒绝,专线网关实例正在被强制删除,请稍后再试 |
400 | OperationDenied.CrossAccountDisassociating | Unbind cross-account. | 当前操作被拒绝,需在跨账号页面解除绑定操作后再执行此操作 |
400 | OperationDenied.EcrAttachmentExisted | Ecr and TR have been linked. | 当前操作被拒绝,专线网关实例与TR已建立链接,请解除后再执行此操作。 |
400 | OperationDenied.VbrDoesNotSupportMpbgp | The VBR does not support Mpbgp configuration. | 操作被拒绝,VBR暂不支持Mpbgp, |
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. | 当前VBR BgpGroup localAsn与ECR asn不一致,请调整一致后重新绑定。 |
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. | 当前操作无法正常执行,边界路由器中存在BGP组处于配置生效中,请等待生效后重试。 |
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. | 指定的资源已经关联到专线网关 ECR, 请核对后重试。 |
400 | UnsupportedFeature.JumboFrame | The region where the sub-instance is located does not support the jumbo frame feature and cannot be attached to the express connect router. | |
404 | ResourceNotFound.EcrId | EcrId not found. | ECR实例不存在 |
404 | ResourceNotFound.AssociationId | EcrAssociationId not found. | ECR Association实例不存在 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。