Class MigrationValidationOptions
java.lang.Object
com.azure.resourcemanager.datamigration.models.MigrationValidationOptions
Types of validations to run after the migration.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MigrationValidationOptions class. -
Method Summary
Modifier and TypeMethodDescriptionGet the enableDataIntegrityValidation property: Allows to perform a checksum based data integrity validation between source and target for the selected database / tables .Get the enableQueryAnalysisValidation property: Allows to perform a quick and intelligent query analysis by retrieving queries from the source database and executes them in the target.Get the enableSchemaValidation property: Allows to compare the schema information between source and target.void
validate()
Validates the instance.withEnableDataIntegrityValidation
(Boolean enableDataIntegrityValidation) Set the enableDataIntegrityValidation property: Allows to perform a checksum based data integrity validation between source and target for the selected database / tables .withEnableQueryAnalysisValidation
(Boolean enableQueryAnalysisValidation) Set the enableQueryAnalysisValidation property: Allows to perform a quick and intelligent query analysis by retrieving queries from the source database and executes them in the target.withEnableSchemaValidation
(Boolean enableSchemaValidation) Set the enableSchemaValidation property: Allows to compare the schema information between source and target.
-
Constructor Details
-
MigrationValidationOptions
public MigrationValidationOptions()Creates an instance of MigrationValidationOptions class.
-
-
Method Details
-
enableSchemaValidation
Get the enableSchemaValidation property: Allows to compare the schema information between source and target.- Returns:
- the enableSchemaValidation value.
-
withEnableSchemaValidation
Set the enableSchemaValidation property: Allows to compare the schema information between source and target.- Parameters:
enableSchemaValidation
- the enableSchemaValidation value to set.- Returns:
- the MigrationValidationOptions object itself.
-
enableDataIntegrityValidation
Get the enableDataIntegrityValidation property: Allows to perform a checksum based data integrity validation between source and target for the selected database / tables .- Returns:
- the enableDataIntegrityValidation value.
-
withEnableDataIntegrityValidation
public MigrationValidationOptions withEnableDataIntegrityValidation(Boolean enableDataIntegrityValidation) Set the enableDataIntegrityValidation property: Allows to perform a checksum based data integrity validation between source and target for the selected database / tables .- Parameters:
enableDataIntegrityValidation
- the enableDataIntegrityValidation value to set.- Returns:
- the MigrationValidationOptions object itself.
-
enableQueryAnalysisValidation
Get the enableQueryAnalysisValidation property: Allows to perform a quick and intelligent query analysis by retrieving queries from the source database and executes them in the target. The result will have execution statistics for executions in source and target databases for the extracted queries.- Returns:
- the enableQueryAnalysisValidation value.
-
withEnableQueryAnalysisValidation
public MigrationValidationOptions withEnableQueryAnalysisValidation(Boolean enableQueryAnalysisValidation) Set the enableQueryAnalysisValidation property: Allows to perform a quick and intelligent query analysis by retrieving queries from the source database and executes them in the target. The result will have execution statistics for executions in source and target databases for the extracted queries.- Parameters:
enableQueryAnalysisValidation
- the enableQueryAnalysisValidation value to set.- Returns:
- the MigrationValidationOptions object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-