查詢指定地域內的物理專線。

請求參數

名稱 類型 是否必須 描述
Action String

要執行的操作。 取值:

DescribePhysicalConnections

RegionId String

物理專線所在的地域。

您可以通過調用 DescribeRegions介面獲取地域ID。

Filter.n.Key String

過濾條件,最多可提供5個過濾條件。n的取值範圍為[1,5]。

每個過濾條件(filter key)可以提供多個值,多個值之間是“or”關係,即只要與其中一個值符合則視為符合參數的過濾條件。

各個過濾條件(filter key)之間為“and”邏輯關係,即符合所有參數的過濾條件,才會被查詢出來。

支援的過濾條件如下:
  • PhysicalConnectionId:物理專線ID。

  • AccessPointId:存取點ID。

  • Type:物理專線的類型,預設值是VPC

  • LineOperator:物理線路的電訊廠商。

  • Status:物理專線的狀態。

  • Spec:物理專線的規格。

  • Name:物理專線的名稱。

Filter.n.Value.m String

指定的過濾條件對應的值。m的取值範圍為[1,5]。

PageNumber Integer

列表的頁碼,預設值為1

PageSize Integer

分頁查詢時每頁的行數,最大值為50,預設值為10

返回參數

名稱 類型 描述
RequestId String 請求ID。
TotalCount String 列表條條目數。
PageNumber Integer 當前頁碼。
PageSize String 每頁包含多少條目。
PhysicalConnectionSet List 物理專線的詳細資料。
表 1. PhysicalConnection
名稱 類型 描述
PhysicalConnectionId String 物理專線的ID。
AccessPointId String 物理專線存取點的ID。
Status String 物理專線狀態:
  • Initial:申請中

  • Approved:審批通過

  • Allocating:正在分配資源

  • Allocated:接入施工中。

  • Confirmed:等待使用者確認

  • Enabled:已開通

  • Rejected:申請被拒絕

  • Canceled:已取消

  • Allocation Failed:資源分派失敗

  • Terminated:已終止

BusinessStatus String 物理專線的付費狀態:
  • Normal:正常

  • FinancialLocked:欠費鎖定

  • SecurityLocked:因安全原因被鎖定

CreationTime String 物理專線的建立時間。
EnabledTime String 物理專線的開通時間。
LineOperator String
提供接入物理線路的電訊廠商:
  • CT:中國電信

  • CU:中國聯通

  • CM:中國移動

  • CO:中國其他

  • Equinix:Equinix

  • Other:境外其他

Spec String 物理專線的規格。
PeerLocation String 本機資料中心的地理位置。
PortType String 物理專線接入通信埠類型:
  • 100Base-T:百兆電口

  • 1000Base-T(預設值):千兆電口

  • 1000Base-LX:千兆單模光口(10千米)

  • 10GBase-T:萬兆電口

  • 10GBase-LR:萬兆單模光口(10千米)

RedundantPhysicalConnectionId String 冗餘物理專線的ID。
Name String 物理專線的名稱。
Description String 物理專線的描述。
ADLocation String 專線接入裝置所在的位置。
PortNumber String 專線接入裝置的連接埠號碼。
CircuitCode String 電訊廠商為物理專線提供的電路編碼。
Bandwidth String 物理專線的頻寬。

樣本

請求樣本

https://vpc.aliyuncs.com/?Action=DescribePhysicalConnections
&RegionId=cn-beijing
&公共請求參數
返回樣本
  • XML格式

    <?xml version="1.0" encoding="UTF-8"?>
    <DescribePhysicalConnectionsResponse>
    	<PageNumber>1</PageNumber>
    	<TotalCount>1</TotalCount>
    	<PageSize>10</PageSize>
    	<RequestId>7C07B0AF-4FC0-4BB2-9667-F75812824BCD</RequestId>
    	<PhysicalConnectionSet>
    		<PhysicalConnectionType>
    			<Type>VPC</Type>
    			<PhysicalConnectionId>pc-2zeoaxkq3jot5p71qcnuy</PhysicalConnectionId>
    			<PeerLocation>XXX-XX區--XXX路</PeerLocation>
    			<CreationTime>2017-12-13T02:28:42Z</CreationTime>
    			<Name>TEST</Name>
    			<Status>Enabled</Status>
    			<AdLocation>XXX--XX-XXX機房XX機櫃XXU</AdLocation>
    			<EnabledTime>2017-12-18T04:01:30Z</EnabledTime>
    			<BusinessStatus>Normal</BusinessStatus>
    			<LineOperator>CT</LineOperator>
    			<PortNumber>1/1/4</PortNumber>
    			<AccessPointId>ap-cn-beijing-dx-A</AccessPointId>
    			<PortType>100Base-T</PortType>
    			<Bandwidth>2</Bandwidth>
    		</PhysicalConnectionType>
    	</PhysicalConnectionSet>	
    </DescribePhysicalConnectionsResponse>
  • JSON格式

    {
      "PageNumber": 1,
      "TotalCount": 1,
      "PageSize": 10,
      "RequestId": "7C07B0AF-4FC0-4BB2-9667-F75812824BCD",
      "PhysicalConnectionSet": {
        "PhysicalConnectionType": [
          {
            "Type": "VPC",
            "PhysicalConnectionId": "pc-2zeoaxkq3jot5p71qcnuy",
            "PeerLocation": "XXX-XX區--XXX路",
            "CreationTime": "2017-12-13T02:28:42Z",
            "Name": "TEST",
            "Status": "Enabled",
            "AdLocation": "XXX--XX-XXX機房XX機櫃XXU",
            "EnabledTime": "2017-12-18T04:01:30Z",
            "BusinessStatus": "Normal",
            "LineOperator": "CT",
            "PortNumber": "1/1/4",
            "AccessPointId": "ap-cn-beijing-dx-A",
            "PortType": "100Base-T",
            "Bandwidth": 2
          }
        ]
      }
    }