All Products
Search
Document Center

Elastic Desktop Service:DescribeDesktopGroups

Last Updated:Nov 14, 2025

Queries cloud computer shares.

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

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the regions supported by WUYING Workspace.

cn-hangzhou
OfficeSiteIdstringNo

The ID of the office network in which the cloud computer share resides.

cn-hangzhou+dir-467671****
DesktopGroupNamestringNo

The name of the cloud computer share that you want to query. Fuzzy search is supported.

testName
DesktopGroupIdstringNo

The ID of the cloud computer share.

dg-2i8qxpv6t1a03****
PeriodintegerNo

The subscription duration of the cloud computer share. The unit is specified by PeriodUnit.

  • Valid values if you set PeriodUnit to Month:

    • 1
    • 2
    • 3
    • 6
  • Valid values if you set PeriodUnit to Year:

    • 1
    • 2
    • 3
    • 4
    • 5
1
PeriodUnitstringNo

The unit of the subscription duration.

Month
MaxResultsintegerNo

The number of entries to return on each page. Valid values: 1 to 100. Default value: 10.

10
NextTokenstringNo

The pagination token that is used in the next request to retrieve a new page of results. If the NextToken parameter is empty, no next page exists.

caeba0bbb2be03f84eb48b699f0a4883
PolicyGroupIdstringNo

The ID of the applied policy.

pg-53iyi2aar0nd6****
StatusintegerNo

The status of the cloud computer share.

Valid values:

  • 0: The cloud computer share is unpaid.
  • 1: The cloud computer share is normal.
  • 2: The cloud computer share expired, or your account has an overdue payment.
1
OwnTypelongNo

The type of the cloud computer share.

Note This parameter is not publicly available.

Valid values:

  • 0: a single-session many-to-many share.
  • 1: a multi-session many-to-many share.
0
EndUserIdsarrayNo

The IDs of the users who can access the cloud computer share.

stringNo

The ID of the user who can access the cloud computer share.

Alice
ExcludedEndUserIdsarrayNo

The authorized users that you want to exclude.

stringNo

The authorized user that you want to exclude.

Tony
ProtocolTypestringNo

The protocol type.

Valid values:

  • High-definition Experience (HDX)

  • Adaptive Streaming Protocol (ASP)

ASP
ImageIdarrayNo

The IDs of the images.

stringNo

The ID of the image.

m-eeuo9qab4b0****
BundleIdarrayNo

The IDs of the cloud computer templates.

stringNo

The ID of the cloud computer template.

b-4w5nk44znm6****
Tagarray<object>No

The tags that you want to add to the cloud computer share. You can specify 1 to 20 tags.

objectNo

The tag that you want to add to the cloud computer share.

KeystringNo

The tag key. You cannot specify an empty string as a tag key. A tag key can be up to 128 characters in length and cannot start with acs: or aliyun. It cannot contain http:// or https://.

TestKey
ValuestringNo

The tag value. You can specify an empty string as a tag key. A tag value can be up to 128 characters in length and cannot start with acs:. It cannot contain http:// or https://.

TestValue
MultiResourcebooleanNo

Specifies whether the cloud computer share is a many-to-many share.

Valid values:

  • true: The cloud computer share is a many-to-many share.
  • false: The cloud computer share is a one-to-many share.
true
DesktopGroupIdsarrayNo

The IDs of the cloud computer shares.

stringNo

The ID of the cloud computer share.

dg-2i8qxpv6t1a03****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

NextTokenstring

The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.

caeba0bbb2be03f84eb48b699f0a4883
RequestIdstring

The request ID.

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

The cloud computer shares.

DesktopGroupobject

The cloud computer share.

CreateTimestring

The time when the cloud computer pool was created.

2022-02-17T14:51:07Z
PayTypestring

The billing method of the cloud computer pool.

Valid values:

  • PostPaid: pay-as-you-go
  • PrePaid: subscription
PrePaid
PolicyGroupNamestring

The name of the applied policy.

test-policy
Creatorstring

The Alibaba Cloud account that creates the cloud computer pool.

1007214305******
MaxDesktopsCountinteger
  • For pay-as-you-go cloud computer shares, this parameter defines the maximum number of cloud computers allowed.
  • For subscription cloud computer shares, this parameter defines the total number of cloud computers, including both the initially purchased cloud computers (BuyDesktopsCount) and those that can be auto-created.
10
SystemDiskSizeinteger

The system disk capacity. Unit: GiB.

80
PolicyGroupIdstring

The ID of the applied policy.

