Class DeleteScriptDescriptor
Descriptor for DeleteScript
https://opensearch.org/docs/latest/api-reference/script-apis/delete-script/
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)
Operation timeout for connection to cluster-manager node.
Declaration
public DeleteScriptDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | clustermanagertimeout |
Returns
Type | Description |
---|---|
DeleteScriptDescriptor |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
MasterTimeout(Time)
Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.
Declaration
[Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use `cluster_manager_timeout` instead.")]
public DeleteScriptDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | mastertimeout |
Returns
Type | Description |
---|---|
DeleteScriptDescriptor |
Timeout(Time)
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
Declaration
public DeleteScriptDescriptor Timeout(Time timeout)
Parameters
Type | Name | Description |
---|---|---|
Time | timeout |
Returns
Type | Description |
---|---|
DeleteScriptDescriptor |