All Products
Search
Document Center

Elastic Desktop Service:DescribeDesktopTypes

Last Updated:Mar 28, 2025

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

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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.
OperationAccess levelResource typeCondition keyAssociated operation
ecd:DescribeDesktopTypeslist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
DesktopTypeIdstringNo

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:

  • eds.hf.4c8g

  • ecd.basic.large

  • ecd.advanced.large

  • ecd.basic.small

  • ecd.graphics.2xlarge

  • eds.hf.8c16g

  • eds.hf.12c24g

  • eds.general.8c16g

  • eds.general.16c32g

  • ecd.advanced.xlarge

  • eds.graphics.16c1t4

  • ecd.graphics.xlarge

  • ecd.performance.2xlarge

  • eds.general.8c32g

  • eds.general.2c2g

  • eds.general.2c4g

  • eds.graphics.24c1t4

  • eds.general.4c8g

  • eds.general.4c16g

  • eds.general.2c8g

Enumeration Value:
  • eds.enterprise_office.4c8g: eds.enterprise_office.4c8g.
  • eds.hf.4c8g: eds.hf.4c8g.
  • ecd.basic.large: ecd.basic.large.
  • ecd.advanced.large: ecd.advanced.large.
  • eds.enterprise_office.8c16g: eds.enterprise_office.8c16g.
  • ecd.basic.small: ecd.basic.small.
  • ecd.graphics.2xlarge: ecd.graphics.2xlarge.
  • eds.hf.8c16g: eds.hf.8c16g.
  • eds.hf.12c24g: eds.hf.12c24g.
  • eds.general.8c16g: eds.general.8c16g.
  • eds.general.16c32g: eds.general.16c32g.
  • ecd.advanced.xlarge: ecd.advanced.xlarge.
  • eds.graphics.16c1t4: eds.graphics.16c1t4.
  • ecd.graphics.xlarge: ecd.graphics.xlarge.
  • ecd.performance.2xlarge: ecd.performance.2xlarge.
  • eds.general.8c32g: eds.general.8c32g.
  • eds.general.2c2g: eds.general.2c2g.
  • eds.general.2c4g: eds.general.2c4g.
  • eds.graphics.24c1t4: eds.graphics.24c1t4.
  • eds.general.4c8g: eds.general.4c8g.
  • eds.enterprise_office.2c4g: eds.enterprise_office.2c4g.
  • eds.general.4c16g: eds.general.4c16g.
  • eds.general.2c8g: eds.general.2c8g.
ecd.graphics.xlarge
InstanceTypeFamilystringNo

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.advanced

  • eds.graphics

  • ecd.basic

  • eds.hf

  • ecd.graphics

  • eds.general

  • ecd.performance

Enumeration Value:
  • ecd.advanced: ecd.advanced.
  • eds.graphics: eds.graphics.
  • ecd.basic: ecd.basic.
  • eds.enterprise_office: eds.enterprise_office.
  • eds.hf: eds.hf.
  • ecd.graphics: ecd.graphics.
  • eds.general: eds.general.
  • ecd.performance: ecd.performance.
ecd.graphics
CpuCountintegerNo

The number of vCPUs.

2
MemorySizeintegerNo

The memory size. Unit: MiB.

4
GpuCountfloatNo

The number of GPUs.

1
DesktopIdForModifystringNo

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****
OrderTypestringNo

The order type.

DOWNGRADE
AppliedScopestringNo

Applicable Scope of specifications. Default value: Public

Enumeration Value:
  • Public: Public.
  • SavingPlan: SavingPlan.
Public
DesktopGroupIdForModifystringNo

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****
GpuDriverTypestringNo

The type of the pre-installed GPU driver. Valid values:

  • T4
  • A10
  • G28
  • G39
A10
OrderBystringNo

The sort criterion. If left empty, the entries will be in descending order based on the creation time. Valid values:

  • Memory: sort by memory size
  • Cpu: sort by number of CPU cores
Memory
SortTypestringNo

The sort order. Valid values:

  • ASC: in ascending order [default]
  • DESC: in descending order
ASC
ScopestringNo

The sales mode. Valid values:

  • MonthPackage: monthly subscription
  • FastBuy: fast buy
FastBuy
DesktopTypeIdListarrayNo

The array of specifications.

stringNo

The specification.

eds.enterprise.4c8g
SupportMinSessionCountintegerNo

The number of sessions supported.

2
ZoneIdstringNo
Note This parameter is not publicly available.
null
GpuMemoryintegerNo

The GPU memory size. Unit: MB.

2048

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****
DesktopTypesarray<object>

Details of cloud desktop types.

DesktopTypeobject
SystemDiskSizestring

The size of the system disk. Unit: GiB.

150
DesktopTypeIdstring

The ID of the cloud desktop type.

ecd.graphics.xlarge
DataDiskSizestring

The size of the data disk. Unit: GiB.

150
CpuCountstring

The number of vCPUs.

2
GpuCountfloat

The number of GPUs.

1
GpuSpecstring

The GPU memory.

16 GiB
InstanceTypeFamilystring

The family of the cloud desktop type.

ecd.graphics
MemorySizestring

The memory size. Unit: MiB.

23552
DesktopTypeStatusstring

The status of the cloud desktop type. If SUFFICIENT is returned, the number of cloud desktops of the type is sufficient.

SUFFICIENT
Scopesarray

The array of sales modes.

Scopestring

The sales mode.

FastBuy
StockStatestring

The stock status.

Sufficient
GpuMemoryinteger

The GPU memory size. Unit: MB. This parameter applies to GPU-enabled cloud computers only.

2048
MaxSessionCountinteger

The number of sessions supported by the current specification.

4

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 timeSummary of changesOperation
2025-02-25The request parameters of the API has changedView Change Details
2025-01-24The request parameters of the API has changed. The response structure of the API has changedView Change Details
2024-11-09The response structure of the API has changedView Change Details
2024-09-27The request parameters of the API has changed. The response structure of the API has changedView Change Details
2024-07-19The request parameters of the API has changedView Change Details
2023-08-01The request parameters of the API has changedView Change Details
2022-05-31The response structure of the API has changedView Change Details
2021-12-22The request parameters of the API has changedView Change Details