Search Results for

    Show / Hide Table of Contents

    Class PutScriptRequestParameters

    Request options for PutScript

    https://opensearch.org/docs/latest/api-reference/script-apis/create-stored-script/

    Inheritance
    object
    RequestParameters<PutScriptRequestParameters>
    PutScriptRequestParameters
    Implements
    IRequestParameters
    Inherited Members
    RequestParameters<PutScriptRequestParameters>.CustomResponseBuilder
    RequestParameters<PutScriptRequestParameters>.QueryString
    RequestParameters<PutScriptRequestParameters>.RequestConfiguration
    RequestParameters<PutScriptRequestParameters>.ContainsQueryString(string)
    RequestParameters<PutScriptRequestParameters>.GetQueryStringValue<TOut>(string)
    RequestParameters<PutScriptRequestParameters>.GetResolvedQueryStringValue(string, IConnectionConfigurationValues)
    RequestParameters<PutScriptRequestParameters>.SetQueryString(string, object)
    RequestParameters<PutScriptRequestParameters>.Q<TOut>(string)
    RequestParameters<PutScriptRequestParameters>.Q(string, object)
    RequestParameters<PutScriptRequestParameters>.SetAcceptHeader(string)
    RequestParameters<PutScriptRequestParameters>.AcceptHeaderFromFormat(string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Net
    Assembly: OpenSearch.Net.dll
    Syntax
    public class PutScriptRequestParameters : RequestParameters<PutScriptRequestParameters>, IRequestParameters

    Properties

    | Edit this page View Source

    ClusterManagerTimeout

    Operation timeout for connection to cluster-manager node.

    Declaration
    public TimeSpan ClusterManagerTimeout { get; set; }
    Property Value
    Type Description
    TimeSpan
    Remarks

    Supported by OpenSearch servers of version 2.0.0 or greater.

    | Edit this page View Source

    Context

    Context in which the script or search template should run. To prevent errors, the API immediately compiles the script or template in this context.

    Declaration
    public string Context { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    DefaultHttpMethod

    Declaration
    public override HttpMethod DefaultHttpMethod { get; }
    Property Value
    Type Description
    HttpMethod
    Overrides
    RequestParameters<PutScriptRequestParameters>.DefaultHttpMethod
    | Edit this page View Source

    MasterTimeout

    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 TimeSpan MasterTimeout { get; set; }
    Property Value
    Type Description
    TimeSpan
    | Edit this page View Source

    SupportsBody

    Declaration
    public override bool SupportsBody { get; }
    Property Value
    Type Description
    bool
    Overrides
    RequestParameters<PutScriptRequestParameters>.SupportsBody
    | Edit this page View Source

    Timeout

    Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.

    Declaration
    public TimeSpan Timeout { get; set; }
    Property Value
    Type Description
    TimeSpan

    Implements

    IRequestParameters

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • ClusterManagerTimeout
      • Context
      • DefaultHttpMethod
      • MasterTimeout
      • SupportsBody
      • Timeout
    • Implements
    • Extension Methods
    Back to top Generated by DocFX