1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from msrest.serialization import Model
class MigrationValidationOptions(Model):
"""Types of validations to run after the migration.
:param enable_schema_validation: Allows to compare the schema information
between source and target.
:type enable_schema_validation: bool
:param enable_data_integrity_validation: Allows to perform a checksum
based data integrity validation between source and target for the selected
database / tables .
:type enable_data_integrity_validation: bool
:param enable_query_analysis_validation: 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.
:type enable_query_analysis_validation: bool
"""
_attribute_map = {
'enable_schema_validation': {'key': 'enableSchemaValidation', 'type': 'bool'},
'enable_data_integrity_validation': {'key': 'enableDataIntegrityValidation', 'type': 'bool'},
'enable_query_analysis_validation': {'key': 'enableQueryAnalysisValidation', 'type': 'bool'},
}
def __init__(self, **kwargs):
super(MigrationValidationOptions, self).__init__(**kwargs)
self.enable_schema_validation = kwargs.get('enable_schema_validation', None)
self.enable_data_integrity_validation = kwargs.get('enable_data_integrity_validation', None)
self.enable_query_analysis_validation = kwargs.get('enable_query_analysis_validation', None)
|