UpdateLogstash
Modifies partial information of a specified instance, such as the number of nodes, quota, name, and disk size.
Operation description
Before you begin
You cannot modify instance information when the instance status is activating, invalid, or freeze (inactive).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:UpdateLogstash |
update |
*Logstash
|
None | None |
Request syntax
PUT /openapi/logstashes/{InstanceId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
ls-cn-n6w1o5jq**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| clientToken |
string |
No |
A client token that is used to ensure the idempotence of the request. The value is generated by the client and must be unique among different requests. The maximum length is 64 ASCII characters. |
5A2CFF0E-5718-45B5-9D4D-70B3FF**** |
| body |
object |
No |
The request body. |
|
| nodeSpec |
object |
No |
The node specifications configuration. |
|
| spec |
string |
No |
The specification information. For more information, see Product specifications. Valid values:
|
elasticsearch.sn1ne.large |
| disk |
integer |
No |
The disk size. Unit: GB. |
20 |
| diskType |
string |
No |
The disk type. Valid values:
Valid values:
|
cloud_efficiency |
| nodeAmount |
integer |
No |
The number of nodes. |
3 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Result |
boolean |
Indicates whether the instance information is modified. 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.