Class DeleteRepositoryDescriptor
Descriptor for DeleteRepository
https://opensearch.org/docs/latest/api-reference/snapshots/delete-snapshot-repository/
Inheritance
RequestDescriptorBase<DeleteRepositoryDescriptor, DeleteRepositoryRequestParameters, IDeleteRepositoryRequest>
DeleteRepositoryDescriptor
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class DeleteRepositoryDescriptor : RequestDescriptorBase<DeleteRepositoryDescriptor, DeleteRepositoryRequestParameters, IDeleteRepositoryRequest>, IDescriptor, IDeleteRepositoryRequest, IRequest<DeleteRepositoryRequestParameters>, IRequest
Constructors
| Edit this page View SourceDeleteRepositoryDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected DeleteRepositoryDescriptor()
DeleteRepositoryDescriptor(Names)
/_snapshot/{repository}
Declaration
public DeleteRepositoryDescriptor(Names repository)
Parameters
Type | Name | Description |
---|---|---|
Names | repository | this parameter is required |
Methods
| Edit this page View SourceClusterManagerTimeout(Time)
Operation timeout for connection to cluster-manager node.
Declaration
public DeleteRepositoryDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | clustermanagertimeout |
Returns
Type | Description |
---|---|
DeleteRepositoryDescriptor |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
MasterTimeout(Time)
Explicit operation timeout for connection to cluster-manager node.
Declaration
[Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use `cluster_manager_timeout` instead.")]
public DeleteRepositoryDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | mastertimeout |
Returns
Type | Description |
---|---|
DeleteRepositoryDescriptor |
Timeout(Time)
Explicit operation timeout.
Declaration
public DeleteRepositoryDescriptor Timeout(Time timeout)
Parameters
Type | Name | Description |
---|---|---|
Time | timeout |
Returns
Type | Description |
---|---|
DeleteRepositoryDescriptor |