Modifies the specified scheduled task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyScheduleTask |
update |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. Note
You can call the DescribeDBClusters operation to query the details of all clusters in your account, including cluster IDs. |
pc-**************** |
| TaskId |
string |
Yes |
The task ID. |
53879cdb-9a00-428e-acaf-ff4cff****** |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-************ |
| PlannedStartTime |
string |
Yes |
The earliest time to start the scheduled task. The time is in the Note
|
2023-05-15T20:00:00Z |
| PlannedEndTime |
string |
Yes |
The latest time to start the scheduled task. The time is in the Note
|
2023-04-18T19:20:00Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
E56531A4-E552-40BA-9C58-137B80****** |
| Success |
boolean |
The result of the request. Valid values:
|
True |
Examples
Success response
JSON format
{
"RequestId": "E56531A4-E552-40BA-9C58-137B80******\t\n",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidTimerParam.StartTime | The specified plannedStartTime is not valid | The specified earliest time of the scheduled task is invalid. |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | The specified DBClusterId parameter is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.