Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::NonSqlMigrationTaskInput

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-04-19/generated/azure_mgmt_data_migration/models/non_sql_migration_task_input.rb

Overview

Base class for non sql migration task input

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#project_locationString

project artifacts

Returns:

  • (String)

    A URL that points to the drop location to access



26
27
28
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/non_sql_migration_task_input.rb', line 26

def project_location
  @project_location
end

#project_nameString

Returns Name of the migration project.

Returns:

  • (String)

    Name of the migration project



22
23
24
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/non_sql_migration_task_input.rb', line 22

def project_name
  @project_name
end

#selected_tablesArray<NonSqlDataMigrationTable>

selected for migration

Returns:



30
31
32
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/non_sql_migration_task_input.rb', line 30

def selected_tables
  @selected_tables
end

#target_connection_infoSqlConnectionInfo

Returns Information for connecting to target.

Returns:



16
17
18
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/non_sql_migration_task_input.rb', line 16

def target_connection_info
  @target_connection_info
end

#target_database_nameString

Returns Target database name.

Returns:

  • (String)

    Target database name



19
20
21
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/non_sql_migration_task_input.rb', line 19

def target_database_name
  @target_database_name
end

Class Method Details

.mapperObject

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



37
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
95
96
97
98
99
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/non_sql_migration_task_input.rb', line 37

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NonSqlMigrationTaskInput',
    type: {
      name: 'Composite',
      class_name: 'NonSqlMigrationTaskInput',
      model_properties: {
        target_connection_info: {
          client_side_validation: true,
          required: true,
          serialized_name: 'targetConnectionInfo',
          type: {
            name: 'Composite',
            class_name: 'SqlConnectionInfo'
          }
        },
        target_database_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'targetDatabaseName',
          type: {
            name: 'String'
          }
        },
        project_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'projectName',
          type: {
            name: 'String'
          }
        },
        project_location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'projectLocation',
          type: {
            name: 'String'
          }
        },
        selected_tables: {
          client_side_validation: true,
          required: true,
          serialized_name: 'selectedTables',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'NonSqlDataMigrationTableElementType',
                type: {
                  name: 'Composite',
                  class_name: 'NonSqlDataMigrationTable'
                }
            }
          }
        }
      }
    }
  }
end