UpdateVirtualPhysicalConnection
Invokes the UpdateVirtualPhysicalConnection operation to modify the information about shared Express Connect circuits.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:UpdateVirtualPhysicalConnection |
update |
*PhysicalConnection
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VlanId |
integer |
Yes |
The VLAN ID of the shared Express Connect circuits. Valid values: 0 to 2999.
|
1 |
| InstanceId |
string |
Yes |
The instance ID of the shared Express Connect circuits. |
pc-bp1mrgfbtmc9brre7**** |
| Token |
string |
No |
The client token that is used to ensure the idempotence of the request. You can generate a parameter value on your client to ensure that the value is unique among different requests. The client token can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the RequestId of the API request as the ClientToken. The RequestId of each API request may be different. |
CBCE910E-D396-4944-8**** |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run on the request. Valid values:
|
false |
| ExpectSpec |
string |
No |
The expected bandwidth of the shared Express Connect circuits. The bandwidth takes effect only after the payment is completed. Valid values: 50M, 100M, 200M, 300M, 400M, 500M, 1G, 2G, 5G, 8G, and 10G. Note
The bandwidth values 2G, 5G, 8G, and 10G are not available by default. To use these values, contact your account manager. Unit: M indicates Mbps, and G indicates Gbps. |
50M |
| RegionId |
string |
Yes |
The region ID of the shared Express Connect circuits. You can invoke the DescribeRegions operation to query region IDs. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
7035627E-1C1D-5BC7-A830-F897A35912D1 |
| Success |
string |
Indicates whether the VLAN ID of the shared Express Connect circuits is successfully modified.
|
true |
Examples
Success response
JSON format
{
"RequestId": "7035627E-1C1D-5BC7-A830-F897A35912D1",
"Success": "true"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam.VlanId | The param of VlanId is illegal. | The VlanId parameter is set to an invalid value. |
| 400 | ResourceNotFound.PhysicalConnectionId | The specified PhysicalConnectionId [%s] is not found. | PhysicalConnectionId is set to an invalid value. |
| 400 | ResourceNotEnough.Bandwidth | The specified resource of Bandwidth is not enough. | The specified resource of Bandwidth is insufficient. |
| 400 | IllegalParam.Bandwidth | The param of bandwidth is illegal. | The Bandwidth parameter is set to an invalid value. |
| 400 | Forbidden.PhysicalConnection | Only parent physical connection account is allowed to modify the virtual physical connection. | You can modify only the physical port to which the shared port belongs. |
| 400 | OperationFailed.PhysicalConnectionFinancialLocked | Update failed, the physical connection is financial locked. | The shared port is locked due to overdue payments and you cannot modify the VLAN. |
| 400 | OperationFailed.PhysicalConnectionTerminated | Update failed, the physical connection is terminated. | The shared port is disabled and you cannot modify the VLAN. |
| 400 | OperationDenied.CreateVpconn | You are not allowed to create virtual physical connection. Please contact your CBM. | If you do not have permission to create a shared line, please contact the business manager. |
| 400 | IncorrectStatus.VBR | The status of VBR is incorrect. | The operation failed because the status of the VBR is invalid. |
| 400 | IllegalParam.Spec | The param of Spec is illegal. | The Spec parameter is set to an invalid value. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.