All Products
Search
Document Center

Elastic Desktop Service:DescribeDesktops

Last Updated:Jul 10, 2025

Queries the details of cloud computers.

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:DescribeDesktopsget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the regions supported by Elastic Desktop Service (EDS).

cn-hangzhou
GroupIdstringNo

The ID of the cloud computer pool.

dg-boyczi8enfyc5****
DesktopStatusstringNo

The cloud computer status.

Valid values:

  • Stopped
  • Starting
  • Rebuilding
  • Running
  • Stopping
  • Expired
  • Deleted
  • Pending
Running
MaxResultsintegerNo

The number of entries per page.

  • Maximum value: 100
  • Default value: 10
10
NextTokenstringNo

The token that determines the start point of the next query. If this parameter is left empty, all results are returned.

caeba0bbb2be03f84eb48b699f0a4883
UserNamestringNo

The name of the end user.

Alice
DesktopNamestringNo

The cloud computer name.

testDesktopName
DirectoryIdstringNo

The directory ID, which is the same as the office network ID.

cn-hangzhou+dir-363353****
OfficeSiteIdstringNo

The office network ID.

cn-hangzhou+dir-363353****
OfficeSiteNamestringNo

The office network name.

testName
PolicyGroupIdstringNo

The ID of the cloud computer policy.

system-all-enabled-policy
ChargeTypestringNo

The billing method of the cloud computer.

Valid values:

  • Postpaid (default): pay-as-you-go
  • PrePaid: subscription
PostPaid
ExpiredTimestringNo

The time when a subscription cloud computer expires.

2022-12-31T15:59:59Z
ProtocolTypestringNo

The protocol.

Valid values:

  • HDX: High-definition Experience (HDX) protocol
  • ASP: in-house Adaptive Streaming Protocol (ASP) (recommended)
ASP
DesktopIdarrayNo

The cloud computer IDs. You can specify the IDs of 1 to 100 cloud computers.

stringNo

The cloud computer ID.

ecd-gx2x1dhsmucyy****
EndUserIdarrayNo

The authorized users of the cloud computer. You can specify the IDs of 1 to 100 users.

Note During a specific period of time, only one user can connect to and use the cloud computer.
stringNo

The authorized user of the cloud computer.

alice
ExcludedEndUserIdarrayNo

The list of authorized users that you want to exclude from the cloud computer. You can specify the IDs of 1 to 100 users.

stringNo

The authorized user that you want to exclude from the cloud computer.

andy
FilterDesktopGroupbooleanNo

Specifies whether to exclude pooled cloud computers.

Valid values:

  • true (default)
  • false
false
ManagementFlagstringNo

The flag that is used to manage the cloud desktops.

NoFlag
QueryFotaUpdatebooleanNo

Specifies whether to query the image update information about the cloud computer.

Valid values:

  • true
  • false (default)
false
Tagarray<object>No

The tags that you want to add to the cloud computer. A tag is a key-value pair that consists of a tag key and a tag value. Tags are used to identify resources. You can use tags to manage cloud computers by group. This facilitates search and batch operations. For more information, see Use tags to manage cloud computers.

objectNo

The key-value pair of the tag. You can specify 1 to 20 key-value pairs. One tag key corresponds to only one tag value.

KeystringNo

The tag key. If you specify the Tag parameter, you must also specify the Key parameter. The tag key can be up to 128 characters in length and cannot contain http:// or https://. The tag key cannot start with acs: or aliyun and contain only spaces.

TestKey
ValuestringNo

The tag value. The tag value can be up to 128 characters in length and cannot contain http:// or https://. The tag value cannot start with acs: or aliyun.

TestValue
SnapshotPolicyIdstringNo

The ID of the snapshot policy.

sp-hb12mclyne09xw***
OnlyDesktopGroupbooleanNo

Specifies whether to query pooled cloud computers.

true
DesktopGroupIdstringNo

The ID of the cloud computer pool. If you specify OnlyDesktopGroup, ignore DesktopGroupId. If you leave DesktopId empty, all IDs of the cloud computers in the cloud computer pool are queried.````

dg-2i8qxpv6t1a03****
OsTypesarrayNo

The operating systems (OSs).

stringNo

The OS.

Valid values:

  • Linux
  • Windows
