加载子实例(VBR)至ECR。
接口说明
在调用 AttachExpressConnectRouterChildInstance 接口加载子实例(VBR)至专线网关之前,请确保专线网关的状态为 Active。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
EcrId | string | 是 | 专线网关实例 ID。 | ecr-a5xqrgbeidz1w8**** |
ChildInstanceId | string | 是 | VBR 实例的 ID。 | vbr-j6cwxhgg0s5nuephp**** |
ChildInstanceType | string | 是 | 网络实例的类型,取值:VBR 边界路由器。 | VBR |
ChildInstanceRegionId | string | 是 | VBR 实例所在的地域。 | cn-hangzhou |
ChildInstanceOwnerId | long | 否 | VBR 实例所属的阿里云账号 ID(主账号)。 说明
如果您要加载跨账号的网络实例,本参数必填。
| 190550144868**** |
DryRun | boolean | 否 | 是否只预检此次请求。取值:
| true |
ClientToken | string | 否 | 客户端 Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。 说明
若您未指定,则系统自动使用 API 请求的 RequestId 作为 ClientToken 标识。每次 API 请求的 RequestId 不一样。
| 02fb3da4-130e-11e9-8e44-00**** |
返回参数
示例
正常返回示例
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. | ECR实例不允许当前操作。请在进行中的操作完成后,重试 |
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 | OperationFailed.RejectedByCenYaochi | Cen Yaochi has rejected your current request. | 操作失败,Cen瑶池拒绝了您当前请求 |
400 | OperationFailed.RejectedByEcYaochi | The request was rejected by Ec Yaochi. | 当前操作失败,Ec瑶池拒绝了您的请求 |
400 | OperationFailed.RejectedByVpcYaochi | Vpc Yaochi has rejected your current request. | 操作失败,Vpc瑶池拒绝了您当前请求 |
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. | 指定的ASN被其它VBR占用,请使用未被占用的ASN |
404 | ResourceNotFound.EcrId | EcrId not found. | ECR实例不存在 |
404 | ResourceNotFound.AssociationId | EcrAssociationId not found. | ECR Association实例不存在 |
访问错误中心查看更多错误码。