ReinstallCollector
Retries the installation of collectors that failed to install during creation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:ReinstallCollector |
none |
*collectors
|
None | None |
Request syntax
POST /openapi/collectors/{ResId}/actions/reinstall HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResId |
string |
Yes |
The collector ID. |
ct-cn-l871nd0u73c45**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
Ensures the idempotence of the request. The value is generated by the client and must be unique across different requests. The value can be up to 64 ASCII characters in length. |
5A2CFF0E-5718-45B5-9D4D-70B3FF**** |
| body |
string |
No |
The request body parameters. For more information, see the RequestBody section below. |
{ "restartType": "nodeEcsId", "nodes":["i-bp1gyhphjaj73jsr****","i-bp10piq1mkfnyw9t****"] } |
RequestBody
Specify the following parameters in RequestBody to configure the machine information for retrying the collector installation.
| Name | Type | Required | Example | Description |
| nodes | List<String> | Yes | ["ecs-cn-abc"] | The IDs of the ECS instances for which the collector installation is retried. |
| restartType | String | Yes | nodeEcsId | The type of the machine for which the collector installation is retried. Only nodeEcsId is supported, which indicates an ECS instance. |
Example:
{
"restartType": "nodeEcsId",
"nodes":["i-bp1gyhphjaj73jsr****","i-bp10piq1mkfnyw9t****"]
}
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Result |
boolean |
The request result. Valid values:
|
true |
| RequestId |
string |
The request ID. |
5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1**** |
Examples
Success response
JSON format
{
"Result": true,
"RequestId": "5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.