Queries a list of Operations and Maintenance (O&M) reports generated by DAS Agent.
Operation description
You can enable the O&M report feature for DAS Agent to allow the system to periodically inspect the target instance and generate reports. Currently, only daily reports can be generated.
Before you call this operation, make sure that the following requirements are met:
-
DAS Agent is enabled and has not expired.
-
The daily report feature is enabled on the DAS Agent configuration page.
-
If you use an Alibaba Cloud SDK, the version of aliyun-sdk-core must be later than 4.3.3. We recommend that you use the latest version.
-
The version of the DAS SDK is 1.0.3 or later.
-
When you use an SDK to call the DAS service, 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 |
A reserved parameter. |
null |
| AgentId |
string |
No |
Optional. The ID of the agent. By default, the default agent is used. You can also specify the ID of an agent that is generated after you enable the DAS Agent service or an agent that you create. |
ag-472T0DxtmjIxxxxx |
| StartTime |
integer |
Yes |
The start timestamp. |
1596177993000 |
| EndTime |
integer |
Yes |
The end timestamp. |
1655427625000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| Code |
string |
The HTTP status code. |
200 |
| Message |
string |
The returned message. Note
If the request is successful, Successful is returned. If the request fails, an error message, such as an error code, is returned. |
Successful |
| RequestId |
string |
The request ID. |
B6D17591-B48B-4D31-9CD6-9B9796B2**** |
| Success |
string |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
array<object> |
A list of report statuses. |
|
|
object |
A list of details, including the report ID, task date, and task status. |
||
| ReportId |
string |
The report ID. |
13f52040-5a6e-42c3-bb84-051f5d6d**** |
| Status |
string |
The status of the task. Valid values:0: WAITING_UNREADY1: WAITING_READY2: PROCESSING3: FINISHED4: ERROR-1: STOPPED |
3 |
| ReportDate |
string |
The date of the report. |
2025-12-10 |
| CreateTime |
string |
The time when the task was created. |
2025-12-11 00:39:00 |
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"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParams | The request parameters are invalid. | |
| 403 | NoPermission | You are not authorized to do this action. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.