调用DescribePropertyPortDetail接口查询端口列表中一个端口的详细信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribePropertyPortDetail

要执行的操作。

取值:DescribePropertyPortDetail

Remark String 1.2.3.4

服务器名称或IP。

Port String 22

端口信息。

ProcName String sshd

进程名称。

Uuid String 50d213b4-3a35-427a-b8a5-***

资产实例的唯一标识ID。

CurrentPage Integer 1

分页查询时,显示的当前页的页码。

PageSize Integer 6

分页查询时,显示的每页数据的最大条数。

返回数据

名称 类型 示例值 描述
RequestId String FAA793EF-5B14-4CDD-B3E0-B14D4342C422

结果的请求ID。

Propertys Array

端口信息。

BindIp String 1.2.3.4

端口绑定的IP地址信息。

Port String 22

端口值。

InstanceName String test-***

端口关联资产的名称。

Proto String tcp

端口对应网络协议。

Ip String 1.2.3.1

资产对应公网IP地址。

Create String 2019-05-13T10:39Z

数据的最新采集时间。

CreateTimestamp Long 1557715141000

数据最新采集时间戳。

ProcName String sshd

端口对应的进程名称。

Uuid String 50d213b4-3a35-427a-b8a5-04b0c7e1f4d2"

端口关联的资产实例的唯一标识ID。

InstanceId String 50d213b4-3a35-427a-b8a5-04b0c7e1f4d2"

端口关联资产的ID。

IntranetIp String 1.2.3.2

资产对应私网IP地址。

InternetIp String 1.2.3.1

资产对应公网IP地址。

PageInfo Struct

页面显示信息。

Count Integer 5

分页查询时,显示的当前页的数据条数。

PageSize Integer 5

分页查询时,显示的每页数据的最大条数。

TotalCount Integer 762

数据的总条数。

CurrentPage Integer 1

分页查询时,显示的当前页的页码。

示例

请求示例

http(s)://[Endpoint]/?Action=DescribePropertyPortDetail
&<公共请求参数>

正常返回示例

XML 格式

<DescribePropertyPortDetailResponse>
  <Propertys>
        <InstanceName>centos-xx</InstanceName>
        <Uuid>00274759-73ef-485a-ae40-c2b5972f50cd</Uuid>
        <Proto>tcp</Proto>
        <InternetIp>101.xx.xx.104</InternetIp>
        <InstanceId>i-2ze645t5u9jo4txxx</InstanceId>
        <Create>2020-01-09T13:53Z</Create>
        <Port>22</Port>
        <Ip>101.xx.xx.104</Ip>
        <ProcName>sshd</ProcName>
        <CreateTimestamp>1578549227000</CreateTimestamp>
        <IntranetIp>192.xx.xx.96</IntranetIp>
        <BindIp>0.0.0.0</BindIp>
  </Propertys>
  <Propertys>
        <InstanceName>paas-xxx-test1122</InstanceName>
        <Uuid>007ecd45-e90f-4290-9eac-758407aa1509</Uuid>
        <Proto>tcp</Proto>
        <InternetIp>118.xx.xx.7</InternetIp>
        <InstanceId>i-m5e56ycm6xx7if43xx</InstanceId>
        <Create>2020-02-18T15:52Z</Create>
        <Port>10251</Port>
        <Ip>118.xx.xx.7</Ip>
        <ProcName>kube-scheduler</ProcName>
        <CreateTimestamp>1582012349000</CreateTimestamp>
        <IntranetIp>192.xx.xx.192</IntranetIp>
        <BindIp>::</BindIp>
  </Propertys>
  <Propertys>
        <InstanceName>paas-xx-2</InstanceName>
        <Uuid>007ecd45-e9xx-4290-9eac-758407aa15xx</Uuid>
        <Proto>tcp</Proto>
        <InternetIp>118.xx.xx.7</InternetIp>
        <InstanceId>i-m5e56ycm6s0xxf43maxx</InstanceId>
        <Create>2020-02-18T15:52Z</Create>
        <Port>10252</Port>
        <Ip>118.xx.xx.7</Ip>
        <ProcName>kube-controller-manager</ProcName>
        <CreateTimestamp>1582012349000</CreateTimestamp>
        <IntranetIp>192.xx.xx.192</IntranetIp>
        <BindIp>::</BindIp>
  </Propertys>
  <Propertys>
        <InstanceName>paas-xx-2</InstanceName>
        <Uuid>007ecd45-e90f-42xx-9eac-758407aa15xx</Uuid>
        <Proto>tcp</Proto>
        <InternetIp>118.xx.xx.7</InternetIp>
        <InstanceId>i-m5e56ycmxx07if43maxx</InstanceId>
        <Create>2020-02-18T15:52Z</Create>
        <Port>2379</Port>
        <Ip>118.xx.xx.7</Ip>
        <ProcName>etcd</ProcName>
        <CreateTimestamp>1582012349000</CreateTimestamp>
        <IntranetIp>192.xx.xx.192</IntranetIp>
        <BindIp>::</BindIp>
  </Propertys>
  <Propertys>
        <InstanceName>paas-xx-2</InstanceName>
        <Uuid>007ecd45-e90f-4290-9exx-758407aa15xx</Uuid>
        <Proto>tcp</Proto>
        <InternetIp>118.xx.xx.7</InternetIp>
        <InstanceId>i-m5e56ycm6s07if43maxx</InstanceId>
        <Create>2020-02-18T15:52Z</Create>
        <Port>6443</Port>
        <Ip>118.xx.xx.7</Ip>
        <ProcName>kube-apiserver</ProcName>
        <CreateTimestamp>1582012349000</CreateTimestamp>
        <IntranetIp>192.xx.xx.192</IntranetIp>
        <BindIp>::</BindIp>
  </Propertys>
  <PageInfo>
        <Count>5</Count>
        <PageSize>5</PageSize>
        <TotalCount>762</TotalCount>
        <CurrentPage>1</CurrentPage>
  </PageInfo>
  <requestId>FAA793EF-5B14-4CDD-B3E0-B14D4342C422</requestId>
