Class: Azure::DataMigration::Mgmt::V2018_03_15_preview::Models::MigrateSqlServerSqlDbTaskInput

Inherits:
SqlMigrationTaskInput
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_input.rb

Overview

Input for the task that migrates on-prem SQL Server databases to Azure SQL Database

Instance Attribute Summary collapse

Attributes inherited from SqlMigrationTaskInput

#source_connection_info, #target_connection_info

Class Method Summary collapse

Instance Attribute Details

#selected_databasesArray<MigrateSqlServerSqlDbDatabaseInput>

migrate



18
19
20
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_input.rb', line 18

def selected_databases
  @selected_databases
end

#validation_optionsMigrationValidationOptions

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.



31
32
33
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_input.rb', line 31

def validation_options
  @validation_options
end

Class Method Details

.mapperObject

Mapper for MigrateSqlServerSqlDbTaskInput class as Ruby Hash. This will be used for serialization/deserialization.



38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_input.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MigrateSqlServerSqlDbTaskInput',
    type: {
      name: 'Composite',
      class_name: 'MigrateSqlServerSqlDbTaskInput',
      model_properties: {
        source_connection_info: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sourceConnectionInfo',
          type: {
            name: 'Composite',
            class_name: 'SqlConnectionInfo'
          }
        },
        target_connection_info: {
          client_side_validation: true,
          required: true,
          serialized_name: 'targetConnectionInfo',
          type: {
            name: 'Composite',
            class_name: 'SqlConnectionInfo'
          }
        },
        selected_databases: {
          client_side_validation: true,
          required: true,
          serialized_name: 'selectedDatabases',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'MigrateSqlServerSqlDbDatabaseInputElementType',
                type: {
                  name: 'Composite',
                  class_name: 'MigrateSqlServerSqlDbDatabaseInput'
                }
            }
          }
        },
        validation_options: {
          client_side_validation: true,
          required: false,
          serialized_name: 'validationOptions',
          type: {
            name: 'Composite',
            class_name: 'MigrationValidationOptions'
          }
        }
      }
    }
  }
end