All Products
Search
Document Center

Elastic Desktop Service:DescribeUserResources

Last Updated:Nov 13, 2025

Queries user resources.

Operation description

Before you call this operation, verify supported resource and service types in Alibaba Cloud Workspace.

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

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ClientIdstringYes

The client ID. The system generates a unique ID for each client. This parameter is non-sensitive and does not need encryption.

54c17e1d-2d72-4b87-aa33-25f3b3f2****
ClientTypestringNo

The client type.

Valid values:

  • html5: the web client.
  • android: the Android client.
  • windows: the Windows client.
  • ios: the iOS client.
  • macos: the macOS client.
windows
ClientVersionstringNo

The client version.

7.6.0-R-20241112.222305
LoginTokenstringYes

The logon token. You can call the GetLoginToken or RefreshLoginToken operation to retrieve the logon token.

v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
SessionIdstringYes

The session ID. You can call the GetLoginToken operation to retrieve the session ID.

cd45e873-650d-4d70-acb9-f996187a****
LoginRegionIdstringNo

The ID of the region where end users log on to clients. This parameter applies to office network ID-based logons. For organization ID-based logons, you can leave this parameter empty.

cn-hangzhou
SearchRegionIdstringNo

The ID of the searched region. You can specify this parameter to filter cloud resources in specific regions.

cn-hangzhou
OfficeSiteIdsarrayNo

The office network IDs. This parameter is required for logons by using enterprise Active Directory (AD) accounts.

stringNo

The office network ID.

cn-hangzhou+dir-5440****
ResourceTypesarrayNo

The resource types. If you leave this parameter empty, resources of all supported types will be queried.

stringNo

The resource type.

Valid values:

  • App: cloud apps including App Streaming, Cloud Phone, and Cloud Browser.
  • Desktop: cloud computers.
  • DesktopGroup: cloud computer shares.
  • CloudDrive: enterprise drives.
Desktop
ProductTypesarrayNo

The service types. If you leave this parameter empty, services of all supported types will be queried.

stringNo

The service type.

Valid values:

  • CloudDesktop: regular cloud computers or cloud computer shares.
  • CloudApp: App Streaming.
  • CloudBrowser: Cloud Browser.
  • AndroidCloud: Cloud Phone.
CloudApp
ResourceIdsarrayNo

The resource IDs. You can specify up to 100 resource IDs.

stringNo

The resource ID.

ecd-00001
ResourceNamestringNo

The resource name. Fuzzy search is supported.

testName
ProtocolTypestringNo

The protocol type. You can specify this parameter to filter cloud computers.

Valid values:

  • HDX: High-definition Experience (HDX).
  • ASP: Adaptive Streaming Protocol (ASP).
ASP
AccessTypestringNo

The access type. If you leave this parameter empty, both types will be displayed.

Valid values:

  • INTERNET: access over the Internet.
  • VPC: access over an enterprise virtual private cloud (VPC).
INTERNET
LanguagestringNo

The client language.

Valid values:

  • en_US: English.
  • zh_CN: Simplified Chinese.
  • ja_JP: Japanese.
zh-CN
CategoryTypeintegerNo

The level-1 resource category.

1
CategoryIdintegerNo

The level-2 resource category.

0
QueryFotaUpdatebooleanNo

Specifies whether to return the image version information of cloud computers.

false
RefreshFotaUpdatebooleanNo

Specifies whether to refresh over-the-air (OTA) information in real time.

false
OrderBystringNo

The sorting field. If you do not specify this parameter, resources are sorted by creation time by default.

Valid values:

  • CreateTime: the time when resources are created.
  • AssignTime: the time when resources are assigned.
AssignTime
SortTypestringNo

The sorting method.

Valid values:

  • ASC (default): the ascending order.
  • DESC: the descending order.
ASC
MaxResultsintegerNo

The number of entries per page. Default value: 500.

500
NextTokenstringNo

A pagination token. It can be used in the next request to retrieve a new page of results.

caeba0bbb2be03f84eb48b699f0a4883
AutoRefreshbooleanNo

Specifies whether to enable the immediate refresh feature.

