SearchModelFactory.SearchAlias Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an index alias, which describes a mapping from the alias name to an index. The alias name can be used in place of the index name for supported operations.
public static Azure.Search.Documents.Indexes.Models.SearchAlias SearchAlias(string name = default, System.Collections.Generic.IEnumerable<string> indexes = default, string etag = default);
static member SearchAlias : string * seq<string> * string -> Azure.Search.Documents.Indexes.Models.SearchAlias
Public Shared Function SearchAlias (Optional name As String = Nothing, Optional indexes As IEnumerable(Of String) = Nothing, Optional etag As String = Nothing) As SearchAlias
Parameters
- name
- String
The name of the alias.
- indexes
- IEnumerable<String>
The name of the index this alias maps to. Only one index name may be specified.
- etag
- String
The ETag of the alias.
Returns
A new SearchAlias instance for mocking.