BuildImage
Builds an image.
Operation description
DataWorks Basic Edition or higher is required.
Ensure that the service-linked role AliyunServiceRoleForDataWorks is created before you call this API operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:BuildImage |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
The image ID. |
Custom_image_xxxx_xxxx |
| ResourceGroupId |
string |
Yes |
The unique identifier of the general-purpose resource group. |
Serverless_res_group_**** |
| ProcessId |
string |
No |
The image build execution ID, used as an idempotence token. |
582d4896-d224-413b-b883-239eeebe0bc5 |
| Cu |
number |
No |
The number of compute units (CUs) for the image build. |
0.5 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Success |
boolean |
Indicates whether the request is successful. |
true |
| Data |
object |
The API request result. |
{"ProcessId": "582d4896-d224-413b-b883-239eeebe0bc5", "Success": true} |
| ProcessId |
string |
The image build execution ID. |
582d4896-d224-413b-b883-239eeebe0bc5 |
| Success |
boolean |
Indicates whether the image build was triggered successfully. |
true |
| RequestId |
string |
The request ID, 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.