Windows
DesktopTypestringNo

The cloud computer type. You can call the DescribeDesktopTypes operation to query the IDs of all supported types.

eds.general.2c8g
ImageIdarrayNo

The IDs of the images.

stringNo

The ID of the image.

m-2g65ljy3ynrdq****
DesktopStatusListarrayNo

The list of cloud computer status.

stringNo

The cloud computer status.

Valid values:

  • Stopped
  • Starting
  • Rebuilding
  • Running
  • Stopping
  • Expired
  • Deleted
  • Pending
Stopped
GpuInstanceGroupIdstringNo

The ID of the elastic GPU pool.

gp-0bm2iz1v6m6nx****
QosRuleIdstringNo

The ID of the network throttling rule.

qos-5605u0gelk200****
SubPayTypestringNo

The billing method of the cloud computer.

Valid values:

  • duration: hourly plan (available for users in the whitelist)
  • postPaid: pay-as-you-go
  • monthPackage: monthly subscription (120-hour or 250-hour computing plan)
  • prePaid: monthly subscription (unlimited-hour computing plan)
monthPackage
ResourceGroupIdstringNo

The ID of the enterprise resource group.

rg-4hsvzbbmqdzu3s****
FillResourceGroupbooleanNo

Specifies whether to query the information about the enterprise resource group.

true
PageNumberintegerNo

The page number.

1
PageSizeintegerNo

The number of entries returned per page.

10
MultiResourcebooleanNo

Specifies whether the shared group is a multi-cloud computer type.

Valid values:

  • true: a multi-cloud computer type.
  • false: a single-cloud computer type.
false

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

NextTokenstring

The token that is used for the next query. If this parameter is left empty, all results are returned.

caeba0bbb2be03f84eb48b699f0a4883
RequestIdstring

The ID of the request.

484256DA-D816-44D2-9D86-B6EE4D5BA78C
TotalCountinteger

The total number of cloud computers.

1
Desktopsarray<object>

The cloud computers.

Desktopobject

The cloud computer.

CreationTimestring

The time when the cloud computer was created.

2020-11-06T08:28Z
ChargeTypestring

The billing method of the cloud computer.

Valid values:

  • Postpaid (default): pay-as-you-go
  • PrePaid: subscription
PostPaid
DesktopNamestring

The cloud computer name.

testDesktopName
PolicyGroupNamestring

The policy name.

test
SystemDiskSizeinteger
Note This parameter is in invitational preview and is not publicly available.
0
PolicyGroupIdstring

The policy ID.

system-all-enabled-policy
DesktopStatusstring

The cloud computer status.

Running
DesktopTypestring

The cloud computer type.

ecd.basic.large
GpuCountfloat

The number of GPU cores.

1
ProtocolTypestring

The protocol.

Valid values:

  • HDX
  • ASP
ASP
Memorylong

The memory size. Unit: MiB.

4096
GpuSpecstring

The GPU Specifications.

NVIDIA T4
ImageIdstring

The image ID.

m-4zfb6zj728hhr****
DirectoryIdstring

The directory ID, which is the same as the office network ID (OfficeSiteId).

cn-hangzhou+dir-363353****
ManagementFlagstring

The flag that is used to manage the cloud computer.

Valid values:

  • Migrating: The cloud computer is being migrated.
  • Updating: The configurations of the cloud computer are being updated.
  • NoFlag: No flags are available.
NoFlag
DataDiskCategorystring
Note This parameter is in invitational preview and is not publicly available.
null
SystemDiskCategorystring
Note This parameter is in invitational preview and is not publicly available.
null
NetworkInterfaceIdstring

The ID of the supplementary network interface controller (NIC) created by EDS within an RAM user or Active Directory (AD) user. You cannot modify the ID.

123456
OfficeSiteIdstring

The office network ID.

cn-hangzhou+dir-363353****
DataDiskSizestring
Note This parameter is in invitational preview and is not publicly available.
null
DesktopGroupIdstring

The ID of the cloud computer pool to which cloud computers belong. Default value: null.``

null
DesktopIdstring

The cloud computer ID.

ecd-gx2x1dhsmucyy****
OfficeSiteNamestring

The office network name.

test
StartTimestring

The time when the cloud computer was first started.

