Calls CompletePhysicalConnectionLOA to complete the construction and backfill the completion information after the LOA is approved and the line construction is finished.
Operation description
Calls the CompletePhysicalConnectionLOA operation to complete the construction. Before calling this operation, call DescribePhysicalConnectionLOA to query the LOA status. You can call this operation only when the status is Available or Complete. After an LOA application is submitted, the status changes to Applying. After the application is approved, the status changes to Available. If the application is rejected, the status changes to Rejected. For a rejected application, call SecondApplyPhysicalConnectionLOA to reapply. After the construction is completed, the LOA status changes to Complete.
Complete call chain: CreatePhysicalConnection → ApplyPhysicalConnectionLOA (LOA enters the Applying state) → Wait for approval (Available after approval; Rejected if denied, in which case call SecondApplyPhysicalConnectionLOA or ApplyPhysicalConnectionLOA again to reapply) → CompletePhysicalConnectionLOA (backfill completion information, LOA enters the Completing state) → ConfirmPhysicalConnection (confirm the Express Connect circuit, LOA enters the Complete state).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:CompletePhysicalConnectionLOA |
update |
*PhysicalConnection
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. The client generates the value. Ensure that the value is unique among different requests. Note
If you do not specify this parameter, the system uses the RequestId of the API request as the ClientToken. The RequestId of each API request may be different. |
02fb3da4-230e-11e9-8e44-0016e04115b |
| RegionId |
string |
Yes |
The region ID of the Express Connect circuit. You can call the DescribeRegions operation to query the region ID. |
cn-shanghai |
| InstanceId |
string |
Yes |
The instance ID of the Express Connect circuit. |
pc-bp10tvlhnwkw**** |
| LineCode |
string |
No |
The line code of the carrier. |
aaa111**** |
| LineLabel |
string |
No |
The cable label in the data center building. |
bbb222**** |
| LineServiceProvider |
string |
No |
The carrier. Valid values:
|
中国其他 |
| LineSPContactInfo |
string |
No |
The O&M contact information of the line carrier. |
1388888**** |
| FinishWork |
boolean |
No |
Specifies whether the construction is completed. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
F8983C74-E068-4509-B442-89BD82C8F43B |
Examples
Success response
JSON format
{
"RequestId": "F8983C74-E068-4509-B442-89BD82C8F43B"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParam.AliUid | %s | |
| 400 | MissingParam.InstanceId | %s | |
| 400 | MissingParam.RegionNo | %s | |
| 400 | InvalidInstanceId.NotFound | %s | |
| 400 | IncorrectStatus.PhysicalConnectionLOA | %s | |
| 400 | IllegalParam.LineCode | %s | |
| 400 | IllegalParam.LineLabel | %s | |
| 400 | OperationDenied.LOAStatusNotAllowComplete | The operation is not allowed because of LOAStatusNotAllowComplete. | The LOA status of the port does not allow completion reporting or line O&M. |
| 400 | IllegalParam.LineSPContactInfo | LineSPContactInfo is illegal. | The contact information of the operator's line operation and maintenance is illegal. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.