Queries the details and extended information of a server asset by UUID.
This API has been deprecated. We recommend migrating to Sas(2018-12-03) - GetAssetDetailByUuid for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Operation description
This operation is about to be deprecated. Call the GetAssetDetailByUuid operation to obtain asset details.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeAssetDetailByUuid |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The IP address of the access source. |
192.0.XX.XX |
| Uuid |
string |
Yes |
The UUID of the asset that you want to query. Note
Call the DescribeCloudCenterInstances operation to obtain this parameter. |
9e6cad93-a379-46fd-a701-9bbf02f4**** |
| Lang |
string |
No |
The language of the content within the request and response. Default value: zh. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
39031E31-6BBA-5C99-A870-D807E78918CD |
| AssetDetail |
object |
The asset details. |
|
| CpuInfo |
string |
The CPU details. |
Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz |
| InternetIp |
string |
The public IP address of the server. |
192.168.XX.XX |
| OsDetail |
string |
The operating system version and architecture of the server. |
Linux 64bit |
| CreateTime |
integer |
The timestamp when Security Center recorded the asset information, in milliseconds. |
1603863599000 |
| Kernel |
string |
The kernel version of the operating system. |
4.18.0-80.11.2.el8_0.x86_64 |
| Bind |
boolean |
Indicates whether the asset is bound to an authorization. Valid values:
|
true |
| OsName |
string |
The operating system name of the server. |
- |
| Tag |
string |
The tag of the server. |
InternetIp |
| ClientStatus |
string |
The status of the China China agent client. Valid values:
|
online |
| Mem |
integer |
The memory size, in GB. |
32 |
| Memory |
integer |
The memory size, in MB. |
512 |
| VpcInstanceId |
string |
The ID of the VPC instance where the server resides. |
vpc-bp1fs3bwonlfq503w**** |
| AuthVersion |
integer |
The authorization version of the asset. Valid values:
|
7 |
| InstanceName |
string |
The name of the server. |
i-fasdfasdfadfafa**** |
| Region |
string |
The region where the server resides. |
cn-hangzhou-dg-a01 |
| GroupTrace |
string |
The group to which the server belongs. Servers that are not assigned to a group belong to the Ungrouped group by default. |
default |
| Ip |
string |
The IP address assigned by ECS. |
192.168.XX.XX |
| HostName |
string |
The hostname. |
qewrqwerqs**** |
| Os |
string |
The operating system type of the server. |
linux |
| AuthModifyTime |
integer |
The timestamp when the asset authorization was bound, in milliseconds. |
1627974044000 |
| InstanceId |
string |
The ID of the server. |
i-uf6h7p2fgk6rkk0g**** |
| IntranetIp |
string |
The private IP address of the server. |
192.168.XX.XX |
| AssetType |
string |
The asset type. Valid values:
|
0 |
| RegionId |
string |
The region ID of the asset. |
cn-hanghzou |
| SysInfo |
string |
The operating system information of the server. |
CentOS Linux 8.0.1905 |
| Uuid |
string |
The UUID of the server. |
9e6cad93-a379-46fd-a701-9bbf02f4**** |
| Cpu |
integer |
The number of CPU cores. |
2 |
| RegionName |
string |
The name of the region where the server resides. |
China (Hohhot) |
| Flag |
integer |
Indicates whether the asset is an Alibaba Cloud asset. Valid values:
|
0 |
| ClientVersion |
string |
The version of the agent client. |
2.0.0 |
| IpList |
array |
The list of IP addresses of the server. |
|
|
string |
The list of IP addresses of the server. |
["192.168.XX.XX"] |
|
| MacList |
array |
The MAC addresses. |
|
|
string |
The MAC addresses. |
[ "00:16:3*:1*:9*:cf" ] |
|
| DiskInfoList |
array |
The collection of disk information. |
|
|
string |
The disk information. The following parameters describe the disk:
|
{diskName: "/dev/vda1", useSizeByte: 2998996992, totalSize: 40, useSize: 2, totalSizeByte: 42140479488} |
Examples
Success response
JSON format
{
"RequestId": "39031E31-6BBA-5C99-A870-D807E78918CD",
"AssetDetail": {
"CpuInfo": "Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz",
"InternetIp": "192.168.XX.XX",
"OsDetail": "Linux 64bit",
"CreateTime": 1603863599000,
"Kernel": "4.18.0-80.11.2.el8_0.x86_64",
"Bind": true,
"OsName": "-",
"Tag": "InternetIp",
"ClientStatus": "online",
"Mem": 32,
"Memory": 512,
"VpcInstanceId": "vpc-bp1fs3bwonlfq503w****",
"AuthVersion": 7,
"InstanceName": "i-fasdfasdfadfafa****",
"Region": "cn-hangzhou-dg-a01",
"GroupTrace": "default",
"Ip": "192.168.XX.XX",
"HostName": "qewrqwerqs****",
"Os": "linux",
"AuthModifyTime": 1627974044000,
"InstanceId": "i-uf6h7p2fgk6rkk0g****",
"IntranetIp": "192.168.XX.XX",
"AssetType": "0",
"RegionId": "cn-hanghzou",
"SysInfo": "CentOS Linux 8.0.1905",
"Uuid": "9e6cad93-a379-46fd-a701-9bbf02f4****",
"Cpu": 2,
"RegionName": "China (Hohhot)",
"Flag": 0,
"ClientVersion": "2.0.0",
"IpList": [
"[\"192.168.XX.XX\"]"
],
"MacList": [
"[\n \"00:16:3*:1*:9*:cf\"\n]"
],
"DiskInfoList": [
"{diskName: \"/dev/vda1\", useSizeByte: 2998996992, totalSize: 40, useSize: 2, totalSizeByte: 42140479488}"
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.