azure_mgmt_data_migration 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
  3. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/operations.rb +4 -0
  4. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/projects.rb +12 -0
  5. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/resource_skus.rb +4 -0
  6. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/services.rb +30 -0
  7. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/tasks.rb +14 -0
  8. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/usages.rb +4 -0
  9. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
  10. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/operations.rb +4 -0
  11. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/projects.rb +12 -0
  12. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/resource_skus.rb +4 -0
  13. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/services.rb +30 -0
  14. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/tasks.rb +14 -0
  15. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/usages.rb +4 -0
  16. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
  17. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/operations.rb +4 -0
  18. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/projects.rb +12 -0
  19. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/resource_skus.rb +4 -0
  20. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/services.rb +30 -0
  21. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/tasks.rb +14 -0
  22. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/usages.rb +4 -0
  23. data/lib/2018-04-19/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
  24. data/lib/2018-04-19/generated/azure_mgmt_data_migration/operations.rb +4 -0
  25. data/lib/2018-04-19/generated/azure_mgmt_data_migration/projects.rb +12 -0
  26. data/lib/2018-04-19/generated/azure_mgmt_data_migration/resource_skus.rb +4 -0
  27. data/lib/2018-04-19/generated/azure_mgmt_data_migration/services.rb +30 -0
  28. data/lib/2018-04-19/generated/azure_mgmt_data_migration/tasks.rb +14 -0
  29. data/lib/2018-04-19/generated/azure_mgmt_data_migration/usages.rb +4 -0
  30. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration.rb +151 -86
  31. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +5 -1
  32. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/files.rb +16 -0
  33. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/azure_active_directory_app.rb +70 -0
  34. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_file_info.rb +70 -0
  35. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_file_status.rb +21 -0
  36. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_set_info.rb +158 -0
  37. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/check_ocidriver_task_input.rb +47 -0
  38. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/check_ocidriver_task_output.rb +86 -0
  39. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/check_ocidriver_task_properties.rb +147 -0
  40. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/command_properties.rb +1 -0
  41. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_mongo_db_task_properties.rb +16 -0
  42. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_input.rb +3 -2
  43. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_properties.rb +16 -0
  44. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_non_sql_task_output.rb +1 -1
  45. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_oracle_sync_task_input.rb +48 -0
  46. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_oracle_sync_task_output.rb +101 -0
  47. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_oracle_sync_task_properties.rb +147 -0
  48. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_postgre_sql_sync_task_input.rb +49 -0
  49. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_postgre_sql_sync_task_output.rb +114 -0
  50. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_postgre_sql_sync_task_properties.rb +149 -0
  51. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_sync_task_properties.rb +16 -0
  52. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb +2 -1
  53. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_agent_job_level.rb +1 -1
  54. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb +1 -1
  55. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb +16 -0
  56. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_my_sql_task_properties.rb +16 -0
  57. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_input.rb +63 -0
  58. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_output.rb +115 -0
  59. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_properties.rb +149 -0
  60. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_oracle_azure_db_for_postgre_sql_sync_task_input.rb +50 -0
  61. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_oracle_azure_db_for_postgre_sql_sync_task_output.rb +125 -0
  62. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_oracle_azure_db_for_postgre_sql_sync_task_output_database_schema_map_item.rb +68 -0
  63. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_oracle_azure_db_for_postgre_sql_sync_task_properties.rb +152 -0
  64. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb +16 -0
  65. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_misync_task_input.rb +63 -0
  66. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_misync_task_output.rb +81 -0
  67. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_misync_task_properties.rb +148 -0
  68. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_properties.rb +16 -0
  69. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_sql_db_sync_task_properties.rb +16 -0
  70. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +2 -0
  71. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_migration_state.rb +24 -0
  72. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_tde_certificates_sql_task_properties.rb +16 -0
  73. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_oracle_task_input.rb +69 -0
  74. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_oracle_task_output.rb +92 -0
  75. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_oracle_task_properties.rb +148 -0
  76. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_postgre_sql_task_input.rb +69 -0
  77. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_postgre_sql_task_output.rb +92 -0
  78. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_postgre_sql_task_properties.rb +148 -0
  79. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_sync_task_properties.rb +16 -0
  80. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb +16 -0
  81. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/install_ocidriver_task_input.rb +46 -0
  82. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/install_ocidriver_task_output.rb +56 -0
  83. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/install_ocidriver_task_properties.rb +147 -0
  84. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mi_sql_connection_info.rb +78 -0
  85. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_misync_complete_command_input.rb +47 -0
  86. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_misync_complete_command_output.rb +57 -0
  87. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_misync_complete_command_properties.rb +104 -0
  88. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_mongo_db_task_properties.rb +16 -0
  89. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_database_input.rb +60 -0
  90. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_properties.rb +16 -0
  91. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_for_postgre_sql_sync_task_properties.rb +151 -0
  92. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_database_input.rb +150 -0
  93. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_input.rb +83 -0
  94. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output.rb +64 -0
  95. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output_database_error.rb +92 -0
  96. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output_database_level.rb +245 -0
  97. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output_error.rb +74 -0
  98. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output_migration_level.rb +133 -0
  99. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output_table_level.rb +219 -0
  100. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_database_input.rb +60 -0
  101. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_properties.rb +16 -0
  102. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_task_properties.rb +16 -0
  103. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_properties.rb +16 -0
  104. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb +16 -0
  105. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_input.rb +97 -0
  106. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output.rb +61 -0
  107. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output_database_level.rb +220 -0
  108. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output_error.rb +73 -0
  109. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output_migration_level.rb +195 -0
  110. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_properties.rb +150 -0
  111. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_migration_level.rb +9 -9
  112. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_properties.rb +16 -0
  113. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sync_complete_command_output.rb +13 -0
  114. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/my_sql_target_platform_type.rb +1 -0
  115. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/oracle_connection_info.rb +77 -0
  116. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/oracle_ocidriver_info.rb +118 -0
  117. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/orphaned_user_info.rb +57 -0
  118. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_file_properties.rb +1 -1
  119. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +34 -0
  120. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +1 -1
  121. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/selected_certificate_input.rb +1 -1
  122. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/server_properties.rb +1 -1
  123. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/sql_server_sql_misync_task_input.rb +121 -0
  124. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/upload_ocidriver_task_input.rb +47 -0
  125. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/upload_ocidriver_task_output.rb +69 -0
  126. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/upload_ocidriver_task_properties.rb +147 -0
  127. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_db_sync_task_properties.rb +16 -0
  128. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_misync_task_input.rb +98 -0
  129. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_misync_task_output.rb +83 -0
  130. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_misync_task_properties.rb +149 -0
  131. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_properties.rb +16 -0
  132. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_mongo_db_task_properties.rb +16 -0
  133. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_oracle_azure_db_for_postgre_sql_sync_task_properties.rb +149 -0
  134. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_oracle_azure_db_postgre_sql_sync_task_output.rb +59 -0
  135. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/operations.rb +4 -0
  136. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/projects.rb +12 -0
  137. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/resource_skus.rb +4 -0
  138. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/service_tasks.rb +855 -0
  139. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/services.rb +30 -0
  140. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/tasks.rb +19 -3
  141. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/usages.rb +4 -0
  142. data/lib/profiles/latest/modules/datamigration_profile_module.rb +534 -276
  143. data/lib/version.rb +1 -1
  144. metadata +69 -4
