Creates a periodic inspection task for specified PolarDB clusters.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterList |
array<object> |
No |
The list of clusters associated with the inspection task. |
|
|
object |
No |
|||
| DBClusterId |
string |
No |
The ID of the PolarDB cluster to be inspected. |
pc-test123456 |
| RegionId |
string |
No |
The ID of the region where the cluster to be inspected resides. |
cn-beijing |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-123 |
| CronExpression |
string |
No |
The cron expression for the inspection task, which specifies the periodic execution schedule. |
0 0 * * * |
| TaskDescription |
string |
No |
The description of the inspection task. |
Periodic inspection task |
| RegionId |
string |
No |
The ID of the region where the task resides. |
cn-beijing |
| SpaceId |
string |
No |
The ID of the inspection workspace. |
space-123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
2921D843-433A-5FB3-A03B-4EC093B219F8 |
| TaskId |
string |
The ID of the created inspection task. |
task-123 |
Examples
Success response
JSON format
{
"RequestId": "2921D843-433A-5FB3-A03B-4EC093B219F8",
"TaskId": "task-123"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.