Queries assets that are identified by Internet Data Center (IDC) probes.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeIdcProbeScanResultList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
The number of entries per page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page. Note
We recommend that you do not leave this parameter empty. |
20 |
| CurrentPage |
integer |
No |
The page number. |
1 |
| Criteria |
string |
No |
The search conditions for assets. This parameter is in the JSON format. The value is case-sensitive. Note
A search condition can be the instance ID, instance name, VPC ID, region, or public IP address. You can call the DescribeIdcAssetCriteria operation to query supported search conditions. |
[{\"name\":\"scannedIp\",\"value\":\"192.168.2.11\"}] |
| LogicalExp |
string |
No |
The logical operator that combines multiple search conditions. Valid values:
|
OR |
| Status |
string |
No |
The statuses of the corresponding probes. Separate multiple values with commas (,). Valid values:
|
0,1 |
| FoundStartTime |
integer |
No |
The start time of the scan. |
1720006818000 |
| FoundEndTime |
integer |
No |
The end time of the scan. |
1720006819000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
A3D7C47D-3F11-57BB-90E8-E5C20C61**** |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
20 |
| TotalCount |
integer |
The total number of entries returned. |
69 |
| Count |
integer |
The number of entries returned on the current page. |
9 |
| Instances |
array<object> |
The instances. |
|
|
object |
The instance. |
||
| ValidPort |
string |
The port that is scanned. |
22 |
| ProbeIntranetIp |
string |
The private IP address of the associated instance. |
192.168.*.* |
| Os |
string |
The operating system type of the asset. Valid values:
|
Linux |
| ClientStatus |
string |
The status of the client of the instance on which the probe is installed. Valid values:
|
online |
| ProbeInternetIp |
string |
The private IP address of the associated instance. |
42.121.*.* |
| LastScanTime |
integer |
The timestamp when the last scan was performed. Unit: milliseconds. |
1720006818000 |
| IpSegment |
string |
The CIDR blocks. |
192.168.2.0/24 |
| ProbeMachineName |
string |
The name of the associated instance. |
i-xxxx |
| ScannedIp |
string |
The IP address that is scanned. |
192.168.*.* |
| ProbeUuid |
string |
The UUID of the associated instance. |
11C96623-E106-59C9-866D-A6C82911**** |
| IdcName |
string |
The name of the IDC. |
3K IDC Guangzhou |
| ScanResultId |
integer |
The ID of the scan result. |
1231 |
Examples
Success response
JSON format
{
"RequestId": "A3D7C47D-3F11-57BB-90E8-E5C20C61****",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 69,
"Count": 9
},
"Instances": [
{
"ValidPort": "22",
"ProbeIntranetIp": "192.168.*.*",
"Os": "Linux",
"ClientStatus": "online",
"ProbeInternetIp": "42.121.*.*",
"LastScanTime": 1720006818000,
"IpSegment": "192.168.2.0/24",
"ProbeMachineName": "i-xxxx",
"ScannedIp": "192.168.*.*",
"ProbeUuid": "11C96623-E106-59C9-866D-A6C82911****\n",
"IdcName": "3K IDC Guangzhou",
"ScanResultId": 1231
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.