@@ -0,0 +1,148 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DataMigration::Mgmt::V2018_07_15_preview
7
+ module Models
8
+ #
9
+ # Properties for the task that validates connection to Azure SQL Database
10
+ # Managed Instance
11
+ #
12
+ class ConnectToTargetSqlMISyncTaskProperties < ProjectTaskProperties
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @taskType = "ConnectToTarget.AzureSqlDbMI.Sync.LRS"
19
+ end
20
+
21
+ attr_accessor :taskType
22
+
23
+ # @return [ConnectToTargetSqlMISyncTaskInput] Task input
24
+ attr_accessor :input
25
+
26
+ # @return [Array<ConnectToTargetSqlMISyncTaskOutput>] Task output. This
27
+ # is ignored if submitted.
28
+ attr_accessor :output
29
+
30
+
31
+ #
32
+ # Mapper for ConnectToTargetSqlMISyncTaskProperties class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'ConnectToTarget.AzureSqlDbMI.Sync.LRS',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'ConnectToTargetSqlMISyncTaskProperties',
43
+ model_properties: {
44
+ errors: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'errors',
49
+ type: {
50
+ name: 'Sequence',
51
+ element: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'ODataErrorElementType',
55
+ type: {
56
+ name: 'Composite',
57
+ class_name: 'ODataError'
58
+ }
59
+ }
60
+ }
61
+ },
62
+ state: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'state',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ commands: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'commands',
76
+ type: {
77
+ name: 'Sequence',
78
+ element: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'CommandPropertiesElementType',
82
+ type: {
83
+ name: 'Composite',
84
+ polymorphic_discriminator: 'commandType',
85
+ uber_parent: 'CommandProperties',
86
+ class_name: 'CommandProperties'
87
+ }
88
+ }
89
+ }
90
+ },
91
+ client_data: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'clientData',
95
+ type: {
96
+ name: 'Dictionary',
97
+ value: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'StringElementType',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ }
105
+ }
106
+ },
107
+ taskType: {
108
+ client_side_validation: true,
109
+ required: true,
110
+ serialized_name: 'taskType',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ },
115
+ input: {
116
+ client_side_validation: true,
117
+ required: false,
118
+ serialized_name: 'input',
119
+ type: {
120
+ name: 'Composite',
121
+ class_name: 'ConnectToTargetSqlMISyncTaskInput'
122
+ }
123
+ },
124
+ output: {
125
+ client_side_validation: true,
126
+ required: false,
127
+ read_only: true,
128
+ serialized_name: 'output',
129
+ type: {
130
+ name: 'Sequence',
131
+ element: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ serialized_name: 'ConnectToTargetSqlMISyncTaskOutputElementType',
135
+ type: {
136
+ name: 'Composite',
137
+ class_name: 'ConnectToTargetSqlMISyncTaskOutput'
138
+ }
139
+ }
140
+ }
141
+ }
142
+ }
143
+ }
144
+ }
145
+ end
146
+ end
147
+ end
148
+ end
@@ -88,6 +88,22 @@ module Azure::DataMigration::Mgmt::V2018_07_15_preview
88
88
  }
