查询公共镜像
描述
查询云手机镜像。
请求参数
| 参数名 | 参数类型 | 是否必填 | 参数说明 |
|---|---|---|---|
| Action | String | 是 | 操作方法:ListCloudPhoneEnableImage,此参数为公共参数,不必放body里面 |
| Region | String | 是 | 机房标识,取值参见地域列表 |
| ProductModelId | Integer | 否 | 产品型号ID |
返回参数
| 名称 | 类型 | 说明 |
|---|---|---|
| List | List | 数组对象,返回镜像信息 |
List
| 镜像信息 名称 | 类型 | 说明 |
|---|---|---|
| Id | String | 镜像ID |
| Name | String | 镜像名称 |
| OsId | String | 操作系统ID |
| OsName | String | 操作系统名称 |
| Storage | Integer | 存储大小,单位GB |
| IsRoot | Integer | 是否root 0否 1是 |
| ProductModelIds | Array | 可用的产品型号集合数组,如[805008] |
请求示例
post https://api.chinac.com/v2/?Action=ListCloudPhoneEnableImage&其他公共参数
返回示例
{
"code": 10000,
"message": "",
"data": {
"List":[
{
"Id":"i-6l11ak25eet49s",
"Name":"moni-gps0304",
"OsId":"o-471fj7jjos81i",
"OsName":"Android7.0",
"Storage":16,
"IsRoot":1,
"ProductModelIds":[1]
},
{
"Id":"i-9l11ak2aahb17x",
"Name":"test1",
"OsId":"o-471fj7jjos81i",
"OsName":"Android7.0",
"Storage":16,
"IsRoot":1,
"ProductModelIds":[1,2,3]
}
]
}
}