2020-11-06T08:31Z
DirectoryTypestring
Note This parameter is in invitational preview and is not publicly available.
SIMPLE
Cpuinteger

The number of vCPUs.

2
NetworkInterfaceIpstring

The IP address of the supplementary NIC created by EDS within an RAM or AD user.

192.168.74.165
ExpiredTimestring

The time when a subscription cloud computer expired.

2021-12-31T15:59Z
OsTypestring

The OS that is defined in the desktop template.

Windows
ConnectionStatusstring

The connection status of the end user.

Valid values:

  • Unknown

  • Connected

  • Disconnected

Disconnected
BundleIdstring

The ID of the template used to create the cloud computer.

b-2g65ljy4291vl****
BundleNamestring

The name of the template used to create the cloud computer.

Name
OfficeSiteTypestring

The account type of the office network.

Valid values:

  • SIMPLE: convenience account
  • AD_CONNECTOR: enterprise AD account
SIMPLE
HostNamestring

The hostname of the cloud desktop.

testName
Disksarray<object>

The information about the disks.

Diskobject

The information about the disk.

DiskTypestring

The type of the disk.

Valid values:

  • SYSTEM: system disk

  • DATA: data disk

SYSTEM
DiskIdstring

The disk ID.

d-jedbpr4sl9l37****
DiskSizeinteger

The disk size. Unit: GiB.

80
PerformanceLevelstring

The performance level (PL) of the disk when an enterprise SSD (ESSD) is used.

For more information about the differences among enterprise SSDs (ESSDs) at different PLs, see ESSDs .

Valid values:

  • PL1
  • PL0
  • PL3
  • PL2
PL0
DiskCategorystring

The type of the disk. Valid values:

  • cloud_efficiency: ultra disk.
  • cloud_auto: standard SSD.
  • cloud_essd: enhanced SSD (ESSD).
cloud_auto
Tagsarray<object>

Details about the tags.

Tagobject

Details of the tag.

Keystring

The tag key.

TestKey
Valuestring

The tag value.

TestValue
Sessionsarray<object>

The session information about cloud computers connected by end users.

Sessionobject

The session information about the cloud computer connected by an end user.

EndUserIdstring

The ID of the end user that connects to the cloud computer.

29615820929547****
EstablishmentTimestring

The time when the cloud computer session was established.

2021-03-07T08:23Z
ExternalUserNamestring

The name of the external user.

Testname
EndUserIdsarray

The end user IDs.

EndUserIdstring

The end user ID.

Alice
DowngradeQuotalong

The number of times for which the cloud desktop can be downgraded.

3
DowngradedTimeslong

The number of times for which the cloud desktop has been downgraded.

0
GpuCategorylong

Indicates whether the cloud computer uses GPUs.

0
GpuDriverVersionstring

The GPU driver version used by the cloud computer.

null
ZoneTypestring

The zone type. Default value: AvailabilityZone. This value indicates Alibaba Cloud zones.

AvailabilityZone
FotaUpdateobject

The information about the image version of the cloud computer.

CurrentAppVersionstring

The current image version of the cloud computer.

0.0.0-D-20220102.000000
NewAppVersionstring

The version number to which the image of the cloud computer can be updated.

0.0.0-R-20220307.190736
ReleaseNotestring

The description of the version to which the image of the cloud computer can be updated.

Upgrade package for testing 03-07
Sizelong

The size of the installation package for the image to which the cloud desktop can be updated. Unit: KB.

108815097
ReleaseNoteEnstring

The English description of the version to which the image of the cloud computer can be updated.

Release note
ReleaseNoteJpstring

The Japanese description of the image version to which the cloud desktop can be updated.

リリースノート
Progressstring

The progress of creating the cloud computer.

100%
VolumeEncryptionEnabledboolean

Indicates whether disk encryption is enabled.

false
VolumeEncryptionKeystring

The ID of the Key Management Service (KMS) key that is used when disk encryption is enabled. You can call the ListKeys operation to query the list of KMS keys.

08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4****
OfficeSiteVpcTypestring

The VPC type of the office network.

Valid values:

  • standard
  • customized
  • basic
basic
Platformstring

The information about the OS platform.

