云桌面 WORKSPACE-查询产品镜像列表:URI

时间:2025-02-28 14:34:19

URI

GET /v2/{project_id}/images

表1 路径参数

参数

是否必选

参数类型

描述

project_id

String

项目id。

表2 Query参数

参数

是否必选

参数类型

描述

os_type

String

产品镜像的操作系统类型,如Windows。

image_type

String

镜像类型。

-gold 公共镜像

-private 私有镜像

platform

String

镜像系统类型,如Windows。

architecture

String

镜像架构:x86。

package_type

String

套餐系列。

image_id

String

镜像Id。

limit

Integer

每页数量,范围0-100,默认100。

offset

Integer

偏移量,默认0。

sort_field

String

用于排序,表示按照哪个字段排序。取值为镜像属性name、created_at字段,默认为name。

sort_type

String

用于排序,表示升序还是降序,取值为asc和desc。与sort_field一起组合使用,默认为升序asc。

support.huaweicloud.com/api-workspace/ListImages.html