All Products
Search
Document Center

ApsaraDB RDS:ModifyScheduledTask

Last Updated:Mar 05, 2026

Modifies an existing inspection configuration.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
rdsai:ModifyScheduledTaskupdate
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ScheduledIdstringYes

The ID of the scheduled inspection configuration.

847268a4-196f-416b-aa12-bfe0c115****
NamestringNo

The name of the new inspection configuration.

DescriptionstringNo

The description of the new inspection configuration.

InstanceIdsstringNo

The new list of related instances. Separate multiple instances with commas (,).

rm-2ze6mk259v322****,rm-2zef3b65430j0****
StartTimestringNo

The new execution time of the inspection task. Specify the time in the ISO 8601 standard in the HH:mm:ssZ format. The time must be in UTC.

02:00:00Z
FrequencystringNo

The new inspection frequency. Separate multiple values with commas (,). Default value: DAILY. Valid values:

  • DAILY
  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday
  • Sunday

Note: DAILY takes precedence over other values. For example, if you enter DAILY,Monday, the backend will use DAILY as the inspection frequency.

Monday
TimeRangestringNo

The inspection time range. The default value is the latest 24 hours. Valid values: 1 to 168. The maximum value is 7 days.

24

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

Successboolean

The returned results.

true
Messagestring

The response message.

RequestIdstring

The request ID.

FE9C65D7-930F-57A5-A207-8C396329****

Examples

Sample success responses

JSONformat

{
  "Success": true,
  "Message": "",
  "RequestId": "FE9C65D7-930F-57A5-A207-8C396329****"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameterRequest parameter validation failed.Request parameter verification failed
403PermissionDeniedUser has no operation permission.User has no operation permission
403InvalidUserOrderThere is no valid order for this UID.There is no valid order for this UID
404TaskNotFoundThe resource of the specified ld does not exist.The resource of the specified ld does not exist.
500InternalErrorSystem internal exception.System internal exception

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2026-02-05Add OperationView Change Details