Describes the status of an inspection report.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nis:DescribeNisInspectionReportStatus |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InspectionReportId |
string |
Yes |
The ID of the inspection report. |
nir-2ca527b8de114ba4afb9 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
RpcResponse |
||
| RequestId |
string |
The request ID. |
A7F0D6EC-E19E-58AC-AC9F-08036763960F |
| InspectionReportId |
string |
The ID of the inspection report. |
nir-2ca527b8de114ba4afb9 |
| InspectionTaskId |
string |
The ID of the inspection task. |
ni-8svmpe0yso****r7fh79 |
| Status |
string |
The status of the inspection report. Valid values:
|
Finish |
| StartTime |
string |
The start time. |
2024-07-18 15:12:28 |
| EndTime |
string |
The end time. |
2024-07-18 15:13:07 |
| InspectionProject |
string |
The type of inspection plan used for the task. Valid values:
|
basic |
| InspectionTaskName |
string |
The name of the inspection task. |
Default |
Examples
Success response
JSON format
{
"RequestId": "A7F0D6EC-E19E-58AC-AC9F-08036763960F",
"InspectionReportId": "nir-2ca527b8de114ba4afb9",
"InspectionTaskId": "ni-8svmpe0yso****r7fh79",
"Status": "Finish",
"StartTime": "2024-07-18 15:12:28",
"EndTime": "2024-07-18 15:13:07",
"InspectionProject": "basic",
"InspectionTaskName": "Default"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Forbidden.InspectionReportId | This user does not have permission to this report parameter (%s). | This user does not have permission to this report parameter (%s). |
| 404 | ResourceNotFound.InspectionReportId | The specified InspectionReportId(%s) is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.