SearchAlias Class
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 class SearchAlias : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.SearchAlias>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.SearchAlias>
type SearchAlias = class
interface IJsonModel<SearchAlias>
interface IPersistableModel<SearchAlias>
Public Class SearchAlias
Implements IJsonModel(Of SearchAlias), IPersistableModel(Of SearchAlias)
- Inheritance
-
SearchAlias
- Implements
Constructors
SearchAlias(String, IEnumerable<String>) |
Initializes a new instance of SearchAlias. |
SearchAlias(String, String) |
Initializes a new instance of SearchAlias. |
Properties
ETag |
The ETag of the SearchAlias. |
Indexes |
The name of the index this alias maps to. Only one index name may be specified. |
Name |
The name of the alias. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<SearchAlias>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<SearchAlias>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<SearchAlias>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<SearchAlias>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<SearchAlias>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |