获取所有端口信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
yundun-sas:DescribePropertyPortItem |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ForceFlush |
boolean |
否 |
是否强制刷新待查询数据。 |
true |
| Port |
string |
否 |
端口号。 |
22 |
| CurrentPage |
integer |
否 |
分页查询时,显示的当前页的页码。 |
1 |
| PageSize |
integer |
否 |
分页查询时,显示的每页数据的最大条数。 |
5 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
结果的请求 ID。 |
7E0618A9-D5EF-4220-9471-C42B5E92719F |
| PageInfo |
object |
页面显示信息。 |
|
| CurrentPage |
integer |
分页查询时,显示的当前页的页码。 |
1 |
| PageSize |
integer |
分页查询时,显示的每页数据的最大条数。 |
5 |
| TotalCount |
integer |
数据的总条数。 |
163 |
| Count |
integer |
分页查询时,显示的当前页的数据条数。 |
5 |
| PropertyItems |
array<object> |
端口信息。 |
|
|
object |
|||
| Port |
string |
监听端口号。 |
22 |
| Count |
integer |
端口对应的服务器数量。 |
495 |
| Proto |
string |
端口对应的网络协议。 |
tcp |
示例
正常返回示例
JSON格式
{
"RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 5,
"TotalCount": 163,
"Count": 5
},
"PropertyItems": [
{
"Port": "22",
"Count": 495,
"Proto": "tcp"
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | DescribePropertyPortItem | get property port detail error | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。