Class PostVotingConfigExclusionsDescriptor
Descriptor for PostVotingConfigExclusions
https://opensearch.org/docs/latest
Inheritance
RequestDescriptorBase<PostVotingConfigExclusionsDescriptor, PostVotingConfigExclusionsRequestParameters, IPostVotingConfigExclusionsRequest>
PostVotingConfigExclusionsDescriptor
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class PostVotingConfigExclusionsDescriptor : RequestDescriptorBase<PostVotingConfigExclusionsDescriptor, PostVotingConfigExclusionsRequestParameters, IPostVotingConfigExclusionsRequest>, IDescriptor, IPostVotingConfigExclusionsRequest, IRequest<PostVotingConfigExclusionsRequestParameters>, IRequest
Methods
| Edit this page View SourceNodeIds(params string[])
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.
Declaration
public PostVotingConfigExclusionsDescriptor NodeIds(params string[] nodeids)
Parameters
Type | Name | Description |
---|---|---|
string[] | nodeids |
Returns
Type | Description |
---|---|
PostVotingConfigExclusionsDescriptor |
NodeNames(params string[])
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.
Declaration
public PostVotingConfigExclusionsDescriptor NodeNames(params string[] nodenames)
Parameters
Type | Name | Description |
---|---|---|
string[] | nodenames |
Returns
Type | Description |
---|---|
PostVotingConfigExclusionsDescriptor |
RequestDefaults(PostVotingConfigExclusionsRequestParameters)
Allows a request implementation to set certain request parameter defaults, use sparingly!
Declaration
protected override sealed void RequestDefaults(PostVotingConfigExclusionsRequestParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
PostVotingConfigExclusionsRequestParameters | parameters |
Overrides
| Edit this page View SourceTimeout(Time)
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.
Declaration
public PostVotingConfigExclusionsDescriptor Timeout(Time timeout)
Parameters
Type | Name | Description |
---|---|---|
Time | timeout |
Returns
Type | Description |
---|---|
PostVotingConfigExclusionsDescriptor |