Note To ensure the operation response speed, we recommend that you set the value to false.

Valid values:

  • false
  • true
false
ScenestringNo

The client usage scenario. Set the value to desktop.

Valid value:

  • desktop: cloud computers.
desktop
DualCenterForwarddeprecatedbooleanNo

Specifies whether to enable geo-redundant forwarding. Set the value to false.

Valid value:

  • false: disables geo-redundant forwarding.
false
QueryDesktopTimersbooleanNo

是否查询云电脑定时任务信息,默认为 true。

Enumeration Value:
  • true: 是,默认值.
  • false: .
true
QueryDesktopDurationListbooleanNo

是否查询云桌面套餐包信息,默认为 true。

Enumeration Value:
  • true: 是,默认值.
  • false: .
true

Response parameters

ParameterTypeDescriptionExample
object
NextTokenstring

A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.

AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
RequestIdstring

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****
QueryFailedResourceTypesarray

The resource types that failed to be queried.

queryFailedResourceTypesstring

The resource type that failed to be queried.

Valid values:

  • CloudDesktop: regular cloud computers or cloud computer shares.
  • CloudApp: cloud apps including App Streaming, Cloud Phone, and Cloud Browser.
  • CloudDrive: enterprise drives.
CloudDesktop
Resourcesarray<object>

The resources.

Desktopobject

The resource.

AliUidlong

The ID of the Alibaba Cloud account.

194101959****
ResourceTypestring

The resource type.

Valid values:

  • App: cloud apps including App Streaming, Cloud Phone, and Cloud Browser.
  • Desktop: cloud computers.
  • DesktopGroup: cloud computer shares.
  • CloudDrive: enterprise drives.
Desktop
RegionIdstring

The region ID.

cn-hangzhou
RegionLocationstring

The geographical location.

Valid values:

  • Mainland: regions in the Chinese mainland.
  • Overseas: regions outside the Chinese mainland, including China (Hong Kong).
Mainland
ResourceGroupIdstring

The resource group ID.

dg-0****
ResourceIdstring

The resource ID.

ecd-d19tya8zi4****
ResourceLevelstring

The resource level.

Valid values:

  • Center: a centralized resource.
  • Region: a unit resource.
Center
CenterResourceIdstring

The ID of the centralized resource.

ecds-0****
ResourceNamestring

The resource name.

testName01
CreateTimestring

The time when the resource was created.

2024-12-11T07:12:12Z
ProductTypestring

The service type.

Valid values:

  • CloudDesktop: regular cloud computers or cloud computer shares.
  • CloudApp: App Streaming
  • CloudBrowser: Cloud Browser.
  • AndroidCloud: Cloud Phone.
AndroidCloud
OfficeSiteIdstring

The office network ID.

cn-shanghai+dir-3367****
AccessTypestring

The access type.

Valid values:

  • INTERNET: access over the Internet.
  • VPC: access over an enterprise VPC.
  • ANY: access over the Internet or an enterprise VPC.
INTERNET
ProtocolTypestring

The protocol type.

Valid values:

  • HDX
  • ASP
ASP
OsTypestring

The OS type.

Valid values:

  • Linux
  • Windows
  • Android
Windows
Osstring

The OS platform.

Windows Server 2022
OsDescriptionstring

The description of the OS platform.

SupportHibernationboolean

Indicates whether hibernation is supported.

Valid values:

  • true
  • false
true
HibernationBetaboolean

Indicates whether this is a beta version of the hibernation feature.

Valid values:

  • true
  • false
false
SessionTypestring

The session type.

Valid values:

  • SINGLE_SESSION
  • MULTIPLE_SESSION
SINGLE_SESSION
ChargeTypestring

The billing method.

Valid values:

  • Postpaid (default): pay-as-you-go.
  • PrePaid: subscription.
PrePaid
SubPayTypestring

The sub-billing method.

Valid values:

  • monthPackage: monthly subscription.
  • PrePaid: hourly plans.
PrePaid
ExpiredTimestring

The expiration time of the subscription resource.

2025-02-22T16:00:00Z
AuthModestring

The authorization mode of the cloud app.

