TransferNode
Performs data migration on a node to facilitate node scale-in operations.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:UpdateInstance |
none |
*Instance
|
None | None |
Request syntax
POST /openapi/instances/{InstanceId}/actions/transfer HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
es-cn-nif1q9o8r0008**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| nodeType |
string |
Yes |
The node type. Valid values:
|
WORKER |
| clientToken |
string |
No |
A unique token used to ensure the idempotence of the request. This parameter value is generated by the client and must be unique among different requests. The value cannot exceed 64 ASCII characters in length. |
5A2CFF0E-5718-45B5-9D4D-70B3FF**** |
| body |
array<object> |
No |
The request body. |
|
|
object |
No |
The request object. |
||
| host |
string |
No |
The IP address of the node. |
192.168.xx.xx |
| port |
integer |
No |
The access port number of the node. |
9200 |
| zoneId |
string |
No |
The zone ID of the instance node. For example, the zone ID for China (Shanghai) Zone C is cn-shanghai-c. |
cn-shanghai-c |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| Result |
boolean |
The result of the request. Valid values:
|
true |
| RequestId |
string |
The request ID. |
F99407AB-2FA9-489E-A259-40CF6DCC**** |
Examples
Success response
JSON format
{
"Result": true,
"RequestId": "F99407AB-2FA9-489E-A259-40CF6DCC****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.