Class GetScriptDescriptor
Descriptor for GetScript
https://opensearch.org/docs/latest/api-reference/script-apis/get-stored-script/
Inheritance
GetScriptDescriptor
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class GetScriptDescriptor : RequestDescriptorBase<GetScriptDescriptor, GetScriptRequestParameters, IGetScriptRequest>, IDescriptor, IGetScriptRequest, IRequest<GetScriptRequestParameters>, IRequest
Constructors
| Edit this page View SourceGetScriptDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected GetScriptDescriptor()
GetScriptDescriptor(Id)
/_scripts/{id}
Declaration
public GetScriptDescriptor(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 GetScriptDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | clustermanagertimeout |
Returns
Type | Description |
---|---|
GetScriptDescriptor |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
MasterTimeout(Time)
Specify timeout for connection to master.
Declaration
[Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use 'cluster_manager_timeout' instead.")]
public GetScriptDescriptor MasterTimeout(Time mastertimeout)
Parameters
Type | Name | Description |
---|---|---|
Time | mastertimeout |
Returns
Type | Description |
---|---|
GetScriptDescriptor |