检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
project_id}/cloud-phone/servers/1564567b8bab40f34711234cb80d8574 { "server_name" : "newName" } 响应示例 状态码: 200 OK { "request_id" : "135d898e69344a13925a0899e1a4ac53
", "image_id" : "23030320230421e300221a2000004433", "image_version" : "AOSP 9.0", "image_type" : "private", "status" : 1 }
//{CPH Endpoint}/v1/{project_id}/cloud-phone/images/{image_id}/members 响应示例 状态码: 200 OK { "members" : [ { "image_id" : "23030320230421e300221a2000004167
"vpc_cidr" : "192.168.0.0/16", "subnet_id" : "c7f9983d-03ca-4a2e-a0e1-d6bd97174669", "subnet_cidr" : "192.168.0.0/24", "addresses
命令 参数 说明 举例 bg-killer -e <true|false> 设置后台进程清理特性开关,默认开启。
encode_server_ids" : [ "d5cfa92995da40168c39b38d2aa478b3", "00b00d1b35094f13b360cdfe15a9bfee" ] } 响应示例 状态码: 200 OK { "jobs" : [ { "job_id" : "e9d7b1a2572c4f2c9bf056a3d1b35e39
", "nics" : [ { "subnet_id" : "f1cbfc37-eb42-4357-a0ec-9e4f11950908" } ], "public_ip" : { "eip" : { "type" : "5_bgp"
172.31.0.123", "server_ip" : "172.31.0.123", "access_port" : 14308, "phone_ipv6" : "fd00::aed:3d", "server_ipv6" : "2001:db8:a583:b62:e5ea
", "access_info" : { "access_ip" : "213.32.43.22", "intranet_ip" : "192.168.0.25", "access_ipv6" : "2001:db8:a583:b62:e5ea
DELETE https://{CPH Endpoint}/v1/{project_id}/cloud-phone/images/{image_id} 响应示例 状态码: 200 No Content { "request_id" : "2b49a942417c48528ed89e4b22ae5cdf
https://{CPH Endpoint}/v1/{project_id}/cloud-phone/images/{image_id}/members/{member_id} 响应示例 状态码: 200 ok { "request_id" : "95f25ae6120643ac9e0effd633b37b98
", "image_id" : "20060220200717f201120a2300000e91", "count" : 1, "keypair_name" : "keypair", "ports" : [ { "name" : "myServer1",
通过IPv6地址连接的ADB命令为: adb connect [2409:8c85:80:32:cb7e:97e3:e424:1286]:4615 (注意添加中括号) 图8 应用端口 执行adb devices命令,检测当前端口是否已连接。 回显如下类似信息,表示连接成功。
Airtest)来获取云手机画面 无 VNC方式(控制台) 否 以画面形式操控云手机 云手机服务器版本必须支持VNC功能,云手机镜像需要升级到2021年11月之后版本 VNC方式(客户端) 是 服务器绑定弹性公网IP 以画面形式操控云手机 云手机规格必须为:rx1.cp.c60.d32.e1v1
Endpoint}/v1/{project_id}/cloud-phone/bandwidths/{band_width_id} { "band_width_size" : 350 } 响应示例 状态码: 200 OK { "request_id" : "70bb40bef50e4a14b116a5a527fd7432
cloud-phone/images/{image_id}/members { "member" : "87dc6af96095488d9205b6f31f314b16" } 响应示例 状态码: 200 OK { "request_id" : "95f25ae6120643ac9e0effd633b37b98
授权资源选择“当前桶”和“指定对象”,输入资源名称“file_{project_id}_*”,例如“file_0503ddaa18000ff21ff0c009e65d5482_*”。 授权操作选择“模版配置”,勾选“目录读写”。
token} { "command": "install", "content": "-t -r obs://yzw-apk-install/apk/com.hermes.bgame.apk", "phone_ids": [ "bdc2f2e960164dd9a2765374afeea300
token} { "command": "install", "content": "-t -r obs://yzw-apk-install/apk/com.hermes.bgame.apk", "phone_ids": [ "bdc2f2e960164dd9a2765374afeea300
假设本地空闲端口为1234,云手机监听地址为10.237.0.61:5555,SSH隧道用户名为05e1aexxx,公网IP地址为xxx.xxx.xxx.xxx,私钥文件路径为C:\Users\Administrator\Downloads\KeyPair-a49c.pem,命令如下