You can call this operation to query the details of a port.

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 DescribePropertyPortDetail

The operation that you want to perform. Set the value to DescribePropertyPortDetail.

CurrentPage Integer No 1

The number of the page to return.

PageSize Integer No 6

The number of entries to return on each page.

Port String No 22

The port that you want to query.

ProcName String No sshd

The process that you want to query.

Remark String No 0.0.0.0

The name or IP address of the server.

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

The UUID of the asset.

Response parameters

Parameter Type Example Description
PageInfo

The page information.

Count Integer 5

The number of entries returned on the current page.

CurrentPage Integer 1

The page number of the returned page.

PageSize Integer 5

The number of entries returned per page.

TotalCount Integer 762

The total number of returned entries.

Propertys

The returned port information.

BindIp String 0.0.0.0

The IP address bound to the response.

Create String 1552632559000

The time when the asset fingerprint was collected.

CreateTimeStamp Long 1552632559000

The timestamp generated for the asset fingerprint.

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

The ID of the asset.

InstanceName String null

The name of the asset.

InternetIp String 127.1.1.1

The public IP address of the asset.

IntranetIp String 0.0.0.0

The private IP address of the asset.

Ip String null

The public IP address of the asset.

Port String 22

The port number.

ProcName String sshd

The name of the process that is using the port.

Proto String tcp

The network protocol.

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

The UUID of the asset.

RequestId String null

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DescribePropertyPortDetail
&<Common request parameters>

Sample success responses

XML format

<DescribePropertyPortDetail>
	  <code>200</code>
	  <data>
		    <Propertys>
			      <BindIp>0.0.0.0</BindIp>
			      <Port>22</Port>
			      <InstanceName></InstanceName>
			      <Proto>tcp</Proto>
			      <Ip></Ip>
			      <Create>1552285726000</Create>
			      <ProcName>sshd</ProcName>
			      <Uuid>36bde5fc-a09e-4028-a278-594091c36c74</Uuid>
		    </Propertys>
		    <Propertys>
			      <BindIp>0.0.0.0</BindIp>
			      <Port>22</Port>
			      <InstanceName></InstanceName>
			      <Proto>tcp</Proto>
			      <Ip></Ip>
			      <Create>1552520423000</Create>
			      <ProcName>sshd</ProcName>
			      <Uuid>27e7d065-4788-4d0e-8f88-22d7f2a2ccaf</Uuid>
		    </Propertys>
		    <Propertys>
			      <BindIp>0.0.0.0</BindIp>
			      <Port>22</Port>
			      <InstanceName></InstanceName>
			      <Proto>tcp</Proto>
			      <Ip></Ip>
			      <Create>1552630937000</Create>
			      <ProcName>sshd</ProcName>
			      <Uuid>inet-f7e35eaa-e112-40c5-af83-58cea026afe7</Uuid>
		    </Propertys>
		    <Propertys>
			      <BindIp>::</BindIp>
			      <Port>22</Port>
			      <InstanceName></InstanceName>
			      <Proto>tcp</Proto>
			      <Ip></Ip>
			      <Create>1552630937000</Create>
			      <ProcName>sshd</ProcName>
			      <Uuid>inet-f7e35eaa-e112-40c5-af83-58cea026afe7</Uuid>
		    </Propertys>
		    <Propertys>
			      <BindIp>0.0.0.0</BindIp>
			      <Port>22</Port>
			      <InstanceName></InstanceName>
			      <Proto>tcp</Proto>
			      <Ip></Ip>
			      <Create>1552632559000</Create>
			      <ProcName>sshd</ProcName>
			      <Uuid>50d213b4-3a35-427a-b8a5-04b0c7e1f4d2</Uuid>
		    </Propertys>
		    <PageInfo>
			      <Count>5</Count>
			      <PageSize>5</PageSize>
			      <TotalCount>762</TotalCount>
			      <CurrentPage>1</CurrentPage>
		    </PageInfo>
	  </data>
	  <success>true</success>
	  <requestId></requestId>
	  <message>successful</message>
</DescribePropertyPortDetail>

JSON format

{
	"message":"successful",
	"data":{
		"PageInfo":{
			"Count":5,
			"TotalCount":762,
			"PageSize":5,
			"CurrentPage":1
		},
		"Propertys":[
			{
				"Uuid":"36bde5fc-a09e-4028-a278-594091c36c74",
				"Port":"22",
				"Create":1552285726000,
				"Proto":"tcp",
				"BindIp":"0.0.0.0",
				"ProcName":"sshd"
			},
			{
				"Uuid":"27e7d065-4788-4d0e-8f88-22d7f2a2ccaf",
				"Port":"22",
				"Create":1552520423000,
				"Proto":"tcp",
				"BindIp":"0.0.0.0",
				"ProcName":"sshd"
			},
			{
				"Uuid":"inet-f7e35eaa-e112-40c5-af83-58cea026afe7",
				"Port":"22",
				"Create":1552630937000,
				"Proto":"tcp",
				"BindIp":"0.0.0.0",
				"ProcName":"sshd"
			},
			{
				"Uuid":"inet-f7e35eaa-e112-40c5-af83-58cea026afe7",
				"Port":"22",
				"Create":1552630937000,
				"Proto":"tcp",
				"BindIp":"::",
				"ProcName":"sshd"
			},
			{
				"Uuid":"50d213b4-3a35-427a-b8a5-04b0c7e1f4d2",
				"Port":"22",
				"Create":1552632559000,
				"Proto":"tcp",
				"BindIp":"0.0.0.0",
				"ProcName":"sshd"
			}
		]
	},
	"code":"200",
	"success":true
}

Error codes

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