ListImageAssociatedProjects

更新时间:
复制 MD 格式

Lists the workspaces associated with an image.

Operation description

  1. You must purchase DataWorks Basic Edition or higher to call this operation.

  2. Before you call this operation, ensure that the AliyunServiceRoleForDataWorks service-linked role is created.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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.