全部產品
Search
文件中心

Express Connect:ModifyExpressConnectRouterChildInstance - 修改專線網關關聯子執行個體屬性

更新時間:Sep 18, 2025

修改專線網關(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****

Version

string

返回參數

名稱

類型

描述

樣本值

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配置的BGP組AS號不支援。
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. 加入倒換組中的VBR的BGP組的AS號和ECR的AS號不相同。
400 OperationFailed.VbrBgpGroupLocalAsnNotTheSameWithOther The BGP group AS number of the VBR configuration in the switching group is not exactly the same. 加入倒換組中的VBR的BGP組的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執行個體不存在

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情