All Products
Search
Document Center

Express Connect:AttachVbrToVpconn

Last Updated:Aug 24, 2026

Associates a Virtual Border Router (VBR) instance with shared Express Connect circuits. This API is used to migrate an existing VBR that was pushed cross-account to shared Express Connect circuits (shared port), completing the shared Express Connect circuits form transformation. Only the partner (Express Connect circuit owner) can call this operation.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

vpc:AttachVbrToVpconn

update

*VirtualBorderRouter

acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#virtualborderrouterId}

None None

Request parameters

Parameter

Type

Required

Description

Example

VpconnId

string

Yes

The ID of the shared Express Connect circuits (VirtualPhysicalConnection) instance.

Note

The shared Express Connect circuits instance ID returned by CreateVpconnFromVbr. The instance must have been confirmed and accepted by the tenant (Confirmed) and be in the Enabled state.

pc-bp1mrgfbtmc9brre7****

VbrId

string

Yes

The VBR instance ID.

Note

The ID of the VBR instance to be migrated. The VBR must currently be directly attached to an Express Connect circuit owned by the caller, and must be the same VBR specified in CreateVpconnFromVbr.

vbr-bp133sn3nwjvu7twc****

Token

string

No

The client token that is used to ensure the idempotence of the request.

The client token must be unique among different requests. The maximum length is 64 ASCII characters.

CBCE910E-D396-4944-8****

DryRun

boolean

No

Specifies whether to perform a dry run. Valid values:

  • true: performs a dry run without associating the VBR instance with shared Express Connect circuits. The system checks whether the required parameters are specified, the request format is valid, and the instance status is correct. If the check fails, the corresponding error is returned. If the check passes, the request ID is returned.

  • false (default): sends a normal request. After the check passes, the VBR instance is directly associated with shared Express Connect circuits.

false

RegionId

string

Yes

The region ID of the shared Express Connect circuits.

You can call the DescribeRegions operation to query region IDs.

cn-hangzhou

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID.

5356F028-0F5C-56FC-8574-897D24379041

VirtualPhysicalConnection

string

The shared Express Connect circuits instance ID.

pc-bp1mrgfbtmc9brre7****

Examples

Success response

JSON format

{
  "RequestId": "5356F028-0F5C-56FC-8574-897D24379041",
  "VirtualPhysicalConnection": "pc-bp1mrgfbtmc9brre7****"
}

Error codes

HTTP status code

Error code

Error message

Description

400 QuotaExceeded.VPCONN The quota of VBR_COUNT_PER_VPCONN is exceeded, usage 1/1.
400 OperationFailed.VbrBindedPconn The operation is failed because of VbrBindedPconn. A hosted connection is created for the VBR.
400 ResourceNotFound.PhysicalConnectionId PhysicalConnection is not found.
400 IncorrectStatus.PhysicalConnection The specified PhysicalConnectionId [%s] is not in Enabled state.
400 ResourceNotFound.VirtualBorderRouter The specified resource of %s is not found. Virtual Border Router does not exist

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.