Enables a disabled VBR.

After the operation is called, the virtual border router (VBR) changes from the Terminated state to the Recovering state. When the VBR recovers, it enters the Enabled state.

When you call this operation, take note of the following items:

  • Only the owner of the Express Connect circuit can call this operation.
  • The Express Connect circuit to which the VBR connects must be in the Enabled state.

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 RecoverVirtualBorderRouter

The operation that you want to perform.

Set the value to RecoverVirtualBorderRouter.

RegionId String Yes cn-shanghai

The ID of the region where the VBR is deployed.

You can call the DescribeRegions operation to query the most recent region list.

VbrId String Yes vbr-bp1lhl0taikrte****

The ID of the VBR.

ClientToken String No 02fb3da4-130e-11e9-8e44-0016e04115b

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

You can use the client to generate the value. Make sure that the value is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.

Response parameters

Parameter Type Example Description
RequestId String 4EC47282-1B74-4534-BD0E-403F3EE64CAF

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=RecoverVirtualBorderRouter
&RegionId=cn-shanghai
&VbrId=vbr-bp1lhl0taikrte****
&<Common request parameters>

Sample success responses

XML format

<RecoverVirtualBorderRouterResponse>
      <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>
</RecoverVirtualBorderRouterResponse>

JSON format

{ 
    "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}

Error codes

HttpCode Error code Error message Description
404 InvalidVbrId.NotFound The specified VirutalBorderRouter is not found. The error message returned because the specified VBR does not exist. Check whether the parameter is set to a valid value.
400 InvalidOperation.OperationNotAllowedInState The specified VirutalBorderRouter is in invalid state The error message returned because the status of the VBR interface is invalid.
400 OperationFailed.VlanIdAlreadyInUse The specifed vlanId has been used. The error message returned because the VLAN interface is being used.
403 Forbidden.OperationRecoverNotAllowedByUser The caller is not allowed to recover the specified VirtualBorderRouter. The error message returned because you do not have the permissions to recover the VBR.
400 OperationFailed.PconnTrafficNotEnable The operation is failed because of PconnTrafficNotEnable. The error message returned because outbound traffic is not enabled.

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