ModifyExpressConnectRouterChildInstance - 修改专线网关关联子实例属性

修改专线网关(ExpressConnectRouter)关联子实例(VBR)的属性。

调试

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

调试

授权信息

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

  • 操作:是指具体的权限点。

  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。

  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:

    • 对于必选的资源类型,用前面加 * 表示。

    • 对于不支持资源级授权的操作,用全部资源表示。

  • 条件关键字:是指云产品自身定义的条件关键字。

  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。

操作

访问级别

资源类型

条件关键字

关联操作

expressconnectrouter:ModifyExpressConnectRouterChildInstance

update

*ExpressConnectRouter

acs:expressconnectrouter::{#accountId}:expressconnectrouter/{#EcrId}

请求参数

名称

类型

必填

描述

示例值

EcrId

string

专线网关实例 ID。

ecr-gny3gqp41n7vrrn5iz

ChildInstanceId

string

VBR 实例 ID。

vbr-t4n6xu2d5q0iaad1yl4le

ChildInstanceType

string

网络实例的类型。取值:

  • VBR:边界路由器实例。

VBR

Description

string

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

test

DryRun

boolean

是否只预检此次请求。取值:

  • true:发送检查请求,不会修改服务资源。

  • false(默认值):发送正常请求。

false

ClientToken

string

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

从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。

说明
  • 若您未指定,则系统自动使用 API 请求的 RequestId 作为 ClientToken 标识。每次 API 请求的 RequestId 不一样。

02fb3da4-130e-11e9-8e44-00****

返回参数

名称

类型

描述

示例值

object

RpcResponse

RequestId

string

请求 ID。

DEB383C4-32C9-53DC-9B8B-8DBA26038074

Success

boolean

是否调用成功。取值:

  • True:成功。

  • False:失败。

True

Code

string

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

200

Message

string

操作返回信息。

successful

HttpStatusCode

integer

HTTP 状态码。

200

DynamicCode

string

动态错误码。

IllegalParamFormat.EcrId

DynamicMessage

string

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

说明

如果 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": "DEB383C4-32C9-53DC-9B8B-8DBA26038074",
  "Success": true,
  "Code": "200",
  "Message": "successful",
  "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 OperationDenied.ForceDeleting The current instance is being deleted. 您当前操作被拒绝,专线网关实例正在被强制删除,请稍后再试
400 MissingParam.%s The param of %s is missing. 请求参数未填写,请核对对应的参数后重试。
400 IllegalParamFormat.%s The param format of %s is illegal. 参数格式非法
400 Conflict.Lock There are other unfinished operations. 您当前有其他未完成的操作,请稍后重试
400 ResourceNotFound.InstanceId The instance id does not exist. 当前输入的VPC/TR实例不存在
400 QuotaExceeded.ChildInstanceNum The number of sub-instances in the switching group exceeds threshold. 倒换组中子实例的数量超过阈值。
400 OperationFailed.NotSupportAcrossRegion Switching groups cannot be formed across regional sub-instances. 不支持跨地域子实例形成倒换组。
400 OperationFailed.NotSupportAcrossAccount Switching groups cannot be formed across account sub-instances. 不支持跨账号子实例形成倒换组。
400 ResourceInConfiguring.NodeId The current subInstance is not in steady state, please try again later. 当前子实例不处于稳态,请稍后重试。
400 IncorrectStatus.HaVbrGroup The current state of the switching group is not steady state, please try again later. 当前倒换组状态不为稳态,请稍后重试。
400 IncorrectStatus.Vbr The current VBR is not in steady state, please try again later. 当前VBR不处于稳态,请稍后重试。
400 OperationFailed.VbrInUsedByOtherHa The VBR in the input switching group is already in another switching group. 输入的倒换组中的VBR已经在其他倒换组中。
400 OperationFailed.VbrBgpPeerNotEnableBfd The configured BGP PEER of the input VBR in the switching group does not enable BFD. 输入的倒换组中的VBR,配置的BGP PEER没有使能BFD。
400 OperationFailed.VbrEcrNotRelation The VBR in the switching group is not bound to ECR. 倒换组中的VBR没有绑定到ECR。
400 DeviceNotSupport.EcrVbrHa The access device where the VBR is located does not support configuring a switching group. VBR所处的接入设备不支持配置倒换组。
400 OperationFailed.VbrBgpGroupLocalAsnNotSupport The BGP group AS number of the VBR configuration in the switching group is not supported. 倒换组中的VBR配置的BGPAS号不支持。
400 OperationFailed.VbrAccessDeviceSame The VBR on the same access device cannot be added to a switching group. 处于同一台接入设备的VBR不能加入到一个倒换组中。
400 OperationFailed.VbrBgpGroupLocalAsnNotTheSameWithEcr The AS number of the BGP group of the VBR added to the switching group is different from the AS number of the ECR. 加入倒换组中的VBRBGP组的AS号和ECRAS号不相同。
400 OperationFailed.VbrBgpGroupLocalAsnNotTheSameWithOther The BGP group AS number of the VBR configuration in the switching group is not exactly the same. 加入倒换组中的VBRBGP组的AS号不完全相同。
400 OperationFailed.VbrEcrNotConsistent The VBR in the switching group is not bound to the same ECR. 倒换组中的VBR没有绑定到同一个ECR中。
404 ResourceNotFound.EcrId EcrId not found. ECR实例不存在

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

变更历史

更多信息,参考变更详情