edit-icon download-icon

TerminatePhysicalConnection

Last Updated: Apr 09, 2018

Description

Terminate the access of the physical connection after the physical connection is enabled.

The physical connection changes to the Terminating status after the API is called and changes to the Terminated status when the process is completed.

Note the following before terminating a physical connection:

  • You can only terminate a physical connection in the Enabled status.

  • Before terminating a physical connection, you must delete the Virtual Border Routers (VBRs) associated with the physical connection.

Request parameters

Name Type Required Description
Action String Yes

The action to perform.

Valid value: TerminatePhysicalConnection

RegionId String Yes

The region where the physical connection is located.

You can obtain the region ID by calling the DescribeRegions API.

PhysicalConnectionId String Yes The ID of the physical connection.

Response parameters

Name Type Description
RequestId String The ID of the request.

Error codes

See VPC API Error Center.

Examples

Request example

  1. http://vpc.aliyuncs.com/?Action=TerminatePhysicalConnection
  2. &PhysicalConnectionId=pc-2zeoaxkq3xxxxx
  3. &RegionId=cn-beijing
  4. &<CommonParameters>

Response example

JSON format

  1. {
  2. "RequestId": "513E0A50-4F2D-4CBE-BF35-40559DF65D79"
  3. }
Thank you! We've received your feedback.