Domain name for API request: csip.intl.tencentcloudapi.com.
Retry the vulnerability repair task that failed to fix, and redispatch the repair instruction only for the hosts of the original task that failed to fix. Retry is allowed only when the task status is partially or totally failed to fix.
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: CreateVulFixRetryTask. |
| Version | Yes | String | Common Params. The value used for this API: 2022-11-21. |
| Region | No | String | Common Params. This parameter is not required. |
| TaskId | Yes | Integer | Repair task ID that needs to be retried |
| InstanceIds.N | No | Array of String | Specify the list of host instance IDs that need to retry. If not passed, retry all failed hosts. |
| MemberId.N | No | Array of String | Group Account Member ID |
| Parameter Name | Type | Description |
|---|---|---|
| TaskId | Integer | New task ID generated by retry, used for subsequent query task status |
| RetryCount | Integer | Number of hosts retried this time |
| 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: CreateVulFixRetryTask
<Common request parameters>
{
"TaskId": 10001,
"InstanceIds": [
"ins-a1b2c3d4"
],
"MemberId": [
"mem-tencent-***********6e429"
]
}
{
"Response": {
"TaskId": 10001,
"RetryCount": 1,
"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.
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan