All Products
Document Center

Virtual Private Cloud:EnablePhysicalConnection

Last Updated:Dec 02, 2023

Enables an Express Connect circuit that is in the Confirmed state. After you perform this operation, the Express Connect circuit enters the Enabled state.

Operation Description

When you call this operation, take note of the following limits:

  • You can enable only an Express Connect circuit that is in the Confirmed state.
  • After you enable an Express Connect circuit, it enters the Enabled state.
  • EnablePhysicalConnection is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the DescribePhysicalConnections operation to query the status of the task.
  • You cannot repeatedly call EnablePhysicalConnection for an Express Connect circuit in the Confirmed state within a specific time period.


You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.


Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
  • PhysicalConnection

Request parameters


The region where the Express Connect circuit is deployed.

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


The ID of the Express Connect circuit.


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.


Specifies whether to skip the order lifecycle. Valid values:

  • true
  • false (default)
Note To use this feature, you must contact your account manager.

Response parameters


The request ID.



Sample success responses


  "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"

Error codes

HTTP status codeError codeError messageDescription
400Forbidden.NotAllowedInStateThe request does not allow in this state.The operation cannot be performed when the Express Connect circuit in the current state.
400INSTANCE.STATUS.NOT.ALLOWInstance status not allowThe instance in the current state does not support the operation.
400ALIUID.NOT.ALLOW.WITHOUT.SPAliUid not allow direct enable physical connectionYou are not allowed to use a physical port when you use an Alibaba Cloud UID.
400ACCESS.DEVICE.NOT.ALLOW.WITHOUT.SPAccess device not allow direct enable physical connectionThe access device is not allowed to use a physical port.
404InvalidRegionId.NotFoundThe RegionId provided does not exist in our records.The RegionId parameter is set to an invalid value. Specify a valid value and try again.
404InvalidPhysicalConnectionId.NotFoundThe PhysicalConnectionId provided does not exist in our records.The Express Connect circuit does not exist.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-08-08API Description Update,The error codes of the API operation change.,The input parameters of the API operation change.see changesets
Change itemChange content
API DescriptionAPI Description Update
Error CodesThe error codes of the API operation change.
    Error Codes 400 change
    delete Error Codes: 404
Input ParametersThe input parameters of the API operation change.
    Added Input Parameters: ByPassSp