Querying the Cloud Phone Server Flavors
URI
GET /v1/{project_id}/cloud-phone/server-models?product_type={product_type}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Specifies the project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
|
product_type |
No |
Integer |
Specifies the Cloud Phone server type.
|
Request
Response
- Parameter description
Parameter
Type
Description
request_id
String
Specifies the request ID, which is unique.
server_models
Array of objects
Specifies the Cloud Phone server specifications. For details, see Table 2.
Table 2 server_model field description Parameter
Type
Description
server_model_name
String
Specifies the Cloud Phone server flavor. The value can contain a maximum of 64 bytes.
server_type
String
Specifies the model of the Cloud Phone server, for example, Hi1616. The value can contain a maximum of 32 bytes.
cpu
Integer
Specifies the number of CPU cores of the Cloud Phone server.
memory
Integer
Specifies the memory size (GB) of the Cloud Phone server.
extend_spec
Object
Specifies the attribute description of the Cloud Phone server. The value can contain a maximum of 512 bytes.
product_type
Integer
Specifies the product type.
- 0: cloud phone
- 1: cloud mobile gaming
- Example response
{ "request_id": "4d4aefaa7b1d4a2bb5637e9d5631342f", "server_models": [ { "server_model_name": "physical.rx1.xlarge", "server_type": "Hi1616", "cpu": 64, "memory": 256, "extend_spec": { "cpu": "Hi1616(2*32Core*2.4GHz)", "memory": "DDR4 RAM", "disk": "2*1.2T SAS + 800G SSD", "network_interface": "2 x 2*10GE", "gpu": "3*WX5100" } } ] }
Returned Values
See Returned Values.
Error Codes
See Error Codes.
Last Article: Querying the Cloud Phone Server Details
Next Article: Purchasing a Cloud Phone Server
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.