Table of Contents

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

DateTimeOffset?

CompletedItems

Gets the number of items completed.

public required int CompletedItems { get; init; }

Property Value

int

Details

Gets additional details about the migration.

public IReadOnlyDictionary<string, string>? Details { get; init; }

Property Value

IReadOnlyDictionary<string, string>

ErrorMessage

Gets the error message if the migration failed or was cancelled.

public string? ErrorMessage { get; init; }

Property Value

string

FailedItems

Gets the number of items that failed.

public required int FailedItems { get; init; }

Property Value

int

LastUpdatedAt

Gets the timestamp when the migration last updated.

public required DateTimeOffset LastUpdatedAt { get; init; }

Property Value

DateTimeOffset

MigrationId

Gets the unique identifier for this migration.

public required string MigrationId { get; init; }

Property Value

string

PercentComplete

Gets the completion percentage.

public double PercentComplete { get; }

Property Value

double

StartedAt

Gets the timestamp when the migration started.

public required DateTimeOffset StartedAt { get; init; }

Property Value

DateTimeOffset

State

Gets the current state of the migration.

public required MigrationState State { get; init; }

Property Value

MigrationState

SucceededItems

Gets the number of items that succeeded.

public required int SucceededItems { get; init; }

Property Value

int

TotalItems

Gets the total number of items to migrate.

public required int TotalItems { get; init; }

Property Value

int