MigrateSqlServerSqlDbTaskInput Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. SqlMigrationTaskInput - com.
azure. resourcemanager. datamigration. models. MigrateSqlServerSqlDbTaskInput
- com.
- com.
public final class MigrateSqlServerSqlDbTaskInput
extends SqlMigrationTaskInput
Input for the task that migrates on-prem SQL Server databases to Azure SQL Database.
Constructor Summary
Constructor | Description |
---|---|
MigrateSqlServerSqlDbTaskInput() |
Creates an instance of Migrate |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Migrate |
selectedDatabases()
Get the selected |
void |
validate()
Validates the instance. |
Migration |
validationOptions()
Get the validation |
Migrate |
withSelectedDatabases(List<MigrateSqlServerSqlDbDatabaseInput> selectedDatabases)
Set the selected |
Migrate |
withSourceConnectionInfo(SqlConnectionInfo sourceConnectionInfo)
Set the source |
Migrate |
withTargetConnectionInfo(SqlConnectionInfo targetConnectionInfo)
Set the target |
Migrate |
withValidationOptions(MigrationValidationOptions validationOptions)
Set the validation |
Methods inherited from SqlMigrationTaskInput
Methods inherited from java.lang.Object
Constructor Details
MigrateSqlServerSqlDbTaskInput
public MigrateSqlServerSqlDbTaskInput()
Creates an instance of MigrateSqlServerSqlDbTaskInput class.
Method Details
selectedDatabases
public List
Get the selectedDatabases property: Databases to migrate.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
MigrateSqlServerSqlDbTaskInput.validate()validationOptions
public MigrationValidationOptions validationOptions()
Get the validationOptions property: Options for enabling various post migration validations. Available options, 1.) Data Integrity Check: Performs a checksum based comparison on source and target tables after the migration to ensure the correctness of the data. 2.) Schema Validation: Performs a thorough schema comparison between the source and target tables and provides a list of differences between the source and target database, 3.) Query Analysis: Executes a set of queries picked up automatically either from the Query Plan Cache or Query Store and execute them and compares the execution time between the source and target database.
Returns:
withSelectedDatabases
public MigrateSqlServerSqlDbTaskInput withSelectedDatabases(List
Set the selectedDatabases property: Databases to migrate.
Parameters:
Returns:
withSourceConnectionInfo
public MigrateSqlServerSqlDbTaskInput withSourceConnectionInfo(SqlConnectionInfo sourceConnectionInfo)
Set the sourceConnectionInfo property: Information for connecting to source.
Overrides:
MigrateSqlServerSqlDbTaskInput.withSourceConnectionInfo(SqlConnectionInfo sourceConnectionInfo)Parameters:
withTargetConnectionInfo
public MigrateSqlServerSqlDbTaskInput withTargetConnectionInfo(SqlConnectionInfo targetConnectionInfo)
Set the targetConnectionInfo property: Information for connecting to target.
Overrides:
MigrateSqlServerSqlDbTaskInput.withTargetConnectionInfo(SqlConnectionInfo targetConnectionInfo)Parameters:
withValidationOptions
public MigrateSqlServerSqlDbTaskInput withValidationOptions(MigrationValidationOptions validationOptions)
Set the validationOptions property: Options for enabling various post migration validations. Available options, 1.) Data Integrity Check: Performs a checksum based comparison on source and target tables after the migration to ensure the correctness of the data. 2.) Schema Validation: Performs a thorough schema comparison between the source and target tables and provides a list of differences between the source and target database, 3.) Query Analysis: Executes a set of queries picked up automatically either from the Query Plan Cache or Query Store and execute them and compares the execution time between the source and target database.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for