云手机服务器 CPH-查询云手机列表:响应参数

时间:2024-03-28 19:28:11

响应参数

状态码: 200

表4 响应Body参数

参数

参数类型

描述

phones

Array of Phone objects

云手机信息。

request_id

String

请求的唯一标识ID。

count

Integer

实例总数。

表5 Phone

参数

参数类型

描述

phone_name

String

云手机的名称,不超过65个字符。

server_id

String

云手机所在的服务器ID,不超过32个字节。

phone_id

String

云手机的唯一标识,不超过32个字节。

phone_model_name

String

云手机规格名称,不超过64个字节。

image_id

String

云手机镜像ID,不超过32个字节。

image_version

String

镜像版本。

vnc_enable

String

云手机是否开启VNC服务。

  • true:开启

  • false:不开启

status

Integer

云手机状态。

  • 0: 创建中

  • 1:创建中

  • 2:运行中

  • 3:重置中

  • 4:重启中

  • 6:冻结

  • 7:正在关机

  • 8:已关机

  • -5:重置失败

  • -6:重启失败

  • -7:手机异常

  • -8:创建失败

  • -9:关机失败

type

Integer

云手机类型。

  • 0:普通云手机

  • 1:试玩云手机

imei

String

imei码。

traffic_type

String

手机路由类型。

  • direct:默认路由

  • routing:路由到编码容器

volume_mode

Integer

手机物理磁盘是否独立。

  • 0:不独立

  • 1:独立

availability_zone

String

云手机服务器所在的可用区。

metadata

metadata object

订单以及产品相关信息。

create_time

String

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

update_time

String

更新时间, 时间格式为UTC。

表6 metadata

参数

参数类型

描述

order_id

String

订单ID,不超过64个字节。

product_id

String

产品ID,不超过64个字节。

support.huaweicloud.com/api-cph/cph_api_0503.html