Search Results for

    Show / Hide Table of Contents

    Class ClusterAllocationExplainDescriptor

    Descriptor for AllocationExplain

    https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-allocation/

    Inheritance
    object
    RequestBase<ClusterAllocationExplainRequestParameters>
    RequestDescriptorBase<ClusterAllocationExplainDescriptor, ClusterAllocationExplainRequestParameters, IClusterAllocationExplainRequest>
    ClusterAllocationExplainDescriptor
    Implements
    IDescriptor
    IClusterAllocationExplainRequest
    IRequest<ClusterAllocationExplainRequestParameters>
    IRequest
    Inherited Members
    RequestDescriptorBase<ClusterAllocationExplainDescriptor, ClusterAllocationExplainRequestParameters, IClusterAllocationExplainRequest>.Self
    RequestDescriptorBase<ClusterAllocationExplainDescriptor, ClusterAllocationExplainRequestParameters, IClusterAllocationExplainRequest>.Assign<TValue>(TValue, Action<IClusterAllocationExplainRequest, TValue>)
    RequestDescriptorBase<ClusterAllocationExplainDescriptor, ClusterAllocationExplainRequestParameters, IClusterAllocationExplainRequest>.Qs(string, object)
    RequestDescriptorBase<ClusterAllocationExplainDescriptor, ClusterAllocationExplainRequestParameters, IClusterAllocationExplainRequest>.RequestConfiguration(Func<RequestConfigurationDescriptor, IRequestConfiguration>)
    RequestDescriptorBase<ClusterAllocationExplainDescriptor, ClusterAllocationExplainRequestParameters, IClusterAllocationExplainRequest>.ErrorTrace(bool?)
    RequestDescriptorBase<ClusterAllocationExplainDescriptor, ClusterAllocationExplainRequestParameters, IClusterAllocationExplainRequest>.FilterPath(params string[])
    RequestDescriptorBase<ClusterAllocationExplainDescriptor, ClusterAllocationExplainRequestParameters, IClusterAllocationExplainRequest>.FilterPath(IEnumerable<string>)
    RequestDescriptorBase<ClusterAllocationExplainDescriptor, ClusterAllocationExplainRequestParameters, IClusterAllocationExplainRequest>.Human(bool?)
    RequestDescriptorBase<ClusterAllocationExplainDescriptor, ClusterAllocationExplainRequestParameters, IClusterAllocationExplainRequest>.Pretty(bool?)
    RequestDescriptorBase<ClusterAllocationExplainDescriptor, ClusterAllocationExplainRequestParameters, IClusterAllocationExplainRequest>.SourceQueryString(string)
    RequestBase<ClusterAllocationExplainRequestParameters>.HttpMethod
    RequestBase<ClusterAllocationExplainRequestParameters>.RequestState
    RequestBase<ClusterAllocationExplainRequestParameters>.ContentType
    RequestBase<ClusterAllocationExplainRequestParameters>.ResolveUrl(RouteValues, IConnectionSettingsValues)
    RequestBase<ClusterAllocationExplainRequestParameters>.RequestDefaults(ClusterAllocationExplainRequestParameters)
    RequestBase<ClusterAllocationExplainRequestParameters>.Q<TOut>(string)
    RequestBase<ClusterAllocationExplainRequestParameters>.Q(string, object)
    RequestBase<ClusterAllocationExplainRequestParameters>.SetAcceptHeader(string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class ClusterAllocationExplainDescriptor : RequestDescriptorBase<ClusterAllocationExplainDescriptor, ClusterAllocationExplainRequestParameters, IClusterAllocationExplainRequest>, IDescriptor, IClusterAllocationExplainRequest, IRequest<ClusterAllocationExplainRequestParameters>, IRequest

    Methods

    | Edit this page View Source

    IncludeDiskInfo(bool?)

    When true, returns information about disk usage and shard sizes.

    Declaration
    public ClusterAllocationExplainDescriptor IncludeDiskInfo(bool? includediskinfo = true)
    Parameters
    Type Name Description
    bool? includediskinfo
    Returns
    Type Description
    ClusterAllocationExplainDescriptor
    | Edit this page View Source

    IncludeYesDecisions(bool?)

    When true, returns any YES decisions in the allocation explanation. YES decisions indicate when a particular shard allocation attempt was successful for the given node.

    Declaration
    public ClusterAllocationExplainDescriptor IncludeYesDecisions(bool? includeyesdecisions = true)
    Parameters
    Type Name Description
    bool? includeyesdecisions
    Returns
    Type Description
    ClusterAllocationExplainDescriptor
    | Edit this page View Source

    Index(IndexName)

    The name of the index to provide an explanation for

    Declaration
    public ClusterAllocationExplainDescriptor Index(IndexName index)
    Parameters
    Type Name Description
    IndexName index
    Returns
    Type Description
    ClusterAllocationExplainDescriptor
    | Edit this page View Source

    Index<TDocument>()

    The name of the index to provide an explanation for

    Declaration
    public ClusterAllocationExplainDescriptor Index<TDocument>()
    Returns
    Type Description
    ClusterAllocationExplainDescriptor
    Type Parameters
    Name Description
    TDocument
    | Edit this page View Source

    Primary(bool?)

    Whether to explain a primary or replica shard

    Declaration
    public ClusterAllocationExplainDescriptor Primary(bool? primary = true)
    Parameters
    Type Name Description
    bool? primary
    Returns
    Type Description
    ClusterAllocationExplainDescriptor
    | Edit this page View Source

    Shard(int?)

    The shard id to provide an explanation for

    Declaration
    public ClusterAllocationExplainDescriptor Shard(int? shard)
    Parameters
    Type Name Description
    int? shard
    Returns
    Type Description
    ClusterAllocationExplainDescriptor

    Implements

    IDescriptor
    IClusterAllocationExplainRequest
    IRequest<TParameters>
    IRequest

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Methods
      • IncludeDiskInfo(bool?)
      • IncludeYesDecisions(bool?)
      • Index(IndexName)
      • Index<TDocument>()
      • Primary(bool?)
      • Shard(int?)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX