GetInstanceGroupInspectReportList
Queries the list of O&M reports generated by DAS Agent.
Operation description
Enabling the O&M report feature of DAS Agent allows the system to perform regular inspections on target instances and generate reports. Currently, only daily reports are supported.
Before you call this operation, ensure that the following prerequisites are met:
You have activated DAS Agent and the agent is still valid.
You have enabled the daily report feature on the DAS Agent configuration page.
If you use the Alibaba Cloud SDK, ensure that the version of aliyun-sdk-core is later than 4.3.3. Use the latest version.
The version of the DAS SDK is 1.0.3 or later.
When you use the SDK to call DAS, set the region to cn-shanghai.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hdm:GetInstanceGroupInspectReportList |
get |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
string |
No |
The reserved parameter. |
null |
| AgentId |
string |
No |
Optional. By default, the default agent is used. You can also specify an agent that is generated after DAS Agent is activated or manually created. |
ag-472T0DxtmjIxxxxx |
| StartTime |
integer |
Yes |
The start time of the query. Specify a UNIX timestamp in milliseconds. |
1596177993000 |
| EndTime |
integer |
Yes |
The end time of the query. Specify a UNIX timestamp in milliseconds. |
1655427625000 |
| ReportType |
string |
No |
The type of the inspection report. |
daily |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Code |
string |
The returned status code. |
200 |
| Message |
string |
The message returned for the request. Note
If the request is successful, Successful is returned. If the request fails, an exception message such as an error code is returned. |
Successful |
| RequestId |
string |
The ID of the request. |
B6D17591-B48B-4D31-9CD6-9B9796B2**** |
| Success |
string |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
array<object> |
List |
|
|
object |
The list of detailed information, including the report ID, task date, and task status. |
||
| ReportId |
string |
The ID of the report. |
13f52040-5a6e-42c3-bb84-051f5d6d**** |
| Status |
string |
The task status. Valid values: WAITING_UNREADY = 0, WAITING_READY = 1, PROCESSING = 2, FINISHED = 3, ERROR = 4, and STOPPED = -1. |
3 |
| ReportDate |
string |
The diagnosis date. The format is YYYY-MM-DD. |
2025-12-10 |
| CreateTime |
string |
The time when the task was created. The format is YYYY-MM-DD HH:mm:ss. |
2025-12-11 00:39:00 |
| ReportType |
string |
The report type. Valid values: daily, weekly, and monthly. Historical data may return null, which is treated as a daily report. |
monthly |
| StartDate |
string |
The start date of the report period. The format is yyyy-MM-dd. This parameter may return null for daily reports. |
2026-10-01 |
| EndDate |
string |
The end date of the report period. The format is yyyy-MM-dd. This parameter may return null for daily reports. |
2026-10-30 |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "Successful",
"RequestId": "B6D17591-B48B-4D31-9CD6-9B9796B2****",
"Success": "true",
"Data": [
{
"ReportId": "13f52040-5a6e-42c3-bb84-051f5d6d****",
"Status": "3",
"ReportDate": "2025-12-10",
"CreateTime": "2025-12-11 00:39:00",
"ReportType": "monthly",
"StartDate": "2026-10-01",
"EndDate": "2026-10-30"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParams | The request parameters are invalid. | The request parameters are invalid. |
| 403 | NoPermission | You are not authorized to do this action. | You do not have the permission to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.