Valid values:

  • App: authorizes access to apps.
  • AppInstanceGroup: authorizes access to delivery groups.
  • Session: authorizes access to sessions.
App
AppIdstring

The app ID. This parameter is for apps only.

app-0001
Versionstring

The resource version. This parameter is for apps only.

CategoryTypeinteger

The level-1 resource category. This parameter is for apps only.

1
CategoryIdinteger

The level-2 resource category. This parameter is for apps only.

0
Iconstring

The resource icon. This parameter is for apps only.

http://example.com/icon.png
ThemeColorstring

The theme color of the resource. This parameter is for apps only.

#FFFFFF
CdsNamestring

The drive name. This parameter is for enterprise drives only.

cn-shanghai+cds-695277****
ExternalDomainIdstring

The ID of the external domain. This parameter is for enterprise drives only.

stg114510
ExternalUserIdstring

The ID of the external user. This parameter is for enterprise drives only.

test001
GlobalStatusboolean

Indicates whether cross-region access is supported. This parameter is for enterprise drives only.

true
LocalNamestring

The region name.

DesktopTimersarray<object>

The scheduled tasks for cloud computers.

DesktopTimerobject

The scheduled task.

TimerTypestring

The task type.

TimerBoot
CronExpressionstring

The cron expression specified in the scheduled task.

0 30 13 ? * 1-7
Intervalinteger

The interval at which the scheduled task is executed.

15
Enforceboolean

Indicates whether to forcibly execute the scheduled task.

false
ResetTypestring

The reset option.

RESET_TYPE_SYSTEM
AllowClientSettingstring

Indicates whether to allow end users to configure scheduled tasks on clients.

false
OperationTypestring

The type of the scheduled action.

Hibernate
ExecutionTimestring

The time when the scheduled task is executed.

2025-01-21T11:37Z
Clientsarray<object>

The client types supported by resources.

Clientsobject

The client type supported by resources.

ClientTypestring

The client type.

windows
Statusstring

The status.

Valid values:

  • OFF
  • ON
ON
ResourceStatusstring

The resource status.

Valid values:

  • Unknown: The resource status is unknown.
  • Stopped: The resource is stopped.
  • Failed: The resource failed to be created.
  • Starting: The resource is being started.
  • Rebuilding: The resource is changing.
  • Running: The resource is running.
  • Stopping: The resource is being stopped.
  • FotaUpdating: The image is being updated.
  • Pending: The resource is still being prepared.
  • Deleting: The resource is being deleted.
  • Unavailable: The resource is unavailable.
Running
LastStartTimestring

The time when the resource was last started.

2025-01-24T03:12:04Z
OrderStatusstring

The order status.

Valid values:

  • Ceased: Your account has an overdue payment.
  • Released: The order is closed.
  • Expired: The subscription resource has expired.
  • Normal: The order is normal.
Normal
ManagementStatusesarray

The management status.

ManagementStatusesstring

The management state.

NoFlag
ResourceSessionStatusstring

The session status.

Valid values:

  • Unknown
  • Connected
  • Disconnected
Connected
Sessionsarray<object>

The sessions established between users and resources.

Sessionobject

The session established between the user and the resource.

UserIdstring

The username used to log on to the resource.

user001
UserPrincipalNamestring

The User Principal Name (UPN) of the resource-bound user (if applicable). This parameter is returned only when you query the current user's sessions.

benchmark_test@test.shenzhen
ResourceSessionStartTimestring

The timestamp when the resource session was established.

2025-01-22T11:03:36Z
NickNamestring

用户的昵称。

user-001
RealDesktopIdstring

The real ID of the cloud computer (from a share). This parameter is returned only when the cloud computer share has ongoing sessions.

ecd-0001
UserCustomNamestring

The custom name of the resource.

FotaUpdateobject

The update info of the cloud computer.

Projectstring

The project name.

wuying-asp_single_session_desktop_win_x64
Channelstring

The channel.

aliyun
CurrentAppVersionstring

The current version number of the cloud computer's image.

2.7.0-R-20250122.154826
NewAppVersionstring

The target version number of the cloud computer's image.

