Creates an order for initial installation of a physical connection.

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 CreatePhysicalConnectionSetupOrder

The operation that you want to perform.

Set the value to CreatePhysicalConnectionSetupOrder.

AccessPointId String Yes ap-cn-beijing-ft-A

The ID of the access point.

LineOperator String Yes CT

The Internet service provider (ISP). Valid values:

  • CT: China Telecom
  • CU: China Unicom
  • CM: China Mobile
  • CO: other ISPs in China
  • Equinix: Equinix
  • Other: other ISPs outside China
RegionId String Yes cn-shanghai

The ID of the region where the physical connection is deployed. You can call the DescribeRegions operation to query region IDs.

PortType String No 100Base-T

The port type of the physical connection. Valid values:

  • 100Base-T: a copper port that supports 100 Mbit/s
  • 1000Base-T: a copper port that supports 1,000 Mbit/s
  • 1000Base-LX: a single-mode optical port that supports 1,000 Mbit/s (10 kilometers)
  • 10GBase-T: a copper port that supports 10,000 Mbit/s
  • 10GBase-LR: a single-mode optical port that supports 10,000 Mbit/s (10 kilometers)
RedundantPhysicalConnectionId String No pc-bp10zsv5ntp********

The ID of the standby physical connection. The standby physical connection must be in the Allocated, Confirmed, or Enabled state.

AutoPay Boolean No true

Specifies whether to enable automatic payment.

Valid values: true and false

ClientToken String No 318BB676-0A2B-43A0-9AD8-F1D34E93750F

The client token that is used for authentication.

Response parameters

Parameter Type Example Description
RequestId String F7A6301A-64BA-41EC-8284-8F4838C15D1F

The ID of the instance.

OrderId String 202844382740728

The ID of the order.

PhysicalConnectionId String pc-2zegmc02v7ss4******

The ID of the physical connection.

Examples

Sample requests

http(s)://[Endpoint]/? Action=CreatePhysicalConnectionSetupOrder
&AccessPointId=ap-cn-beijing-ft-A
&LineOperator=CT
&RegionId=cn-shanghai
&<Common request parameters>

Sample success responses

XML format

<CreatePhysicalConnectionSetupOrderResponse>
     <OrderId>205226815210296</OrderId>
     <RequestId>76CCB7F1-C141-4BD1-8106-63987D12BEF4</RequestId>
     <PhysicalConnectionId>pc-2zegmc02v7ss4pin******</PhysicalConnectionId>
</CreatePhysicalConnectionSetupOrderResponse>

JSON format

{
	"OrderId": 205226815210296,
	"RequestId": "76CCB7F1-C141-4BD1-8106-63987D12BEF4",
	"PhysicalConnectionId": "pc-2zegmc02v7ss4******"
}

Error codes

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