Class GetScriptRequest
Request for GetScript
https://opensearch.org/docs/latest/api-reference/script-apis/get-stored-script/
Inheritance
GetScriptRequest
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class GetScriptRequest : PlainRequestBase<GetScriptRequestParameters>, IGetScriptRequest, IRequest<GetScriptRequestParameters>, IRequest
Constructors
| Edit this page View SourceGetScriptRequest()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected GetScriptRequest()
GetScriptRequest(Id)
/_scripts/{id}
Declaration
public GetScriptRequest(Id id)
Parameters
Type | Name | Description |
---|---|---|
Id | id | this parameter is required |
Properties
| Edit this page View SourceClusterManagerTimeout
Operation timeout for connection to cluster-manager node.
Declaration
public Time ClusterManagerTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
MasterTimeout
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 Time MasterTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Self
Declaration
protected IGetScriptRequest Self { get; }
Property Value
Type | Description |
---|---|
IGetScriptRequest |