2.7.0-R-20250125.154826
Forceboolean

Specifies whether to implement a forced update.

false
ReleaseNotestring

The version description of the cloud computer's image.

up
Sizestring

The size of the update package for the cloud computer image. Unit: KB.

474981930
ReleaseNoteEnstring

The English release note for the new image version.

up
ReleaseNoteJpstring

The Japanese release note for the new image version.

up
NewDcdVersionstring

The latest version available for updating the component disk.

2.6.9-R-20250123.153415
OsUpdateobject

The update info of the OS.

CheckIdstring

The ID of the check task.

wua-1740652957251743***
PackageCountinteger

The number of packets.

1
Packagesarray<object>

The patch packages.

Packageobject

The patch package.

Kbstring

The patch number.

KB2267***
Titlestring

The patch title.

Descriptionstring

The patch description.

KbListStringstring

The patch numbers.

KB2267***
UpdateCatalogUrlstring

The update categorization URL.

https://catalog.update.microsoft.com/home.aspx
HasUpgradeboolean

Indicates whether an update exists.

true
DesktopDurationListarray<object>

The cloud computer plans.

desktopDurationobject

The cloud computer plan.

PackageCreationTimestring

The time when the package was created.

2025-01-17T07:01Z
PackageStatusstring

The package status.

Available
UsedDurationlong

The subscription duration consumed.

16850
PackageExpiredTimestring

The expiration time of the package.

2025-02-17T15:59Z
PackageIdstring

The package ID.

mdp-0bxls4qpi6bl6****
TotalDurationlong

The total duration.

432000
PackageTypestring

The package type.

Valid values:

  • FREE_PACKAGE: a free package.
  • NORMAL_PACKAGE: a paid package (120-hour computing plan).
  • POSTPAID_PACKAGE: a pay-as-you-go package (200-hour computing plan).
  • Duration: an hourly package.
NORMAL_PACKAGE
PeriodStartTimestring

The package's effective start time for the current month.

2025-01-17T07:01Z
PeriodEndTimestring

The package's effective end time for the current month.

2025-02-17T15:59Z
PostPaidLimitFeefloat

The maximum fee for the package in the second phase.

Note This parameter is returned if you set ResourceType to POSTPAID_PACKAG or FREE_PACKAGE.
199
OrderInstanceIdstring

The ID of the instance order.

mdp-0bxls4qpi6bl6****
PackageUsedUpStrategystring

The policy for the cloud computer status once the monthly package quota is exhausted.

Valid values:

  • Shutdown: The cloud computer enters the Stopped or Hibernated state.
  • PostPaid: The cloud computer continues providing services that are billed on the pay-as-you-go basis.
Postpaid
ConnectionPropertiesstring

The connection attributes in JSON format. The client does not need to process the attributes; they are directly passed to the resource management center when the app resource is created.

{"authMode":"App"}
SupportedActionsarray

The supported actions. This parameter is returned only for cloud computers or phones.

SupportedActionsstring

The support action.

Valid values:

  • WakeUp: wakes up cloud computers or cloud phones.
  • Hibernate: hibernates cloud computers or cloud phones.
  • Start: starts cloud computers or cloud phones.
  • Stop: stops cloud computers or cloud phones.
  • Restart: restarts cloud computers or cloud phones.
Start
RankVersionlong

The version number of the ranking data.

1732869815062
TotalCountinteger

总数。

10
MaxResultsinteger

返回最大数量。

100

This response parameter is not available for all resources. Ensure you know the fields for each resource.

Examples

Sample success responses

JSONformat

{
  "NextToken": "AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****",
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
  "QueryFailedResourceTypes": [
    "CloudDesktop"
  ],
  "Resources": [
    {
      "AliUid": 0,
      "ResourceType": "Desktop",
      "RegionId": "cn-hangzhou",
      "RegionLocation": "Mainland",
      "ResourceGroupId": "dg-0****",
      "ResourceId": "ecd-d19tya8zi4****",
      "ResourceLevel": "Center",
      "CenterResourceId": "ecds-0****",
      "ResourceName": "testName01",
      "CreateTime": "2024-12-11T07:12:12Z",
      "ProductType": "AndroidCloud",
      "OfficeSiteId": "cn-shanghai+dir-3367****",
      "AccessType": "INTERNET",
      "ProtocolType": "ASP",
      "OsType": "Windows",
      "Os": "Windows Server 2022",
      "OsDescription": "",
      "SupportHibernation": true,
      "HibernationBeta": false,
      "SessionType": "SINGLE_SESSION",
      "ChargeType": "PrePaid",
      "SubPayType": "PrePaid",
      "ExpiredTime": "2025-02-22T16:00:00Z",
      "AuthMode": "App",
      "AppId": "app-0001",
      "Version": "",
      "CategoryType": 1,
      "CategoryId": 0,
      "Icon": "http://example.com/icon.png",
      "ThemeColor": "#FFFFFF",
      "CdsName": "cn-shanghai+cds-695277****",
      "ExternalDomainId": "stg114510",
      "ExternalUserId": "test001",
      "GlobalStatus": true,
      "LocalName": "",
      "DesktopTimers": [
        {
          "TimerType": "TimerBoot",
          "CronExpression": "0 30 13 ? * 1-7",
          "Interval": 15,
          "Enforce": false,
          "ResetType": "RESET_TYPE_SYSTEM",
          "AllowClientSetting": false,
          "OperationType": "Hibernate",
          "ExecutionTime": "2025-01-21T11:37Z"
        }
      ],
      "Clients": [
        {
          "ClientType": "windows",
          "Status": "ON"
        }
      ],
      "ResourceStatus": "Running",
      "LastStartTime": "2025-01-24T03:12:04Z",
      "OrderStatus": "Normal",
      "ManagementStatuses": [
        "NoFlag"
      ],
      "ResourceSessionStatus": "Connected",
      "Sessions": [
        {
          "UserId": "user001",
          "UserPrincipalName": "benchmark_test@test.shenzhen",
          "ResourceSessionStartTime": "2025-01-22T11:03:36Z",
          "NickName": "user-001"
        }
      ],
      "RealDesktopId": "ecd-0001",
      "UserCustomName": "",
      "FotaUpdate": {
        "Project": "wuying-asp_single_session_desktop_win_x64",
        "Channel": "aliyun",
        "CurrentAppVersion": "2.7.0-R-20250122.154826",
        "NewAppVersion": "2.7.0-R-20250125.154826",
        "Force": false,
        "ReleaseNote": "up",
        "Size": 474981930,
        "ReleaseNoteEn": "up",
        "ReleaseNoteJp": "up",
        "NewDcdVersion": "2.6.9-R-20250123.153415"
      },
      "OsUpdate": {
        "CheckId": "wua-1740652957251743***",
        "PackageCount": 1,
        "Packages": [
          {
            "Kb": "KB2267***",
            "Title": "",
            "Description": ""
          }
        ],
        "KbListString": "KB2267***",
        "UpdateCatalogUrl": "https://catalog.update.microsoft.com/home.aspx"
      },
      "HasUpgrade": true,
      "DesktopDurationList": [
        {
          "PackageCreationTime": "2025-01-17T07:01Z",
          "PackageStatus": "Available",
          "UsedDuration": 16850,
          "PackageExpiredTime": "2025-02-17T15:59Z",
          "PackageId": "mdp-0bxls4qpi6bl6****",
          "TotalDuration": 432000,
          "PackageType": "NORMAL_PACKAGE",
          "PeriodStartTime": "2025-01-17T07:01Z",
          "PeriodEndTime": "2025-02-17T15:59Z",
          "PostPaidLimitFee": 199,
          "OrderInstanceId": "mdp-0bxls4qpi6bl6****",
          "PackageUsedUpStrategy": "Postpaid"
        }
      ],
      "ConnectionProperties": {
        "authMode": "App"
      },
      "SupportedActions": [
        "Start"
      ]
    }
  ],
  "RankVersion": 1732869815062,
  "TotalCount": 10,
  "MaxResults": 100
}

Error codes

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

Change history

Change timeSummary of changesOperation
2025-02-25The response structure of the API has changedView Change Details