Resumes an Express Connect circuit.

Usage notes

You can call this API operation to resume a suspended Express Connect circuit. You can resume only shared Express Connect circuits by calling this API operation.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes RecoverPhysicalConnection

The operation that you want to perform. Set the value to RecoverPhysicalConnection.

InstanceId String Yes pc-bp1mrgfbtmc9brre7****

The ID of the Express Connect circuit.

Note You can resume only shared Express Connect circuits.
Token String No CBCE910E-D396-4944-8****

The client token that is used to ensure the idempotence of the request.

You can use the client to generate a token, 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.

DryRun Boolean No false

Specifies whether to precheck the request only. Valid values:

  • true: only prechecks the request but does not resume the Express Connect circuit. The system prechecks the request syntax, instance status, and whether the required parameters are specified. An error message is returned if the request fails to pass the precheck. If the request passes the precheck, the system returns the ID of the request.
  • false (default): sends the request. If the request passes the precheck, the Express Connect circuit is resumed.
RegionId String Yes cn-hangzhou

The region ID of the Express Connect circuit.

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

Response parameters

Parameter Type Example Description
RequestId String CD14EA74-E9C3-59A9-942A-DFEC7E12818D

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=RecoverPhysicalConnection
&InstanceId=pc-bp1mrgfbtmc9brre7****
&RegionId=cn-hangzhou
&<Common request parameters>

Sample responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<RecoverPhysicalConnectionResponse>
    <RequestId>CD14EA74-E9C3-59A9-942A-DFEC7E12818D</RequestId>
</RecoverPhysicalConnectionResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "CD14EA74-E9C3-59A9-942A-DFEC7E12818D"
}

Error codes

HttpCode Error code Error message Description
400 IncorrectStatus.PhysicalConnection The status of %s is incorrect. The error message returned because the status of the Express Connect circuit is invalid.
400 ResourceNotFound The specified resource %s is not found. The error message returned because the specified resource does not exist.

For a list of error codes, visit the API Error Center.