Suspends a batch processing task.
Operation description
You can suspend a batch processing task that is in the Running state. To resume a suspended task, call the ResumeBatch operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:SuspendBatch |
update |
*Batch
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The project name, which you can obtain from the response of the CreateProject operation. |
test-project |
| Id |
string |
Yes |
The batch processing task ID, which you can obtain from the response of the CreateBatch operation. |
batch-4eb9223f-3e88-42d3-a578-3f2852****** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
EC564A9A-BA5C-4499-A087-D9B9E76E***** |
Examples
Success response
JSON format
{
"RequestId": "EC564A9A-BA5C-4499-A087-D9B9E76E*****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.