Class AliasOperation
- Namespace
- Excalibur.Data.ElasticSearch.IndexManagement
- Assembly
- Excalibur.Data.ElasticSearch.dll
Represents an alias operation to be performed atomically.
public sealed class AliasOperation
- Inheritance
-
AliasOperation
- Inherited Members
Properties
AliasName
Gets the name of the alias.
public required string AliasName { get; init; }
Property Value
- string
The alias name.
ConfigurationJson
Gets the alias configuration for add operations as opaque JSON.
public JsonElement? ConfigurationJson { get; init; }
Property Value
- JsonElement?
The alias configuration as a JSON element, or null if not specified.
IndexName
Gets the name of the index.
public required string IndexName { get; init; }
Property Value
- string
The index name.
MustExist
Gets whether a missing removal target must reject the entire alias transaction.
public bool MustExist { get; init; }
Property Value
- bool
True for a conditional generation replacement.
OperationType
Gets the type of alias operation.
public required AliasOperationType OperationType { get; init; }
Property Value
- AliasOperationType
The operation type (add, remove).