Queries the list of user resources.
Operation description
Before you call this operation, make sure that you fully understand the resource types and product types of WUYING Workspace.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientId |
string |
Yes |
The unique ID generated by the client, such as a UUID. This parameter is not a sensitive field and does not require encryption. |
54c17e1d-2d72-4b87-aa33-25f3b3f2**** |
| ClientType |
string |
No |
The type of the client. Valid values:
|
windows |
| ClientVersion |
string |
No |
The version of the client. |
7.6.0-R-20241112.222305 |
| LoginToken |
string |
Yes |
The logon token. You can obtain the token by calling the GetLoginToken operation to log on, or by calling the RefreshLoginToken operation to refresh the token after logon. Response parameter: LoginToken. |
v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b**** |
| SessionId |
string |
No |
The session ID. You can obtain the ID by calling the GetLoginToken operation. |
cd45e873-650d-4d70-acb9-f996187a**** |
| LoginRegionId |
string |
No |
The region ID for logon, which is used in office network ID logon scenarios. This parameter is not required for organization ID logon scenarios. |
cn-hangzhou |
| SearchRegionId |
string |
No |
The region ID for search. This parameter is used to filter cloud resources in a specified region. |
cn-hangzhou |
| OfficeSiteIds |
array |
No |
The list of office network IDs. Specify this parameter when you log on with an AD account. |
|
|
string |
No |
The office network ID. |
cn-hangzhou+dir-5440**** |
|
| ResourceTypes |
array |
No |
The list of resource types. If this parameter is left empty, all resource types are queried. |
|
|
string |
No |
The resource type. Valid values:
|
Desktop |
|
| ProductTypes |
array |
No |
The list of product types. If this parameter is left empty, all product types are queried. |
|
|
string |
No |
The product type. Valid values:
|
CloudApp |
|
| ResourceIds |
array |
No |
The list of resource IDs. You can specify 0 to 100 IDs. |
|
|
string |
No |
The resource ID. |
ecd-00001 |
|
| ResourceName |
string |
No |
The resource name. Fuzzy search is supported. |
testName |
| ProtocolType |
string |
No |
The protocol type. This parameter is only used to filter cloud computers. Valid values:
|
ASP |
| AccessType |
string |
No |
The access type. If this parameter is not specified, both types are displayed. Valid values:
|
INTERNET |
| Language |
string |
No |
The language of the client. Valid values:
|
zh-CN |
| CategoryType |
integer |
No |
The level-1 resource category. |
1 |
| CategoryId |
integer |
No |
The level-2 resource category. |
0 |
| QueryFotaUpdate |
boolean |
No |
Specifies whether to query the image version information of the cloud computer. |
false |
| RefreshFotaUpdate |
boolean |
No |
Specifies whether to refresh the OTA information in real time. |
false |
| OrderBy |
string |
No |
The sort field. If this parameter is not specified, the resources are sorted in descending order of creation time. Valid values:
|
AssignTime |
| SortType |
string |
No |
The sort order. Valid values:
|
ASC |
| MaxResults |
integer |
No |
The number of entries per page in a paging query. Default value: 500. |
500 |
| NextToken |
string |
No |
The token for the next page. |
caeba0bbb2be03f84eb48b699f0a4883 |
| AutoRefresh |
boolean |
No |
Specifies whether to refresh immediately. Note
To ensure the response speed of the operation, set this parameter to false. Valid values:
|
false |
| Scene |
string |
No |
The client scenario, which is used to identify the sorting rule. Set this parameter to desktop. Valid values:
|
desktop |
DualCenterForward
deprecated
|
boolean |
No |
Specifies whether to enable dual-center forwarding. Set this parameter to false. Valid values:
|
false |
| QueryDesktopTimers |
boolean |
No |
Specifies whether to query the scheduled task information of the cloud computer. Default value: true. Valid values:
|
true |
| QueryDesktopDurationList |
boolean |
No |
Specifies whether to query cloud desktop package information. Default value: true. Valid values:
|
true |
| Uuid |
string |
No |
The UUID of the client. |
FE44BAFDD92308BDAFE01217F948XXXX |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The token used to start the next page of query results. An empty NextToken indicates that no more pages are available. |
AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL**** |
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
| QueryFailedResourceTypes |
array |
The list of resource types that failed to be queried. |
|
|
string |
The resource type. Valid values:
|
CloudDesktop |
|
| Resources |
array<object> |
The list of resource details. |
|
|
array<object> |
The resource details. |
||
| AliUid |
integer |
The Alibaba Cloud account ID. |
194101959**** |
| ResourceType |
string |
The resource type. Valid values:
|
Desktop |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| RegionLocation |
string |
The region location. Valid values:
|
Mainland |
| ResourceGroupId |
string |
The resource group ID. |
dg-0**** |
| ResourceId |
string |
The resource ID. |
ecd-d19tya8zi4**** |
| ResourceLevel |
string |
The resource level. Valid values:
|
Center |
| CenterResourceId |
string |
The centralized resource ID. |
ecds-0**** |
| ResourceName |
string |
The resource name. |
testName01 |
| CreateTime |
string |
The resource creation time. The time is in ISO 8601 format and UTC time zone (indicated by Z). |
2024-12-11T07:12:12Z |
| ProductType |
string |
The product type. Valid values:
|
AndroidCloud |
| OfficeSiteId |
string |
The office network ID. |
cn-shanghai+dir-3367**** |
| AccessType |
string |
The access type. Valid values:
|
INTERNET |
| ProtocolType |
string |
The protocol type. Valid values:
|
ASP |
| OsType |
string |
The operating system type. Valid values:
|
Windows |
| Os |
string |
The operating system platform information. |
Windows Server 2022 |
| OsDescription |
string |
The operating system platform description. |
Windows genuine license |
| SupportHibernation |
boolean |
Indicates whether hibernation is supported. Valid values:
|
true |
| HibernationBeta |
boolean |
Indicates whether the hibernation feature is in beta. Valid values:
|
false |
| SessionType |
string |
The session type. Valid values:
|
SINGLE_SESSION |
| ChargeType |
string |
The billing method. Valid values:
|
PrePaid |
| SubPayType |
string |
The sub-billing method. Valid values:
|
PrePaid |
| ExpiredTime |
string |
The expiration time of subscription resources. The time is formatted in ISO 8601 and uses the UTC time zone (indicated by Z). |
2025-02-22T16:00:00Z |
| AuthMode |
string |
The authorization mode of the cloud application. Valid values:
|
App |
| AppId |
string |
The application ID. This parameter is specific to resources whose resource type is App. |
app-0001 |
| Version |
string |
The resource version. This parameter is specific to resources whose resource type is App. |
Resource version |
| CategoryType |
integer |
The level-1 category of the resource. This parameter is specific to resources whose resource type is App. |
1 |
| CategoryId |
integer |
The level-2 category of the resource. This parameter is specific to resources whose resource type is App. |
0 |
| Icon |
string |
The URL of the resource icon. This parameter is specific to resources whose resource type is App. |
http://example.com/icon.png |
| ThemeColor |
string |
The theme color of the resource. This parameter is specific to resources whose resource type is App. |
#FFFFFF |
| CdsName |
string |
The name of the cloud drive. This parameter is specific to resources whose resource type is CloudDrive. |
cn-shanghai+cds-695277**** |
| ExternalDomainId |
string |
The external domain ID. This parameter is specific to resources whose resource type is CloudDrive. |
stg114510 |
| ExternalUserId |
string |
The external user ID. This parameter is specific to resources whose resource type is CloudDrive. |
test001 |
| GlobalStatus |
boolean |
Indicates whether cross-region access is supported. This parameter is specific to resources whose resource type is CloudDrive. |
true |
| LocalName |
string |
The name of the region. |
China (Hangzhou) |
| DesktopTimers |
array<object> |
The list of scheduled task settings for the cloud desktop. |
|
|
object |
The scheduled task settings for the cloud desktop. |
||
| TimerType |
string |
The type of the task. |
TimerBoot |
| CronExpression |
string |
The cron expression of the scheduled task. |
0 30 13 ? * 1-7 |
| Interval |
integer |
The interval of the scheduled task. |
15 |
| Enforce |
boolean |
Specifies whether to forcibly execute the task. |
false |
| ResetType |
string |
The reset type. |
RESET_TYPE_SYSTEM |
| AllowClientSetting |
string |
Specifies whether to allow client settings. |
false |
| OperationType |
string |
The operation type. |
Hibernate |
| ExecutionTime |
string |
The execution time. The time is formatted in ISO 8601 and uses the UTC time zone (indicated by Z). |
2025-01-21T11:37Z |
| Clients |
array<object> |
The list of client types supported by the resource. |
|
|
object |
The settings for a single client type supported by the resource. |
||
| ClientType |
string |
The type of the client. |
windows |
| Status |
string |
The support status. Valid values:
|
ON |
| ResourceStatus |
string |
The status of the resource. Valid values:
|
Running |
| LastStartTime |
string |
The last start time of the resource. The time is formatted in ISO 8601 and uses the UTC time zone (indicated by Z). |
2025-01-24T03:12:04Z |
| OrderStatus |
string |
The status of the order. Valid values:
|
Normal |
| ManagementStatuses |
array |
The list of management statuses. |
|
|
string |
The management status. |
NoFlag |
|
| ResourceSessionStatus |
string |
The session status. Valid values:
|
Connected |
| Sessions |
array<object> |
The list of user session information for the resource. |
|
|
object |
The user session information for the resource. |
||
| UserId |
string |
The username of the user who logged on to the resource. |
user001 |
| UserPrincipalName |
string |
The user principal name (UPN) of the user bound to the resource, if any. This value is returned only for the session of the currently queried user. |
benchmark_test@test.shenzhen |
| ResourceSessionStartTime |
string |
The start time of the resource session. The time is in ISO 8601 format and in UTC (indicated by Z). |
2025-01-22T11:03:36Z |
| NickName |
string |
The nickname of the user. |
user-001 |
| LastClientIp |
string |
The IP address of the client from which the user last logged on. |
1.2.3.4:22068 |
| RealDesktopId |
string |
The ID of the actual cloud computer in a shared cloud computer group. This parameter is returned only when a session exists for the shared cloud computer. |
ecd-0001 |
| UserCustomName |
string |
The custom name specified by the user. |
My cloud computer |
| FotaUpdate |
object |
The upgrade information of the cloud computer. |
|
| Project |
string |
The name of the project. |
wuying-asp_single_session_desktop_win_x64 |
| Channel |
string |
The channel. |
aliyun |
| CurrentAppVersion |
string |
The version number of the current image of the cloud computer. |
2.7.0-R-20250122.154826 |
| NewAppVersion |
string |
The version number to which the cloud computer can be upgraded. |
2.7.0-R-20250125.154826 |
| Force |
boolean |
Specifies whether the upgrade is mandatory. |
false |
| ReleaseNote |
string |
The description of the upgradable version. |
New version |
| Size |
string |
The size of the installation package for the upgradable version. Unit: KB. |
474981930 |
| ReleaseNoteEn |
string |
The English description of the upgradable version. |
new version |
| ReleaseNoteJp |
string |
The Japanese description of the upgradable version. |
新バージョン |
| NewDcdVersion |
string |
The version number of the upgradable component disk. |
2.6.9-R-20250123.153415 |
| OsUpdate |
object |
The operating system upgrade information. |
|
| CheckId |
string |
The check ID. |
wua-1740652957251743*** |
| PackageCount |
integer |
The number of packages. |
1 |
| Packages |
array<object> |
The list of patch package information. |
|
|
object |
The patch package information. |
||
| Kb |
string |
The KB number. |
KB2267*** |
| Title |
string |
The title of the patch. |
Patch for **** |
| Description |
string |
The description of the patch. |
Installing this update modifies the files used to detect viruses, spyware, and other potentially unwanted software. Once installed, this item cannot be removed |
| KbListString |
string |
The list of KB numbers. |
KB2267*** |
| UpdateCatalogUrl |
string |
The URL of the update catalog. |
https://catalog.update.microsoft.com/home.aspx |
| HasUpgrade |
boolean |
Indicates whether an update is available. |
true |
| DesktopDurationList |
array<object> |
The list of cloud computer duration package information. |
|
|
object |
The cloud computer duration package information. |
||
| PackageCreationTime |
string |
The creation time. The time is in ISO 8601 format and in UTC (indicated by Z). |
2025-01-17T07:01Z |
| PackageStatus |
string |
The status. |
Available |
| UsedDuration |
integer |
The used duration. |
16850 |
| PackageExpiredTime |
string |
The expiration time. The time is in ISO 8601 format and in UTC (indicated by Z). |
2025-02-17T15:59Z |
| PackageId |
string |
The ID of the package. |
mdp-0bxls4qpi6bl6**** |
| TotalDuration |
integer |
The total duration. |
432000 |
| PackageType |
string |
The type of the duration package. Valid values:
|
NORMAL_PACKAGE |
| PeriodStartTime |
string |
The start time of the monthly package. The time is in ISO 8601 format and in UTC (indicated by Z). |
2025-01-17T07:01Z |
| PeriodEndTime |
string |
The end time of the monthly package. The time is in ISO 8601 format and in UTC (indicated by Z). |
2025-02-17T15:59Z |
| PostPaidLimitFee |
number |
The maximum amount for the second-stage package. Note
This parameter is returned only when ResourceType is |
199 |
| OrderInstanceId |
string |
The order instance ID. |
mdp-0bxls4qpi6bl6**** |
| PackageUsedUpStrategy |
string |
The status policy for the cloud computer after the monthly package quota is exhausted. Valid values:
|
Postpaid |
| ConnectionProperties |
string |
The connection properties in JSON string format. The client does not need to process the content and directly passes it to the central resource management when establishing a connection for application resources. |
{"authMode":"App"} |
| SupportedActions |
array |
The list of supported operation types. Currently, only cloud phones and cloud computers (including shared cloud computers) are supported. |
|
|
string |
The operation type. Valid values:
|
Start |
|
| SupportAgentIm |
boolean |
Indicates whether AgentIM is supported. |
|
| AgentImUrl |
string |
The URL of the AgentIM page. |
https://wuying.alibabacloud.com/OpenIM/chat?desktopId=ecd-xxxxx |
| Cpu |
integer |
The number of CPU cores. |
4 |
| Memory |
integer |
The memory size in MB. |
4096 |
| GpuSpec |
string |
The GPU specifications. |
40GiB |
| Disks |
array<object> |
The list of disk information. |
|
|
object |
The disk information. |
||
| DiskType |
string |
The disk type. Valid values:
|
SYSTEM |
| DiskSize |
integer |
The disk size in GB. |
300 |
| AgentProviderList |
array |
The list of agent providers. |
|
|
string |
The agent provider. Valid values:
|
AgenticComputer |
|
| RankVersion |
integer |
The version number of the ranking data. |
1732869815062 |
| TotalCount |
integer |
The total count. |
10 |
| MaxResults |
integer |
The maximum number of returned results. |
100 |
| AgentBriefSummary |
object |
The brief summary information of the agent. |
|
| TotalCount |
integer |
The total number of agent instances. |
10 |
| AgentBriefs |
array<object> |
The list of brief information for the included agent instance types. |
|
|
object |
The brief information of the agent instance type. |
||
| AgentPlatform |
string |
The agent platform. Valid values:
|
ENTERPRISE_JVS |
| AgentProvider |
string |
The agent provider. Valid values:
|
OpenClaw |
| Count |
integer |
The count. |
2 |
| AvatarUrl |
string |
The generic avatar download URL for this agent type. The backend automatically returns different avatars based on ClientType. If no match is found, a generic avatar is returned. |
https://abc.com/efg.png |
| Url |
string |
The URL of the agent management page. |
https://test.png |
| DisplayName |
string |
The display name, such as JVS Claw. The backend automatically returns different display names based on Language. |
JVS Claw |
| SubTitle |
string |
The subtitle, such as: Intelligent evolution, happy shrimp farming. The backend automatically returns different subtitles based on Language. |
Intelligent evolution, happy shrimp farming |
| AvatarNoResourceUrl |
string |
The generic avatar download URL for this agent type when no cloud resources are available. The backend automatically returns different avatars based on ClientType. If no match is found, a generic avatar is returned. |
https://xxx.png |
| PcAvatarUrl |
string |
The generic PC avatar download URL for this agent type. |
https://xxx.png |
| Watermark |
string |
The URL of the avatar watermark selected for this type of agent based on the client type. |
https://xxxx.png |
Not all response parameters apply to every resource. Ensure that you understand which parameter fields are available for each resource.
Examples
Success response
JSON format
{
"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": "Windows Genuine License",
"SupportHibernation": true,
"HibernationBeta": false,
"SessionType": "SINGLE_SESSION",
"ChargeType": "PrePaid",
"SubPayType": "PrePaid",
"ExpiredTime": "2025-02-22T16:00:00Z",
"AuthMode": "App",
"AppId": "app-0001",
"Version": "Resource 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": "China (Hangzhou)",
"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",
"LastClientIp": "1.2.3.4:22068"
}
],
"RealDesktopId": "ecd-0001",
"UserCustomName": "My Cloud Computer",
"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": "New version",
"Size": "474981930",
"ReleaseNoteEn": "new version",
"ReleaseNoteJp": "新バージョン",
"NewDcdVersion": "2.6.9-R-20250123.153415"
},
"OsUpdate": {
"CheckId": "wua-1740652957251743***",
"PackageCount": 1,
"Packages": [
{
"Kb": "KB2267***",
"Title": "Patch for ****",
"Description": "Install this update to modify the files used to detect viruses, spyware, and other potentially unwanted software. Once installed, this update cannot be removed"
}
],
"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"
],
"SupportAgentIm": false,
"AgentImUrl": "https://wuying.alibabacloud.com/OpenIM/chat?desktopId=ecd-xxxxx",
"Cpu": 4,
"Memory": 4096,
"GpuSpec": "40GiB",
"Disks": [
{
"DiskType": "SYSTEM",
"DiskSize": 300
}
],
"AgentProviderList": [
"AgenticComputer"
]
}
],
"RankVersion": 1732869815062,
"TotalCount": 10,
"MaxResults": 100,
"AgentBriefSummary": {
"TotalCount": 10,
"AgentBriefs": [
{
"AgentPlatform": "ENTERPRISE_JVS",
"AgentProvider": "OpenClaw",
"Count": 2,
"AvatarUrl": "https://abc.com/efg.png",
"Url": "https://test.png",
"DisplayName": "JVS Claw",
"SubTitle": "智在进化,快乐养虾",
"AvatarNoResourceUrl": "https://xxx.png",
"PcAvatarUrl": "https://xxx.png",
"Watermark": "https://xxxx.png"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.