查询暴露在互联网中的网关资产、端口、系统组件或公网IP列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
PageSize | integer | 否 | 指定分页查询时,每页显示的数据最大条数。每页默认显示的数据条数为20条,PageSize参数值为空时,将默认返回20条数据。 说明建议PageSize取值不要为空。 | 20 |
CurrentPage | integer | 否 | 指定分页查询时,当前页的页码。 | 1 |
StatisticsType | string | 是 | 指定要查看的统计值类型。取值:
| exposureType |
StatisticsTypeInstanceValue | string | 否 | StatisticsType为exposureType时,指定要查询的网关实例ID。 | lb-2ze4rso39h4nczcqs**** |
StatisticsTypeGatewayType | string | 否 | StatisticsType为exposureType时,指定要查询的网关资产类型。取值:
| SLB |
调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见公共参数。 调用API的请求格式,请参见本文示例中的请求示例。
返回参数
示例
请求示例
http(s)://[Endpoint]/?Action=DescribeExposedStatisticsDetail
&StatisticsType=exposureType
&<公共请求参数>
正常返回示例
JSON
格式
{
"RequestId": "7CBAFB3F-1ED7-4A23-986A-6F67F0466BD1",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 2,
"Count": 2
},
"StatisticsDetails": [
{
"ExposureIp": "123.57.XX.XX",
"ExposurePort": "22",
"ExposureTypeInstanceName": "ngw-bp1vkbju8f3w87c9v****",
"ExposureType": "SLB",
"ExposureComponent": "tomcat",
"ExposureTypeId": "lb-2ze4rso39h4nczcqs****"
}
]
}
错误码
访问错误中心查看更多错误码。