Queries the details of a cloud computer share.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
ecd:GetDesktopGroupDetail | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | Yes | Region ID. Call DescribeRegions to list regions that support Elastic Desktop Service (EDS). | cn-hangzhou |
DesktopGroupId | string | Yes | The ID of the cloud computer share. | dg-2i8qxpv6t1a03**** |
Response elements
Element | Type | Description | Example |
object | Response data. | ||
RequestId | string | Request ID. | 1B5268CE-5EB3-545F-9F38-A8BCF710**** |
| Desktops | object | Information about the cloud computer share. | |
Status | integer | Cloud computer share status. Valid values:
| 1 |
CreationTime | string | Creation time. | 2020-11-06T08:28Z |
PayType | string | Billing method. Valid values:
| PrePaid |
ResetType | integer | Cloud computer reset type. Valid values:
| 0 |
LoadPolicy | integer | Traffic steering policy for multi-session, multi-cloud computer deployments. Valid values:
| 0 |
PolicyGroupName | string | The name of the policy that is associated with the cloud computer share. | All enabled policy |
Creator | string | Alibaba Cloud account ID of the creator. | 155177335370**** |
MaxDesktopsCount | integer |
| 3 |
AllowAutoSetup | integer | Whether to allow automatic creation of subscription cloud computers. Valid values:
| 1 |
ResType | integer | Resource type. Only Elastic Compute Service (ECS) is supported. Valid values:
| 0 |
SystemDiskSize | integer | System disk capacity in GiB. | 80 |
PolicyGroupId | string | ID of the policy associated with the cloud computer share. | pg-9cktlowtxfl6**** |
OwnBundleId | string | Cloud computer template ID. | b-1se9fb37r5tfq**** |
GpuCount | number | Number of GPU cores. | 4 |
AllowBufferCount | integer | Number of pre-started, idle cloud computers reserved for immediate connection. Applies only to pay-as-you-go cloud computers. Valid values:
| 1 |
Memory | integer | Memory size in MiB. | 4096 |
GpuSpec | string | GPU specification. | NVIDIA T4 |
DirectoryId | string | Directory ID (office network ID). | cn-hangzhou+dir-363353**** |
OwnBundleName | string | Cloud computer template name. | BundleDemo |
DataDiskCategory | string | User disk type. | cloud_essd |
DesktopGroupName | string | The name of the cloud computer share that you want to query. | CloudComputerPool01 |
BindAmount | integer | Maximum concurrent sessions per cloud computer in multi-session, multi-cloud computer deployments. | 2 |
OwnType | integer | Cloud computer share type. Valid values:
| 0 |
SystemDiskCategory | string | System disk type. | cloud_essd |
OfficeSiteId | string | Office network ID. | cn-hangzhou+dir-990541**** |
KeepDuration | integer | Time to keep a disconnected session active. Unit: milliseconds. Valid range: 180000 (3 minutes) to 345600000 (4 days). A value of 0 means keep indefinitely. If a session disconnects due to user action or other reasons, the timer starts at disconnection. If no reconnection occurs within this duration, the session logs off and unsaved data is destroyed. If the user reconnects successfully within this duration, they resume the original session and access all previously saved data. | 180000 |
MinDesktopsCount | integer |
| 1 |
DataDiskSize | string | User disk capacity in GiB. | 80 |
DesktopGroupId | string | Cloud computer share ID. | dg-3uiojcc0j4kh7**** |
OfficeSiteName | string | Name of the office network where the cloud computer share resides. | test |
DirectoryType | string | Directory type. | SIMPLE |
Cpu | integer | vCPU count. | 4 |
Comments | string | Remarks. | comment |
OfficeSiteType | string | Account system type of the office network. Valid values:
| SIMPLE |
| TimerInfos | array<object> | List of scheduled tasks. | |
object | The scheduled time. | ||
Status | integer | Status. Valid values:
| 1 |
CronExpression | string | Cron expression. | 0 58 11 ? * 2 |
TimerType | integer | Scheduled task type. Valid values:
| 1 |
Forced | boolean | Whether to force execute this scheduled task. | false |
RatioThreshold | number | Session occupancy threshold used to trigger auto scaling for multi-session, multi-cloud computer deployments. Session occupancy is calculated as:
When occupancy reaches this threshold, new cloud computers are created. When occupancy falls below this threshold, excess cloud computers are deleted. | 0.85 |
ConnectDuration | integer | Maximum time a session remains connected. The session disconnects automatically when this duration is reached. Unit: milliseconds. | 3600000 |
IdleDisconnectDuration | integer | Time after which an idle session disconnects. If no keyboard or mouse activity occurs during this period, the session disconnects. Unit: milliseconds. | 900000 |
Version | integer | The version number of the cloud computer share. | 2 |
StopDuration | integer | Idle shutdown time. The cloud computer shuts down automatically after being idle for this duration. If a user connects after shutdown, the cloud computer starts automatically. Unit: milliseconds. | 180000 |
ProfileFollowSwitch | boolean | Whether to enable user profile roaming. | false |
NasFileSystemID | string | NAS file system ID used for user profile roaming. | 0783b4**** |
NasFileSystemName | string | NAS file system name used for user profile roaming. | abcd |
TimingStrategyInfo | string | Scheduled application information. | abcd |
| ScaleTimerInfos | array<object> | Scheduled scaling task information. | |
object | Scheduled scaling task information. | ||
Type | string | Scheduled scaling task type. Valid values:
| rise |
Cron | string | Cron expression for the scheduled scaling task. | 0 0 0 * * ? |
LoadPolicy | integer | Traffic steering policy for multi-session, multi-cloud computer deployments. Valid values:
| 1 |
BuyResAmount | integer | Scaling parameter: Number of cloud computers to buy. Valid values: 0 to 200. | 5 |
MinResAmount | integer | Scaling parameter: Minimum number of cloud computers. Valid values: 0 to 200. | 1 |
MaxResAmount | integer | Scaling parameter: Maximum number of cloud computers. Valid values: 0 to 200. | 100 |
KeepDuration | integer | Time to keep a disconnected session active. Unit: milliseconds. Valid range: 180000 (3 minutes) to 345600000 (4 days). A value of 0 means keep indefinitely. If a session disconnects due to user action or other reasons, the timer starts at disconnection. If no reconnection occurs within this duration, the session logs off and unsaved data is destroyed. If the user reconnects successfully within this duration, they resume the original session and access all previously saved data. | 180000 |
RatioThreshold | number | Session occupancy threshold used to trigger auto scaling for multi-session, multi-cloud computer deployments. Session occupancy is calculated as:
When occupancy reaches this threshold, new cloud computers are created. When occupancy falls below this threshold, excess cloud computers are deleted. | 0.85 |
| PolicyGroupIds | array | The IDs of the policies that are associated with the cloud computer share. | |
string | The ID of the policy associated with the cloud computer share. | pd-abcd*** | |
| PolicyGroupNames | array | A list of policy names associated with cloud computer share. | |
string | Policy names associated with the cloud computer share. | All enabled policy | |
BuyDesktopsCount | integer | Initial purchase count for subscription cloud computers. Valid values: 0 to 200. | 5 |
ImageId | string | Image ID. | m-4zfb6zj728hhr**** |
ExpiredTime | string | Expiration time for subscription cloud computers. | 2021-12-31T15:59Z |
OsType | string | ||
ProtocolType | string | ||
| ExpiredTimes | array | ||
string | |||
EnvType | string | ||
EnvId | string |
Examples
Success response
JSON format
{
"RequestId": "1B5268CE-5EB3-545F-9F38-A8BCF710****",
"Desktops": {
"Status": 1,
"CreationTime": "2020-11-06T08:28Z",
"PayType": "PrePaid",
"ResetType": 0,
"LoadPolicy": 0,
"PolicyGroupName": "All enabled policy",
"Creator": "155177335370****",
"MaxDesktopsCount": 3,
"AllowAutoSetup": 1,
"ResType": 0,
"SystemDiskSize": 80,
"PolicyGroupId": "pg-9cktlowtxfl6****",
"OwnBundleId": "b-1se9fb37r5tfq****",
"GpuCount": 4,
"AllowBufferCount": 1,
"Memory": 4096,
"GpuSpec": "NVIDIA T4",
"DirectoryId": "cn-hangzhou+dir-363353****",
"OwnBundleName": "BundleDemo",
"DataDiskCategory": "cloud_essd",
"DesktopGroupName": "CloudComputerPool01\n",
"BindAmount": 2,
"OwnType": 0,
"SystemDiskCategory": "cloud_essd",
"OfficeSiteId": "cn-hangzhou+dir-990541****",
"KeepDuration": 180000,
"MinDesktopsCount": 1,
"DataDiskSize": "80",
"DesktopGroupId": "dg-3uiojcc0j4kh7****",
"OfficeSiteName": "test",
"DirectoryType": "SIMPLE",
"Cpu": 4,
"Comments": "comment",
"OfficeSiteType": "SIMPLE",
"TimerInfos": [
{
"Status": 1,
"CronExpression": "0 58 11 ? * 2",
"TimerType": 1,
"Forced": false
}
],
"RatioThreshold": 0.85,
"ConnectDuration": 3600000,
"IdleDisconnectDuration": 900000,
"Version": 2,
"StopDuration": 180000,
"ProfileFollowSwitch": false,
"NasFileSystemID": "0783b4****",
"NasFileSystemName": "abcd",
"TimingStrategyInfo": "abcd",
"ScaleTimerInfos": [
{
"Type": "rise",
"Cron": "0 0 0 * * ? ",
"LoadPolicy": 1,
"BuyResAmount": 5,
"MinResAmount": 1,
"MaxResAmount": 100,
"KeepDuration": 180000,
"RatioThreshold": 0.85
}
],
"PolicyGroupIds": [
"pd-abcd***"
],
"PolicyGroupNames": [
"All enabled policy"
],
"BuyDesktopsCount": 5,
"ImageId": "m-4zfb6zj728hhr****",
"ExpiredTime": "2021-12-31T15:59Z",
"OsType": "",
"ProtocolType": "",
"ExpiredTimes": [
""
],
"EnvType": "",
"EnvId": ""
}
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.