DescribeInspectionTaskReport
Queries the report for a specific inspection task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeInspectionTaskReport |
get |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskId |
string |
Yes |
The task ID. |
tit-dca42f85c73644e0ab5c80ef64121axxx |
| InstanceId |
string |
Yes |
The assistant instance ID. |
ta-bp19f4f6994813xxx |
| InspectionInsId |
string |
No |
The inspection instance ID. |
r-bp19f4f6994813xxx |
| LevelSummary |
string |
No |
The summary of risk levels for inspection results. You can specify multiple values. Valid values:
|
Error,Warning |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
561AFBF1-BE20-44DB-9BD1-6988B53E**** |
| Data |
object |
The task report. |
|
| InstanceIds |
array |
The list of associated instance IDs. |
|
|
string |
The instance ID. |
r-wz93exjnkkv6vnciyc |
|
| MarkdownText |
string |
The Markdown text of the report details. |
# Tair intelligent inspection report\n\n## Overview.. |
| Status |
string |
The task status. |
SUCCEEDED |
| Summary |
object |
The summary. |
|
| Error |
integer |
The high-risk count. |
0 |
| Failed |
integer |
The failed count. |
0 |
| Normal |
integer |
The normal count. |
1 |
| Warning |
integer |
The warning count. |
0 |
| TaskId |
string |
The task ID. |
tit-dca42f85c73644e0ab5c80ef6412xxx |
| ReportLanguage |
string |
The report language. |
zh-CN |
| Success |
boolean |
Indicates whether the request was successful. |
true |
Examples
Success response
JSON format
{
"RequestId": "561AFBF1-BE20-44DB-9BD1-6988B53E****",
"Data": {
"InstanceIds": [
"r-wz93exjnkkv6vnciyc"
],
"MarkdownText": "# Tair intelligent inspection report\\n\\n## Overview..",
"Status": "SUCCEEDED",
"Summary": {
"Error": 0,
"Failed": 0,
"Normal": 1,
"Warning": 0
},
"TaskId": "tit-dca42f85c73644e0ab5c80ef6412xxx",
"ReportLanguage": "zh-CN"
},
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.