Class KeyRotationBatchResult
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Represents the result of a batch key rotation check operation.
public sealed record KeyRotationBatchResult : IEquatable<KeyRotationBatchResult>
- Inheritance
-
KeyRotationBatchResult
- Implements
- Inherited Members
Properties
AllSucceeded
Gets a value indicating whether all due rotations succeeded.
public bool AllSucceeded { get; }
Property Value
CompletedAt
Gets the timestamp when the batch operation completed.
public DateTimeOffset CompletedAt { get; init; }
Property Value
Duration
Gets the duration of the batch operation.
public TimeSpan Duration { get; }
Property Value
Errors
Gets the errors encountered during the batch operation.
public IReadOnlyList<KeyRotationError> Errors { get; init; }
Property Value
KeysChecked
Gets the total number of keys checked.
public int KeysChecked { get; init; }
Property Value
KeysDueForRotation
Gets the number of keys that were due for rotation.
public int KeysDueForRotation { get; init; }
Property Value
KeysFailed
Gets the number of keys that failed to rotate.
public int KeysFailed { get; init; }
Property Value
KeysRotated
Gets the number of keys successfully rotated.
public int KeysRotated { get; init; }
Property Value
Results
Gets the individual rotation results for keys that were rotated or attempted.
public IReadOnlyList<KeyRotationResult> Results { get; init; }
Property Value
StartedAt
Gets the timestamp when the batch operation started.
public DateTimeOffset StartedAt { get; init; }
Property Value
Methods
Empty()
Creates an empty result for when no keys were found.
public static KeyRotationBatchResult Empty()