Queries assets that are identified by Internet Data Center (IDC) probes.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
yundun-sas:DescribeIdcProbeScanResultList | get | *All Resources * |
| 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 | long | No | The start time of the scan. | 1720006818000 |
FoundEndTime | long | No | The end time of the scan. | 1720006819000 |
Response parameters
Examples
Sample success responses
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": "Test",
"ScanResultId": 1231
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.