SwitchVccConnection
Switches the connected instances for a Lingjun connection, including Cloud Enterprise Network (CEN) instance switchover, virtual private cloud (VPC) instance switchover, and switchover between CEN and VPC instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:SwitchVccConnection |
update |
*Vcc
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CenId |
string |
No |
CEN |
cen-bkiw0x1347roek**** |
| VpcId |
string |
No |
The VPC ID. Note
This parameter is actually required. If it is not provided, the API returns error code 1006. |
vpc-uf6aa4ddo97frj22t**** |
| VSwitchId |
string |
No |
The vSwitch ID. Note
This parameter is actually required. If it is not provided, the API returns error code 1006. |
vsw-t4nahb0pxckgktxfv**** |
| RegionId |
string |
Yes |
The region ID. |
cn-wulanchabu |
| VccId |
string |
Yes |
The ID of the cloud access Express Connect circuit. |
vcc-cn-zvp2w22**** |
| ConnectionType |
string |
No |
The connection type. Valid values: CENTR and VPC. |
CENTR |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
AjaxResult |
||
| Code |
integer |
The status code. |
0 |
| Message |
string |
The returned message. |
success |
| RequestId |
string |
The request ID. |
AC8C713A-A9F4-5984-A5E1-76496DF3EFCD |
| Content |
any |
The response content. |
{} |
| AccessDeniedDetail |
string |
The detailed reasons for access denial. |
None |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "success",
"RequestId": "AC8C713A-A9F4-5984-A5E1-76496DF3EFCD",
"Content": "{}",
"AccessDeniedDetail": "None"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.