Domain name for API request: yunjing.tencentcloudapi.com.
This API is used to get server 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 parameter. The value used for this API: DescribeMachineInfo. |
Version | Yes | String | Common parameter. The value used for this API: 2018-02-28. |
Region | No | String | Common parameter. This parameter is not required for this API. |
Uuid | No | String | CWP agent Uuid . |
Parameter Name | Type | Description |
---|---|---|
MachineIp | String | Server IP. |
ProtectDays | Integer | Days under protection by CWP |
MachineOs | String | OS. |
MachineName | String | Server name. |
MachineStatus | String | Status. |
InstanceId | String | Unique ID of CVM or BM instance. |
MachineWanIp | String | Public IP of server. |
Quuid | String | CVM or BM instance Uuid . |
Uuid | String | CWP agent Uuid . |
IsProVersion | Boolean | Whether CWP Pro is activated. |
ProVersionOpenDate | String | CWP Pro activation time. |
MachineType | String | Server type. |
MachineRegion | String | Server region, such as ap-guangzhou or ap-shanghai |
PayMode | String | Server status. |
FreeMalwaresLeft | Integer | Number of trojans left for free scan. |
FreeVulsLeft | Integer | Number of vulnerability left for free scan. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
This example shows you how to get server details.
https://yunjing.tencentcloudapi.com/?Action=DescribeMachineInfo
&Uuid=UUID
&<Common request parameters>
{
"Response": {
"MachineType": "CVM",
"MachineRegion": "ap-guangzhou",
"InstanceId": "ins-ibqb87x3",
"MachineWanIp": "130.111.77.111",
"MachineIp": "10.104.248.0",
"MachineName": "Development server",
"MachineOs": "3.10.0-327.36.3.el7.x86_64",
"MachineStatus": "ONLINE",
"ProtectDays": 120,
"Quuid": "56af8eea-5a2a-4f0c-81ca-47208e7cd9b2",
"Uuid": "e3fcbf68-3bd6-11e8-8954-0819a624c497",
"IsProVersion": true,
"PayMode": "PREPAY",
"ProVersionOpenDate": "2018-07-30 12:34:22",
"RequestId": "ad31cc35-8523-42a2-93e0-b733ad247daa"
}
}
This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.
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.InvalidFormat | Incorrect parameter format. |
InvalidParameter.MissingParameter | Missing parameter. |
InvalidParameter.ParsingError | Parameter parsing error. |
ResourceNotFound | The resource does not exist. |
Was this page helpful?