DescribeUserResources
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.
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 credential. You can obtain it by calling the GetLoginToken operation to log on, or by calling the RefreshLoginToken operation after logon. Response parameter: LoginToken. |
v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b**** |
| SessionId |
string |
No |
The session ID. You can obtain it by calling the GetLoginToken operation. |
cd45e873-650d-4d70-acb9-f996187a**** |
| LoginRegionId |
string |
No |
The region ID for logon. This parameter is used in office network ID logon scenarios. You do not need to specify this parameter in 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 you leave this parameter empty, all resource types are queried. |
|
|
string |
No |
The resource type. Valid values:
|
Desktop |
|
| ProductTypes |
array |
No |
The list of product types. If you leave this parameter 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 resource IDs. |
|
|
string |
No |
The resource ID. |
ecd-00001 |
|
| ResourceName |
string |
No |
The name of the resource. Fuzzy search is supported. |
testName |
| ProtocolType |
string |
No |
The protocol type. This parameter is used only to filter cloud computers. Valid values:
|
ASP |
| AccessType |
string |
No |
The access type. If you do not specify this parameter, both access types are displayed. Valid values:
|
INTERNET |
| Language |
string |
No |
The language of the client. Valid values:
|
zh-CN |
| CategoryType |
integer |
No |
The level-1 category of the resource. |
1 |
| CategoryId |
integer |
No |
The level-2 category of the resource. |
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 field used for sorting. If you do not specify this parameter, the resources are sorted in descending order of creation time. Valid values:
|
AssignTime |
| SortType |
string |
No |
The sorting order. Valid values:
|
ASC |
| MaxResults |
integer |
No |
The number of entries per page for paging in a paged query. Default value: 500. |
500 |
| NextToken |
string |
No |
The token for the next page. |
caeba0bbb2be03f84eb48b699f0a4883 |
| AutoRefresh |
boolean |
No |
Specifies whether to refresh immediately. 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 dual-center forwarding is enabled. Set this parameter to Valid values:
|
false |
| QueryDesktopTimers |
boolean |
No |
Specifies whether to query the timer information of cloud desktops. Default value: true. Valid values:
|
true |
| QueryDesktopDurationList |
boolean |
No |
Specifies whether to query the package information of cloud desktops. 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 pagination token for the next query. 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 ID of the centralized resource. |
ecds-0**** |
| ResourceName |
string |
The resource name. |
testName01 |
| CreateTime |
string |
The time when the resource was created. The time is displayed in ISO 8601 format in the 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 cloud applications. 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 |
Specifies whether cross-region access is supported. This parameter is specific to resources whose resource type is CloudDrive. |
true |
| LocalName |
string |
The region name. |
China (Hangzhou) |
| DesktopTimers |
array<object> |
The list of scheduled task settings for cloud computers. |
|
|
object |
The scheduled task settings for a cloud computer. |
||
| TimerType |
string |
The task type. |
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 force execution. |
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 client type. |
windows |
| Status |
string |
The support status. Valid values:
|
ON |
| ResourceStatus |
string |
The resource status. 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 order status. 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 the UTC time zone (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 real cloud desktop ID for a shared cloud desktop. This parameter is returned only when a session exists for the shared cloud desktop. |
ecd-0001 |
| UserCustomName |
string |
The custom name specified by the user. |
My cloud desktop |
| FotaUpdate |
object |
The upgrade information of the cloud desktop. |
|
| Project |
string |
The project name. |
wuying-asp_single_session_desktop_win_x64 |
| Channel |
string |
The channel. |
aliyun |
| CurrentAppVersion |
string |
The version number of the current image of the cloud desktop. |
2.7.0-R-20250122.154826 |
| NewAppVersion |
string |
The version number to which the cloud desktop can be upgraded. |
2.7.0-R-20250125.154826 |
| Force |
boolean |
Specifies whether the upgrade is forced. |
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 patch title. |
Patch for **** |
| Description |
string |
The patch description. |
Installing this update modifies the files used to detect viruses, spyware, and other potentially unwanted software. This item cannot be removed once installed |
| KbListString |
string |
The list of KB numbers. |
KB2267*** |
| UpdateCatalogUrl |
string |
The update catalog URL. |
https://catalog.update.microsoft.com/home.aspx |
| HasUpgrade |
boolean |
Indicates whether an update is available. |
true |
| DesktopDurationList |
array<object> |
The list of cloud desktop package information. |
|
|
object |
The cloud desktop package information. |
||
| PackageCreationTime |
string |
The creation time. The time is in ISO 8601 format and in the UTC time zone (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 the UTC time zone (indicated by Z). |
2025-02-17T15:59Z |
| PackageId |
string |
The package ID. |
mdp-0bxls4qpi6bl6**** |
| TotalDuration |
integer |
The total duration. |
432000 |
| PackageType |
string |
The package type. Valid values:
Valid values:
|
NORMAL_PACKAGE |
| PeriodStartTime |
string |
The start time of the monthly package. The time is in ISO 8601 format and in the UTC time zone (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 the UTC time zone (indicated by Z). |
2025-02-17T15:59Z |
| PostPaidLimitFee |
number |
The maximum fee for the second-stage package. Note
Returned only when ResourceType is |
199 |
| OrderInstanceId |
string |
The order instance ID. |
mdp-0bxls4qpi6bl6**** |
| PackageUsedUpStrategy |
string |
The status strategy 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.aliyun.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 rank data version number. |
1732869815062 |
| TotalCount |
integer |
The total count. |
10 |
| MaxResults |
integer |
The maximum number of returned results. |
100 |
| AgentBriefSummary |
object |
The agent brief summary information. |
|
| TotalCount |
integer |
The total number of agent instances. |
10 |
| AgentBriefs |
array<object> |
The list of brief information for 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 type of agent. 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 type of agent 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 type of agent. |
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 resources include all response parameters. Ensure 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": "Installing this update modifies the files used to detect viruses, spyware, and other potentially unwanted software. Once installed, this item 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.aliyun.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": "Intelligent evolution, happy shrimp farming",
"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.