89
89
  }
90
90
  },
91
+ client_data: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'clientData',
95
+ type: {
96
+ name: 'Dictionary',
97
+ value: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'StringElementType',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ }
105
+ }
106
+ },
91
107
  taskType: {
92
108
  client_side_validation: true,
93
109
  required: true,
@@ -89,6 +89,22 @@ module Azure::DataMigration::Mgmt::V2018_07_15_preview
89
89
  }
90
90
  }
91
91
  },
92
+ client_data: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ serialized_name: 'clientData',
96
+ type: {
97
+ name: 'Dictionary',
98
+ value: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'StringElementType',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ }
106
+ }
107
+ },
92
108
  taskType: {
93
109
  client_side_validation: true,
94
110
  required: true,
@@ -13,7 +13,9 @@ module Azure::DataMigration::Mgmt::V2018_07_15_preview
13
13
  include MsRestAzure
14
14
 
15
15
  @@discriminatorMap = Hash.new
16
+ @@discriminatorMap["MiSqlConnectionInfo"] = "MiSqlConnectionInfo"
16
17
  @@discriminatorMap["PostgreSqlConnectionInfo"] = "PostgreSqlConnectionInfo"
18
+ @@discriminatorMap["OracleConnectionInfo"] = "OracleConnectionInfo"
17
19
  @@discriminatorMap["MySqlConnectionInfo"] = "MySqlConnectionInfo"
18
20
  @@discriminatorMap["MongoDbConnectionInfo"] = "MongoDbConnectionInfo"
19
21
  @@discriminatorMap["SqlConnectionInfo"] = "SqlConnectionInfo"
@@ -0,0 +1,24 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DataMigration::Mgmt::V2018_07_15_preview
7
+ module Models
8
+ #
9
+ # Defines values for DatabaseMigrationState
10
+ #
11
+ module DatabaseMigrationState
12
+ UNDEFINED = "UNDEFINED"
13
+ INITIAL = "INITIAL"
14
+ FULLBACKUPUPLOADSTART = "FULL_BACKUP_UPLOAD_START"
15
+ LOGSHIPPINGSTART = "LOG_SHIPPING_START"
16
+ UPLOADLOGFILESSTART = "UPLOAD_LOG_FILES_START"
17
+ CUTOVERSTART = "CUTOVER_START"
18
+ POSTCUTOVERCOMPLETE = "POST_CUTOVER_COMPLETE"
19
+ COMPLETED = "COMPLETED"
20
+ CANCELLED = "CANCELLED"
21
+ FAILED = "FAILED"
22
+ end
23
+ end
24
+ end
@@ -88,6 +88,22 @@ module Azure::DataMigration::Mgmt::V2018_07_15_preview
88
88
  }
89
89
  }
90
90
  },
