Associates a virtual border router (VBR) with a hosted connection.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | AttachVbrToVpconn |
The operation that you want to perform. Set the value to AttachVbrToVpconn. |
VpconnId | String | Yes | pc-bp1mrgfbtmc9brre7**** |
The ID of the hosted connection. |
VbrId | String | Yes | vbr-bp133sn3nwjvu7twc**** |
The ID of the VBR. |
Token | String | No | CBCE910E-D396-4944-8**** |
The client token that is used to ensure the idempotence of the request. The client token must be unique among different requests. It can contain only ASCII characters and cannot exceed 64 characters in length. |
DryRun | Boolean | No | false |
Specifies whether to precheck the request only. Valid values:
|
RegionId | String | Yes | cn-hangzhou |
The region ID of the hosted connection. You can call the DescribeRegions operation to query the most recent region list. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 5356F028-0F5C-56FC-8574-897D24379041 |
The ID of the request. |
VirtualPhysicalConnection | String | pc-bp1mrgfbtmc9brre7**** |
The ID of the hosted connection. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=AttachVbrToVpconn
&VpconnId=pc-bp1mrgfbtmc9brre7****
&VbrId=vbr-bp133sn3nwjvu7twc****
&DryRun=false
&RegionId=cn-hangzhou
&<Common request parameters>
Sample responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<AttachVbrToVpconnResponse>
<RequestId>5356F028-0F5C-56FC-8574-897D24379041</RequestId>
<VirtualPhysicalConnection>pc-bp1mrgfbtmc9brre7****</VirtualPhysicalConnection>
</AttachVbrToVpconnResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "5356F028-0F5C-56FC-8574-897D24379041",
"VirtualPhysicalConnection" : "pc-bp1mrgfbtmc9brre7****"
}
Error codes
For a list of error codes, visit the API Error Center.