Class AliasPointingToIndexExtensions
Inherited Members
Namespace: OpenSearch .Client
Assembly: OpenSearch.Client.dll
Syntax
public static class AliasPointingToIndexExtensions
Methods
| Edit this page View SourceGetAliasesPointingToIndex(IOpenSearchClient, IndexName)
Returns a dictionary of aliases that point to the specified index, simplified version of
Get
Declaration
public static IReadOnlyDictionary<string, AliasDefinition> GetAliasesPointingToIndex(this IOpenSearchClient client, IndexName index)
Parameters
Type | Name | Description |
---|---|---|
IOpen |
client | |
Index |
index | The index name we want to know aliases of |
Returns
Type | Description |
---|---|
IRead |
GetAliasesPointingToIndexAsync(IOpenSearchClient, IndexName)
Returns a dictionary of aliases that point to the specified index, simplified version of
Get
Declaration
public static Task<IReadOnlyDictionary<string, AliasDefinition>> GetAliasesPointingToIndexAsync(this IOpenSearchClient client, IndexName index)
Parameters
Type | Name | Description |
---|---|---|
IOpen |
client | |
Index |
index | The index name we want to know aliases of |
Returns
Type | Description |
---|---|
Task<IRead |