Queries inspection tasks, their execution plans, and associated clusters by paging based on the inspection space.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
The number of entries to return on each page. Default value: 30. |
30 |
| PageNumber |
integer |
No |
The page number. Pages start from 1. Default value: 1. |
1 |
| RegionId |
string |
No |
The ID of the region where the task is located. |
cn-beijing |
| SpaceId |
string |
No |
The ID of the inspection space used to filter tasks. |
space-123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
2921D843-433A-5FB3-A03B-4EC093B219F8 |
| TaskLists |
array<object> |
The list of inspection tasks. |
|
|
object |
|||
| TaskId |
string |
The ID of the inspection task. |
task-001 |
| CronExpression |
string |
The cron expression for periodic inspections. |
0 0 2 * * ? |
| TaskDescription |
string |
The description of the inspection task. |
Periodic inspection task |
| ExpireTime |
string |
The expiration date of the inspection task. |
2025-12-31 |
| DBClusterIds |
string |
The IDs of the PolarDB clusters to be inspected. Separate multiple IDs with commas. |
pc-001,pc-002 |
| CreateTime |
string |
The date when the task was last modified. |
2024-06-01 |
Examples
Success response
JSON format
{
"RequestId": "2921D843-433A-5FB3-A03B-4EC093B219F8",
"TaskLists": [
{
"TaskId": "task-001",
"CronExpression": "0 0 2 * * ?",
"TaskDescription": "定期巡检任务",
"ExpireTime": "2025-12-31",
"DBClusterIds": "pc-001,pc-002",
"CreateTime": "2024-06-01"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.