Class ImportDanglingIndexDescriptor
Descriptor for ImportDanglingIndex
https://opensearch.org/docs/latest/api-reference/index-apis/dangling-index/
Inheritance
RequestDescriptorBase<ImportDanglingIndexDescriptor, ImportDanglingIndexRequestParameters, IImportDanglingIndexRequest>
ImportDanglingIndexDescriptor
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class ImportDanglingIndexDescriptor : RequestDescriptorBase<ImportDanglingIndexDescriptor, ImportDanglingIndexRequestParameters, IImportDanglingIndexRequest>, IDescriptor, IImportDanglingIndexRequest, IRequest<ImportDanglingIndexRequestParameters>, IRequest
Constructors
| Edit this page View SourceImportDanglingIndexDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected ImportDanglingIndexDescriptor()
ImportDanglingIndexDescriptor(IndexUuid)
/_dangling/{index_uuid}
Declaration
public ImportDanglingIndexDescriptor(IndexUuid indexUuid)
Parameters
Type | Name | Description |
---|---|---|
IndexUuid | indexUuid | this parameter is required |
Methods
| Edit this page View SourceAcceptDataLoss(bool?)
Must be set to true in order to import the dangling index.
Declaration
public ImportDanglingIndexDescriptor AcceptDataLoss(bool? acceptdataloss = true)
Parameters
Type | Name | Description |
---|---|---|
bool? | acceptdataloss |
Returns
Type | Description |
---|---|
ImportDanglingIndexDescriptor |
ClusterManagerTimeout(Time)
Operation timeout for connection to cluster-manager node.
Declaration
public ImportDanglingIndexDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | clustermanagertimeout |
Returns
Type | Description |
---|---|
ImportDanglingIndexDescriptor |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
MasterTimeout(Time)
Specify timeout for connection to cluster manager.
Declaration
[Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use `cluster_manager_timeout` instead.")]
public ImportDanglingIndexDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | mastertimeout |
Returns
Type | Description |
---|---|
ImportDanglingIndexDescriptor |
Timeout(Time)
Explicit operation timeout.
Declaration
public ImportDanglingIndexDescriptor Timeout(Time timeout)
Parameters
Type | Name | Description |
---|---|---|
Time | timeout |
Returns
Type | Description |
---|---|
ImportDanglingIndexDescriptor |