Class ImportDanglingIndexRequest
Request for ImportDanglingIndex
https://opensearch.org/docs/latest/api-reference/index-apis/dangling-index/
Inheritance
ImportDanglingIndexRequest
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class ImportDanglingIndexRequest : PlainRequestBase<ImportDanglingIndexRequestParameters>, IImportDanglingIndexRequest, IRequest<ImportDanglingIndexRequestParameters>, IRequest
Constructors
| Edit this page View SourceImportDanglingIndexRequest()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected ImportDanglingIndexRequest()
ImportDanglingIndexRequest(IndexUuid)
/_dangling/{index_uuid}
Declaration
public ImportDanglingIndexRequest(IndexUuid indexUuid)
Parameters
Type | Name | Description |
---|---|---|
IndexUuid | indexUuid | this parameter is required |
Properties
| Edit this page View SourceAcceptDataLoss
Must be set to true in order to import the dangling index.
Declaration
public bool? AcceptDataLoss { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ClusterManagerTimeout
Operation timeout for connection to cluster-manager node.
Declaration
public Time ClusterManagerTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
MasterTimeout
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 Time MasterTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Self
Declaration
protected IImportDanglingIndexRequest Self { get; }
Property Value
Type | Description |
---|---|
IImportDanglingIndexRequest |
Timeout
Explicit operation timeout.
Declaration
public Time Timeout { get; set; }
Property Value
Type | Description |
---|---|
Time |