GetEffectiveImageById
Queries the effective versions of an image in various regions, along with its applications, distribution configurations, and tags.
Operation description
Queries the effective versions of an image in various regions by ImageId. If a image version is configured in the same region, the image version is returned first. You can specify BizRegionId to limit the query to a specific region. The returned results are also constrained by the product type and the regions visible to the account. To query the details of a specific version, call GetImageById.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:GetEffectiveImageById |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ImageId |
string |
No |
The image ID. This parameter is required when querying effective versions. |
imgc-bp1example**** |
| BizRegionId |
string |
No |
The ID of the business region to query. If this parameter is not specified, regions are not filtered by this parameter. The returned regions are still constrained by the product type and the visible scope of the account. |
cn-hangzhou |
| IgnoreFilter |
boolean |
No |
Specifies whether to skip filtering based on the operating system and adaptation status of adapted applications. Default value: false. A value of false retains only applications that match the image operating system and have completed adaptation. A value of true skips these two filters. Application type filtering is still controlled by the API operation and the ShowHidden parameter. Valid values:
|
false |
| ProductType |
string |
No |
The product type, such as CloudDesktop (Cloud Desktop), CloudApp (Cloud App), and WuyingServer (workstation). Valid values:
|
CloudDesktop |
| ShowHidden |
string |
No |
Specifies the additional virtual application types to include in the response besides the default user and system applications. Valid values:
Valid values:
|
VIRTUAL_DESKTOP_APP |
| ImageType |
string |
No |
The image type. Valid values:
Valid values:
|
User |
| ContentLocale |
string |
No |
The content language of the community image documentation in BCP 47 format, such as zh-CN and en-US. Default value: zh-CN. Valid values:
|
zh-CN |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The API call result. |
||
| Data |
object |
The image information returned by the query. |
Object |
| ImageInfoRegionModelList |
array<object> |
The details of the image versions that actually take effect in each region. For the same region, the configured newer version takes precedence. |
|
|
array<object> |
|||
| ImageExtendInfoModel |
object |
The image extended information, including disk specifications and GPU driver information. VHD or Container images use the extended information of their base image and base version. |
{} |
| GpuCategory |
integer |
The GPU category. Valid values:
|
1 |
| GpuDriverVersion |
string |
The GPU driver version. |
12 |
| SystemDiskSize |
integer |
The size of the system cloud disk. Unit: GiB. |
50 |
| DataDiskSize |
integer |
The size of the data cloud disk. Unit: GiB. |
100 |
| ImageRegionDistribute |
object |
The image distribution information for the current region. |
|
| RegionId |
string |
The ID of the region where the image is distributed. |
cn-shanghai |
| Status |
string |
The region distribution status. Valid values: CREATING: distributing. AVAILABLE: available. CREATE_FAILED: distribution failed. DELETE: deleted. Valid values:
|
AVAILABLE |
| UnitImageId |
string |
The logical ID of the image on the unit side, which can be different from the central image ID. |
m-1bdedef**** |
| Progress |
string |
The distribution progress of the image in the region, expressed as a percentage. |
100 |
| Message |
string |
The processing information reported by the region distribution task. |
success |
| RegionId |
string |
The ID of the region to which the image information belongs. |
cn-hangzhou |
| AdaptorInfoBOList |
array<object> |
The list of adapted applications for the image version. |
|
|
object |
|||
| AdaptorId |
string |
The adapter ID. |
adt-13ff3**** |
| AppId |
string |
The application ID. |
app-0aae4rgle910jh689 |
| AppVersionId |
string |
The application version ID. |
apv-**** |
| AppName |
string |
The application name. |
idb-ent-console |
| AppScript |
string |
The application script. |
{"param":"test", "startCmd":"test.exe"} |
| AppIconUrl |
string |
The application icon. |
https://****.jpg |
| AppVersionName |
string |
The version name. |
1.0 |
| AppVersionNumber |
string |
The version number. |
1.0.0 |
| FileName |
string |
The file name. |
filename_install.exe |
| FilePath |
string |
The file path. |
/tenant/123 |
| FileSize |
integer |
The file size. Unit: KB. |
102400 |
| BucketName |
string |
The name of the OSS bucket where the application files are located. |
xiaowutest-j |
| RuntimeEnv |
string |
The runtime environment. Valid values:
|
WINDOWS_MULTI_SESSION |
| AppType |
string |
The application type. |
USER_APP |
| OriginAppType |
string |
The original application type. Valid values:
|
CLIENT_BASE |
| SubAppType |
string |
The sub-application type. Valid values:
|
SAAS |
| OsType |
string |
The operating system type applicable to the application. |
Windows |
| BizType |
integer |
The business line ID of the application. Valid values:
|
1 |
| ProductType |
string |
The product type of the application. Valid values:
|
CloudDesktop |
| AdaptorMessage |
string |
The adaptor message. |
success |
| AdaptorStep |
string |
The adaptation phase. Valid values:
|
FINISH_ADAPT |
| AdaptorMode |
string |
The adaptation mode. Valid values:
|
MANUAL |
| Status |
string |
The application adaptation status. For example, ADAPT_DONE indicates that the adaptation is completed. Valid values:
|
ADAPT_DONE |
| CategoryType |
integer |
The level-1 application category, such as cloud applications and cloud games. This parameter is not available to the public. |
1 |
| CategoryId |
integer |
The level-2 application category, such as design software, office, and browsers. This parameter is not available to the public. |
123 |
| ExecuteFileAddress |
string |
The path of the executable file. This parameter is not available to the public. |
abc.text |
| SilenceParam |
string |
The silent installation parameters. This parameter is not available to the public. |
{} |
| ControlParam |
string |
The control parameters that can be configured by tenants and administrators. This parameter is not available to the public. |
{} |
| SilenceFlag |
string |
Specifies whether silent installation is enabled. This parameter can be configured by tenants and administrators, but is not available to the public. |
{} |
| OptimizeParam |
string |
The optimization parameters configured in the backend by administrators. |
{} |
| Port |
string |
The application service port. For applications that require port-based access, specify the actual port number that the application listens on. |
9000 |
| UrlSuffix |
string |
The URL path suffix for application access. This suffix and the application service port together describe the access entry point. |
/index |
| BucketName |
string |
The name of the OSS bucket where the image file is stored. |
monitor-record-sh-twg2is |
| ImageSource |
string |
The image source. For example, center indicates the central image service. |
center |
| ParentImageId |
string |
The parent image ID, which indicates the image inheritance relationship. System images do not have parent images. |
desktopimage-windows-11-64-asp |
| ParentImageVersion |
string |
The parent image version ID. |
iv-12ededgjj*** |
| BaseImageId |
string |
The base image ID. |
imgc-dewgefwc****** |
| BaseImageVersion |
string |
The base image version ID. |
iv-adbef134**** |
| FotaVersion |
string |
The FOTA version. |
3.0.11-R-20260624.195825 |
| Language |
string |
The image language. |
zh-CN |
| Platform |
integer |
The operating system platform ID. For example, 33 indicates Windows Server 2022. |
33 |
| OnlineVersion |
boolean |
Indicates whether the returned version is the online version. Valid values: true: Yes. false: No. |
true |
| AppList |
array<object> |
The application list, which displays only the application names and IDs. |
[] |
|
object |
The application configuration. |
Object |
|
| AppId |
string |
The application ID. |
app-0aae4rxw78**** |
| AppName |
string |
The application name. |
idb-ent-console |
| FeatureList |
array |
The list of feature tags supported by the image. |
|
|
string |
The image feature tag. For example, Builder indicates the builder feature. |
Builder |
|
| ImageCreateMode |
string |
The image creation method. For example, BUILDER_MANUAL indicates manual creation. Valid values:
|
BUILDER_MANUAL |
| GmtCreate |
string |
The creation time. The time is in RFC 3339 format. The Z in the example indicates the UTC time zone. |
2023-09-12T13:01:09Z |
| GmtModified |
string |
The last update time. The time is in RFC 3339 format. The Z in the example indicates the UTC time zone. |
2026-07-16T07:39:43Z |
| AliUid |
integer |
The ID of the Alibaba Cloud account to which the image belongs. The account ID for a system image is 0. |
13605346****** |
| ImageId |
string |
The image ID. |
imgc-0aae4rgk5yaa***** |
| ImageName |
string |
The image name. |
image0625 |
| ImageType |
string |
The image type. Valid values:
|
System |
| PackageType |
string |
The image packaging type. Ecs: ECS image. Vhd: virtual disk image. Container: container image. Ecs_Container: combined ECS and container image. K8s_Node: Kubernetes node image. Valid values:
|
ECS |
| Description |
string |
The image description. |
this is test image |
| OsType |
string |
The operating system type of the image. Windows: Windows system. Linux: Linux system. Android: Android system. Unknown: unknown system. |
Windows |
| ProtocolType |
string |
The connection protocol used by the image. ASP: Alibaba Cloud Streaming Protocol. HDX: HDX protocol. |
ASP |
| BizType |
integer |
The business line to which the image belongs. 1: basic business. 2: Personal Edition. 3: Cloud Office. 4: Cloud Streaming. 10: Standard Edition. |
1 |
| ProductType |
string |
The product type to which the image belongs, such as CloudDesktop (Cloud Desktop), CloudApp (Cloud App), and WuyingServer (WUYING Workspace Enterprise Edition workstation). |
CloudApp |
| VersionId |
string |
The image version ID. |
iv-xxx |
| OnlineVersionId |
string |
The ID of the current online version of the image. |
iv-1wder3ere**** |
| LatestVersionId |
string |
The ID of the latest version of the image. |
iv-1wder3ere**** |
| Status |
string |
The image status. INIT: initializing. CREATING: creating. AVAILABLE: available. CREATE_FAILED: creation failed. DELETE: deleted. |
INIT |
| PropertyMap |
object |
The extended properties of the image version in key-value pairs. |
{} |
|
string |
The value of the extended property. For example, the value of a disk encryption-related property can be a KMS key ID. |
a7b3c0c8-xxxx |
|
| PlatformName |
string |
The operating system platform name, which corresponds to Platform. |
Windows Server 2022 |
| ImageRegionList |
array |
The list of region IDs supported by the image. |
|
|
string |
The region ID supported by the image. |
cn-hangzhou |
|
| OnlineVersionSystemDiskSize |
integer |
The system cloud disk size of the online version. Unit: GiB. |
40 |
| OnlineVersionDataDiskSize |
integer |
The data cloud disk size of the online version. Unit: GiB. |
100 |
| GmtCreate |
string |
The creation time. The time is in RFC 3339 format. The Z in the example indicates the UTC time zone. |
2026-03-10T01:33:37Z |
| GmtModified |
string |
The last update time. The time is in RFC 3339 format. The Z in the example indicates the UTC time zone. |
2025-12-11T02:19:27Z |
| AliUid |
integer |
The ID of the Alibaba Cloud account to which the image belongs. The account ID for a system image is 0. |
100931896542**** |
| ImageId |
string |
The image ID. |
img-bp1234567890abcde |
| ImageName |
string |
The image name. |
DemoImage |
| ImageType |
string |
The image type. Valid values:
|
User |
| PackageType |
string |
The image packaging type. Ecs: ECS image. Vhd: virtual disk image. Container: container image. Ecs_Container: combined ECS and container image. K8s_Node: Kubernetes node image. |
ECS |
| Description |
string |
The image description. |
test |
| OsType |
string |
The operating system type of the image. Windows: Windows system. Linux: Linux system. Android: Android system. Unknown: unknown system. |
Windows |
| ProtocolType |
string |
The connection protocol used by the image. ASP: Alibaba Cloud Streaming Protocol. HDX: HDX protocol. |
ASP |
| BizType |
integer |
The business line to which the image belongs. 1: basic business. 2: Personal Edition. 3: Cloud Office. 4: Cloud Streaming. 10: Standard Edition. Valid values:
|
1 |
| ProductType |
string |
The product type to which the image belongs, such as CloudDesktop (Cloud Desktop), CloudApp (Cloud App), and WuyingServer (WUYING Workspace Enterprise Edition workstation). |
WuyingServer |
| VersionId |
string |
The image version ID. |
iv-agde4**** |
| OnlineVersionId |
string |
The ID of the current online version of the image. |
iv-xxxx |
| LatestVersionId |
string |
The ID of the latest version of the image. |
iv-xxx |
| Status |
string |
The image status. INIT: initializing. CREATING: creating. AVAILABLE: available. CREATE_FAILED: creation failed. DELETE: deleted. |
INIT |
| ParentImageId |
string |
The parent image ID, which indicates the image inheritance relationship. System images do not have parent images. |
imgc-xxx |
| OnlineVersionVolumeEncryptionEnabled |
boolean |
Indicates whether disk encryption is enabled for the online version. Valid values: true: Enabled. false: Disabled. |
|
| OnlineVersionVolumeEncryptionKey |
string |
The KMS key ID used when disk encryption is enabled for the online version. |
a7b3c0c8-xxxx |
| Rating |
integer |
The rating score of the image, with a maximum score of 100. |
95 |
| Document |
string |
The description document of the image in Markdown format. |
## this is a test document |
| ImageIconUrl |
string |
The URL of the image icon. |
https://xxx.jpg |
| EnvironmentId |
string |
The environment ID. |
eid-*** |
| TagList |
array<object> |
The list of image tags. |
|
|
object |
The list of image tags. |
||
| Key |
string |
The tag key. |
env |
| Value |
string |
The tag value. |
inner |
| Success |
boolean |
Indicates whether the API call is successful. Valid values: true: Successful. false: Failed. |
true |
| Code |
string |
The status code returned by the API. A value of 200 indicates success. If the call fails, the corresponding error code is returned. |
200 |
| Message |
string |
The message returned by the API. |
successful |
| RequestId |
string |
The request ID, which is used to locate and troubleshoot the request. |
50158E8B-992E-1286-B174-********** |
Examples
Success response
JSON format
{
"Data": {
"ImageInfoRegionModelList": [
{
"ImageExtendInfoModel": {
"GpuCategory": 1,
"GpuDriverVersion": "12",
"SystemDiskSize": 50,
"DataDiskSize": 100
},
"ImageRegionDistribute": {
"RegionId": "cn-shanghai",
"Status": "AVAILABLE",
"UnitImageId": "m-1bdedef****",
"Progress": "100",
"Message": "success"
},
"RegionId": "cn-hangzhou",
"AdaptorInfoBOList": [
{
"AdaptorId": "adt-13ff3****",
"AppId": "app-0aae4rgle910jh689",
"AppVersionId": "apv-****",
"AppName": "idb-ent-console",
"AppScript": "{\"param\":\"test\", \"startCmd\":\"test.exe\"}",
"AppIconUrl": "https://****.jpg",
"AppVersionName": "1.0",
"AppVersionNumber": "1.0.0",
"FileName": "filename_install.exe",
"FilePath": "/tenant/123",
"FileSize": 102400,
"BucketName": "xiaowutest-j",
"RuntimeEnv": "WINDOWS_MULTI_SESSION",
"AppType": "USER_APP",
"OriginAppType": "CLIENT_BASE",
"SubAppType": "SAAS",
"OsType": "Windows",
"BizType": 1,
"ProductType": "CloudDesktop",
"AdaptorMessage": "success",
"AdaptorStep": "FINISH_ADAPT",
"AdaptorMode": "MANUAL",
"Status": "ADAPT_DONE",
"CategoryType": 1,
"CategoryId": 123,
"ExecuteFileAddress": "abc.text",
"SilenceParam": "{}",
"ControlParam": "{}",
"SilenceFlag": " {}",
"OptimizeParam": "{}",
"Port": "9000",
"UrlSuffix": "/index"
}
],
"BucketName": "monitor-record-sh-twg2is",
"ImageSource": "center",
"ParentImageId": "desktopimage-windows-11-64-asp",
"ParentImageVersion": "iv-12ededgjj***",
"BaseImageId": "imgc-dewgefwc******",
"BaseImageVersion": "iv-adbef134****",
"FotaVersion": "3.0.11-R-20260624.195825",
"Language": "zh-CN",
"Platform": 33,
"OnlineVersion": true,
"AppList": [
{
"AppId": "app-0aae4rxw78****",
"AppName": "idb-ent-console"
}
],
"FeatureList": [
"Builder"
],
"ImageCreateMode": "BUILDER_MANUAL",
"GmtCreate": "2023-09-12T13:01:09Z",
"GmtModified": "2026-07-16T07:39:43Z",
"AliUid": 0,
"ImageId": "imgc-0aae4rgk5yaa*****",
"ImageName": "image0625",
"ImageType": "System",
"PackageType": "ECS",
"Description": "this is test image",
"OsType": "Windows",
"ProtocolType": "ASP",
"BizType": 1,
"ProductType": "CloudApp",
"VersionId": "iv-xxx",
"OnlineVersionId": "iv-1wder3ere****",
"LatestVersionId": "iv-1wder3ere****",
"Status": "INIT",
"PropertyMap": {
"key": "a7b3c0c8-xxxx"
},
"PlatformName": "Windows Server 2022"
}
],
"ImageRegionList": [
"cn-hangzhou"
],
"OnlineVersionSystemDiskSize": 40,
"OnlineVersionDataDiskSize": 100,
"GmtCreate": "2026-03-10T01:33:37Z",
"GmtModified": "2025-12-11T02:19:27Z",
"AliUid": 0,
"ImageId": "img-bp1234567890abcde",
"ImageName": "DemoImage",
"ImageType": "User",
"PackageType": "ECS",
"Description": "test",
"OsType": "Windows",
"ProtocolType": "ASP",
"BizType": 1,
"ProductType": "WuyingServer",
"VersionId": "iv-agde4****",
"OnlineVersionId": "iv-xxxx",
"LatestVersionId": "iv-xxx",
"Status": "INIT",
"ParentImageId": "imgc-xxx",
"OnlineVersionVolumeEncryptionEnabled": false,
"OnlineVersionVolumeEncryptionKey": "a7b3c0c8-xxxx",
"Rating": 95,
"Document": "## this is a test document",
"ImageIconUrl": "https://xxx.jpg",
"EnvironmentId": "eid-***",
"TagList": [
{
"Key": "env",
"Value": "inner"
}
]
},
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "50158E8B-992E-1286-B174-**********\n"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Image.NotExist | The image does not exist. | The image does not exist. |
| 400 | InternalError | Internal error. | An internal error occurred. |
| 403 | Forbidden.NoPermission | You are not authorized to access this page. | You are not authorized to access this page. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.