Class DeleteDanglingIndexDescriptor
Descriptor for DeleteDanglingIndex
https://opensearch.org/docs/latest/api-reference/index-apis/dangling-index/
Inheritance
RequestDescriptorBase<DeleteDanglingIndexDescriptor, DeleteDanglingIndexRequestParameters, IDeleteDanglingIndexRequest>
DeleteDanglingIndexDescriptor
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class DeleteDanglingIndexDescriptor : RequestDescriptorBase<DeleteDanglingIndexDescriptor, DeleteDanglingIndexRequestParameters, IDeleteDanglingIndexRequest>, IDescriptor, IDeleteDanglingIndexRequest, IRequest<DeleteDanglingIndexRequestParameters>, IRequest
Constructors
| Edit this page View SourceDeleteDanglingIndexDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected DeleteDanglingIndexDescriptor()
DeleteDanglingIndexDescriptor(IndexUuid)
/_dangling/{index_uuid}
Declaration
public DeleteDanglingIndexDescriptor(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 delete the dangling index.
Declaration
public DeleteDanglingIndexDescriptor AcceptDataLoss(bool? acceptdataloss = true)
Parameters
Type | Name | Description |
---|---|---|
bool? | acceptdataloss |
Returns
Type | Description |
---|---|
DeleteDanglingIndexDescriptor |
ClusterManagerTimeout(Time)
Operation timeout for connection to cluster-manager node.
Declaration
public DeleteDanglingIndexDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | clustermanagertimeout |
Returns
Type | Description |
---|---|
DeleteDanglingIndexDescriptor |
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 DeleteDanglingIndexDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | mastertimeout |
Returns
Type | Description |
---|---|
DeleteDanglingIndexDescriptor |
Timeout(Time)
Explicit operation timeout.
Declaration
public DeleteDanglingIndexDescriptor Timeout(Time timeout)
Parameters
Type | Name | Description |
---|---|---|
Time | timeout |
Returns
Type | Description |
---|---|
DeleteDanglingIndexDescriptor |