Find cloud computers in a shared cloud computer by billing method.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:DescribeDesktopsInGroup |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call DescribeRegions to query the regions supported by Elastic Desktop Service. |
cn-hangzhou |
| DesktopGroupId |
string |
Yes |
The ID of the computer pool. |
dg-2i8qxpv6t1a03**** |
| PayType |
string |
No |
The billing method. Valid values:
|
PrePaid |
| MaxResults |
integer |
No |
The maximum number of entries to return on a single page.
|
10 |
| NextToken |
string |
No |
The token that is used to start the next query. If this parameter is empty, all results are returned. |
caeba0bbb2be03f84eb48b699f0a4883 |
| IgnoreDeleted |
boolean |
No |
Specifies whether to return deleted desktops. Valid values:
|
true |
| CustomStartTimePeriod |
integer |
No |
||
| CustomEndTimePeriod |
integer |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| PostPaidDesktopsCount |
integer |
The total number of pay-as-you-go cloud desktops. |
10 |
| NextToken |
string |
The token to retrieve the next page of results. If this parameter is not returned, all results have been retrieved. |
caeba0bbb2be03f84eb48b699f0a4883 |
| PaidDesktopsCount |
integer |
The total number of subscription cloud desktops. |
10 |
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
| PostPaidDesktopsTotalAmount |
integer |
The total billed amount for the pay-as-you-go cloud desktops. |
10000 |
| PaidDesktops |
array<object> |
A list of subscription cloud desktops. |
|
|
object |
The details of a subscription cloud desktop. |
||
| EndUserId |
string |
The ID of the authorized end user. |
alice |
| DesktopStatus |
string |
The status of the cloud desktop. Valid values:
|
Running |
| DesktopName |
string |
The name of the cloud desktop. |
DemoComputer |
| ConnectionStatus |
string |
The connection status of the cloud desktop. Valid values:
|
Connected |
| DesktopId |
string |
The ID of the cloud desktop. |
ud-7ftf5b6yu77b0**** |
| EndUserName |
string |
The name of the authorized end user. |
alice |
| ManagementFlag |
string |
The management flag. Valid values:
|
NoFlag |
| EndUserIds |
array |
The IDs of end users connected to the cloud desktop. If no end user is connected, the array is empty. |
|
|
string |
The end user ID. |
alice |
|
| EndUserNames |
array |
The usernames of end users connected to the cloud desktop. If no end user is connected, the array is empty. |
|
|
string |
The end user name. |
alice |
|
| ResetTime |
string |
The time when the cloud desktop was last reset. |
2021-03-03 08:48:08 |
| ImageId |
string |
The image ID. |
m-hn5v2mmk0**** |
| ImageName |
string |
The image name. |
Win10_ZC |
| SystemDiskSize |
integer |
The size of the system disk, in GiB. |
80 |
| OsType |
string |
The type of the operating system. Valid values:
|
Windows |
| GpuDriverVersion |
string |
The GPU driver version. |
1.0 |
| DiskType |
string |
The disk type. Valid values:
|
SYSTEM |
| ManagementFlags |
array |
The management flags. |
|
|
string |
The management flag. Valid values:
|
NoFlag |
|
| MemberEniIp |
string |
The IP address of the secondary elastic network interface of the instance. |
192.168.XX.XX |
| PrimaryEniIp |
string |
The IP address of the primary network interface of the instance. |
192.168.XX.XX |
| ProtocolType |
string |
The session protocol. Valid values:
|
ASP |
| FotaVersion |
string |
The image version. |
0.1.0-R-20220914.17**** |
| ExpiredTime |
string |
The expiration time of the subscription cloud desktop. |
|
| PostPaidDesktops |
array<object> |
A list of pay-as-you-go cloud desktops. |
|
|
object |
The details of a pay-as-you-go cloud desktop. |
||
| CreateDuration |
string |
The retention period of the cloud desktop, in milliseconds. |
4153958447 |
| EndUserId |
string |
The ID of the authorized end user. |
alice |
| DesktopStatus |
string |
The status of the cloud desktop. Valid values:
|
Stopped |
| CreateTime |
string |
The creation time of the cloud desktop. |
2022-01-21T06:34:57Z |
| ReleaseTime |
string |
The release time of the cloud desktop. |
2022-01-21T16:34:57Z |
| DesktopName |
string |
The name of the cloud desktop. |
DemoComputer |
| ConnectionStatus |
string |
The connection status of the cloud desktop. Valid values:
|
Connected |
| DesktopId |
string |
The ID of the cloud desktop. |
ud-2i8qxpv6t1a07**** |
| EndUserName |
string |
The name of the authorized end user. |
alice |
| ManagementFlag |
string |
The management flag. Valid values:
|
NoFlag |
| EndUserIds |
array |
The IDs of end users connected to the cloud desktop. If no end user is connected, the array is empty. |
|
|
string |
The end user ID. |
alice |
|
| EndUserNames |
array |
The usernames of end users connected to the cloud desktop. If no end user is connected, the array is empty. |
|
|
string |
The end user name. |
alice |
|
| ResetTime |
string |
The time when the cloud desktop was last reset. |
2021-03-03 08:48:08 |
| ImageId |
string |
The image ID. |
m-hn5v2mmk0**** |
| ImageName |
string |
The image name. |
Win10_ZC |
| SystemDiskSize |
integer |
The size of the system disk, in GiB. |
80 |
| OsType |
string |
The type of the operating system. Valid values:
|
Windows |
| GpuDriverVersion |
string |
The GPU driver version. |
1.0 |
| DiskType |
string |
The disk type. Valid values:
|
SYSTEM |
| ManagementFlags |
array |
The management flags. |
|
|
string |
The management flag. Valid values:
|
NoFlag |
|
| MemberEniIp |
string |
The IP address of the secondary elastic network interface of the instance. |
192.168.XX.XX |
| PrimaryEniIp |
string |
The IP address of the primary network interface of the instance. |
192.168.XX.XX |
| ProtocolType |
string |
The session protocol. Valid values:
|
HDX |
| FotaVersion |
string |
The image version. |
0.1.0-R-20220914.17**** |
| OnlinePrePaidDesktopsCount |
integer |
The number of connected subscription cloud desktops. |
100 |
| RunningPrePaidDesktopsCount |
integer |
The number of running subscription cloud desktops. |
100 |
| StopedPrePaidDesktopsCount |
integer |
Deprecated. This parameter is misspelled. Use |
100 |
| StoppedPrePaidDesktopsCount |
integer |
The number of stopped subscription cloud desktops. |
100 |
Examples
Success response
JSON format
{
"PostPaidDesktopsCount": 10,
"NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
"PaidDesktopsCount": 10,
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"PostPaidDesktopsTotalAmount": 10000,
"PaidDesktops": [
{
"EndUserId": "alice",
"DesktopStatus": "Running",
"DesktopName": "DemoComputer",
"ConnectionStatus": "Connected",
"DesktopId": "ud-7ftf5b6yu77b0****",
"EndUserName": "alice",
"ManagementFlag": "NoFlag",
"EndUserIds": [
"alice"
],
"EndUserNames": [
"alice"
],
"ResetTime": "2021-03-03 08:48:08",
"ImageId": "m-hn5v2mmk0****",
"ImageName": "Win10_ZC",
"SystemDiskSize": 80,
"OsType": "Windows",
"GpuDriverVersion": "1.0",
"DiskType": "SYSTEM",
"ManagementFlags": [
"NoFlag"
],
"MemberEniIp": "192.168.XX.XX",
"PrimaryEniIp": "192.168.XX.XX",
"ProtocolType": "ASP",
"FotaVersion": "0.1.0-R-20220914.17****",
"ExpiredTime": ""
}
],
"PostPaidDesktops": [
{
"CreateDuration": "4153958447",
"EndUserId": "alice",
"DesktopStatus": "Stopped",
"CreateTime": "2022-01-21T06:34:57Z",
"ReleaseTime": "2022-01-21T16:34:57Z",
"DesktopName": "DemoComputer",
"ConnectionStatus": "Connected",
"DesktopId": "ud-2i8qxpv6t1a07****",
"EndUserName": "alice",
"ManagementFlag": "NoFlag",
"EndUserIds": [
"alice"
],
"EndUserNames": [
"alice"
],
"ResetTime": "2021-03-03 08:48:08",
"ImageId": "m-hn5v2mmk0****",
"ImageName": "Win10_ZC",
"SystemDiskSize": 80,
"OsType": "Windows",
"GpuDriverVersion": "1.0",
"DiskType": "SYSTEM",
"ManagementFlags": [
"NoFlag"
],
"MemberEniIp": "192.168.XX.XX",
"PrimaryEniIp": "192.168.XX.XX",
"ProtocolType": "HDX",
"FotaVersion": "0.1.0-R-20220914.17****"
}
],
"OnlinePrePaidDesktopsCount": 100,
"RunningPrePaidDesktopsCount": 100,
"StopedPrePaidDesktopsCount": 100,
"StoppedPrePaidDesktopsCount": 100
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.