Search Results for

    Show / Hide Table of Contents

    Class PutComponentTemplateRequestParameters

    Request options for PutComponentTemplate

    <p>https://docs.opensearch.org/latest/im-plugin/index-templates/#use-component-templates-to-create-an-index-template</p>
    
    Inheritance
    object
    RequestParameters<PutComponentTemplateRequestParameters>
    PutComponentTemplateRequestParameters
    Implements
    IRequestParameters
    Inherited Members
    RequestParameters<PutComponentTemplateRequestParameters>.CustomResponseBuilder
    RequestParameters<PutComponentTemplateRequestParameters>.QueryString
    RequestParameters<PutComponentTemplateRequestParameters>.RequestConfiguration
    RequestParameters<PutComponentTemplateRequestParameters>.ContainsQueryString(string)
    RequestParameters<PutComponentTemplateRequestParameters>.GetQueryStringValue<TOut>(string)
    RequestParameters<PutComponentTemplateRequestParameters>.GetResolvedQueryStringValue(string, IConnectionConfigurationValues)
    RequestParameters<PutComponentTemplateRequestParameters>.SetQueryString(string, object)
    RequestParameters<PutComponentTemplateRequestParameters>.Q<TOut>(string)
    RequestParameters<PutComponentTemplateRequestParameters>.Q(string, object)
    RequestParameters<PutComponentTemplateRequestParameters>.SetAcceptHeader(string)
    RequestParameters<PutComponentTemplateRequestParameters>.SetAcceptHeader(Enum)
    RequestParameters<PutComponentTemplateRequestParameters>.AcceptHeaderFromFormat(string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Net.Specification.ClusterApi
    Assembly: OpenSearch.Net.dll
    Syntax
    public class PutComponentTemplateRequestParameters : RequestParameters<PutComponentTemplateRequestParameters>, IRequestParameters

    Properties

    | Edit this page View Source

    ClusterManagerTimeout

    The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see Common parameters.

    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

    Create

    When true, this request cannot replace or update existing component templates.

    Declaration
    public bool? Create { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    DefaultHttpMethod

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

    MasterTimeout

    A duration. Units can be nanos, micros, ms (milliseconds), s (seconds), m (minutes), h (hours) and d (days). Also accepts 0 without a unit and -1 to indicate an unspecified value.

    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

    OperationName

    The OpenSearch REST API operation name this request maps to (for example search or indices.create), used as the OpenTelemetry span name and db.operation tag. null for requests that do not correspond to a named API operation.

    Declaration
    public override string OperationName { get; }
    Property Value
    Type Description
    string
    Overrides
    RequestParameters<PutComponentTemplateRequestParameters>.OperationName
    | Edit this page View Source

    SupportsBody

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

    Timeout

    A duration. Units can be nanos, micros, ms (milliseconds), s (seconds), m (minutes), h (hours) and d (days). Also accepts 0 without a unit and -1 to indicate an unspecified value.

    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
    Back to top Generated by DocFX