Edit

Migration interface

An Enterprise Live Migration

Properties

agentPoolName

The name of the agent pool used to run the migration pipeline.

changedBy

The identity that last changed this migration.

changedDate

The UTC date/time this migration was last changed.

codeSyncDate

The UTC date/time of the last successful code synchronization pass.

configOptions

Configuration options for the migration.

createdBy

The identity that created this migration.

createdDate

The UTC date/time this migration was created.

errorMessage

The error that caused this migration to fail.

pullRequestSyncDate

The UTC date/time of the last successful pull request synchronization pass.

repositoryId

RepositoryId

scheduledCutoverDate

The UTC date/time representing when the cutover is to occur.

serviceEndpointId

The ID of the GitHub Enterprise Server service connection that holds the PAT used to authenticate against the target GitHub Enterprise Server.

skipValidation

The pre-migration validation policies that are being skipped.

stage

The current stage of the migration (Queued, Validation, Synchronization, Cutover, Migrated).

status

If the migration is 'active', 'complete', or 'failed'.

targetOwnerUserId

The ID of the user that will end up owning the migrated repository.

targetRepository

URL identifying the destination respository of migration.

validateOnly

True if the migration should only perform pre-migration validation.

validationIssues

A list of any issues found during pre-migration checks.

Property Details

agentPoolName

The name of the agent pool used to run the migration pipeline.

agentPoolName: string

Property Value

string

changedBy

The identity that last changed this migration.

changedBy: IdentityRef

Property Value

changedDate

The UTC date/time this migration was last changed.

changedDate: Date

Property Value

Date

codeSyncDate

The UTC date/time of the last successful code synchronization pass.

codeSyncDate: Date

Property Value

Date

configOptions

Configuration options for the migration.

configOptions: ElmConfigOptions

Property Value

createdBy

The identity that created this migration.

createdBy: IdentityRef

Property Value

createdDate

The UTC date/time this migration was created.

createdDate: Date

Property Value

Date

errorMessage

The error that caused this migration to fail.

errorMessage: string

Property Value

string

pullRequestSyncDate

The UTC date/time of the last successful pull request synchronization pass.

pullRequestSyncDate: Date

Property Value

Date

repositoryId

RepositoryId

repositoryId: string

Property Value

string

scheduledCutoverDate

The UTC date/time representing when the cutover is to occur.

scheduledCutoverDate: Date

Property Value

Date

serviceEndpointId

The ID of the GitHub Enterprise Server service connection that holds the PAT used to authenticate against the target GitHub Enterprise Server.

serviceEndpointId: string

Property Value

string

skipValidation

The pre-migration validation policies that are being skipped.

skipValidation: SkipValidationPolicy

Property Value

stage

The current stage of the migration (Queued, Validation, Synchronization, Cutover, Migrated).

stage: MigrationStage

Property Value

status

If the migration is 'active', 'complete', or 'failed'.

status: MigrationStatus

Property Value

targetOwnerUserId

The ID of the user that will end up owning the migrated repository.

targetOwnerUserId: string

Property Value

string

targetRepository

URL identifying the destination respository of migration.

targetRepository: string

Property Value

string

validateOnly

True if the migration should only perform pre-migration validation.

validateOnly: boolean

Property Value

boolean

validationIssues

A list of any issues found during pre-migration checks.

validationIssues: string[]

Property Value

string[]