Exports computer pools and saves the list as an XLSX file. Each entry includes the ID and name of the computer pool, the ID and name of the office network, the computer pool template, and the name of the security policy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:ExportDesktopGroupInfo |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to query the regions supported by Elastic Desktop Service. |
cn-hangzhou |
| OfficeSiteId |
string |
No |
The ID of the office network. |
cn-hangzhou+dir-467671**** |
| DesktopGroupName |
string |
No |
The name of the computer pool. |
CloudComputerPool01 |
| MaxResults |
integer |
No |
The number of entries to return on each page. Maximum value: 100. Default value: 10. |
10 |
| NextToken |
string |
No |
The token that determines the start point of the next query. If this parameter is left empty, all results are returned. |
caeba0bbb2be03f84eb48b699f0a4883 |
| PolicyGroupId |
string |
No |
The ID of the security policy. |
pg-53iyi2aar0nd6**** |
| ChargeType |
string |
No |
The billing method of the computer pool. Valid values:
Valid values:
|
PrePaid |
| ExpiredTime |
string |
No |
The expiration date of the subscription computer pool. |
2022-12-31T15:59Z |
| DesktopGroupId |
array |
No |
The IDs of the computer pools. |
|
|
string |
No |
The ID of the computer pool. You can specify 1 to 100 IDs of computer pools. |
dg-2i8qxpv6t1a03**** |
|
| EndUserId |
array |
No |
The IDs of the users to be authorized. |
|
|
string |
No |
The ID of the user to be authorized. You can specify 1 to 100 user IDs. |
alice |
|
| LangType |
string |
No |
The language of the response. Valid values:
|
zh-CN |
| Tag |
array<object> |
No |
The tags. You can specify up to 20 tags. |
|
|
object |
No |
The tag. |
||
| Key |
string |
No |
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 |
TestKey |
| Value |
string |
No |
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 |
TestValue |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Url |
string |
The download URL of the XLSX file that contains computer pools. The XLSX file provides the following information:
|
https://cn-hangzhou-servicemanager.oss-cn-hangzhou.aliyuncs.com/A0_DESKTOP/EDS_CloudDesktopGroups_202203********_xBjqdCT***.xlsx?********* |
| RequestId |
string |
The ID of the request. |
24E05D3E-08F4-551E-B1F0-F6D84EE0BCCC |
Examples
Success response
JSON format
{
"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 code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ExportDesktopGroup.UnknowError | Failed to export computer pool list. Please try again. If the problem still exists, submit a ticket. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.