Class DatabaseMigrationOperationalExecutionGroup
Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll
Describes one engine-owned execution group in the database-migration playbook.
public sealed class DatabaseMigrationOperationalExecutionGroupInheritance
Section titled “Inheritance”object ← DatabaseMigrationOperationalExecutionGroup
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”DatabaseMigrationOperationalExecutionGroup(int, string, string, DatabaseMigrationStatus, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, int, int, int, IReadOnlyList<DatabaseMigrationOperationalExecutionGroupCommand>?, IReadOnlyList<DatabaseMigrationOperationalExecutionGroupCommand>?, string?)
Section titled “ DatabaseMigrationOperationalExecutionGroup(int, string, string, DatabaseMigrationStatus, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, int, int, int, IReadOnlyList<DatabaseMigrationOperationalExecutionGroupCommand>?, IReadOnlyList<DatabaseMigrationOperationalExecutionGroupCommand>?, string?)”Creates a new database-migration execution group.
public DatabaseMigrationOperationalExecutionGroup(int order, string physicalTargetId, string physicalTargetDisplayName, DatabaseMigrationStatus status, IReadOnlyList<string>? databaseMigrationIds = null, IReadOnlyList<string>? requestedRoleIds = null, IReadOnlyList<string>? resolvedRoleIds = null, int productionReadyTargetCount = 0, int manualPathTargetCount = 0, int applyOnStartupTargetCount = 0, IReadOnlyList<DatabaseMigrationOperationalExecutionGroupCommand>? productionCommands = null, IReadOnlyList<DatabaseMigrationOperationalExecutionGroupCommand>? manualCommands = null, string? coordinationHint = null)Parameters
Section titled “Parameters”order int
The positive execution-group order in the playbook.
physicalTargetId string
The stable physical-target identifier that anchors this execution group. When the runtime cannot resolve a physical database identity, the engine uses a logical fallback identifier instead of leaving the group anonymous.
physicalTargetDisplayName string
The operator-facing description of the physical target that anchors this group.
status DatabaseMigrationStatus
The aggregate execution status across the logical migration targets in this group.
databaseMigrationIds IReadOnlyList<string>?
The logical migration targets that belong to this execution group.
requestedRoleIds IReadOnlyList<string>?
The logical requested role ids represented in this group.
resolvedRoleIds IReadOnlyList<string>?
The concrete resolved role ids represented in this group.
productionReadyTargetCount int
The number of targets in this group that publish a production-recommended command.
manualPathTargetCount int
The number of targets in this group that publish a direct or manual command path.
applyOnStartupTargetCount int
The number of targets in this group that are configured for startup execution.
productionCommands IReadOnlyList<DatabaseMigrationOperationalExecutionGroupCommand>?
The selected production-recommended commands grouped for this physical-target batch.
manualCommands IReadOnlyList<DatabaseMigrationOperationalExecutionGroupCommand>?
The selected direct or manual commands grouped for this physical-target batch.
coordinationHint string?
The operator-facing coordination guidance for shared physical targets, when available.
Properties
Section titled “Properties”ApplyOnStartupTargetCount
Section titled “ ApplyOnStartupTargetCount”Gets the number of targets in this group that are configured for startup execution.
public int ApplyOnStartupTargetCount { get; }Property Value
Section titled “Property Value”CoordinationHint
Section titled “ CoordinationHint”Gets the operator-facing coordination guidance for shared physical targets, when available.
public string? CoordinationHint { get; }Property Value
Section titled “Property Value”DatabaseMigrationIds
Section titled “ DatabaseMigrationIds”Gets the logical migration targets that belong to this execution group.
public IReadOnlyList<string> DatabaseMigrationIds { get; }Property Value
Section titled “Property Value”HasManualCommandsForAllTargets
Section titled “ HasManualCommandsForAllTargets”Gets a value indicating whether every target in this group publishes a direct or manual command path.
public bool HasManualCommandsForAllTargets { get; }Property Value
Section titled “Property Value”HasProductionRecommendedCommandsForAllTargets
Section titled “ HasProductionRecommendedCommandsForAllTargets”Gets a value indicating whether every target in this group publishes a production-recommended command.
public bool HasProductionRecommendedCommandsForAllTargets { get; }Property Value
Section titled “Property Value”ManualCommandBatch
Section titled “ ManualCommandBatch”Gets the combined manual command-batch template for this physical-target batch, when available.
public DatabaseMigrationOperationalExecutionGroupCommandBatch? ManualCommandBatch { get; }Property Value
Section titled “Property Value”DatabaseMigrationOperationalExecutionGroupCommandBatch?
ManualCommands
Section titled “ ManualCommands”Gets the selected direct or manual commands grouped for this physical-target batch.
public IReadOnlyList<DatabaseMigrationOperationalExecutionGroupCommand> ManualCommands { get; }Property Value
Section titled “Property Value”IReadOnlyList<DatabaseMigrationOperationalExecutionGroupCommand>
ManualPathTargetCount
Section titled “ ManualPathTargetCount”Gets the number of targets in this group that publish a direct or manual command path.
public int ManualPathTargetCount { get; }Property Value
Section titled “Property Value”Gets the positive execution-group order in the playbook.
public int Order { get; }Property Value
Section titled “Property Value”PhysicalTargetDisplayName
Section titled “ PhysicalTargetDisplayName”Gets the operator-facing description of the physical target that anchors this group.
public string PhysicalTargetDisplayName { get; }Property Value
Section titled “Property Value”PhysicalTargetId
Section titled “ PhysicalTargetId”Gets the stable physical-target identifier that anchors this execution group.
public string PhysicalTargetId { get; }Property Value
Section titled “Property Value”ProductionCommandBatch
Section titled “ ProductionCommandBatch”Gets the combined production command-batch template for this physical-target batch, when available.
public DatabaseMigrationOperationalExecutionGroupCommandBatch? ProductionCommandBatch { get; }Property Value
Section titled “Property Value”DatabaseMigrationOperationalExecutionGroupCommandBatch?
ProductionCommands
Section titled “ ProductionCommands”Gets the selected production-recommended commands grouped for this physical-target batch.
public IReadOnlyList<DatabaseMigrationOperationalExecutionGroupCommand> ProductionCommands { get; }Property Value
Section titled “Property Value”IReadOnlyList<DatabaseMigrationOperationalExecutionGroupCommand>
ProductionReadyTargetCount
Section titled “ ProductionReadyTargetCount”Gets the number of targets in this group that publish a production-recommended command.
public int ProductionReadyTargetCount { get; }Property Value
Section titled “Property Value”RequestedRoleIds
Section titled “ RequestedRoleIds”Gets the logical requested role ids represented in this group.
public IReadOnlyList<string> RequestedRoleIds { get; }Property Value
Section titled “Property Value”RequiresPhysicalTargetCoordination
Section titled “ RequiresPhysicalTargetCoordination”Gets a value indicating whether this execution group spans multiple logical migration targets on one physical database target.
public bool RequiresPhysicalTargetCoordination { get; }Property Value
Section titled “Property Value”ResolvedRoleIds
Section titled “ ResolvedRoleIds”Gets the concrete resolved role ids represented in this group.
public IReadOnlyList<string> ResolvedRoleIds { get; }Property Value
Section titled “Property Value”Status
Section titled “ Status”Gets the aggregate execution status across the logical migration targets in this group.
public DatabaseMigrationStatus Status { get; }Property Value
Section titled “Property Value”TargetCount
Section titled “ TargetCount”Gets the number of logical migration targets represented in this group.
public int TargetCount { get; }