Files
elasticsearch-js/docs/reference/api/ClusterPostVotingConfigExclusionsRequest.md
2025-05-28 10:02:30 -05:00

1.3 KiB

ClusterPostVotingConfigExclusionsRequest [interface-ClusterPostVotingConfigExclusionsRequest]

Name Type Description
body string ({ [key: string]: any; } & { node_names?: never; node_ids?: never; master_timeout?: never; timeout?: never; })
master_timeout Duration Period to wait for a connection to the master node.
node_ids Ids A comma-separated list of the persistent ids of the nodes to exclude from the voting configuration. If specified, you may not also specify node_names.
node_names Names A comma-separated list of the names of the nodes to exclude from the voting configuration. If specified, you may not also specify node_ids.
querystring { [key: string]: any; } & { node_names?: never; node_ids?: never; master_timeout?: never; timeout?: never; } All values in querystring will be added to the request querystring.
timeout Duration When adding a voting configuration exclusion, the API waits for the specified nodes to be excluded from the voting configuration before returning. If the timeout expires before the appropriate condition is satisfied, the request fails and returns an error.