Valid values:

  • Ubuntu
  • Windows Server 2022
  • UOS
  • CentOS
  • Windows Server 2019
  • Windows Server 2016
Ubuntu
SessionTypestring

The type of the session.

Valid values:

  • SINGLE_SESSION

  • MULTIPLE_SESSION

SINGLE_SESSION
ManagementFlagsarray

The flags that are used to manage the cloud computers.

MgtFlagstring

The management status of the cloud computer.

Valid values:

  • Migrating: The cloud computer is being migrated to another office network.
  • Hibernated: The cloud computer is hibernated.
  • UnderMaintenance: The cloud computer is entering maintenance mode.
  • MigratingProtocol: The protocol of the cloud computer is being migrated.
  • EnterMaintenance: The cloud computer is in maintenance mode.
  • WakingUp: The cloud computer is being waking up.
  • updating: The cloud computer is being updated.
  • NoFlag: No status.
  • Assigning: The cloud computer is being assigned to users.
  • Hibernating: The cloud computer is hibernating.
["NoFlag"]
SnapshotPolicyIdstring

The snapshot policy ID.

sp-gi007jgyc3kcey2bb
SnapshotPolicyNamestring

The name of the snapshot policy.

testSnapshotName
BindAmountinteger

The number of concurrent sessions of each cloud computer in a multi-session cloud computer pool.

10
PolicyGroupIdListarray

The IDs of the cloud computer policies.

policyGroupIdstring

The ID of the cloud computer policy.

pg-dasffjkdf*****
PolicyGroupNameListarray

The names of the cloud computer policies.

policyGroupNamestring

The name of the cloud computer policy.

test01
HibernationOptionsConfiguredboolean
Note This parameter is in invitational preview and is not publicly available.
true
SupportHibernationboolean

Indicates whether the cloud desktop supports hibernation.

true
HibernationBetaboolean
Note This parameter is in invitational preview and is not publicly available.
true
ResourceGroupsarray<object>

The information about the enterprise resource groups.

ResourceGroupobject

The information about the enterprise resource group.

Namestring

The name of the enterprise resource group.

Resource group 01
Idstring

The ID of the enterprise resource group.

rg-4hsvzbbmqdzu3s****
StandardStartTimestring

The standard start time.

2025-02-24T06:38:02Z
PageNumberinteger

The page number.

1
PageSizeinteger

The number of entries returned per page.

10

Examples

Sample success responses

JSONformat

