Class IndicesPointingToAliasExtensions
Implements several handy alias extensions.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public static class IndicesPointingToAliasExtensions
Methods
| Edit this page View SourceGetIndicesPointingToAlias(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> |
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>> |