MigrationResourceForPatch interface
Represents a migration resource for patch.
Properties
cancel | To trigger cancel for entire migration we need to send this flag as True |
dbs |
When you want to trigger cancel for specific databases send cancel flag as True and database names in this array |
dbs |
Number of databases to migrate |
dbs |
When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array |
migrate |
To migrate roles and permissions we need to send this flag as True |
migration |
There are two types of migration modes Online and Offline |
migration |
Start time in UTC for migration window |
overwrite |
Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists. |
secret |
Migration secret parameters |
setup |
Indicates whether to setup LogicalReplicationOnSourceDb, if needed |
source |
Source server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection |
source |
ResourceId of the source database server |
start |
Indicates whether the data migration should start right away |
tags | Application-specific metadata in the form of key-value pairs. |
target |
Target server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection |
trigger |
To trigger cutover for entire migration we need to send this flag as True |
Property Details
cancel
To trigger cancel for entire migration we need to send this flag as True
cancel?: string
Property Value
string
dbsToCancelMigrationOn
When you want to trigger cancel for specific databases send cancel flag as True and database names in this array
dbsToCancelMigrationOn?: string[]
Property Value
string[]
dbsToMigrate
Number of databases to migrate
dbsToMigrate?: string[]
Property Value
string[]
dbsToTriggerCutoverOn
When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array
dbsToTriggerCutoverOn?: string[]
Property Value
string[]
migrateRoles
To migrate roles and permissions we need to send this flag as True
migrateRoles?: string
Property Value
string
migrationMode
There are two types of migration modes Online and Offline
migrationMode?: string
Property Value
string
migrationWindowStartTimeInUtc
Start time in UTC for migration window
migrationWindowStartTimeInUtc?: Date
Property Value
Date
overwriteDbsInTarget
Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists.
overwriteDbsInTarget?: string
Property Value
string
secretParameters
Migration secret parameters
secretParameters?: MigrationSecretParameters
Property Value
setupLogicalReplicationOnSourceDbIfNeeded
Indicates whether to setup LogicalReplicationOnSourceDb, if needed
setupLogicalReplicationOnSourceDbIfNeeded?: string
Property Value
string
sourceDbServerFullyQualifiedDomainName
Source server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
sourceDbServerFullyQualifiedDomainName?: string
Property Value
string
sourceDbServerResourceId
ResourceId of the source database server
sourceDbServerResourceId?: string
Property Value
string
startDataMigration
Indicates whether the data migration should start right away
startDataMigration?: string
Property Value
string
tags
Application-specific metadata in the form of key-value pairs.
tags?: {[propertyName: string]: string}
Property Value
{[propertyName: string]: string}
targetDbServerFullyQualifiedDomainName
Target server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection
targetDbServerFullyQualifiedDomainName?: string
Property Value
string
triggerCutover
To trigger cutover for entire migration we need to send this flag as True
triggerCutover?: string
Property Value
string