ValidateTransferableNodes
Validates whether data on specified nodes in an instance can be migrated.
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}/validate-transfer-nodes 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:
Note
COORDINATING (client node) and KIBANA (Kibana node) are not supported. |
WORKER |
| body |
array<object> |
No |
The request body. |
|
|
object |
No |
The request object. |
||
| host |
string |
No |
The IP address of the node. |
172.16.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 Shanghai Zone C is cn-shanghai-c. |
cn-shanghai-c |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| Result |
boolean |
The result. 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.