Class MigrationStatus
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Represents the current status of a migration operation.
public sealed record MigrationStatus : IEquatable<MigrationStatus>
- Inheritance
-
MigrationStatus
- Implements
- Inherited Members
Properties
CompletedAt
Gets the timestamp when the migration completed, if completed.
public DateTimeOffset? CompletedAt { get; init; }
Property Value
CompletedItems
Gets the number of items completed.
public required int CompletedItems { get; init; }
Property Value
Details
Gets additional details about the migration.
public IReadOnlyDictionary<string, string>? Details { get; init; }
Property Value
ErrorMessage
Gets the error message if the migration failed or was cancelled.
public string? ErrorMessage { get; init; }
Property Value
FailedItems
Gets the number of items that failed.
public required int FailedItems { get; init; }
Property Value
LastUpdatedAt
Gets the timestamp when the migration last updated.
public required DateTimeOffset LastUpdatedAt { get; init; }
Property Value
MigrationId
Gets the unique identifier for this migration.
public required string MigrationId { get; init; }
Property Value
PercentComplete
Gets the completion percentage.
public double PercentComplete { get; }
Property Value
StartedAt
Gets the timestamp when the migration started.
public required DateTimeOffset StartedAt { get; init; }
Property Value
State
Gets the current state of the migration.
public required MigrationState State { get; init; }
Property Value
SucceededItems
Gets the number of items that succeeded.
public required int SucceededItems { get; init; }
Property Value
TotalItems
Gets the total number of items to migrate.
public required int TotalItems { get; init; }