ListImageBaseInfo
Performs a paged query to retrieve the basic information of images, including the image name, type, status, and version identity, with paging support.
Operation description
Supports filtering by image ID, name, status, type, package type, operating system, business line, product type, and protocol type. Multiple filter conditions take effect simultaneously, and the results are returned in descending order of image creation time. Returns the basic information and version identifiers of images. To obtain specific version and region distribution information, call ListImage.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:ListImageBaseInfo |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ImageId |
string |
No |
The image ID. You can specify multiple IDs separated by commas (,). The query matches any of the specified IDs. |
img-bp13mu**** |
| ImageName |
string |
No |
The keyword for querying images. Fuzzy matching is performed on both the image name and the image ID. |
test |
| Status |
string |
No |
The image status. Valid values: INIT (initializing), CREATING (creating), AVAILABLE (available), and CREATE_FAILED (creation failed). If you do not specify this parameter, all non-deleted images are queried. Deleted images are not returned. Valid values:
|
AVAILABLE |
| ImageType |
string |
No |
The image type. Valid values: System (system image), User (custom image), Shared (shared image), and Community (community image). Valid values:
|
User |
| PackageType |
string |
No |
The image package type. Valid values: Ecs (ECS image), Vhd (VHD image), Container (container image), Ecs_Container (ECS and container combined image), and K8s_Node (Kubernetes node image). |
Ecs |
| OsType |
string |
No |
The image operating system type. Valid values: Windows (Windows operating system), Linux (Linux operating system), Android (Android operating system), and Unknown (unknown operating system). |
Windows |
| BizType |
integer |
No |
The business line code. Default value: 1. Valid values:
|
1 |
| ProductType |
string |
No |
The product type, used to filter the products to which the images belong. Examples: CloudDesktop (WUYING Workspace), CloudApp (WUYING Cloud App), and WuyingServer (WUYING Workstation). |
CloudDesktop |
| ProtocolType |
string |
No |
The image protocol type. Valid values: ASP (Alibaba Cloud proprietary ASP protocol) and HDX (HDX protocol). |
ASP |
| PageSize |
integer |
No |
The number of entries to return on each page. Default value: 10. Maximum value: 100. If the value is less than 1, 10 is used. If the value is greater than 100, 100 is used. |
10 |
| PageNumber |
integer |
No |
The page number of the page to return. Pages start from page 1. If you do not specify this parameter or specify a value less than 1, the first page is returned. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The paged query results of the basic image information, including paging details. |
||
| PageSize |
integer |
The number of entries returned per page as specified in the request. |
10 |
| PageNumber |
integer |
The page number returned as specified in the request. |
1 |
| Data |
array<object> |
The list of basic image information on the current page. |
|
|
object |
|||
| GmtCreate |
string |
The time when the image was created. The time is in the yyyy-MM-dd HH:mm:ss format. |
2025-04-25 15:13:57 |
| GmtModified |
string |
The time when the image was last updated. The time is in the yyyy-MM-dd HH:mm:ss format. |
2025-04-25 15:13:57 |
| AliUid |
integer |
The ID of the Alibaba Cloud account to which the image belongs. A value of 0 indicates a system image. |
0 |
| ImageId |
string |
The image ID. The IDs of custom images are generated by the system. |
img-bp13mu**** |
| ImageName |
string |
The image name. |
DemoImage |
| ImageType |
string |
The image type. A value of System indicates a system image, User indicates a custom image, Shared indicates a shared image, and Community indicates a community image. |
System |
| PackageType |
string |
The image package type. A value of Ecs indicates an ECS image, Vhd indicates a VHD image, Container indicates a container image, Ecs_Container indicates an ECS and container combined image, and K8s_Node indicates a Kubernetes node image. |
Ecs |
| Description |
string |
The description of the image. |
Description |
| OsType |
string |
The image operating system type. A value of Windows indicates the Windows operating system, Linux indicates the Linux operating system, Android indicates the Android operating system, and Unknown indicates an unknown operating system. |
Linux |
| ProtocolType |
string |
The image protocol type. A value of ASP indicates the Alibaba Cloud proprietary ASP protocol, and HDX indicates the HDX protocol. |
ASP |
| BizType |
integer |
The business line code to which the image belongs. This corresponds to the BizType request parameter. |
1 |
| ProductType |
string |
The product type to which the image belongs. Examples: CloudDesktop (WUYING Workspace), CloudApp (WUYING Cloud App), and WuyingServer (WUYING Workstation). |
CloudApp |
| OnlineVersionId |
string |
The ID of the sub-version currently used to read the main image information for this image. |
iv-xxxx |
| LatestVersionId |
string |
The ID of the latest sub-version of this image. |
iv-xxx |
| Status |
string |
The image status. A value of INIT indicates initializing, CREATING indicates creating, AVAILABLE indicates available, and CREATE_FAILED indicates creation failed. |
AVAILABLE |
| Distro |
string |
The distribution name of the image operating system. |
Ubuntu 22.04 64-bit |
| Count |
integer |
The total number of images that meet the query conditions. |
22 |
| Success |
boolean |
Indicates whether the request is successful. A value of true indicates success, and a value of false indicates failure. |
|
| Code |
string |
The result code of the request. |
200 |
| Message |
string |
The result message of the request. |
success |
| RequestId |
string |
The request ID, which is used to locate and troubleshoot the request. |
8737D130-BFD0-5D51-96F6-C08EB1139A25 |
Examples
Success response
JSON format
{
"PageSize": 10,
"PageNumber": 1,
"Data": [
{
"GmtCreate": "2025-04-25 15:13:57",
"GmtModified": "2025-04-25 15:13:57",
"AliUid": 0,
"ImageId": "img-bp13mu****",
"ImageName": "DemoImage",
"ImageType": "System",
"PackageType": "Ecs",
"Description": "Description",
"OsType": "Linux",
"ProtocolType": "ASP",
"BizType": 1,
"ProductType": "CloudApp",
"OnlineVersionId": "iv-xxxx",
"LatestVersionId": "iv-xxx",
"Status": "AVAILABLE",
"Distro": "Ubuntu 22.04 64-bit"
}
],
"Count": 22,
"Success": false,
"Code": "200",
"Message": "success",
"RequestId": "8737D130-BFD0-5D51-96F6-C08EB1139A25"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalError | Internal error. | An internal error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.