pg-53iyi2aar0nd6c8qj
OwnBundleIdstring

The ID of the cloud computer template.

bundle_eds_general_4c8g_s8d5_win2019
GpuCountfloat

The number of GPUs.

1
Memorylong

The memory size. Unit: MiB.

16384
GpuSpecstring

The GPU memory.

16 GiB
OwnBundleNamestring

The name of the cloud computer template.

test
DataDiskCategorystring

The category of the user disk.

Valid values:

  • cloud_efficiency: ultra disk
  • cloud_ssd: standard SSD
  • cloud_essd: enhanced SSD (ESSD)
cloud_ssd
DesktopGroupNamestring

The name of the cloud computer share.

test1
SystemDiskCategorystring

The category of the system disk.

Valid values:

  • cloud_efficiency: ultra disk
  • cloud_ssd: standard SSD
  • cloud_essd: enhanced SSD (ESSD)
cloud_ssd
OfficeSiteIdstring

The ID of the office network in which the cloud computer network resides.

cn-hangzhou+dir-467671****
KeepDurationlong

The keep-alive duration of a session after the session is disconnected. Valid values: 180000 (3 minutes) to 345600000 (4 days). Unit: milliseconds. If you set this parameter to 0, the session is permanently retained after it is disconnected.

When a session is disconnected, take note of the following situations: If an end user does not resume the session within the specified duration, the session is closed and all unsaved data is cleared. If the end user resumes the session within the specified duration, the end user can continue to access data of the session.

1000
MinDesktopsCountinteger
  • For pay-as-you-go cloud computer shares, this parameter defines the minimum number of cloud computers allowed.
  • For subscription cloud computer shares, this parameter defines the number of cloud computers that are initially purchased (BuyDesktopsCount).
1
EndUserCountinteger

The number of users who can access the cloud computer share.

1
DataDiskSizestring

The user disk capacity. Unit: GiB.

50
DesktopGroupIdstring

The ID of the cloud computer share.

dg-2i8qxpv6t1a03****
OfficeSiteNamestring

The ID of the office network in which the cloud computer share resides.

testName
Cpuinteger

The number of vCPUs.

4
ExpiredTimestring

The expiration date of the subscription cloud computer share.

2022-03-17T16:00:00Z
Commentsstring

The remarks.

test
OfficeSiteTypestring

The account type of the office network.

Valid values:

  • PERSONAL: individual office network
  • SIMPLE: convenience office network
  • AD_CONNECTOR: enterprise Active Directory (AD) office network
  • RAM: Resource Access Management (RAM)-based office network
SIMPLE
Statusinteger

The status of the cloud computer share.

Valid values:

  • 0: The cloud computer share is unpaid.
  • 1: The cloud computer share is normal.
  • 2: The cloud computer share expired, or your account has an overdue payment.
1
ResetTypelong

The reset option for the cloud computer share.

Valid values:

  • 0: does not reset any disk.
  • 1: resets only the system disk.
  • 2: resets only the data disk.
  • 3: resets the system disk and data disk.
0
LoadPolicylong

The load balancing policy for the multi-session many-to-many share.

Valid values:

  • 0: depth-first
  • 1: breadth-first
1
BindAmountlong

The number of concurrent sessions allowed for each cloud computer within the multi-session many-to-many share.

1
OwnTypelong

The type of the cloud computer share.

Valid values:

  • 0: a single-session many-to-many share.
  • 1: a multi-session many-to-many share.
0
ImageIdstring

The ID of the image.

m-gq15cq5ydlvwn****
VolumeEncryptionEnabledboolean

Indicates whether disk encryption is enabled.

false
VolumeEncryptionKeystring

The ID of the Key Management Service (KMS) key for disk encryption.

e5409ada-xxxx-xxxx-xxxx-89e31e23e993
RatioThresholdfloat

The threshold for the ratio of connected sessions, which triggers automatic scaling of cloud computers within the multi-session many-to-many share. To calculate the ratio of connected sessions, use the following formula:

Ratio of connected sessions = Number of connected sessions/(Total number of cloud computers × Maximum number of sessions allowed for each cloud computer) × 100%

When the specified threshold is reached, new cloud computers are automatically created. When the specified threshold is not reached, idle cloud computers are released.

0.85
ConnectDurationlong

The maximum period of time during which a session is connected. When the specified maximum period of time is reached, the session is automatically disconnected. Unit: milliseconds.

90000
IdleDisconnectDurationlong

The period of time after which a session is closed. After an end user connects to a cloud computer, the session is established. If the system does not detect inputs from the keyboard or mouse within the specified period of time, the session is closed. Unit: milliseconds.