</DescribePropertyPortDetailResponse>

JSON 格式

{
  "Propertys": [
      {
       "InstanceName": "centos-xx",
		 	 "Uuid": "00274759-73ef-485a-ae40-c2b5972f50cd",
			 "Proto": "tcp",
			 "InternetIp": "101.xx.xx.104",
			 "InstanceId": "i-2ze645t5u9jo4txxx",
			 "Create": "2020-01-09T13:53Z",
			 "Port": "22",
			 "Ip": "101.xx.xx.104",
			 "ProcName": "sshd",
			 "CreateTimestamp": 1578549227000,
			 "IntranetIp": "192.xx.xx.96",
		   "BindIp": "0.0.0.0"
      },
      {
       "InstanceName": "paas-xxx-test1122",
			 "Uuid": "007ecd45-e90f-4290-9eac-758407aa1509",
			 "Proto": "tcp",
		 	 "InternetIp": "118.xx.xx.7",
			 "InstanceId": "i-m5e56ycm6xx7if43xx",
			 "Create": "2020-02-18T15:52Z",
			 "Port": "10251",
			 "Ip": "118.xx.xx.7",
			 "ProcName": "kube-scheduler",
			 "CreateTimestamp": 1582012349000,
			 "IntranetIp": "192.xx.xx.192",
			 "BindIp": "::"
      },
      {
       "InstanceName": "paas-xx-2",
			 "Uuid": "007ecd45-e9xx-4290-9eac-758407aa15xx",
			 "Proto": "tcp",
			 "InternetIp": "118.xx.xx.7",
			 "InstanceId": "i-m5e56ycm6s0xxf43maxx",
			 "Create": "2020-02-18T15:52Z",
			 "Port": "10252",
			 "Ip": "118.xx.xx.7",
			 "ProcName": "kube-controller-manager",
			 "CreateTimestamp": 1582012349000,
			 "IntranetIp": "192.xx.xx.192",
			 "BindIp": "::"
		},
		{
			"InstanceName": "paas-xx-2",
			"Uuid": "007ecd45-e90f-42xx-9eac-758407aa15xx",
			"Proto": "tcp",
			"InternetIp": "118.xx.xx.7",
			"InstanceId": "i-m5e56ycmxx07if43maxx",
			"Create": "2020-02-18T15:52Z",
			"Port": "2379",
			"Ip": "118.xx.xx.7",
			"ProcName": "etcd",
			"CreateTimestamp": 1582012349000,
			"IntranetIp": "192.xx.xx.192",
			"BindIp": "::"
		},
		{
			"InstanceName": "paas-xx-2",
			"Uuid": "007ecd45-e90f-4290-9exx-758407aa15xx",
			"Proto": "tcp",
			"InternetIp": "118.xx.xx.7",
			"InstanceId": "i-m5e56ycm6s07if43maxx",
			"Create": "2020-02-18T15:52Z",
			"Port": "6443",
			"Ip": "118.xx.xx.7",
			"ProcName": "kube-apiserver",
			"CreateTimestamp": 1582012349000,
			"IntranetIp": "192.xx.xx.192",
			"BindIp": "::"
		 }
    ],
"PageInfo": {
      "Count": 5,
      "PageSize": 5,
      "TotalCount": 762,
      "CurrentPage": 1
    },
  "requestId": "FAA793EF-5B14-4CDD-B3E0-B14D4342C422"
}

错误码

访问错误中心查看更多错误码。