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 Resources
is 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 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:
Enumeration Value:
| 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:
Enumeration Value:
| 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**** |
GpuDriverType | string | No | The type of the pre-installed GPU driver. Valid values:
| A10 |
OrderBy | string | No | The sort criterion. If left empty, the entries will be in descending order based on the creation time. Valid values:
| Memory |
SortType | string | No | The sort order. Valid values:
| ASC |
Scope | string | No | The sales mode. Valid values:
| FastBuy |
DesktopTypeIdList | array | No | The array of specifications. | |
string | No | The specification. | eds.enterprise.4c8g | |
SupportMinSessionCount | integer | No | The number of sessions supported. | 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
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",
"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 |