Class DeleteByQueryRethrottleDescriptor
Rethrottles a running delete by query
Inheritance
RequestDescriptorBase<DeleteByQueryRethrottleDescriptor, DeleteByQueryRethrottleRequestParameters, IDeleteByQueryRethrottleRequest>
DeleteByQueryRethrottleDescriptor
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class DeleteByQueryRethrottleDescriptor : RequestDescriptorBase<DeleteByQueryRethrottleDescriptor, DeleteByQueryRethrottleRequestParameters, IDeleteByQueryRethrottleRequest>, IDescriptor, IDeleteByQueryRethrottleRequest, IRequest<DeleteByQueryRethrottleRequestParameters>, IRequest
Constructors
| Edit this page View SourceDeleteByQueryRethrottleDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected DeleteByQueryRethrottleDescriptor()
DeleteByQueryRethrottleDescriptor(TaskId)
/_delete_by_query/{task_id}/_rethrottle
Declaration
public DeleteByQueryRethrottleDescriptor(TaskId taskId)
Parameters
Type | Name | Description |
---|---|---|
TaskId | taskId | this parameter is required |
Methods
| Edit this page View SourceRequestsPerSecond(long?)
The throttle for this request in sub-requests per second.
Declaration
public DeleteByQueryRethrottleDescriptor RequestsPerSecond(long? requestspersecond)
Parameters
Type | Name | Description |
---|---|---|
long? | requestspersecond |
Returns
Type | Description |
---|---|
DeleteByQueryRethrottleDescriptor |