Associates an image with a workspace.
Operation description
You must purchase DataWorks Basic Edition or later to use this operation.
Ensure the AliyunServiceRoleForDataWorks service-linked role 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 |
| ProjectId |
integer |
Yes |
The project ID. |
100000001 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Data |
boolean |
The result of the API request. |
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": 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.
该文章对您有帮助吗?