Queries the details of all ports.


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 DescribePropertyPortItem

The operation that you want to perform.

Set the value to DescribePropertyPortItem.

ForceFlush Boolean No true

Specifies whether to forcibly refresh the data that you want to query.

Port String No 22

The port number.

CurrentPage Integer No 1

The page number of the current page.

PageSize Integer No 5

The number of entries to return on each page.

Response parameters

Parameter Type Example Description
RequestId String 7E0618A9-D5EF-4220-9471-C42B5E92719F

The ID of the request.

PropertyItems Array

The details of the port.

Port String 22

The number of the listener port.

Proto String tcp

The network protocol of the port.

Count Integer 495

The number of servers that use the port.

PageInfo Struct

The page information.

Count Integer 5

The number of entries returned on the current page.

PageSize Integer 5

The number of entries returned per page.

TotalCount Integer 163

The total number of returned entries.

CurrentPage Integer 1

The page number of the current page.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

  "requestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F", 
  "PropertyItems": [
        "Port": "22",
        "Proto": "tcp",
        "Count": 495
        "Port": "111",
        "Proto": "tcp",
        "Count": 43
        "Port": "6000",
        "Proto": "tcp",
        "Count": 2
        "Port": "53",
        "Proto": "tcp",
        "Count": 1
        "Port": "80",
        "Proto": "tcp",
        "Count": 38
  "PageInfo": {
      "Count": 5,
      "PageSize": 5,
      "TotalCount": 163,
      "CurrentPage": 1

Error codes

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