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 GetAlias(IGetAliasRequest)..
Declaration
public static IReadOnlyDictionary<string, AliasDefinition> GetAliasesPointingToIndex(this IOpenSearchClient client, IndexName index)
Parameters
Type | Name | Description |
---|---|---|
IOpenSearchClient | client | |
IndexName | index | The index name we want to know aliases of |
Returns
Type | Description |
---|---|
IReadOnlyDictionary<string, AliasDefinition> |
GetAliasesPointingToIndexAsync(IOpenSearchClient, IndexName)
Returns a dictionary of aliases that point to the specified index, simplified version of GetAlias(IGetAliasRequest)..
Declaration
public static Task<IReadOnlyDictionary<string, AliasDefinition>> GetAliasesPointingToIndexAsync(this IOpenSearchClient client, IndexName index)
Parameters
Type | Name | Description |
---|---|---|
IOpenSearchClient | client | |
IndexName | index | The index name we want to know aliases of |
Returns
Type | Description |
---|---|
Task<IReadOnlyDictionary<string, AliasDefinition>> |