Queries information about hosted connections.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | ListVirtualPhysicalConnections |
The operation that you want to perform. Set the value to ListVirtualPhysicalConnections. |
PhysicalConnectionId | String | No | pc-bp1ciz7ekd2grn1as**** |
The ID of the Express Connect circuit over which the hosted connection is created. Express Connect circuits in this topic refer to Express Connect circuits over which hosted connections are created. |
VirtualPhysicalConnectionBusinessStatus | String | No | Normal |
The business status of the hosted connection. Valid values:
|
VirtualPhysicalConnectionIds.N | String | No | pc-bp1mrgfbtmc9brre7**** |
The ID of the hosted connection. You can specify multiple hosted connection IDs. Valid values of N: 1 to 20. |
IsConfirmed | Boolean | No | true |
Specifies whether the hosted connection is accepted by the tenant. Valid values:
|
VirtualPhysicalConnectionStatuses.N | String | No | Confirmed |
The service status of the hosted connection. Valid values:
You can specify multiple states. Valid values of N: 1 to 20. |
VirtualPhysicalConnectionAliUids.N | String | No | 253460731706911258 |
The Alibaba Cloud account ID of the hosted connection owner. You can specify multiple Alibaba Cloud account IDs. Valid values of N: 1 to 20. |
VlanIds.N | String | No | 10 |
The VLAN ID of the hosted connection. You can specify multiple VLAN IDs. Valid values of N: 1 to 20. |
MaxResults | Integer | No. | 20 |
The number of entries to return on each page. Valid values: 1 to 100. Default value: 20. |
NextToken | String | No | dd20**** |
The token that is used for the next query. Valid values:
|
RegionId | String | No | cn-shanghai |
The region ID of the hosted connection. You can call the DescribeRegions operation to query the most recent region list. |
Tags.N.Key | String | No | FinanceDept |
The key of the tag that is added to the resource. You can specify at most 20 tag keys. The tag key cannot be an empty string. The key cannot exceed 64 characters in length, and can contain digits, periods (.),
underscores (_), and hyphens (-). The key must start with a letter but cannot start
with |
Tags.N.Value | String | No | FinanceJoshua |
The value of the tag that is added to the resource. You can specify at most 20 tag values. The tag value can be an empty string. The value cannot exceed 128 characters in length and can contain digits, periods (.),
underscores (_), and hyphens (-). The value must start with a letter but cannot start
with |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 2A55F69E-EE3D-5CBE-8805-734F7D5B46B9 |
The ID of the request. |
VirtualPhysicalConnections | Array of VirtualPhysicalConnection |
The list of hosted connections returned. |
|
Type | String | VPC |
The type of Express Connect circuit. Default value: VPC. |
Status | String | Enabled |
The status of the Express Connect circuit. Valid values:
|
CreationTime | String | 2021-06-08T12:20:55 |
The time when the Express Connect circuit was created. |
AdLocation | String | Server Room E***, Data Center XX, XXX Intersection, Yuhang Economic Development Zone |
The geographical location of the access device. |
PortNumber | String | 80 |
The port number of the access device. |
Spec | String | 50M |
The bandwidth value of the hosted connection. M indicates Mbit/s and G indicates Gbit/s. |
ChargeType | String | Prepaid |
The billing method of the Express Connect circuit. The value is set to Prepaid, which indicates the subscription billing method. |
Description | String | desctest |
The description of the Express Connect circuit. |
Bandwidth | Long | 50 |
The bandwidth of the Express Connect circuit. Unit: Mbit/s. |
EnabledTime | String | 2021-10-08T10:44Z |
The time when the Express Connect circuit was enabled. |
LineOperator | String | CU |
The connectivity provider of the Express Connect circuit. Valid values:
|
PeerLocation | String | Building XX, XX Avenue, XX District, Hangzhou, Zhejiang |
The geographical location of the data center. |
RedundantPhysicalConnectionId | String | pc-119mfjzm**** |
The ID of the redundant Express Connect circuit. |
Name | String | nametest |
The name of the Express Connect circuit. |
CircuitCode | String | longtel001 |
The circuit code of the Express Connect circuit. The circuit code is provided by the connectivity provider. |
EndTime | String | 2021-11-08T16:00:00Z |
The expiration date of the hosted connection. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC. |
PortType | String | 10GBase-LR |
The port type. Valid values:
|
BusinessStatus | String | Normal |
The business status of the Express Connect circuit. Valid values:
|
LoaStatus | String | Available |
The status of the LOA. Valid values:
|
AccessPointId | String | ap-cn-hangzhou-finance-yh-E |
The ID of the access point that is associated with the Express Connect circuit. |
PhysicalConnectionId | String | pc-bp1mrgfbtmc9brre7**** |
The ID of the hosted connection. |
ProductType | String | VirtualPhysicalConnection |
The type of connection over the Express Connect circuit. Valid values:
|
ParentPhysicalConnectionId | String | pc-bp1ciz7ekd2grn1as**** |
The ID of the Express Connect circuit. |
VirtualPhysicalConnectionStatus | String | Confirmed |
The service status of the hosted connection. Valid values:
|
ParentPhysicalConnectionAliUid | String | 283117732402483989 |
The ID of the Alibaba Cloud account to which the Express Connect circuit belongs. |
OrderMode | String | PayByPhysicalConnectionOwner |
The payer of the hosted connection. Valid values:
|
AliUid | String | 253460731706911258 |
The Alibaba Cloud account ID of the hosted connection owner. |
VlanId | String | 10 |
The VLAN ID of the hosted connection. |
ExpectSpec | String | 50M |
The estimated bandwidth value of the hosted connection. The estimated bandwidth takes effect after you complete the payment. M indicates Mbit/s and G indicates Gbit/s. |
NextToken | String | dd20**** |
The token that determines the start point of the query. Valid values:
|
TotalCount | Integer | 1 |
The total number of entries returned. |
Count | Integer | 1 |
The number of entries returned in this query. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ListVirtualPhysicalConnections
&PhysicalConnectionId=pc-bp1ciz7ekd2grn1as****
&VirtualPhysicalConnectionBusinessStatus=Normal
&VirtualPhysicalConnectionIds=["pc-bp1mrgfbtmc9brre7****"]
&IsConfirmed=true
&VirtualPhysicalConnectionStatuses=["Confirmed"]
&VirtualPhysicalConnectionAliUids=["253460731706911258"]
&VlanIds=["10"]
&MaxResults=20
&NextToken=dd20****
&RegionId=cn-shanghai
&Tags=[{"Key":"FinanceDept","Value":"FinanceJoshua"}]
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ListVirtualPhysicalConnectionsResponse>
<RequestId>2A55F69E-EE3D-5CBE-8805-734F7D5B46B9</RequestId>
<VirtualPhysicalConnections>
<Type>VPC</Type>
<Status>Enabled</Status>
<CreationTime>2021-06-08T12:20:55</CreationTime>
<AdLocation>Server Room E***, Data Center XX, XXX Intersection, Yuhang Economic Development Zone</AdLocation>
<PortNumber>80</PortNumber>
<Spec>50M</Spec>
<ChargeType>Prepaid</ChargeType>
<Description>desctest</Description>
<Bandwidth>50</Bandwidth>
<EnabledTime>2021-10-08T10:44Z</EnabledTime>
<LineOperator>CU</LineOperator>
<PeerLocation>Building XX, XX Avenue, XX District, Hangzhou, Zhejiang</PeerLocation>
<RedundantPhysicalConnectionId>pc-119mfjzm****</RedundantPhysicalConnectionId>
<Name>nametest</Name>
<CircuitCode>longtel001</CircuitCode>
<EndTime>2021-11-08T16:00:00Z</EndTime>
<PortType>10GBase-LR</PortType>
<BusinessStatus>Normal</BusinessStatus>
<LoaStatus>Available</LoaStatus>
<AccessPointId>ap-cn-hangzhou-finance-yh-E</AccessPointId>
<PhysicalConnectionId>pc-bp1mrgfbtmc9brre7****</PhysicalConnectionId>
<ProductType>VirtualPhysicalConnection</ProductType>
<ParentPhysicalConnectionId>pc-bp1ciz7ekd2grn1as****</ParentPhysicalConnectionId>
<VirtualPhysicalConnectionStatus>Confirmed</VirtualPhysicalConnectionStatus>
<ParentPhysicalConnectionAliUid>283117732402483989</ParentPhysicalConnectionAliUid>
<OrderMode>PayByPhysicalConnectionOwner</OrderMode>
<AliUid>253460731706911258</AliUid>
<VlanId>10</VlanId>
<ExpectSpec>50M</ExpectSpec>
</VirtualPhysicalConnections>
<NextToken>dd20****</NextToken>
<TotalCount>1</TotalCount>
<Count>1</Count>
</ListVirtualPhysicalConnectionsResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "2A55F69E-EE3D-5CBE-8805-734F7D5B46B9",
"VirtualPhysicalConnections" : [ {
"Type" : "VPC",
"Status" : "Enabled",
"CreationTime" : "2021-06-08T12:20:55",
"AdLocation" : "Server Room E***, Data Center XX, XXX Intersection, Yuhang Economic Development Zone",
"PortNumber" : "80",
"Spec" : "50M",
"ChargeType" : "Prepaid",
"Description" : "desctest",
"Bandwidth" : 50,
"EnabledTime" : "2021-10-08T10:44Z",
"LineOperator" : "CU",
"PeerLocation" : "Building XX, XX Avenue, XX District, Hangzhou, Zhejiang",
"RedundantPhysicalConnectionId" : "pc-119mfjzm****",
"Name" : "nametest",
"CircuitCode" : "longtel001",
"EndTime" : "2021-11-08T16:00:00Z",
"PortType" : "10GBase-LR",
"BusinessStatus" : "Normal",
"LoaStatus" : "Available",
"AccessPointId" : "ap-cn-hangzhou-finance-yh-E",
"PhysicalConnectionId" : "pc-bp1mrgfbtmc9brre7****",
"ProductType" : "VirtualPhysicalConnection",
"ParentPhysicalConnectionId" : "pc-bp1ciz7ekd2grn1as****",
"VirtualPhysicalConnectionStatus" : "Confirmed",
"ParentPhysicalConnectionAliUid" : "283117732402483989",
"OrderMode" : "PayByPhysicalConnectionOwner",
"AliUid" : "253460731706911258",
"VlanId" : "10",
"ExpectSpec" : "50M"
} ],
"NextToken" : "dd20****",
"TotalCount" : 1,
"Count" : 1
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | IllegalParam.Bandwidth | The param of Bandwidth [%s] is illegal. | The error message returned because the specified bandwidth value is invalid. |
400 | ResourceNotFound.PhysicalConnectionId | The specified PhysicalConnectionId [%s] is not found. | The error message returned because PhysicalConnectionId is set to an invalid value. |
For a list of error codes, visit the API Error Center.