Disables a connection over an Express Connect circuit after the Express Connect circuit is enabled.
Usage notes
After you call this operation, the specified Express Connect circuit changes to the Terminating state. After the Express Connect circuit is disabled, it changes to the Terminated state.
When you call this operation, take note of the following limits:
- You can only disable an Express Connect circuit that is in the Enabled state.
- Before you disable an Express Connect circuit, you must delete the virtual border routers (VBRs) associated with it.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
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. |
PhysicalConnectionId | String | Yes | pc-119mfjzm**** | The ID of the Express Connect circuit. |
Action | String | Yes | TerminatePhysicalConnection | The operation that you want to perform. Set the value to TerminatePhysicalConnection. |
ClientToken | String | No | 02fb3da4-130e-11e9-8e44-0016e04115b | The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters. Note If you do not specify this parameter, the system uses the request ID as the client token. The request ID may be different for each request. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 4EC47282-1B74-4534-BD0E-403F3EE64CAF | The request ID. |
Examples
Sample requests
http(s)://[Endpoint]/?RegionId=cn-hangzhou
&PhysicalConnectionId=pc-119mfjzm****
&Action=TerminatePhysicalConnection
&ClientToken=02fb3da4-130e-11e9-8e44-0016e04115b
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<TerminatePhysicalConnectionResponse>
<RequestId>4EC47282-1B74-4534-BD0E-403F3EE64CAF</RequestId>
</TerminatePhysicalConnectionResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "4EC47282-1B74-4534-BD0E-403F3EE64CAF"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | Forbidden.NotAllowedInState | The request does not allow in this state. | The operation cannot be performed when the Express Connect circuit in the current state. |
400 | OperationFailed.VpconnAttached | Cannot terminate physical connection when vpconn are still attached. | The shared port still exists and the physical port cannot be disabled. |
404 | InvalidPhysicalConnectionId.NotFound | The PhysicalConnectionId provided does not exist in our records. | The Express Connect circuit does not exist. |
For a list of error codes, see Service error codes.