Domain name for API request: cwp.tencentcloudapi.com.
This API is used to obtain asset management host resource details.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeAssetMachineDetail. |
Version | Yes | String | Common Params. The value used for this API: 2018-02-28. |
Region | No | String | Common Params. This parameter is not required. |
Quuid | Yes | String | Server QUUID |
Uuid | Yes | String | Server UUID |
Parameter Name | Type | Description |
---|---|---|
MachineDetail | AssetMachineDetail | Host details |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: cwp.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAssetMachineDetail
<Common request parameters>
{
"Quuid": "7dc822ab-1eaa-d469-67e2-0eed63e8be9c",
"Uuid": "7dc822ab-1eaa-d469-67e2-0eed63e8be9c"
}
{
"Response": {
"MachineDetail": {
"Quuid": "7dc822ab-1eaa-d469-67e2-0eed63e8be9c",
"Uuid": "7dc822ab-1eaa-d469-67e2-0eed63e8be9c",
"MachineIp": "172.16.255.135",
"MachineName": "aaa_worker",
"ProjectId": 0,
"OsInfo": "TencentOS Server 3.1 (TK4)",
"Cpu": "",
"MemSize": 0,
"MemLoad": "",
"DiskSize": 0,
"DiskLoad": "",
"PartitionCount": 0,
"MachineWanIp": "172.16.255.135",
"CpuSize": 0,
"CpuLoad": "",
"ProtectLevel": 2,
"RiskStatus": "Unknown",
"ProtectDays": 0,
"BuyTime": "2023-12-26 10:30:02",
"EndTime": "2024-01-10 10:51:11",
"CoreVersion": "",
"OsType": "",
"AgentVersion": "5.1.0.150",
"InstallTime": "2023-12-26 10:22:03",
"BootTime": "",
"LastLiveTime": "2023-12-26 10:28:44",
"Producer": "",
"SerialNumber": "",
"DeviceVersion": "",
"Status": 0,
"CpuLoadVul": "50",
"FirstTime": "2023-12-26 10:28:44",
"NetCards": [],
"Disks": [],
"OfflineTime": "",
"InstanceId": "ins-aaaa",
"UpdateTime": "--",
"MachineExtraInfo": {
"WanIP": "172.16.255.135",
"PrivateIP": "172.16.255.135",
"NetworkType": 1,
"NetworkName": "vpc-aaaa",
"InstanceID": "ins-aaaa",
"HostName": "aaa_worker"
}
},
"RequestId": "c063defb-30b0-4667-b042-e06ecaa19f09"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError | Internal error |
InvalidParameter | Incorrect parameter. |
InvalidParameterValue | Invalid parameter value. |
MissingParameter | Missing parameter error. |
本页内容是否解决了您的问题?