BindVbr

更新时间:
复制 MD 格式

Binds a virtual border router (VBR) to a Smart Access Gateway instance.

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

smartag:BindVbr

*SmartAccessGateway

acs:smartag:{#regionId}:{#accountId}:smartag/{#SmartAGId}

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID of the Smart Access Gateway instance.

cn-hangzhou

SmartAGId

string

Yes

The instance ID of the Smart Access Gateway instance.

sag-eoqbp1fmrsgbrn****

VbrId

string

Yes

The instance ID of the virtual border routing instance to bind.

vbr-gc7ccdvtp3l4fec0j****

VbrRegionId

string

Yes

The region ID of the virtual border router (VBR) to bind.

cn-hangzhou

SmartAGUid

integer

No

The Alibaba Cloud account ID that owns the Smart Access Gateway instance.

1250123456123456

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

09A2010F-602B-4EC6-A60F-9914AAE2DCA0

Examples

Success response

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.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.