Creates a batch task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:CreateBatchTask |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. Note
Call the DescribeRegions operation to query the regions of all clusters in your account. |
cn-beijing |
| TaskName |
string |
Yes |
The name of the batch task. |
batch_task_test |
| TaskType |
string |
Yes |
The task type. |
polarclaw_install_skills |
| InstanceIds |
array |
Yes |
The instance IDs. |
|
|
string |
Yes |
The instance ID. |
pa-xxxx |
|
| Param |
string |
No |
The task parameters. |
[{"skillName":"github","version":"1.0.0"},{"skillName":"skill-vetter","version":"1.0.1"}] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C61892A4-0850-4516-9E26-44D96C1782DE |
| BatchId |
string |
The release batch ID. |
pcb-xxx |
Examples
Success response
JSON format
{
"RequestId": "C61892A4-0850-4516-9E26-44D96C1782DE",
"BatchId": "pcb-xxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.