{"base_path":null,"components":null,"consumes":"","definitions":{"ListCloudPhoneModelsResponseBody":{"properties":{"phone_models":{"description":"云手机的规格信息。","items":{"$ref":"#/definitions/PhoneModel"},"maxItems":8096,"minItems":0,"type":"array"},"request_id":{"description":"请求的唯一标识ID。","maxLength":32,"minLength":32,"type":"string"}},"type":"object"},"PhoneModel":{"description":"云手机规格信息。","properties":{"cpu":{"description":"CPU核数。","format":"int32","maximum":128,"minimum":-128,"type":"integer"},"disk":{"description":"系统存储大小,单位:GB。","format":"int32","maximum":8096,"minimum":0,"type":"integer"},"dpi":{"description":"每英寸点数。","format":"int32","maximum":65535,"minimum":0,"type":"integer"},"extend_spec":{"description":"扩展描述,不超过512个字节。","maxLength":512,"minLength":0,"type":"string"},"fps":{"description":"渲染帧率。","maxLength":32,"minLength":0,"type":"string"},"image_label":{"description":"镜像类型,只支持如下类型:\n- qemu_phone\n- cloud_phone\n- cloud_phone_1620\n- cloud_game\n- cloud_game_1620","maxLength":1024,"minLength":0,"type":"string"},"memory":{"description":"内存大小,单位:MB。","format":"int32","maximum":8096,"minimum":0,"type":"integer"},"phone_capacity":{"description":"当前云手机规格包含的云手机个数。","format":"int32","maximum":1024,"minimum":0,"type":"integer"},"phone_model_name":{"description":"云手机的规格名称,不超过64个字节。","maxLength":64,"minLength":0,"type":"string"},"phone_model_version":{"description":"规格版本:\n- 0:规格1.0\n- 1:规格2.0","format":"int32","maximum":65535,"minimum":0,"type":"integer"},"product_type":{"description":"产品类型。\n- 0:云手机\n- 1:云手游","format":"int32","maximum":1024,"minimum":0,"type":"integer"},"resolution":{"description":"分辨率,不超过16个字节。","maxLength":16,"minLength":0,"type":"string"},"server_model_name":{"description":"云手机服务器的规格名称,不超过64个字节。","maxLength":64,"minLength":0,"type":"string"},"spec_code":{"description":"规格名称,不超过64个字节。","maxLength":64,"minLength":0,"type":"string"},"status":{"description":"规格状态。\n- 1 表示正常使用状态\n- 0 表示已下线状态\n已下线的规格不可用来购买云手机服务器","format":"int32","maximum":128,"minimum":-128,"type":"integer"},"volume_mode":{"description":"手机物理磁盘是否独立。\n- 0:不独立\n- 1:独立","format":"int32","maximum":100,"minimum":0,"type":"integer"}},"type":"object"}},"description":null,"group_id":"309fd78cfbaf4fc7b0138ba244051bf6","host":"cph.cn-north-4.myhuaweicloud.com","id":"822abe0a74ed4cea8c21ba69ceb649d9","info_version":"v1","method":"get","name":"ListCloudPhoneModels","parameters":{"X-Auth-Token":{"description":"用户Token。\n通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","maxLength":8096,"minLength":0,"name":"X-Auth-Token","required":true,"type":"string"},"limit":{"description":"每页返回的资源个数。取值范围:1~100(默认值为100),一般设置为10、20、50。","in":"query","maximum":8096,"minimum":0,"name":"limit","required":false,"type":"integer"},"offset":{"description":"偏移量为一个大于等于0整数,表示查询该偏移量后面的所有的资源数,默认值为0。","in":"query","maximum":8096,"minimum":0,"name":"offset","required":false,"type":"integer"},"phone_model_status":{"description":"规格状态\n- 0:下线状态\n- 1:正常使用\n不传该参数表示查询所有状态的规格。","in":"query","maximum":128,"minimum":-128,"name":"status","required":false,"type":"integer"},"project_id":{"description":"项目id。","in":"path","maxLength":32,"minLength":32,"name":"project_id","required":true,"type":"string"}},"paths":{"/v1/{project_id}/cloud-phone/phone-models":{"get":{"description":"查询或统计云手机的规格列表。","operationId":"ListCloudPhoneModels","parameters":[{"$ref":"#/parameters/project_id"},{"$ref":"#/parameters/X-Auth-Token"},{"$ref":"#/parameters/phone_model_status"},{"$ref":"#/parameters/offset"},{"$ref":"#/parameters/limit"}],"responses":{"200":{"description":"OK","examples":{"application/json":{"phone_models":[{"cpu":2,"disk":32,"extend_spec":"{\"eip_count\": 1, \"vip_count\":1, \"emulator_type\":0, \"bms_image_id\":\"72460777-7fcb-4cae-8bb5-62d93be86bd7\",\"core_bind_strategy\":\"lxc_qemu_common_hosted_c60\", \"sd_disk\": 1}","image_label":"qemu_phone","memory":3072,"phone_capacity":60,"phone_model_name":"rx1.cp.c60.d32.e1v1.qemu","product_type":0,"render_fps":60,"resolution":"540x960","server_model_name":"physical.rx1.xlarge","spec_code":"rx1.cp.c60.d32.e1v1.qemu","status":1,"stream_fps":60},{"cpu":2,"disk":10,"extend_spec":"{\"eip_count\": 1, \"vip_count\":1, \"emulator_type\":1,\"thinpool_size_g\":70, \"sharepool_size_g\":650,\"max_share_disk_size_g\":50,\"encode_server_spec\": {\"cpu\": 2,\"memory\": 14448,\"disk\": 10,\"image_id\":\"coderserver_v2.5\", \"port_num\":0},\"core_bind_strategy\":\"common_hosted_c60\"}","image_label":"cloud_phone","memory":3584,"phone_capacity":60,"phone_model_name":"rx1.cp.c60.d10.e1v1","product_type":0,"render_fps":60,"resolution":"720x1280","server_model_name":"physical.rx1.xlarge","spec_code":"rx1.cp.c60.d10.e1v1","status":1,"stream_fps":60}],"request_id":"e0dd77cb688743468599487ca2a1c738"}},"schema":{"$ref":"#/definitions/ListCloudPhoneModelsResponseBody"}}},"schemes":["https"],"summary":"查询云手机规格列表","tags":["手机实例管理"],"x-apiexplorer-hide":false,"x-first-open-time":"2019-3-30","x-hybridcloud":false,"x-is-registered":"Y","x-open-region-cloud":"hc,hk,cmcc,fcs","x-order":3,"x-publishpath":"cph_api_0506","x-request-examples-description-1":"查询手机规格列表","x-request-examples-url-1":"GET https://{CPH Endpoint}/v1/{project_id}/cloud-phone/phone-models","x-source":"SelfDeveloped","x-support-sdk":"Y"}}},"product_short":"CPH","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询云手机规格列表","tags":"手机实例管理","uri":null,"version":"2.0"}