Search Results for

    Show / Hide Table of Contents

    Class IndicesPointingToAliasExtensions

    Implements several handy alias extensions.

    Inheritance
    object
    IndicesPointingToAliasExtensions
    Inherited Members
    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 static class IndicesPointingToAliasExtensions

    Methods

    | Edit this page View Source

    GetIndicesPointingToAlias(IOpenSearchClient, Names)

    Returns a collection of indices that have the specified alias(es) applied to them. Simplified version of GetAlias.

    Declaration
    public static IReadOnlyCollection<string> GetIndicesPointingToAlias(this IOpenSearchClient client, Names alias)
    Parameters
    Type Name Description
    IOpenSearchClient client

    The client

    Names alias

    The alias name(s)

    Returns
    Type Description
    IReadOnlyCollection<string>
    | Edit this page View Source

    GetIndicesPointingToAliasAsync(IOpenSearchClient, Names)

    Returns a collection of indices that have the specified alias(es) applied to them. Simplified version of GetAlias.

    Declaration
    public static Task<IReadOnlyCollection<string>> GetIndicesPointingToAliasAsync(this IOpenSearchClient client, Names alias)
    Parameters
    Type Name Description
    IOpenSearchClient client

    The client

    Names alias

    The alias name(s)

    Returns
    Type Description
    Task<IReadOnlyCollection<string>>
    • Edit this page
    • View Source
    In this article
    • Methods
      • GetIndicesPointingToAlias(IOpenSearchClient, Names)
      • GetIndicesPointingToAliasAsync(IOpenSearchClient, Names)
    Back to top Generated by DocFX