All Products
Search
Document Center

Elastic Desktop Service:ExportDesktopGroupInfo

Last Updated:Mar 13, 2025

Exports cloud computer shares and saves the list as an XLSX file. Each entry includes the ID and name of the cloud computer share, the ID and name of the office network, the cloud computer share template, and the name of the security policy.

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:ExportDesktopGroupInfonone
*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.

cn-hangzhou
OfficeSiteIdstringNo

The ID of the office network to which the cloud computer pool belongs.

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

The name of the cloud computer pool.

test
MaxResultsintegerNo

The number of entries to return on each 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
PolicyGroupIdstringNo

The ID of the policy that is associated with the cloud computer pool.

pg-53iyi2aar0nd6****
ChargeTypestringNo

The billing method of the cloud computer pool.

Valid values:

  • PostPaid: pay-as-you-go.

  • PrePaid: subscription.

PrePaid
ExpiredTimestringNo

The time when the subscription cloud computer pool expires.

2022-12-31T15:59Z
DesktopGroupIdarrayNo

The IDs of the cloud computer pools.

stringNo

The ID of the cloud computer pool. You can specify 1 to 100 IDs of cloud computer pools

dg-2i8qxpv6t1a03****
EndUserIdarrayNo

The authorized user IDs of cloud computer pools.

stringNo

The authorized user ID of a cloud computer pool. You can specify 1 to 100 authorized user IDs.

alice
LangTypestringNo

The language of the response.

zh-CN
Tagarray<object>No

The tags attached to the cloud computer pool. You can specify 1 to 20 tags.

objectNo

The tags attached to the cloud computer pool.

KeystringNo

The key of the tag. 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 aliyun or acs:. You cannot specify an empty string as a tag key.

TestKey
ValuestringNo

The value of the tag. The tag value can be an empty string. The tag value can be up to 128 characters in length. It cannot start with acs: and cannot contain http:// or https://.

TestValue

Response parameters

ParameterTypeDescriptionExample
object

Schema of response.

Urlstring

The URL from which you can download the exported cloud computer pools. The details of the cloud computer pools include:

  • IDs and names of the cloud computer pools
  • IDs and names of the office networks
  • Cloud computer pool templates
  • Number of CPU cores and memory size
  • System disks and data disks
  • Names of security policies
  • Number of current authorized users
  • Billing methods
  • The time when the cloud computer pools were created
  • The time when the cloud computer pools expire
https://cn-hangzhou-servicemanager.oss-cn-hangzhou.aliyuncs.com/A0_DESKTOP/EDS_CloudDesktopGroups_202203********_xBjqdCT***.xlsx?*********
RequestIdstring

The ID of the request.

24E05D3E-08F4-551E-B1F0-F6D84EE0BCCC

Examples

Sample success responses

JSONformat

{
  "Url": "https://cn-hangzhou-servicemanager.oss-cn-hangzhou.aliyuncs.com/A0_DESKTOP/EDS_CloudDesktopGroups_202203********_xBjqdCT***.xlsx?*********",
  "RequestId": "24E05D3E-08F4-551E-B1F0-F6D84EE0BCCC"
}

Error codes

HTTP status codeError codeError message
400ExportDesktopGroup.UnknowErrorFailed to export desktop group list. Please try again. If the problem still exists, submit a ticket.

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

Change history

Change timeSummary of changesOperation
2024-06-14The Error code has changed. The request parameters of the API has changedView Change Details