Table of Contents

Class EncryptionBatchMigrationResult

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

Represents the result of a batch encryption migration operation.

public sealed record EncryptionBatchMigrationResult : IEquatable<EncryptionBatchMigrationResult>
Inheritance
EncryptionBatchMigrationResult
Implements
Inherited Members

Properties

CompletedAt

Gets the timestamp when the migration completed.

public required DateTimeOffset CompletedAt { get; init; }

Property Value

DateTimeOffset

Duration

Gets the total duration of the batch migration.

public required TimeSpan Duration { get; init; }

Property Value

TimeSpan

FailedCount

Gets the number of items that failed migration.

public required int FailedCount { get; init; }

Property Value

int

FailureResults

Gets the failed migration results indexed by item ID.

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

Property Value

IReadOnlyDictionary<string, EncryptionMigrationResult>

IsPartialSuccess

Gets a value indicating whether the migration was partially successful.

public bool IsPartialSuccess { get; }

Property Value

bool

MigrationId

Gets the migration identifier for this batch.

public required string MigrationId { get; init; }

Property Value

string

SkippedCount

Gets the number of items that were skipped.

public int SkippedCount { get; init; }

Property Value

int

StartedAt

Gets the timestamp when the migration started.

public required DateTimeOffset StartedAt { get; init; }

Property Value

DateTimeOffset

SucceededCount

Gets the number of items that were successfully migrated.

public required int SucceededCount { get; init; }

Property Value

int

Success

Gets a value indicating whether all items were migrated successfully.

public required bool Success { get; init; }

Property Value

bool

SuccessRate

Gets the success rate as a percentage.

public double SuccessRate { get; }

Property Value

double

SuccessResults

Gets the successful migration results indexed by item ID.

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

Property Value

IReadOnlyDictionary<string, EncryptionMigrationResult>

TotalItems

Gets the total number of items in the batch.

public required int TotalItems { get; init; }

Property Value

int