Table of Contents

Class MigrationConstructAccountingReport

Namespace
Honua.Sdk.Admin.Models
Assembly
Honua.Sdk.Admin.dll

Pre-apply accounting of every construct discovered on the source against a service migration's selection.

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

Properties

Differences

Differences the accounting contributes to the fidelity verdict, ordered by code then subject. Empty when the server omits the field.

[JsonPropertyName("differences")]
public IReadOnlyList<MigrationFidelityDifference> Differences { get; init; }

Property Value

IReadOnlyList<MigrationFidelityDifference>

DiscoveredResourceCount

Layers and tables discovered on the source.

[JsonPropertyName("discoveredResourceCount")]
public int DiscoveredResourceCount { get; init; }

Property Value

int

Entries

One entry per accounted construct, ordered by source id then construct.

[JsonPropertyName("entries")]
public IReadOnlyList<MigrationConstructAccountingEntry> Entries { get; init; }

Property Value

IReadOnlyList<MigrationConstructAccountingEntry>

Executed

True when a source manifest was available and every discovered construct was accounted. When false, NotExecutedReason says why and full fidelity cannot be proven.

[JsonPropertyName("executed")]
public bool Executed { get; init; }

Property Value

bool

IsBlocking

True when at least one difference is blocking. Matches the server's isBlocking field, which is derived from Differences rather than stored.

[JsonIgnore]
public bool IsBlocking { get; }

Property Value

bool

MatrixVersion

Construct-matrix version the accounting ran against.

[JsonPropertyName("matrixVersion")]
public string MatrixVersion { get; init; }

Property Value

string

NotExecutedReason

Why the accounting did not run, when Executed is false.

[JsonPropertyName("notExecutedReason")]
public string? NotExecutedReason { get; init; }

Property Value

string

SelectedResourceCount

Layers and tables in the migration selection.

[JsonPropertyName("selectedResourceCount")]
public int SelectedResourceCount { get; init; }

Property Value

int