Queries the detailed session information of a cloud computer.
Operation description
You can only query data within the last 30 days.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region. You can call the DescribeRegions operation to query the regions supported by Elastic Desktop Service. | cn-hangzhou |
OfficeSiteId | string | Yes | The ID of the office network. | cn-hangzhou+dir-363353**** |
EndUserId | string | No | The ID of the end user. | testUser |
SessionStatus | string | No | The state of the session. Valid values:
| Connected |
StartTime | string | No | The start of the time range to query. | 2023-01-28T02:31:43Z |
EndTime | string | No | The end of the time range to query. | 2023-02-13T02:51:43Z |
PageNumber | integer | No | The page number. | 1 |
PageSize | integer | No | The number of entries returned per page. | 10 |
DesktopId | array | No | The IDs of the cloud computers. You can specify the IDs of 1 to 100 cloud computers. | |
string | No | The ID of the cloud computer. | ecd-gx2x1dhsmucyy**** | |
DesktopName | string | No | The name of the cloud computer. | DemoComputer |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalCount": 1,
"RequestId": "3EC4A6DB-EC8D-55B0-9038-543DE671****",
"Sessions": [
{
"SessionStatus": "Connected",
"EndUserId": "testUser",
"OfficeSiteId": "cn-hangzhou+dir-8904****",
"ClientIp": "172.21.XX.XX",
"ClientOS": "windows_\\\"Windows10Enterprise\\\"10.0(Build22000)",
"DesktopId": "ecd-g6t1ukbaea****",
"DesktopName": "testDesktop",
"OfficeSiteName": "DemoOfficeSite",
"ClientVersion": "2.0.0-R-20221030.08****",
"ProtocolType": "ASP",
"LatestConnectionTime": 120,
"TotalConnectionTime": 240,
"SessionStartTime": "2023-01-28T02:31:43Z\n",
"SessionEndTime": "2023-01-28T02:31:43Z",
"SessionIdleTime": 120,
"OsType": "Windows",
"EndUserApplyCoordinateTime": 120
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-07-08 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |
2024-07-01 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |
2024-04-15 | The request parameters of the API has changed | View Change Details |