Domain name for API request: csip.intl.tencentcloudapi.com.
Query the list of hosts that can update a specified KB patch. This API is used for Windows patch repair scenarios to query which hosts lack the patch and support auto-update before user-submitted KB patch update tasks.
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: DescribeKBUpdatableMachineList. |
| Version | Yes | String | Common Params. The value used for this API: 2022-11-21. |
| Region | No | String | Common Params. This parameter is not required. |
| KBIds.N | Yes | Array of Integer | KB patch ID list, supports up to 100 |
| Offset | No | Integer | Paging offset |
| Limit | No | Integer | Number of results per page |
| Filters.N | No | Array of Filters | Filter criteria |
| MemberId.N | No | Array of String | Group Account Member ID |
| Parameter Name | Type | Description |
|---|---|---|
| Data | Array of KBUpdateMachineItem | Host list for patch updates |
| TotalCount | Integer | Total quantity. |
| FixableCount | Integer | Number of hosts that can be repaired in one click |
| NotFixableCount | Integer | Number of hosts that cannot be repaired with one click |
| KBSummary | Array of KBFixSummaryItem | KB patch dimensional summary, showing an overview of the repaired patch list |
| 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: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeKBUpdatableMachineList
<Common request parameters>
{
"KBIds": [
20001,
20002
],
"Offset": 0,
"Limit": 10
}
{
"Response": {
"Data": [
{
"KBId": 20001,
"InstanceId": "ins-e5f6g7h8",
"MachineName": "win-server-01",
"MachineIp": "10.0.1.50",
"PublicIp": "203.0.113.20",
"OsName": "Windows Server 2019",
"MachineStatus": "ONLINE",
"SupportAutoFix": 1,
"FixStatus": 0,
"LatestFixTime": "",
"NotFixableReason": "",
"TagItems": [],
"AppId": 1251234567,
"PayVersion": "ULTIMATE"
}
],
"TotalCount": 1,
"FixableCount": 1,
"NotFixableCount": 0,
"KBSummary": [
{
"KBId": 20001,
"KBName": "Windows 10 Version 22H2 cumulative update"
"KBNo": "KB5377343",
"RelatedVulCount": 3,
"AffectedCount": 1,
"NeedReboot": true,
"KBPreCondition": ""
}
],
"RequestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários