ResumeLogstashTask
Resumes an interrupted instance change task. After the task is resumed, the instance enters the activating state.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:ResumeLogstashTask |
none |
*Logstash
|
None | None |
Request syntax
POST /openapi/logstashes/{InstanceId}/actions/resume HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
ls-cn-4591f1y6**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| clientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. |
5A2CFF0E-5718-45B5-9D4D-70B3FF**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The error code. This parameter is not returned if the call is successful. |
InstanceNotFound |
| Message |
string |
The error message. This parameter is not returned if the call is successful. |
The specified cluster does not exist. Check the cluster status and try again. |
| RequestId |
string |
The request ID. |
0FA05123-745C-42FD-A69B-AFF48EF9**** |
| Result |
boolean |
The returned result. Valid values:
|
true |
Examples
Success response
JSON format
{
"Code": "InstanceNotFound",
"Message": "The specified cluster does not exist. Check the cluster status and try again.",
"RequestId": "0FA05123-745C-42FD-A69B-AFF48EF9****",
"Result": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InstanceActivating | Instance is activating. | Instance is activating. |
| 400 | InstanceNotFound | The instanceId provided does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.