Class DeleteScriptDescriptor
Descriptor for DeleteScript
Inheritance
DeleteScriptDescriptor
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class DeleteScriptDescriptor : RequestDescriptorBase<DeleteScriptDescriptor, DeleteScriptRequestParameters, IDeleteScriptRequest>, IDescriptor, IDeleteScriptRequest, IRequest<DeleteScriptRequestParameters>, IRequest
Constructors
| Edit this page View SourceDeleteScriptDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected DeleteScriptDescriptor()
DeleteScriptDescriptor(Id)
/_scripts/{id}
Declaration
public DeleteScriptDescriptor(Id id)
Parameters
Type | Name | Description |
---|---|---|
Id | id | this parameter is required |
Methods
| Edit this page View SourceClusterManagerTimeout(Time)
Specify timeout for connection to cluster_manager node
Declaration
public DeleteScriptDescriptor ClusterManagerTimeout(Time timeout)
Parameters
Type | Name | Description |
---|---|---|
Time | timeout |
Returns
Type | Description |
---|---|
DeleteScriptDescriptor |
Remarks
Introduced in OpenSearch 2.0 instead of MasterTimeout(Time)
MasterTimeout(Time)
Specify timeout for connection to master node
Declaration
public DeleteScriptDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | mastertimeout |
Returns
Type | Description |
---|---|
DeleteScriptDescriptor |
Remarks
Deprecated as of OpenSearch 2.0, use ClusterManagerTimeout(Time) instead
Timeout(Time)
Explicit operation timeout
Declaration
public DeleteScriptDescriptor Timeout(Time timeout)
Parameters
Type | Name | Description |
---|---|---|
Time | timeout |
Returns
Type | Description |
---|---|
DeleteScriptDescriptor |