All Products
Search
Document Center

DataWorks:ListImageVersions

Last Updated:Jun 11, 2026

Mengambil detail versi gambar tertentu.

Deskripsi operasi

  1. To use this API, you must purchase DataWorks Basic Edition or a later edition.

  2. Ensure you create the service-linked role AliyunServiceRoleForDataWorks before you call this API.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

Id

string

Yes

ID image.

Custom_image_xxxx_xxxx

PageNumber

integer

No

Nomor halaman.

1

PageSize

integer

No

Jumlah entri per halaman.

10

Elemen respons

Element

Type

Description

Example

object

The response schema.

Success

boolean

Indicates whether the request succeeded.

true

PagingInfo

object

The pagination details.

ImageVersions

array<object>

A list of image version details.

array<object>

The details of the image version.

Id

string

Custom_image_xxxx_xxxx

Name

string

dataworks_image

Version

string

1

Description

string

Test image created by xxx

Creator

string

123

Modifier

string

123

CreatedTime

integer

1727055811000

LastModifiedTime

integer

1727055811000

Official

boolean

true

Accessibility

string

Public

Status

string

Available

PublishStage

string

Published

Supported

object

Module

string

Scheduler

TaskTypes

array

string

Shell

IsDefault

boolean

false

EnableSyncMaxCompute

boolean

false

ProviderType

string

ACR

ProviderImageId

string

acr_image_id

ImageUri

string

registry.cn-hangzhou.aliyuncs.com/xxx/xxx:tag

Namespace

string

namespace

Size

string

1GB

AcrInstanceId

string

cri-xxx

ImageTag

string

v1.0.0

RepositoryName

string

repo_name

ImageVpcUri

string

registry-vpc.cn-hangzhou.aliyuncs.com/xxx/xxx:tag

AcrEndpoint

string

registry.cn-hangzhou.aliyuncs.com

AcrAssociatedVpcId

string

vpc-xxx

BuildConfig

object

BuildType

string

PackageInstallation

PackageInstallationScripts

array<object>

object

Type

string

Python3

Content

string

requests

PageNumber

integer

The page number.

1

PageSize

integer

The number of entries per page.

10

TotalCount

integer

The total number of entries.

10

RequestId

string

The request ID, used to locate logs and troubleshoot issues.

6A6CBE87-9F91-1323-B680-E7A7065XXXXX

Contoh

Respons sukses

JSONformat

{
  "Success": true,
  "PagingInfo": {
    "ImageVersions": [
      {
        "Id": "Custom_image_xxxx_xxxx",
        "Name": "dataworks_image",
        "Version": "1",
        "Description": "Test image created by xxx",
        "Creator": "123",
        "Modifier": "123",
        "CreatedTime": 1727055811000,
        "LastModifiedTime": 1727055811000,
        "Official": true,
        "Accessibility": "Public",
        "Status": "Available",
        "PublishStage": "Published",
        "Supported": {
          "Module": "Scheduler",
          "TaskTypes": [
            "Shell"
          ]
        },
        "IsDefault": false,
        "EnableSyncMaxCompute": false,
        "ProviderType": "ACR",
        "ProviderImageId": "acr_image_id",
        "ImageUri": "registry.cn-hangzhou.aliyuncs.com/xxx/xxx:tag",
        "Namespace": "namespace",
        "Size": "1GB",
        "AcrInstanceId": "cri-xxx",
        "ImageTag": "v1.0.0",
        "RepositoryName": "repo_name",
        "ImageVpcUri": "registry-vpc.cn-hangzhou.aliyuncs.com/xxx/xxx:tag",
        "AcrEndpoint": "registry.cn-hangzhou.aliyuncs.com",
        "AcrAssociatedVpcId": "vpc-xxx",
        "BuildConfig": {
          "BuildType": "PackageInstallation",
          "PackageInstallationScripts": [
            {
              "Type": "Python3",
              "Content": "requests"
            }
          ]
        }
      }
    ],
    "PageNumber": 1,
    "PageSize": 10,
    "TotalCount": 10
  },
  "RequestId": "6A6CBE87-9F91-1323-B680-E7A7065XXXXX"
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.