CancelImageTest
Cancels an image test.
Operation description
You must purchase DataWorks Basic Edition or a higher edition to use this feature.
Make sure that the service-linked role AliyunServiceRoleForDataWorks is created before you call this operation.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
The image ID. |
Custom_image_xxxx_xxxx |
| ProcessId |
string |
No |
The ID of the image test execution to cancel. |
582d4896-d224-413b-b883-239eeebe0bc5 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Data |
object |
The result of the API request. |
true |
| ProcessId |
string |
The ID of the canceled image test execution. |
582d4896-d224-413b-b883-239eeebe0bc5 |
| Success |
boolean |
Indicates whether the cancellation was triggered successfully. |
true |
| RequestId |
string |
The request ID, which is used to locate logs and troubleshoot issues. |
6A6CBE87-9F91-1323-B680-E7A7065XXXXX |
Examples
Success response
JSON format
{
"Success": true,
"Data": {
"ProcessId": "582d4896-d224-413b-b883-239eeebe0bc5",
"Success": true
},
"RequestId": "6A6CBE87-9F91-1323-B680-E7A7065XXXXX"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.