90000
Versioninteger

The version number of the cloud computer share.

2
StopDurationlong

The period of time after which an idle cloud computer is stopped. When the specified period of time is reached, the cloud computer is automatically stopped. If an end user connects to the stopped cloud computer, the cloud computer is automatically started. Unit: milliseconds.

900000
ProtocolTypestring

The protocol type.

Valid values:

  • HDX

  • ASP

ASP
OsTypestring

The OS.

Valid values:

  • Linux

  • Windows

Windows
BuyDesktopsCountinteger

This parameter is applicable only to subscription cloud computer shares. It defines the initial number of cloud computers that are purchased. Valid values: 0 to 200.

5
DesktopCountinteger

The number of cloud computers that are created.

2
DesktopTypestring

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

eds.enterprise_office.4c4g
CountPerStatusarray<object>

The number of cloud computers in each state.

CountPerStatusobject
Statusstring

The status of the cloud computer.

Valid values:

  • Stopped

  • Starting

  • Rebuilding

  • Running

  • Stopping

  • Expired

  • Deleted

  • Pending

Running
Countinteger

The total number of cloud computers.

10
GpuDriverVersionstring

The version of the GPU driver.

12
SubnetIdstring

The ID of the subnet.

vsw-uf63bb6*****8gfytm
Tagsarray<object>

The tags.

tagobject

The tag.

Keystring

The tag key.

desktop_group_name
Valuestring

The tag value.

ds-dq2mybjr23yw*****
UserOuPathstring

The user's organizational unit path.

example.com

Examples

Sample success responses

JSONformat

{
  "NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
  "DesktopGroups": [
    {
      "CreateTime": "2022-02-17T14:51:07Z",
      "PayType": "PrePaid",
      "PolicyGroupName": "test-policy",
      "Creator": "1007214305******",
      "MaxDesktopsCount": 10,
      "SystemDiskSize": 80,
      "PolicyGroupId": "pg-53iyi2aar0nd6c8qj",
      "OwnBundleId": "bundle_eds_general_4c8g_s8d5_win2019",
      "GpuCount": 1,
      "Memory": 16384,
      "GpuSpec": "16 GiB",
      "OwnBundleName": "test",
      "DataDiskCategory": "cloud_ssd",
      "DesktopGroupName": "test1",
      "SystemDiskCategory": "cloud_ssd",
      "OfficeSiteId": "cn-hangzhou+dir-467671****",
      "KeepDuration": 1000,
      "MinDesktopsCount": 1,
      "EndUserCount": 1,
      "DataDiskSize": 50,
      "DesktopGroupId": "dg-2i8qxpv6t1a03****",
      "OfficeSiteName": "testName",
      "Cpu": 4,
      "ExpiredTime": "2022-03-17T16:00:00Z",
      "Comments": "test",
      "OfficeSiteType": "SIMPLE",
      "Status": 1,
      "ResetType": 0,
      "LoadPolicy": 1,
      "BindAmount": 1,
      "OwnType": 0,
      "ImageId": "m-gq15cq5ydlvwn****",
      "VolumeEncryptionEnabled": false,
      "VolumeEncryptionKey": "e5409ada-xxxx-xxxx-xxxx-89e31e23e993",
      "RatioThreshold": 0.85,
      "ConnectDuration": 90000,
      "IdleDisconnectDuration": 90000,
      "Version": 2,
      "StopDuration": 900000,
      "ProtocolType": "ASP",
      "OsType": "Windows",
      "BuyDesktopsCount": 5,
      "DesktopCount": 2,
      "DesktopType": "eds.enterprise_office.4c4g",
      "CountPerStatus": [
        {
          "Status": "Running",
          "Count": 10
        }
      ],
      "GpuDriverVersion": 12,
      "SubnetId": "vsw-uf63bb6*****8gfytm",
      "Tags": [
        {
          "Key": "desktop_group_name",
          "Value": "ds-dq2mybjr23yw*****"
        }
      ],
      "UserOuPath": "example.com",
      "IsLdap": true
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
2025-10-24The response structure of the API has changedView Change Details
2025-04-09The response structure of the API has changedView Change Details
2025-03-24The response structure of the API has changedView Change Details
2025-01-24The request parameters of the API has changedView Change Details
2024-06-14The request parameters of the API has changed. The response structure of the API has changedView Change Details
2023-08-01The response structure of the API has changedView Change Details
2023-03-17The request parameters of the API has changedView Change Details
2021-11-04The request parameters of the API has changedView Change Details