Confirms an Express Connect circuit. If this operation succeeds, the state of the Express Connect circuit changes to Confirmed.

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
RegionId String Yes cn-shanghai

The region ID of the Express Connect circuit.

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

PhysicalConnectionId String Yes pc-119mf****

The ID of the Express Connect circuit.

Action String Yes ConfirmPhysicalConnection

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

ClientToken String No 02fb3da4-130e-11e9-8e44-0016e0****

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.

Note If you do not set this parameter, the system uses RequestId as ClientToken. RequestId may be different for each API request.

Response parameters

Parameter Type Example Description
RequestId String API-20365164-5b0d-460a-83c2-2189972b****

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?RegionId=cn-shanghai
&PhysicalConnectionId=pc-119mf****
&Action=ConfirmPhysicalConnection
&ClientToken=02fb3da4-130e-11e9-8e44-0016e0****
&Common request parameters

Sample success responses

XML format

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

<ConfirmPhysicalConnectionResponse>
    <RequestId>API-20365164-5b0d-460a-83c2-2189972b****</RequestId>
</ConfirmPhysicalConnectionResponse>

JSON format

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

{
  "RequestId" : "API-20365164-5b0d-460a-83c2-2189972b****"
}

Error codes

HttpCode Error code Error message Description
400 OperationFailed.PconnTrafficNotEnable The operation is failed because of PconnTrafficNotEnable. The error message returned because outbound data transfer billing is disabled.
400 ResourceNotFound.PhysicalConnectionId PhysicalConnection is not found. The error message returned because PhysicalConnectionId is set to an invalid value.
400 InvalidRegionId.NotFound The specified RegionId is not found. The error message returned because the specified region ID is invalid. Check whether the service is available in the specified region.

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