Modifies an existing inspection configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rdsai:ModifyScheduledTask |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ScheduledId |
string |
Yes |
The ID of the scheduled task. |
847268a4-196f-416b-aa12-bfe0c115**** |
| Name |
string |
No |
The new name for the scheduled task. |
RDS巡检任务 |
| Description |
string |
No |
The new description for the scheduled task. |
定时RDS实例巡检任务 |
| InstanceIds |
string |
No |
The new list of instance IDs to associate with the task. Separate multiple IDs with a comma (,). |
rm-2ze6mk259v322****,rm-2zef3b65430j0**** |
| StartTime |
string |
No |
The new start time for the scheduled task. The time must be in the |
02:00:00Z |
| Frequency |
string |
No |
The new inspection frequency. Separate multiple values with a comma (,). The default is
Note: The DAILY value overrides any weekly values. For example, if you specify DAILY,Monday, the inspection frequency is set to DAILY. |
Monday |
| TimeRange |
string |
No |
The time range for the inspection, in hours. The system analyzes data generated within this period. The default value is 24. The value must be an integer from 1 to 168 (equivalent to 7 days). |
24 |
| ReportLanguage |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Message |
string |
The response message. |
定时任务更新成功 |
| RequestId |
string |
The request ID. |
FE9C65D7-930F-57A5-A207-8C396329**** |
Examples
Success response
JSON format
{
"Success": true,
"Message": "定时任务更新成功",
"RequestId": "FE9C65D7-930F-57A5-A207-8C396329****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Request parameter validation failed. | Request parameter verification failed |
| 500 | InternalError | System internal exception. | System internal exception |
| 403 | PermissionDenied | User has no operation permission. | User has no operation permission |
| 403 | InvalidUserOrder | There is no valid order for this UID. | There is no valid order for this UID |
| 404 | TaskNotFound | The resource of the specified ld does not exist. | The resource of the specified ld does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.