Class TemplateMigrationOptions
- Namespace
- Excalibur.Data.ElasticSearch.IndexManagement
- Assembly
- Excalibur.Data.ElasticSearch.dll
Represents options for controlling template migration operations.
public sealed class TemplateMigrationOptions
- Inheritance
-
TemplateMigrationOptions
- Inherited Members
Properties
CreateBackup
Gets a value indicating whether to create a backup of the existing template.
public bool CreateBackup { get; init; }
Property Value
- bool
True to create a backup, false otherwise. Defaults to true.
MigrationTimeout
Gets the maximum time to wait for migration completion.
public TimeSpan MigrationTimeout { get; init; }
Property Value
- TimeSpan
The migration timeout. Defaults to 5 minutes.
ValidateBeforeMigration
Gets a value indicating whether to perform validation before migration.
public bool ValidateBeforeMigration { get; init; }
Property Value
- bool
True to validate before migration, false otherwise. Defaults to true.