Domain name for API request: cwp.intl.tencentcloudapi.com.
This API is used to query the information of the host overview.
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: DescribeMachineGeneral. |
Version | Yes | String | Common Params. The value used for this API: 2018-02-28. |
Region | No | String | Common Params. This parameter is not required. |
Parameter Name | Type | Description |
---|---|---|
MachineCnt | Integer | Total number of assets |
ProtectMachineCnt | Integer | Number of protected machines |
BaseMachineCnt | Integer | Number of protected Basic Edition machines |
SpecialtyMachineCnt | Integer | Number of protected Pro Edition machines |
FlagshipMachineCnt | Integer | Number of protected Ultimate Edition machines |
RiskMachineCnt | Integer | Number of risky machines |
CompareYesterdayRiskMachineCnt | Integer | Number of new risky machines compared with that yesterday |
CompareYesterdayNotProtectMachineCnt | Integer | Number of new unprotected machines compared with that yesterday |
CompareYesterdayDeadlineMachineCnt | Integer | Number of new machines about to expire compared with that yesterday |
DeadlineMachineCnt | Integer | Number of machines about to expire |
NotProtectMachineCnt | Integer | Number of unprotected machines |
LHGeneralDiscountCnt | Integer | Number of protected Inclusive Edition machines (Lighthouse machines) |
CompareYesterdayMachineCnt | Integer | Number of new hosts compared with that yesterday |
MachineDestroyAfterOfflineHours | Integer | Auto-cleanup Time, maximum 720 hours, minimum 0, 0 by default, 0=OFF |
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.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeMachineGeneral
<Common request parameters>
{}
{
"Response": {
"AliCloudMachineCnt": 0,
"BaiduCloudMachineCnt": 0,
"BaseMachineCnt": 34,
"CompareYesterdayDeadlineMachineCnt": 2,
"CompareYesterdayMachineCnt": 132,
"CompareYesterdayNotProtectMachineCnt": 64,
"CompareYesterdayRiskMachineCnt": 35,
"DeadlineMachineCnt": 2,
"FlagshipMachineCnt": 34,
"IDCMachineCnt": 0,
"LHGeneralDiscountCnt": 0,
"MachineCnt": 132,
"MachineDestroyAfterOfflineHours": 1,
"NotProtectMachineCnt": 64,
"OtherCloudMachineCnt": 0,
"ProtectMachineCnt": 34,
"RequestId": "9f5fd122-589a-4faa-b004-efd7ef35e240",
"RiskMachineCnt": 35,
"SpecialtyMachineCnt": 0,
"TencentCloudMachineCnt": 0
}
}
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 |
本页内容是否解决了您的问题?