Queries the instance types of cloud computers.
Operation description
When no values are specified for the InstanceTypeFamily
and DesktopTypeId
parameters for a cloud desktop, all types of cloud desktops are queried.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
DesktopTypeId | string | No | The IDs of the instance types of cloud computers. Note
If the values of the InstanceTypeFamily and DesktopTypeId parameters are empty, all instance types of cloud computers are queried.
Valid values:
| ecd.graphics.xlarge |
InstanceTypeFamily | string | No | The name of the instance family. Note
If the values of the InstanceTypeFamily and DesktopTypeId parameters are empty, all instance families of cloud computers are queried.
Valid values:
| ecd.graphics |
CpuCount | integer | No | The number of vCPUs. | 2 |
MemorySize | integer | No | The memory size. Unit: MiB. | 4 |
GpuCount | float | No | The number of GPUs. | 1 |
DesktopIdForModify | string | No | The ID of the cloud computer when you change instance types of cloud computers. If you specify this parameter, the information about whether the instance type is compatible with the cloud computer is included in the response. | ecd-gx2x1dhsmucyy**** |
OrderType | string | No | The order type. | DOWNGRADE |
AppliedScope | string | No | Applicable Scope of specifications. Default value: Enumeration Value:
| Public |
DesktopGroupIdForModify | string | No | The ID of the cloud computer pool when you change instance types of cloud computers. If you specify this parameter, the information about whether the instance type is compatible with the cloud computer pool is included in the response. | dg-abcdefg**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"DesktopTypes": [
{
"SystemDiskSize": "150",
"DesktopTypeId": "ecd.graphics.xlarge",
"DataDiskSize": "150",
"CpuCount": "2",
"GpuCount": 1,
"GpuSpec": "16 GiB",
"InstanceTypeFamily": "ecd.graphics",
"MemorySize": "23552",
"DesktopTypeStatus": "SUFFICIENT"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-09-27 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |
2024-07-19 | The request parameters of the API has changed | View Change Details |
2023-08-01 | The request parameters of the API has changed | View Change Details |
2022-05-31 | The response structure of the API has changed | View Change Details |
2021-12-22 | The request parameters of the API has changed | View Change Details |