GetUserDevice
Queries the details of a user endpoint device under the current Alibaba Cloud account.
Operation description
You can delete up to 100 devices at a time. Each device must be in the Offline or LongTermOffline state. If some device IDs in the request do not meet the status requirement, only the devices that meet the requirement are deleted, and the operation still returns a success response.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
csas:GetUserDevice |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DeviceTag |
string |
Yes |
The endpoint device ID. You can call the following operations to obtain the device ID:
|
36efa42d-2c32-c4dc-e3fc-8541e33a**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response。 |
||
| RequestId |
string |
The request ID. |
EFE7EBB2-449D-5BBB-B381-CA7839BC1649 |
| Device |
object |
The endpoint device. |
|
| DeviceTag |
string |
The endpoint device ID. |
36efa42d-2c32-c4dc-e3fc-8541e33a**** |
| DeviceType |
string |
The operating system type of the endpoint device. Valid values:
Valid values:
|
Windows |
| DeviceModel |
string |
The model of the endpoint device. |
MacBookPro17,1 |
| DeviceVersion |
string |
The operating system version of the endpoint device. |
3.5.1 |
| Hostname |
string |
The hostname of the endpoint device. |
win10-64bit |
| Username |
string |
The username. |
王先生 |
| SaseUserId |
string |
The user ID. |
su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d**** |
| Department |
string |
The department to which the user belongs. |
测试部 |
| InnerIP |
string |
The internal IP address of the endpoint device. |
172.16.XX.XX |
| SrcIP |
string |
The logon IP address of the endpoint device. |
106.14.XX.XX |
| Memory |
string |
The memory capacity of the endpoint device. Unit: GB. |
16 |
| CPU |
string |
The CPU model of the endpoint device. |
Apple M1 |
| Disk |
string |
The disk model of the endpoint device. |
APPLE SSD AP0512Q Media |
| Mac |
string |
The MAC address of the endpoint device. |
48:9e:XX:XX:02:80 |
| AppVersion |
string |
The client version. |
2.2.0 |
| DeviceBelong |
string |
The ownership of the endpoint device. Valid values:
Valid values:
|
Company |
| SharingStatus |
boolean |
Indicates whether device sharing is enabled. Valid values:
Valid values:
|
true |
| DeviceStatus |
string |
The status of the endpoint device. Valid values:
Valid values:
|
Online |
| AppStatus |
string |
The client status. Valid values:
Valid values:
|
Online |
| PaStatus |
string |
The private access status. Valid values:
Valid values:
|
Enabled |
| IaStatus |
string |
The Internet access status. Valid values:
Valid values:
|
Disabled |
| DlpStatus |
string |
The office data protection status. Valid values:
Valid values:
|
Unauthorized |
| NacStatus |
string |
The network access control status. Valid values:
Valid values:
|
Unprovisioned |
| CreateTime |
string |
The registration time of the endpoint device. |
2023-05-16 17:18:46 |
| UpdateTime |
string |
The last online time of the endpoint device. |
2023-08-24 19:04:42 |
| HistoryUsers |
array<object> |
The historical users of the endpoint device. |
|
|
object |
The historical user of the endpoint device. |
||
| Username |
string |
The username. |
张女士 |
| SaseUserId |
string |
The user ID. |
su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d**** |
| EdrStatus |
string |
The anti-intrusion status. Valid values:
Valid values:
|
Disabled |
| AutoLoginStatus |
string |
The auto-logon status of the device. Valid values:
|
Enabled |
| NetInterfaceInfo |
array<object> |
The list of network interface controllers (NICs) on the endpoint device. |
|
|
object |
The list of network interface controllers (NICs) on the endpoint device. |
||
| Name |
string |
The name of the network interface. |
eth0 |
| Mac |
string |
The MAC address of the network interface. |
00:16:XX:XX:7c:46 |
| Workshop |
string |
The workspace name. |
测试办公区 |
| MatchDeviceGroupIds |
array |
The IDs of matched device groups. |
|
|
string |
The device group ID. |
device-group-5191cf830a5e**** |
|
| SnSystem |
string |
The system serial number. |
KVN9C9**** |
| SnDiskDrive |
string |
The hard disk serial number. |
WD-WXR1A99A**** |
| SnBaseBoard |
string |
The motherboard serial number. |
PJGGU00WBD**** |
| SnProcessor |
string |
The processor serial number. |
BFEBFBFF0008**** |
| SnBios |
string |
The BIOS serial number. |
5CG003**** |
| BatteryHealthPercentage |
integer |
The battery health percentage. |
|
| BatteryRemainingPercentage |
integer |
The remaining battery percentage. |
|
| DiskAvailable |
integer |
The available disk space. Unit: GB. |
|
| DiskUsed |
integer |
The used disk space. Unit: GB. |
|
| Processes |
array<object> |
The list of processes running on the endpoint device. |
|
|
object |
The details of a process running on the endpoint device. |
||
| Name |
string |
The name of the process. |
|
| Description |
string |
The description of the process. |
|
| Cpu |
number |
The CPU usage of the process. |
|
| Memory |
integer |
The memory usage of the process, in MB. |
|
| TerminalInfoCollectTime |
integer |
The timestamp when the endpoint process information was collected. |
|
| JoinAdDomain |
boolean |
Indicates whether the endpoint device has joined an Active Directory (AD) domain. |
|
| Continent |
string |
The continent of the public IP address. |
|
| Country |
string |
The country of the public IP address. |
|
| Province |
string |
The province of the public IP address. |
|
| City |
string |
The city of the public IP address. |
|
| ContinentEn |
string |
The continent name in English. |
Asia |
| CountryEn |
string |
The country name in English. |
China |
| ProvinceEn |
string |
The province name in English. |
Beijing |
| CityEn |
string |
The city name in English. |
Beijing City |
| ContinentZh |
string |
The continent name in Chinese. |
亚洲 |
| CountryZh |
string |
The country name in Chinese. |
中国 |
| ProvinceZh |
string |
The province name in Chinese. |
北京市 |
| CityZh |
string |
The city name in Chinese. |
北京市 |
Examples
Success response
JSON format
{
"RequestId": "EFE7EBB2-449D-5BBB-B381-CA7839BC1649",
"Device": {
"DeviceTag": "36efa42d-2c32-c4dc-e3fc-8541e33a****",
"DeviceType": "Windows",
"DeviceModel": "MacBookPro17,1",
"DeviceVersion": "3.5.1",
"Hostname": "win10-64bit",
"Username": "王先生",
"SaseUserId": "su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****",
"Department": "测试部",
"InnerIP": "172.16.XX.XX",
"SrcIP": "106.14.XX.XX",
"Memory": "16",
"CPU": "Apple M1",
"Disk": "APPLE SSD AP0512Q Media",
"Mac": "48:9e:XX:XX:02:80",
"AppVersion": "2.2.0",
"DeviceBelong": "Company",
"SharingStatus": true,
"DeviceStatus": "Online",
"AppStatus": "Online",
"PaStatus": "Enabled",
"IaStatus": "Disabled",
"DlpStatus": "Unauthorized",
"NacStatus": "Unprovisioned",
"CreateTime": "2023-05-16 17:18:46",
"UpdateTime": "2023-08-24 19:04:42",
"HistoryUsers": [
{
"Username": "张女士",
"SaseUserId": "su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****"
}
],
"EdrStatus": "Disabled",
"AutoLoginStatus": "Enabled",
"NetInterfaceInfo": [
{
"Name": "eth0",
"Mac": "00:16:XX:XX:7c:46"
}
],
"Workshop": "测试办公区",
"MatchDeviceGroupIds": [
"device-group-5191cf830a5e****"
],
"SnSystem": "KVN9C9****",
"SnDiskDrive": "WD-WXR1A99A****",
"SnBaseBoard": "PJGGU00WBD****",
"SnProcessor": "BFEBFBFF0008****",
"SnBios": "5CG003****",
"BatteryHealthPercentage": 0,
"BatteryRemainingPercentage": 0,
"DiskAvailable": 0,
"DiskUsed": 0,
"Processes": [
{
"Name": "",
"Description": "",
"Cpu": 0,
"Memory": 0
}
],
"TerminalInfoCollectTime": 0,
"JoinAdDomain": false,
"Continent": "",
"Country": "",
"Province": "",
"City": "",
"ContinentEn": "Asia",
"CountryEn": "China",
"ProvinceEn": "Beijing",
"CityEn": "Beijing City",
"ContinentZh": "亚洲",
"CountryZh": "中国",
"ProvinceZh": "北京市",
"CityZh": "北京市"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.