SDK reference / Models / DbMigration

MigrationProject

Kind: class

Namespace: Egulu.Sdk.Models.DbMigration

A migration project: one source, one target, one mode, and the run's state.

Properties

NameTypeJSON nameDescription
AnnotationsModels.DbMigration.MigrationProject_annotations?annotationsAt most 256 KiB in all; never policy input.
AssessedTimeDateTimeOffset?assessedTimeWhen the assessment was made.
AssessmentModels.DbMigration.MigrationAssessment?assessmentThe latest assessment; absent until :assess has finished.
Attemptint?attemptHow many times a copy has been started.
BackendModestring?backendModeSIMULATED or the real copy's backend.
BlockerCountint?blockerCountHow many blockers the latest assessment holds; :start needs none.
BytesCopiedlong?bytesCopiedThe bytesCopied property
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
EndTimeDateTimeOffset?endTimeThe endTime property
ErrorMessagestring?errorMessageThe engine's message when the run failed, with credentials removed.
Etagstring?etag"{generation}"; send it back in If-Match.
LabelsModels.DbMigration.MigrationProject_labels?labelsAt most 64.
LagByteslong?lagBytesChange-streaming lag in bytes.
LagSecondsdouble?lagSecondsChange-streaming lag in seconds (CONTINUOUS), absent before streaming starts.
Locationstring?locationThe location property
ModeModels.DbMigration.MigrationProject_mode?modeONE_SHOT or CONTINUOUS; fixed once a run has started.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
RowsCopiedlong?rowsCopiedThe rowsCopied property
RowsTotallong?rowsTotalThe rowsTotal property
Simulatedbool?simulatedTrue when the lab's simulated driver, not a real copy, ran the project.
SourceModels.DbMigration.MigrationSource?sourceWhere the data comes from. The host must be a public name or address (a private one only through a private path of the project's network); the port one of the engine's usual ports.
StartTimeDateTimeOffset?startTimeThe startTime property
StateModels.DbMigration.MigrationProject_state?stateThe state property
StateReasonstring?stateReasonWhy the project is in this state, in words.
TargetModels.DbMigration.MigrationTarget?targetThe managed instance the data is copied into. It must be in this project and location, ready, and empty.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property
VerificationModels.DbMigration.MigrationVerification?verificationThe cut-over comparison; absent until a cut-over has been tried.