Updates the maximum bandwidth value of outbound data transfer for 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 UpdateVirtualBorderBandwidth

The operation that you want to perform.

Set the value to UpdateVirtualBorderBandwidth.

Bandwidth Integer Yes 2

The new maximum bandwidth value for the VBR. Unit: Mbit/s.

RegionId String Yes cn-shanghai

The region ID of the VBR.

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

VirtualBorderRouterId String Yes vbr-bp15zckdt37pq72****

The ID of the VBR.

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

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

You can use the client to generate the value, but you must make sure that it 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
Code String OK

The response code.

HttpStatusCode String 200

The HTTP status code.

Message String none

The response message.

RequestId String AA4486A8-B6AE-469E-AB09-820EF8ECFA2B

The ID of the request.

Success Boolean true

Indicates whether the maximum bandwidth value is updated.

  • true: yes
  • false: no

Examples

Sample requests

http(s)://[Endpoint]/?Action=UpdateVirtualBorderBandwidth
&Bandwidth=2
&RegionId=cn-shanghai
&VirtualBorderRouterId=vbr-bp15zckdt37pq72****
&<Common request parameters>

Sample success responses

XML format

<UpdateVirtualBorderBandwidthResponse>
      <Message>none</Message>
      <RequestId>AA4486A8-B6AE-469E-AB09-820EF8ECFA2B</RequestId>
      <HttpStatusCode>200</HttpStatusCode>
      <Code>OK</Code>
      <Success>true</Success>
</UpdateVirtualBorderBandwidthResponse>

JSON format

{
    "UpdateVirtualBorderBandwidthResponse": {
        "Message": "none",
        "RequestId": "AA4486A8-B6AE-469E-AB09-820EF8ECFA2B",
        "HttpStatusCode": 200,
        "Code": "OK",
        "Success": true
    }
}

Error codes

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