{
  "NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
  "RequestId": "484256DA-D816-44D2-9D86-B6EE4D5BA78C",
  "TotalCount": 1,
  "Desktops": [
    {
      "CreationTime": "2020-11-06T08:28Z",
      "ChargeType": "PostPaid",
      "DesktopName": "testDesktopName",
      "PolicyGroupName": "test",
      "SystemDiskSize": 0,
      "PolicyGroupId": "system-all-enabled-policy",
      "DesktopStatus": "Running",
      "DesktopType": "ecd.basic.large",
      "GpuCount": 1,
      "ProtocolType": "ASP",
      "Memory": 4096,
      "GpuSpec": "NVIDIA T4",
      "ImageId": "m-4zfb6zj728hhr****",
      "DirectoryId": "cn-hangzhou+dir-363353****",
      "ManagementFlag": "NoFlag",
      "DataDiskCategory": null,
      "SystemDiskCategory": null,
      "NetworkInterfaceId": 123456,
      "OfficeSiteId": "cn-hangzhou+dir-363353****",
      "DataDiskSize": null,
      "DesktopGroupId": null,
      "DesktopId": "ecd-gx2x1dhsmucyy****",
      "OfficeSiteName": "test",
      "StartTime": "2020-11-06T08:31Z",
      "DirectoryType": "SIMPLE",
      "Cpu": 2,
      "NetworkInterfaceIp": "192.168.74.165",
      "ExpiredTime": "2021-12-31T15:59Z",
      "OsType": "Windows",
      "ConnectionStatus": "Disconnected",
      "BundleId": "b-2g65ljy4291vl****",
      "BundleName": "Name",
      "OfficeSiteType": "SIMPLE",
      "HostName": "testName",
      "Disks": [
        {
          "DiskType": "SYSTEM",
          "DiskId": "d-jedbpr4sl9l37****",
          "DiskSize": 80,
          "PerformanceLevel": "PL0",
          "DiskCategory": "cloud_auto"
        }
      ],
      "Tags": [
        {
          "Key": "TestKey",
          "Value": "TestValue"
        }
      ],
      "Sessions": [
        {
          "EndUserId": "29615820929547****",
          "EstablishmentTime": "2021-03-07T08:23Z",
          "ExternalUserName": "Testname"
        }
      ],
      "EndUserIds": [
        "Alice"
      ],
      "DowngradeQuota": 3,
      "DowngradedTimes": 0,
      "GpuCategory": 0,
      "GpuDriverVersion": null,
      "ZoneType": "AvailabilityZone",
      "FotaUpdate": {
        "CurrentAppVersion": "0.0.0-D-20220102.000000",
        "NewAppVersion": "0.0.0-R-20220307.190736",
        "ReleaseNote": "Upgrade package for testing 03-07\n",
        "Size": 108815097,
        "ReleaseNoteEn": "Release note",
        "ReleaseNoteJp": "リリースノート"
      },
      "Progress": "100%",
      "VolumeEncryptionEnabled": false,
      "VolumeEncryptionKey": "08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4****",
      "OfficeSiteVpcType": "basic",
      "Platform": "Ubuntu",
      "SessionType": "SINGLE_SESSION",
      "ManagementFlags": [
        [
          "NoFlag"
        ]
      ],
      "SnapshotPolicyId": "sp-gi007jgyc3kcey2bb",
      "SnapshotPolicyName": "testSnapshotName",
      "BindAmount": 10,
      "PolicyGroupIdList": [
        "pg-dasffjkdf*****"
      ],
      "PolicyGroupNameList": [
        "test01"
      ],
      "HibernationOptionsConfigured": true,
      "SupportHibernation": true,
      "HibernationBeta": true,
      "DesktopDurationList": [
        {
          "PackageId": "",
          "PackageCreationTime": "",
          "PackageExpiredTime": "",
          "UsedDuration": 0,
          "TotalDuration": 0,
          "PackageStatus": "",
          "PackageType": "",
          "PeriodStartTime": "",
          "PeriodEndTime": "",
          "PostPaidLimitFee": 0,
          "PackageUsedUpStrategy": "",
          "OrderInstanceId": ""
        }
      ],
      "ResourceGroups": [
        {
          "Name": "Resource group 01\n",
          "Id": "rg-4hsvzbbmqdzu3s****"
        }
      ],
      "StandardStartTime": "2025-02-24T06:38:02Z",
      "OsUpdate": {
        "CheckId": "",
        "PackageCount": 0,
        "Packages": [
          {
            "Kb": "",
            "Title": "",
            "Description": ""
          }
        ]
      },
      "IsLdap": true
    }
  ],
  "PageNumber": 1,
  "PageSize": 10
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-04-09The response structure of the API has changedView Change Details
2025-03-18The response structure of the API has changedView Change Details
2025-02-17The response structure of the API has changedView Change Details
2025-01-24The request parameters of the API has changedView Change Details
2024-10-29The request parameters of the API has changed. The response structure of the API has changedView Change Details
2024-07-04The request parameters of the API has changed. The response structure of the API has changedView Change Details
2024-06-17The request parameters of the API has changedView Change Details
2023-09-22The internal configuration of the API is changed, but the call is not affectedView Change Details
2023-09-11The internal configuration of the API is changed, but the call is not affectedView Change Details
2023-07-19The response structure of the API has changedView Change Details
2023-07-03The response structure of the API has changedView Change Details
2023-05-18The response structure of the API has changedView Change Details
2023-05-06The request parameters of the API has changed. The response structure of the API has changedView Change Details
2023-03-17The request parameters of the API has changedView Change Details
2022-08-04The internal configuration of the API is changed, but the call is not affectedView Change Details
2022-08-04The internal configuration of the API is changed, but the call is not affectedView Change Details
2022-08-04The internal configuration of the API is changed, but the call is not affectedView Change Details
2022-08-04The internal configuration of the API is changed, but the call is not affectedView Change Details
2022-08-04The internal configuration of the API is changed, but the call is not affectedView Change Details
2022-08-04The internal configuration of the API is changed, but the call is not affectedView Change Details