ListImageAssociatedProjects
Lists the workspaces associated with an image.
Operation description
-
You must purchase DataWorks Basic Edition or higher to call this operation.
-
Before you call this operation, ensure that the AliyunServiceRoleForDataWorks service-linked role is created.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:ListImageAssociatedProjects |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
The ID of the image. |
Custom_image_xxxx_xxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Data |
array |
An array of project IDs for the associated workspaces. |
|
|
integer |
The project ID. |
100000001 |
|
| RequestId |
string |
The request ID. |
6A6CBE87-9F91-1323-B680-E7A7065XXXXX |
Examples
Success response
JSON format
{
"Success": true,
"Data": [
100000001
],
"RequestId": "6A6CBE87-9F91-1323-B680-E7A7065XXXXX"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.