Class MigrationBatchResponse
Response for batch start and batch status polling
(POST /api/v1/admin/import/migrations, GET .../{batchId}).
public sealed record MigrationBatchResponse : IEquatable<MigrationBatchResponse>
- Inheritance
-
MigrationBatchResponse
- Implements
- Inherited Members
Properties
ApplyRelationships
Whether relationship-apply was requested.
[JsonPropertyName("applyRelationships")]
public bool ApplyRelationships { get; init; }
Property Value
BatchId
Stable batch id.
[JsonPropertyName("batchId")]
public required string BatchId { get; init; }
Property Value
CancelledChildren
Number of cancelled children.
[JsonPropertyName("cancelledChildren")]
public int CancelledChildren { get; init; }
Property Value
Children
Per-child progress, ordered by execution ordinal.
[JsonPropertyName("children")]
public IReadOnlyList<MigrationBatchChildResponse> Children { get; init; }
Property Value
CompletedAt
UTC completion instant, null while running.
[JsonPropertyName("completedAt")]
public DateTimeOffset? CompletedAt { get; init; }
Property Value
ConstructAccounting
Pre-apply accounting of every construct discovered on the source against this batch's selection. Present from the moment the batch starts; its differences fold into FidelityVerdict when the batch finishes.
[JsonPropertyName("constructAccounting")]
public MigrationConstructAccountingReport? ConstructAccounting { get; init; }
Property Value
FailedChildren
Number of failed children.
[JsonPropertyName("failedChildren")]
public int FailedChildren { get; init; }
Property Value
FidelityDifferences
Per-resource differences that produced FidelityVerdict, ordered by code then subject. Empty when the server omits the field.
[JsonPropertyName("fidelityDifferences")]
public IReadOnlyList<MigrationFidelityDifference> FidelityDifferences { get; init; }
Property Value
FidelityVerdict
Service-level migration fidelity verdict, such as full-fidelity, unverified, or
incomplete. Null while the batch is running. Kept as a string so the server can add
verdicts. Status says whether the batch finished; this says whether the migrated service is
proven equivalent to the source.
[JsonPropertyName("fidelityVerdict")]
public string? FidelityVerdict { get; init; }
Property Value
RelationshipsApplied
Whether relationship-apply has run.
[JsonPropertyName("relationshipsApplied")]
public bool RelationshipsApplied { get; init; }
Property Value
SourceDisplayName
Operator-visible source display name.
[JsonPropertyName("sourceDisplayName")]
public string? SourceDisplayName { get; init; }
Property Value
SourceKind
Source kind.
[JsonPropertyName("sourceKind")]
public required string SourceKind { get; init; }
Property Value
SourceUrl
Redacted source URL.
[SuppressMessage("Design", "CA1056:URI-like properties should not be strings", Justification = "The migration run JSON contract represents source URLs as strings.")]
[JsonPropertyName("sourceUrl")]
public string SourceUrl { get; init; }
Property Value
StartedAt
UTC start instant.
[JsonPropertyName("startedAt")]
public DateTimeOffset StartedAt { get; init; }
Property Value
Status
Rolled-up batch status: running, succeeded, failed, cancelled, needs-review.
[JsonPropertyName("status")]
public required string Status { get; init; }
Property Value
StatusNote
Operator-visible note.
[JsonPropertyName("statusNote")]
public string? StatusNote { get; init; }
Property Value
SucceededChildren
Number of succeeded children.
[JsonPropertyName("succeededChildren")]
public int SucceededChildren { get; init; }
Property Value
TotalChildren
Total child layer imports in the footprint.
[JsonPropertyName("totalChildren")]
public int TotalChildren { get; init; }