Class PostVotingConfigExclusionsDescriptor
Descriptor for PostVotingConfigExclusions
https://opensearch.org/docs/latest
Inheritance
PostVotingConfigExclusionsDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class PostVotingConfigExclusionsDescriptor : RequestDescriptorBase<PostVotingConfigExclusionsDescriptor, PostVotingConfigExclusionsRequestParameters, IPostVotingConfigExclusionsRequest>, IDescriptor, IPostVotingConfigExclusionsRequest, IRequest<PostVotingConfigExclusionsRequestParameters>, IRequest
Methods
|
Edit this page
View Source
NodeIds(params string[])
A comma-separated list of node IDs to exclude from the voting configuration. When using this setting, you cannot also specify node_names
. Either node_ids
or node_names
are required to receive a valid response.
Declaration
public PostVotingConfigExclusionsDescriptor NodeIds(params string[] nodeids)
Parameters
Type |
Name |
Description |
string[] |
nodeids |
|
Returns
|
Edit this page
View Source
NodeNames(params string[])
A comma-separated list of node names to exclude from the voting configuration. When using this setting, you cannot also specify node_ids
. Either node_ids
or node_names
are required to receive a valid response.
Declaration
public PostVotingConfigExclusionsDescriptor NodeNames(params string[] nodenames)
Parameters
Type |
Name |
Description |
string[] |
nodenames |
|
Returns
|
Edit this page
View Source
RequestDefaults(PostVotingConfigExclusionsRequestParameters)
Allows a request implementation to set certain request parameter defaults, use sparingly!
Declaration
protected override sealed void RequestDefaults(PostVotingConfigExclusionsRequestParameters parameters)
Parameters
Overrides
|
Edit this page
View Source
Timeout(Time)
When adding a voting configuration exclusion, the API waits for the specified nodes to be excluded from the voting configuration before returning a response. If the timeout expires before the appropriate condition is satisfied, the request fails and returns an error.
Declaration
public PostVotingConfigExclusionsDescriptor Timeout(Time timeout)
Parameters
Type |
Name |
Description |
Time |
timeout |
|
Returns
Implements
Extension Methods