Queries the information about the gateway assets, ports, server components, or public IP addresses that are exposed on the Internet.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeExposedStatisticsDetail |
The operation that you want to perform. Set the value to DescribeExposedStatisticsDetail. |
StatisticsType | String | Yes | exposureType |
The type of the exposed asset. Valid values:
|
PageSize | Integer | No | 20 |
The number of entries to return on each page. Default value: 20. Note We recommend that you do not leave this parameter empty.
|
CurrentPage | Integer | No | 1 |
The page number of the current page. |
StatisticsTypeInstanceValue | String | No | lb-2ze4rso39h4nczcqs**** |
The ID of the gateway asset. This parameter takes effect only when StatisticsType is set to exposureType. |
StatisticsTypeGatewayType | String | No | SLB |
The type of the gateway asset. This parameter takes effect only when StatisticsType is set to exposureType. Valid values:
|
All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.
For more information about sample requests, see the "Examples" section of this topic.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
PageInfo | Struct |
The page information. |
|
Count | Integer | 2 |
The number of entries returned on the current page. |
CurrentPage | Integer | 1 |
The page number of the current page. |
PageSize | Integer | 20 |
The number of entries returned per page. |
TotalCount | Integer | 2 |
The total number of entries returned. |
RequestId | String | 7CBAFB3F-1ED7-4A23-986A-6F67F0466BD1 |
The ID of the request. |
StatisticsDetails | Array of StatisticsDetail |
The information about the gateway assets, ports, server components, or public IP addresses that are exposed on the Internet. |
|
ExposureComponent | String | tomcat |
The server component that is exposed on the Internet. |
ExposureIp | String | 123.57.XX.XX |
The public IP address that is exposed to the Internet. |
ExposurePort | String | 22 |
The port that is exposed on the Internet. |
ExposureType | String | SLB |
The resource from which the asset is exposed. Valid values:
|
ExposureTypeId | String | lb-2ze4rso39h4nczcqs**** |
The ID of the instance to which the resource belongs. The valid values of this parameter vary based on the ExposureType parameter.
|
ExposureTypeInstanceName | String | ngw-bp1vkbju8f3w87c9v**** |
The name of the gateway asset that is exposed on the Internet. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeExposedStatisticsDetail
&StatisticsType=exposureType
&<Common request parameters>
Sample success responses
XML
format
<DescribeExposedStatisticsDetailResponse>
<PageInfo>
<TotalCount>2</TotalCount>
<PageSize>20</PageSize>
<CurrentPage>1</CurrentPage>
<Count>2</Count>
</PageInfo>
<RequestId>7CBAFB3F-1ED7-4A23-986A-6F67F0466BD1</RequestId>
<StatisticsDetails>
<ExposureType>SLB</ExposureType>
<ExposureTypeId>lb-2ze4rso39h4nczcqs****</ExposureTypeId>
</StatisticsDetails>
<StatisticsDetails>
<ExposureType>SLB</ExposureType>
<ExposureTypeId>lb-bp1g61a2sdn01n5k8****</ExposureTypeId>
</StatisticsDetails>
</DescribeExposedStatisticsDetailResponse>
JSON
format
{
"PageInfo": {
"TotalCount": 2,
"PageSize": 20,
"CurrentPage": 1,
"Count": 2
},
"RequestId": "7CBAFB3F-1ED7-4A23-986A-6F67F0466BD1",
"StatisticsDetails": [
{
"ExposureType": "SLB",
"ExposureTypeId": "lb-2ze4rso39h4nczcqs****"
},
{
"ExposureType": "SLB",
"ExposureTypeId": "lb-bp1g61a2sdn01n5k8****"
}
]
}
Error codes
For a list of error codes, visit the API Error Center.