Performs incremental updates on multiple tasks at a time.
Operation description
This API operation is available for all DataWorks editions.
Debugging
Authorization information
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Tasks | array<object> | No | The list of tasks. | |
| Task | object | No | ||
| Id | long | Yes | The task ID. | 1234 |
| EnvType | string | No | The project environment.
| Prod |
| Name | string | No | The name. | SQL node |
| Description | string | No | The description. | test |
| Owner | string | No | The account ID of the task owner. | 1000 |
| Timeout | integer | No | The task execution timeout in seconds. The value should be greater than 3600. | 3600 |
| RerunMode | string | No | The rerun mode. Valid values:
| AllAllowed |
| RerunTimes | integer | No | The number of retry attempts. Takes effect when the task is configured to allow reruns. | 3 |
| RerunInterval | integer | No | The retry interval in seconds. | 60 |
| Trigger | object | No | The task trigger configurations. | |
| Type | string | No | The trigger type. Valid values:
| Scheduler |
| Recurrence | string | No | The running mode of the task after it is triggered. This parameter takes effect only if the Type parameter is set to Scheduler. Valid values:
| Normal |
| Cron | string | No | The cron expression. Takes effect when type=Scheduler. | 00 00 00 * * ? |
| StartTime | string | No | The time when periodic triggering takes effect. This parameter takes effect only if the Type parameter is set to Scheduler. The value of this parameter is in the | 1970-01-01 00:00:00 |
| EndTime | string | No | The expiration time of periodic triggering. Takes effect only when type is set to Scheduler. The value of this parameter is in the | 9999-01-01 00:00:00 |
| RuntimeResource | object | No | Runtime environment configurations, such as resource group information. | |
| ResourceGroupId | string | No | The identifier of the scheduling resource group used in the task runtime configuration. | S_res_group_524258031846018_1684XXXXXXXXX |
| Image | string | No | The image ID used in the task runtime configuration. | i-xxxxxx |
| Cu | string | No | The default number of compute units (CUs) configured for task running. | 0.25 |
| DataSource | object | No | Associated data source information. | |
| Name | string | No | The data source name. | odps_test |
| Tags | array<object> | No | The list of task tags. | |
| Tag | object | No | ||
| Key | string | Yes | The tag key. | key1 |
| Value | string | No | The tag value. | value1 |
| Comment | string | No | The remarks. | this is a comment |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "22C97E95-F023-56B5-8852-B1A77A17XXXX",
"SuccessInfo": {
"key": {
"Success": true,
"Message": "The task does not exist."
}
}
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
