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
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| ecd:DescribeDesktopTypes | list | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| RegionId | string | Yes | The region ID. You can call the DescribeRegions operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available. | cn-hangzhou |
| DesktopTypeId | string | No | The specification ID. Note
If both InstanceTypeFamily and DesktopTypeId are empty, all cloud computer specifications will be queried.
Valid values:
| ecd.graphics.xlarge |
| InstanceTypeFamily | string | No | The name of the specification family. Note
If both InstanceTypeFamily and DesktopTypeId are empty, all specification families will be 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 share you want to modify. If this parameter is provided, the response will include compatibility information for the specified specification. | dg-abcdefg**** |
| GpuDriverType | string | No | The GPU driver type. Valid values:
| A10 |
| OrderBy | string | No | The sorting field. If this parameter is not provided, results are sorted by creation time in descending order. Valid values:
| Memory |
| SortType | string | No | The sorting order. Valid values:
| ASC |
| Scope | string | No | The sales mode of the specification. Valid values:
| FastBuy |
| DesktopTypeIdList | array | No | The specification IDs. | |
| string | No | The specification ID. | eds.enterprise.4c8g | |
| SupportMinSessionCount | integer | No | The number of sessions supported by the specification. | 2 |
| ZoneId | string | No | Note
This parameter is not publicly available.
| null |
| GpuMemory | integer | No | The GPU memory size. Unit: MB. | 2048 |
Response parameters
Examples
Sample success responses
JSONformat
{
"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",
"Scopes": [
"FastBuy"
],
"StockState": "Sufficient",
"GpuMemory": 2048,
"MaxSessionCount": 4
}
]
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-02-25 | The request parameters of the API has changed | View Change Details |
| 2025-01-24 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |
| 2024-11-09 | The response structure of the API has changed | View Change Details |
| 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 |
