云桌面 WORKSPACE-查询产品镜像列表:响应参数

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

响应参数

状态码:200

表4 响应Body参数

参数

参数类型

描述

images

Array of ImageInfo objects

云桌面 支持的产品镜像列表。

total_count

Integer

对象总数。

表5 ImageInfo

参数

参数类型

描述

id

String

镜像ID。

image_type

String

镜像类型,目前支持以下类型: 公共镜像:gold 私有镜像:private。

os_type

String

操作系统类型,目前取值Linux, Windows,Other。

architecture

String

操作系统架构,目前取值arm,x86。

os_version

String

操作系统具体版本。

disk_format

String

镜像格式,目前支持vhd,raw,qcow2,zvhd2格式。

name

String

镜像名称。

min_ram

Integer

镜像运行需要的最小内存,单位为MB。参数取值依据弹性云服务器的规格限制,一般设置为0。

min_disk

Integer

镜像运行需要的最小磁盘,单位为GB 。取值为40~1024GB。

product_code

String

镜像的产品编码。

created_at

String

创建时间。格式为UTC时间。

状态码:400

表6 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

encoded_authorization_message

String

加密后的详细拒绝原因,用户可以自行调用STS服务的decode-authorization-message接口进行解密。

状态码:401

表7 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

encoded_authorization_message

String

加密后的详细拒绝原因,用户可以自行调用STS服务的decode-authorization-message接口进行解密。

状态码:403

表8 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

encoded_authorization_message

String

加密后的详细拒绝原因,用户可以自行调用STS服务的decode-authorization-message接口进行解密。

状态码:404

表9 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

encoded_authorization_message

String

加密后的详细拒绝原因,用户可以自行调用STS服务的decode-authorization-message接口进行解密。

状态码:405

表10 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

encoded_authorization_message

String

加密后的详细拒绝原因,用户可以自行调用STS服务的decode-authorization-message接口进行解密。

状态码:500

表11 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

encoded_authorization_message

String

加密后的详细拒绝原因,用户可以自行调用STS服务的decode-authorization-message接口进行解密。

状态码:503

表12 响应Body参数

参数

参数类型

描述

error_code

String

错误码。

error_msg

String

错误描述。

encoded_authorization_message

String

加密后的详细拒绝原因,用户可以自行调用STS服务的decode-authorization-message接口进行解密。

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