Associates a Smart Access Gateway (SAG) instance with a virtual border router (VBR).

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes BindVbr

The operation that you want to perform. Set the value to BindVbr.

RegionId String Yes cn-hangzhou

The ID of the region where the SAG instance is deployed.

SmartAGId String Yes sag-eoqbp1fmrsgbrn****

The ID of the SAG instance.

VbrId String Yes vbr-gc7ccdvtp3l4fec0j****

The ID of the VBR that you want to associate with the SAG instance.

VbrRegionId String Yes cn-hangzhou

The ID of the region where the VBR is deployed.

SmartAGUid Long No 1250123456123456

The ID of the Alibaba Cloud account to which the SAG instance belongs.

Response parameters

Parameter Type Example Description
RequestId String 09A2010F-602B-4EC6-A60F-9914AAE2DCA0

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=BindVbr
&RegionId=cn-hangzhou
&SmartAGId=sag-eoqbp1fmrsgbrn****
&VbrId=vbr-gc7ccdvtp3l4fec0j****
&VbrRegionId=cn-hangzhou
&SmartAGUid=1250123456123456
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<?xml version="1.0" encoding="UTF-8" ?>
<BindVbrResponse>
	<RequestId>09A2010F-602B-4EC6-A60F-9914AAE2DCA0</RequestId>
</BindVbrResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "09A2010F-602B-4EC6-A60F-9914AAE2DCA0"
}

Error codes

HttpCode Error code Error message Description
400 Forbbiden.SubUser You are not authorized to operate on the specified resource. The error message returned because you do not have the permissions to manage the specified resource.
400 InvalidId.VBR The specified VBR instance is invalid. You must specify a VBR instance that is associated with an ECC instance. The error message returned because the specified VBR is invalid. Check whether the VBR is an Express Cloud Connect (ECC) instance.
400 SAG.SoftwareNoSupportVbr You cannot bind an SAG software instance with a VBR instance. The error message returned because the specified SAG instance cannot be associated with VBRs.
400 SAG.VbrNotBondCen Bind the specified VBR instance to a CEN instance first. The error message returned because the specified VBR is not associated with a CEN instance. Associate the VBR with a CEN instance and try again.
400 SAG.VbrBound The specified SAG instance is bound to another VBR instance. Unbind them first. The error message returned because the specified SAG instance is already associated with a VBR. Disassociate the SAG instance from the VBR and try again.
400 LinkLevelBackupExists The specified SAG instance is already used as a leased line backup. The error message returned because the specified SAG instance is already used as a backup for a leased line.
400 SAG.VbrBoundToSAG The specified VBR instance is bound to another SAG instance. Unbind them first. The error message returned because the specified VBR is already associated with another SAG instance. Disassociate the VBR from the SAG instance and try again.
400 NotBoundCEN Bind the specified CCN instance to a CEN instance first. The error message returned because the specified Cloud Connect Network (CCN) instance is not associated with a CEN instance. Associate the CCN instance with a CEN instance and try again.
403 Forbidden User not authorized to operate on the specified resource. The error message returned because you do not have the permissions to manage the specified resource.
403 InvalidId.SMARTAG The specified smart access gateway instance id is invalid. The error message returned because the specified SAG instance ID is invalid.
403 NotBoundCCN The specified smart access gateway has not bound CCN; please bind CCN first. The error message returned because the specified SAG instance is not associated with a CCN instance. Associate the SAG instance with a CCN instance and try again.
403 FeatureNotSupport The current edition of the smart access gateway does not support this feature. The error message returned because the current version of the specified SAG device does not support this feature.
403 VbrConflict.CreateBackup The subnet of the gateway conflicts with the VBR. Create a backup relationship first. The error message returned because the subnet CIDR blocks of the specified SAG instance overlap with the CIDR block of the specified VBR. Deploy the SAG instance as a backup of the Express Connect circuit.

For a list of error codes, visit the API Error Center.