Associates a Smart Access Gateway (SAG) instance with a virtual border router (VBR).
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
smartag:BindVbr | Write |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region where the SAG instance is deployed. | cn-hangzhou |
SmartAGId | string | Yes | The ID of the SAG instance. | sag-eoqbp1fmrsgbrn**** |
VbrId | string | Yes | The ID of the VBR that you want to associate with the SAG instance. | vbr-gc7ccdvtp3l4fec0j**** |
VbrRegionId | string | Yes | The ID of the region where the VBR is deployed. | cn-hangzhou |
SmartAGUid | long | No | The ID of the Alibaba Cloud account to which the SAG instance belongs. | 1250123456123456 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "09A2010F-602B-4EC6-A60F-9914AAE2DCA0"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | Forbbiden.SubUser | You are not authorized to operate on the specified resource. | You do not have 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 specified VBR instance is invalid. You must specify a VBR instance that is associated with an ECC instance. |
400 | SAG.SoftwareNoSupportVbr | You cannot bind an SAG software instance with a VBR instance. | You cannot bind an SAG software instance with a VBR instance. |
400 | SAG.VbrNotBondCen | Bind the specified VBR instance to a CEN instance first. | Bind the specified VBR instance to a CEN instance first. |
400 | SAG.VbrBound | The specified SAG instance is bound to another VBR instance. Unbind them first. | The specified SAG instance is bound to another VBR instance. Unbind them first. |
400 | LinkLevelBackupExists | The specified SAG instance is already used as a leased line backup. | The specified SAG instance is already used as a leased line backup. |
400 | SAG.VbrBoundToSAG | The specified VBR instance is bound to another SAG instance. Unbind them first. | The specified VBR instance is bound to another SAG instance. Unbind them first. |
400 | NotBoundCEN | Bind the specified CCN instance to a CEN instance first. | Bind the specified CCN instance to a CEN instance first. |
403 | Forbidden | User not authorized to operate on the specified resource. | You do not have permissions to manage the specified resource. |
403 | InvalidId.SMARTAG | The specified smart access gateway instance id is invalid. | The SAG instance ID is invalid. |
403 | NotBoundCCN | The specified smart access gateway has not bound CCN; please bind CCN first. | The SAG instance is not associated with a CCN instance. You must associate the SAG instance with a CCN instance first. |
403 | FeatureNotSupport | The current edition of the smart access gateway does not support this feature. | The current version of Smart Access Gateway does not support this feature. |
403 | VbrConflict.CreateBackup | The subnet of the gateway conflicts with the VBR. Create a backup relationship first. | The subnet CIDR block of the SAG instance is in conflict with the VBR. You must add a leased line for backup. |
For a list of error codes, visit the Service error codes.