云手机服务器 CPH-异常响应:云手游API

时间:2023-11-01 16:23:04

云手游API

  • 响应参数

    参数

    参数类型

    描述

    request_id

    String

    请求的唯一标识ID。

    error_code

    String

    错误码。

    error_msg

    String

    错误描述信息。

    failures

    Array of objects

    操作对象异常的说明,详情请参见表1

    表1 failures数据结构说明

    参数

    参数类型

    描述

    server_id

    String

    云手机服务器ID。

    error_code

    String

    错误码。

    error_msg

    String

    错误描述信息。

  • 响应样例
    {    "request_id": "6837531fd3f54550927b930180a706bf",    "error_code": "CPS.1040",    "error_msg": "App pool cannot be scaled down.",    "failures": [        {            "server_id": "1564567b8bab40f34711234cb80d0124",            "error_code": "CPS.1027",            "error_msg": "Server is being scaled up."        },        {            "server_id": "1564567b8bab40f34711234cb80d0188",            "error_code": "CPS.1028",            "error_msg": "No permission to request resources. Server is frozen."        }    ]}
support.huaweicloud.com/api-cph/cph_api_0602.html