91
+ client_data: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'clientData',
95
+ type: {
96
+ name: 'Dictionary',
97
+ value: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'StringElementType',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ }
105
+ }
106
+ },
91
107
  taskType: {
92
108
  client_side_validation: true,
93
109
  required: true,
@@ -0,0 +1,69 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DataMigration::Mgmt::V2018_07_15_preview
7
+ module Models
8
+ #
9
+ # Input for the task that gets the list of tables contained within a
10
+ # provided list of Oracle schemas.
11
+ #
12
+ class GetUserTablesOracleTaskInput
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [OracleConnectionInfo] Information for connecting to Oracle
17
+ # source
18
+ attr_accessor :connection_info
19
+
20
+ # @return [Array<String>] List of Oracle schemas for which to collect
21
+ # tables
22
+ attr_accessor :selected_schemas
23
+
24
+
25
+ #
26
+ # Mapper for GetUserTablesOracleTaskInput class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'GetUserTablesOracleTaskInput',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'GetUserTablesOracleTaskInput',
37
+ model_properties: {
38
+ connection_info: {
39
+ client_side_validation: true,
40
+ required: true,
41
+ serialized_name: 'connectionInfo',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'OracleConnectionInfo'
45
+ }
46
+ },
47
+ selected_schemas: {
48
+ client_side_validation: true,
49
+ required: true,
50
+ serialized_name: 'selectedSchemas',
51
+ type: {
52
+ name: 'Sequence',
53
+ element: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'StringElementType',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,92 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DataMigration::Mgmt::V2018_07_15_preview
7
+ module Models
8
+ #
9
+ # Output for the task that gets the list of tables contained within a
10
+ # provided list of Oracle schemas.
11
+ #
12
+ class GetUserTablesOracleTaskOutput
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The schema this result is for
17
+ attr_accessor :schema_name
18
+
19
+ # @return [Array<DatabaseTable>] List of valid tables found for this
20
+ # schema
21
+ attr_accessor :tables
22
+
23
+ # @return [Array<ReportableException>] Validation errors associated with
24
+ # the task
25
+ attr_accessor :validation_errors
26
+
27
+
28
+ #
29
+ # Mapper for GetUserTablesOracleTaskOutput class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'GetUserTablesOracleTaskOutput',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'GetUserTablesOracleTaskOutput',
40
+ model_properties: {
41
+ schema_name: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'schemaName',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ tables: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'tables',
55
+ type: {
56
+ name: 'Sequence',
57
+ element: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'DatabaseTableElementType',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'DatabaseTable'
64
+ }
65
+ }
66
+ }
67
+ },
68
+ validation_errors: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'validationErrors',
73
+ type: {
74
+ name: 'Sequence',
75
+ element: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'ReportableExceptionElementType',
79
+ type: {
80
+ name: 'Composite',
81
+ class_name: 'ReportableException'
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,148 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DataMigration::Mgmt::V2018_07_15_preview
7
+ module Models
8
+ #
9
+ # Properties for the task that collects user tables for the given list of
10
+ # Oracle schemas
11
+ #
12
+ class GetUserTablesOracleTaskProperties < ProjectTaskProperties
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @taskType = "GetUserTablesOracle"
19
+ end
20
+
21
+ attr_accessor :taskType
22
+
23
+ # @return [GetUserTablesOracleTaskInput] Task input
24
+ attr_accessor :input
25
+
26
+ # @return [Array<GetUserTablesOracleTaskOutput>] Task output. This is
27
+ # ignored if submitted.
28
+ attr_accessor :output
29
+
30
+
31
+ #
32
+ # Mapper for GetUserTablesOracleTaskProperties class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'GetUserTablesOracle',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'GetUserTablesOracleTaskProperties',
43
+ model_properties: {
44
+ errors: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'errors',
49
+ type: {
50
+ name: 'Sequence',
51
+ element: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'ODataErrorElementType',
55
+ type: {
56
+ name: 'Composite',
57
+ class_name: 'ODataError'
58
+ }
59
+ }
60
+ }
61
+ },
62
+ state: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'state',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ commands: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'commands',
76
+ type: {
77
+ name: 'Sequence',
78
+ element: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'CommandPropertiesElementType',
82
+ type: {
83
+ name: 'Composite',
84
+ polymorphic_discriminator: 'commandType',
85
+ uber_parent: 'CommandProperties',
86
+ class_name: 'CommandProperties'
87
+ }
88
+ }
89
+ }
90
+ },
91
+ client_data: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'clientData',
95
+ type: {
96
+ name: 'Dictionary',
97
+ value: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'StringElementType',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ }
105
+ }
106
+ },
107
+ taskType: {
108
+ client_side_validation: true,
109
+ required: true,
110
+ serialized_name: 'taskType',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ },
115
+ input: {
116
+ client_side_validation: true,
117
+ required: false,
118
+ serialized_name: 'input',
119
+ type: {
120
+ name: 'Composite',
121
+ class_name: 'GetUserTablesOracleTaskInput'
122
+ }
123
+ },
124
+ output: {
125
+ client_side_validation: true,
126
+ required: false,
127
+ read_only: true,
128
+ serialized_name: 'output',
129
+ type: {
130
+ name: 'Sequence',
131
+ element: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ serialized_name: 'GetUserTablesOracleTaskOutputElementType',
135
+ type: {
136
+ name: 'Composite',
137
+ class_name: 'GetUserTablesOracleTaskOutput'
138
+ }
139
+ }
140
+ }
141
+ }
142
+ }
143
+ }
144
+ }
145
+ end
146
+ end
147
+ end
148
+ end