azure_mgmt_data_migration 0.17.3 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) 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/models/connection_info.rb +2 -2
  4. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +2 -2
  5. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +1 -1
  6. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/tasks.rb +3 -3
  7. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
  8. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +2 -2
  9. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +2 -2
  10. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +1 -1
  11. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/tasks.rb +3 -3
  12. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
  13. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_agent_job_level.rb +1 -1
  14. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb +1 -1
  15. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +2 -2
  16. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_eligibility_info.rb +3 -3
  17. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +2 -2
  18. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +1 -1
  19. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/tasks.rb +3 -3
  20. data/lib/2018-04-19/generated/azure_mgmt_data_migration.rb +167 -54
  21. data/lib/2018-04-19/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
  22. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/azure_active_directory_app.rb +70 -0
  23. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/backup_file_info.rb +70 -0
  24. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/backup_file_status.rb +21 -0
  25. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/backup_mode.rb +16 -0
  26. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/backup_set_info.rb +158 -0
  27. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/backup_type.rb +21 -0
  28. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/command_properties.rb +84 -0
  29. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/command_state.rb +19 -0
  30. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_input.rb +75 -0
  31. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_properties.rb +131 -0
  32. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_non_sql_task_output.rb +114 -0
  33. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_postgre_sql_sync_task_input.rb +49 -0
  34. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_postgre_sql_sync_task_output.rb +114 -0
  35. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_postgre_sql_sync_task_properties.rb +133 -0
  36. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_sync_task_properties.rb +135 -0
  37. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb +5 -2
  38. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_agent_job_level.rb +1 -1
  39. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb +2 -3
  40. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb +21 -0
  41. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_my_sql_task_input.rb +62 -0
  42. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_my_sql_task_output.rb +114 -0
  43. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_my_sql_task_properties.rb +133 -0
  44. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_input.rb +63 -0
  45. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_output.rb +115 -0
  46. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_properties.rb +133 -0
  47. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb +21 -0
  48. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_misync_task_input.rb +63 -0
  49. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_misync_task_output.rb +81 -0
  50. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_misync_task_properties.rb +132 -0
  51. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_input.rb +49 -0
  52. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_output.rb +133 -0
  53. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_properties.rb +132 -0
  54. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_sql_db_sync_task_input.rb +61 -0
  55. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_sql_db_sync_task_properties.rb +133 -0
  56. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connection_info.rb +5 -2
  57. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_result_code.rb +20 -0
  58. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_backup_info.rb +143 -0
  59. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_migration_state.rb +24 -0
  60. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_project_details_non_sql_task_input.rb +58 -0
  61. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_tde_certificates_sql_task_input.rb +82 -0
  62. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_tde_certificates_sql_task_output.rb +85 -0
  63. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_tde_certificates_sql_task_properties.rb +132 -0
  64. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_sync_task_input.rb +100 -0
  65. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_sync_task_output.rb +146 -0
  66. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_sync_task_properties.rb +132 -0
  67. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb +21 -0
  68. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/mi_sql_connection_info.rb +78 -0
  69. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_misync_complete_command_input.rb +47 -0
  70. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_misync_complete_command_output.rb +57 -0
  71. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_misync_complete_command_properties.rb +104 -0
  72. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_database_input.rb +120 -0
  73. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_input.rb +82 -0
  74. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output.rb +64 -0
  75. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_database_error.rb +92 -0
  76. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_database_level.rb +245 -0
  77. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_error.rb +74 -0
  78. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_migration_level.rb +133 -0
  79. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_table_level.rb +219 -0
  80. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_properties.rb +135 -0
  81. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_database_input.rb +120 -0
  82. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_input.rb +84 -0
  83. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output.rb +64 -0
  84. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_database_error.rb +93 -0
  85. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_database_level.rb +246 -0
  86. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_error.rb +74 -0
  87. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_migration_level.rb +134 -0
  88. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_table_level.rb +220 -0
  89. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_properties.rb +135 -0
  90. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_database_input.rb +159 -0
  91. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_input.rb +87 -0
  92. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output.rb +63 -0
  93. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_database_error.rb +92 -0
  94. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_database_level.rb +245 -0
  95. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_error.rb +73 -0
  96. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_migration_level.rb +145 -0
  97. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_table_level.rb +219 -0
  98. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_properties.rb +134 -0
  99. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb +21 -0
  100. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_midatabase_input.rb +91 -0
  101. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_input.rb +97 -0
  102. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output.rb +61 -0
  103. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output_database_level.rb +220 -0
  104. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output_error.rb +73 -0
  105. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output_migration_level.rb +195 -0
  106. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_properties.rb +134 -0
  107. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_input.rb +153 -0
  108. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output.rb +63 -0
  109. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_agent_job_level.rb +157 -0
  110. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_database_level.rb +170 -0
  111. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_error.rb +73 -0
  112. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_login_level.rb +160 -0
  113. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_migration_level.rb +301 -0
  114. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_properties.rb +134 -0
  115. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_server_database_input.rb +5 -6
  116. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sync_complete_command_input.rb +57 -0
  117. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sync_complete_command_output.rb +69 -0
  118. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sync_complete_command_properties.rb +103 -0
  119. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_eligibility_info.rb +3 -3
  120. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/my_sql_connection_info.rb +88 -0
  121. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/my_sql_target_platform_type.rb +16 -0
  122. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table.rb +46 -0
  123. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table_result.rb +132 -0
  124. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/non_sql_migration_task_input.rb +102 -0
  125. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/non_sql_migration_task_output.rb +145 -0
  126. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/orphaned_user_info.rb +57 -0
  127. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/postgre_sql_connection_info.rb +99 -0
  128. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb +44 -2
  129. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/reportable_exception.rb +11 -0
  130. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +1 -1
  131. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/schema_migration_stage.rb +24 -0
  132. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/selected_certificate_input.rb +58 -0
  133. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/server_level_permissions_group.rb +2 -0
  134. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/server_properties.rb +107 -0
  135. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_connection_info.rb +12 -0
  136. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_server_sql_misync_task_input.rb +121 -0
  137. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_source_platform.rb +15 -0
  138. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/start_migration_scenario_server_role_result.rb +1 -1
  139. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sync_database_migration_reporting_state.rb +25 -0
  140. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sync_migration_database_error_event.rb +71 -0
  141. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sync_table_migration_state.rb +20 -0
  142. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_db_sync_task_properties.rb +133 -0
  143. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_misync_task_input.rb +98 -0
  144. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_misync_task_output.rb +83 -0
  145. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_misync_task_properties.rb +133 -0
  146. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb +140 -0
  147. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_output.rb +184 -0
  148. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_properties.rb +133 -0
  149. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_sync_migration_input_sql_server_task_input.rb +82 -0
  150. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_sync_migration_input_sql_server_task_output.rb +82 -0
  151. data/lib/2018-04-19/generated/azure_mgmt_data_migration/tasks.rb +3 -3
  152. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
  153. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/check_ocidriver_task_output.rb +4 -21
  154. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/command_properties.rb +2 -2
  155. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +2 -2
  156. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/file_storage_info.rb +1 -1
  157. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_input.rb +13 -0
  158. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_eligibility_info.rb +3 -3
  159. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +2 -2
  160. data/lib/version.rb +1 -1
  161. metadata +115 -2
@@ -0,0 +1,159 @@
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_04_19
7
+ module Models
8
+ #
9
+ # Database specific information for SQL to Azure SQL DB sync migration task
10
+ # inputs
11
+ #
12
+ class MigrateSqlServerSqlDbSyncDatabaseInput
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Unique identifier for database
17
+ attr_accessor :id
18
+
19
+ # @return [String] Name of database
20
+ attr_accessor :name
21
+
22
+ # @return [String] Target database name
23
+ attr_accessor :target_database_name
24
+
25
+ # @return [String] Schema name to be migrated
26
+ attr_accessor :schema_name
27
+
28
+ # @return [Hash{String => String}] Mapping of source to target tables
29
+ attr_accessor :table_map
30
+
31
+ # @return [Hash{String => String}] Migration settings which tune the
32
+ # migration behavior
33
+ attr_accessor :migration_setting
34
+
35
+ # @return [Hash{String => String}] Source settings to tune source
36
+ # endpoint migration behavior
37
+ attr_accessor :source_setting
38
+
39
+ # @return [Hash{String => String}] Target settings to tune target
40
+ # endpoint migration behavior
41
+ attr_accessor :target_setting
42
+
43
+
44
+ #
45
+ # Mapper for MigrateSqlServerSqlDbSyncDatabaseInput class as Ruby Hash.
46
+ # This will be used for serialization/deserialization.
47
+ #
48
+ def self.mapper()
49
+ {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'MigrateSqlServerSqlDbSyncDatabaseInput',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'MigrateSqlServerSqlDbSyncDatabaseInput',
56
+ model_properties: {
57
+ id: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'id',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ name: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'name',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ target_database_name: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'targetDatabaseName',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ schema_name: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'schemaName',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ table_map: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'tableMap',
93
+ type: {
94
+ name: 'Dictionary',
95
+ value: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ serialized_name: 'StringElementType',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ }
103
+ }
104
+ },
105
+ migration_setting: {
106
+ client_side_validation: true,
107
+ required: false,
108
+ serialized_name: 'migrationSetting',
109
+ type: {
110
+ name: 'Dictionary',
111
+ value: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ serialized_name: 'StringElementType',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ }
119
+ }
120
+ },
121
+ source_setting: {
122
+ client_side_validation: true,
123
+ required: false,
124
+ serialized_name: 'sourceSetting',
125
+ type: {
126
+ name: 'Dictionary',
127
+ value: {
128
+ client_side_validation: true,
129
+ required: false,
130
+ serialized_name: 'StringElementType',
131
+ type: {
132
+ name: 'String'
133
+ }
134
+ }
135
+ }
136
+ },
137
+ target_setting: {
138
+ client_side_validation: true,
139
+ required: false,
140
+ serialized_name: 'targetSetting',
141
+ type: {
142
+ name: 'Dictionary',
143
+ value: {
144
+ client_side_validation: true,
145
+ required: false,
146
+ serialized_name: 'StringElementType',
147
+ type: {
148
+ name: 'String'
149
+ }
150
+ }
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
156
+ end
157
+ end
158
+ end
159
+ end
@@ -0,0 +1,87 @@
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_04_19
7
+ module Models
8
+ #
9
+ # Input for the task that migrates on-prem SQL Server databases to Azure
10
+ # SQL Database for online migrations
11
+ #
12
+ class MigrateSqlServerSqlDbSyncTaskInput < SqlMigrationTaskInput
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Array<MigrateSqlServerSqlDbSyncDatabaseInput>] Databases to
17
+ # migrate
18
+ attr_accessor :selected_databases
19
+
20
+ # @return [MigrationValidationOptions] Validation options
21
+ attr_accessor :validation_options
22
+
23
+
24
+ #
25
+ # Mapper for MigrateSqlServerSqlDbSyncTaskInput class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'MigrateSqlServerSqlDbSyncTaskInput',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'MigrateSqlServerSqlDbSyncTaskInput',
36
+ model_properties: {
37
+ source_connection_info: {
38
+ client_side_validation: true,
39
+ required: true,
40
+ serialized_name: 'sourceConnectionInfo',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'SqlConnectionInfo'
44
+ }
45
+ },
46
+ target_connection_info: {
47
+ client_side_validation: true,
48
+ required: true,
49
+ serialized_name: 'targetConnectionInfo',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'SqlConnectionInfo'
53
+ }
54
+ },
55
+ selected_databases: {
56
+ client_side_validation: true,
57
+ required: true,
58
+ serialized_name: 'selectedDatabases',
59
+ type: {
60
+ name: 'Sequence',
61
+ element: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'MigrateSqlServerSqlDbSyncDatabaseInputElementType',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'MigrateSqlServerSqlDbSyncDatabaseInput'
68
+ }
69
+ }
70
+ }
71
+ },
72
+ validation_options: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'validationOptions',
76
+ type: {
77
+ name: 'Composite',
78
+ class_name: 'MigrationValidationOptions'
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
84
+ end
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,63 @@
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_04_19
7
+ module Models
8
+ #
9
+ # Output for the task that migrates on-prem SQL Server databases to Azure
10
+ # SQL Database for online migrations
11
+ #
12
+ class MigrateSqlServerSqlDbSyncTaskOutput
13
+
14
+ include MsRestAzure
15
+
16
+ @@discriminatorMap = Hash.new
17
+ @@discriminatorMap["DatabaseLevelErrorOutput"] = "MigrateSqlServerSqlDbSyncTaskOutputDatabaseError"
18
+ @@discriminatorMap["ErrorOutput"] = "MigrateSqlServerSqlDbSyncTaskOutputError"
19
+ @@discriminatorMap["TableLevelOutput"] = "MigrateSqlServerSqlDbSyncTaskOutputTableLevel"
20
+ @@discriminatorMap["DatabaseLevelOutput"] = "MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel"
21
+ @@discriminatorMap["MigrationLevelOutput"] = "MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel"
22
+
23
+ def initialize
24
+ @resultType = "MigrateSqlServerSqlDbSyncTaskOutput"
25
+ end
26
+
27
+ attr_accessor :resultType
28
+
29
+ # @return [String] Result identifier
30
+ attr_accessor :id
31
+
32
+
33
+ #
34
+ # Mapper for MigrateSqlServerSqlDbSyncTaskOutput class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'MigrateSqlServerSqlDbSyncTaskOutput',
42
+ type: {
43
+ name: 'Composite',
44
+ polymorphic_discriminator: 'resultType',
45
+ uber_parent: 'MigrateSqlServerSqlDbSyncTaskOutput',
46
+ class_name: 'MigrateSqlServerSqlDbSyncTaskOutput',
47
+ model_properties: {
48
+ id: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'id',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ end
61
+ end
62
+ end
63
+ 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_04_19
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class MigrateSqlServerSqlDbSyncTaskOutputDatabaseError < MigrateSqlServerSqlDbSyncTaskOutput
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @resultType = "DatabaseLevelErrorOutput"
19
+ end
20
+
21
+ attr_accessor :resultType
22
+
23
+ # @return [String] Error message
24
+ attr_accessor :error_message
25
+
26
+ # @return [Array<SyncMigrationDatabaseErrorEvent>] List of error events.
27
+ attr_accessor :events
28
+
29
+
30
+ #
31
+ # Mapper for MigrateSqlServerSqlDbSyncTaskOutputDatabaseError class as
32
+ # 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: 'DatabaseLevelErrorOutput',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'MigrateSqlServerSqlDbSyncTaskOutputDatabaseError',
43
+ model_properties: {
44
+ id: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'id',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ resultType: {
54
+ client_side_validation: true,
55
+ required: true,
56
+ serialized_name: 'resultType',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ error_message: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'errorMessage',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ events: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'events',
73
+ type: {
74
+ name: 'Sequence',
75
+ element: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'SyncMigrationDatabaseErrorEventElementType',
79
+ type: {
80
+ name: 'Composite',
81
+ class_name: 'SyncMigrationDatabaseErrorEvent'
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,245 @@
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_04_19
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel < MigrateSqlServerSqlDbSyncTaskOutput
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @resultType = "DatabaseLevelOutput"
19
+ end
20
+
21
+ attr_accessor :resultType
22
+
23
+ # @return [String] Name of the database
24
+ attr_accessor :database_name
25
+
26
+ # @return [DateTime] Migration start time
27
+ attr_accessor :started_on
28
+
29
+ # @return [DateTime] Migration end time
30
+ attr_accessor :ended_on
31
+
32
+ # @return [SyncDatabaseMigrationReportingState] Migration state that this
33
+ # database is in. Possible values include: 'UNDEFINED', 'CONFIGURING',
34
+ # 'INITIALIAZING', 'STARTING', 'RUNNING', 'READY_TO_COMPLETE',
35
+ # 'COMPLETING', 'COMPLETE', 'CANCELLING', 'CANCELLED', 'FAILED'
36
+ attr_accessor :migration_state
37
+
38
+ # @return [Integer] Number of incoming changes
39
+ attr_accessor :incoming_changes
40
+
41
+ # @return [Integer] Number of applied changes
42
+ attr_accessor :applied_changes
43
+
44
+ # @return [Integer] Number of cdc inserts
45
+ attr_accessor :cdc_insert_counter
46
+
47
+ # @return [Integer] Number of cdc deletes
48
+ attr_accessor :cdc_delete_counter
49
+
50
+ # @return [Integer] Number of cdc updates
51
+ attr_accessor :cdc_update_counter
52
+
53
+ # @return [Integer] Number of tables completed in full load
54
+ attr_accessor :full_load_completed_tables
55
+
56
+ # @return [Integer] Number of tables loading in full load
57
+ attr_accessor :full_load_loading_tables
58
+
59
+ # @return [Integer] Number of tables queued in full load
60
+ attr_accessor :full_load_queued_tables
61
+
62
+ # @return [Integer] Number of tables errored in full load
63
+ attr_accessor :full_load_errored_tables
64
+
65
+ # @return [Boolean] Indicates if initial load (full load) has been
66
+ # completed
67
+ attr_accessor :initialization_completed
68
+
69
+ # @return [Integer] CDC apply latency
70
+ attr_accessor :latency
71
+
72
+
73
+ #
74
+ # Mapper for MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel class as
75
+ # Ruby Hash.
76
+ # This will be used for serialization/deserialization.
77
+ #
78
+ def self.mapper()
79
+ {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'DatabaseLevelOutput',
83
+ type: {
84
+ name: 'Composite',
85
+ class_name: 'MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel',
86
+ model_properties: {
87
+ id: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ read_only: true,
91
+ serialized_name: 'id',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ },
96
+ resultType: {
97
+ client_side_validation: true,
98
+ required: true,
99
+ serialized_name: 'resultType',
100
+ type: {
101
+ name: 'String'
102
+ }
103
+ },
104
+ database_name: {
105
+ client_side_validation: true,
106
+ required: false,
107
+ read_only: true,
108
+ serialized_name: 'databaseName',
109
+ type: {
110
+ name: 'String'
111
+ }
112
+ },
113
+ started_on: {
114
+ client_side_validation: true,
115
+ required: false,
116
+ read_only: true,
117
+ serialized_name: 'startedOn',
118
+ type: {
119
+ name: 'DateTime'
120
+ }
121
+ },
122
+ ended_on: {
123
+ client_side_validation: true,
124
+ required: false,
125
+ read_only: true,
126
+ serialized_name: 'endedOn',
127
+ type: {
128
+ name: 'DateTime'
129
+ }
130
+ },
131
+ migration_state: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ read_only: true,
135
+ serialized_name: 'migrationState',
136
+ type: {
137
+ name: 'String'
138
+ }
139
+ },
140
+ incoming_changes: {
141
+ client_side_validation: true,
142
+ required: false,
143
+ read_only: true,
144
+ serialized_name: 'incomingChanges',
145
+ type: {
146
+ name: 'Number'
147
+ }
148
+ },
149
+ applied_changes: {
150
+ client_side_validation: true,
151
+ required: false,
152
+ read_only: true,
153
+ serialized_name: 'appliedChanges',
154
+ type: {
155
+ name: 'Number'
156
+ }
157
+ },
158
+ cdc_insert_counter: {
159
+ client_side_validation: true,
160
+ required: false,
161
+ read_only: true,
162
+ serialized_name: 'cdcInsertCounter',
163
+ type: {
164
+ name: 'Number'
165
+ }
166
+ },
167
+ cdc_delete_counter: {
168
+ client_side_validation: true,
169
+ required: false,
170
+ read_only: true,
171
+ serialized_name: 'cdcDeleteCounter',
172
+ type: {
173
+ name: 'Number'
174
+ }
175
+ },
176
+ cdc_update_counter: {
177
+ client_side_validation: true,
178
+ required: false,
179
+ read_only: true,
180
+ serialized_name: 'cdcUpdateCounter',
181
+ type: {
182
+ name: 'Number'
183
+ }
184
+ },
185
+ full_load_completed_tables: {
186
+ client_side_validation: true,
187
+ required: false,
188
+ read_only: true,
189
+ serialized_name: 'fullLoadCompletedTables',
190
+ type: {
191
+ name: 'Number'
192
+ }
193
+ },
194
+ full_load_loading_tables: {
195
+ client_side_validation: true,
196
+ required: false,
197
+ read_only: true,
198
+ serialized_name: 'fullLoadLoadingTables',
199
+ type: {
200
+ name: 'Number'
201
+ }
202
+ },
203
+ full_load_queued_tables: {
204
+ client_side_validation: true,
205
+ required: false,
206
+ read_only: true,
207
+ serialized_name: 'fullLoadQueuedTables',
208
+ type: {
209
+ name: 'Number'
210
+ }
211
+ },
212
+ full_load_errored_tables: {
213
+ client_side_validation: true,
214
+ required: false,
215
+ read_only: true,
216
+ serialized_name: 'fullLoadErroredTables',
217
+ type: {
218
+ name: 'Number'
219
+ }
220
+ },
221
+ initialization_completed: {
222
+ client_side_validation: true,
223
+ required: false,
224
+ read_only: true,
225
+ serialized_name: 'initializationCompleted',
226
+ type: {
227
+ name: 'Boolean'
228
+ }
229
+ },
230
+ latency: {
231
+ client_side_validation: true,
232
+ required: false,
233
+ read_only: true,
234
+ serialized_name: 'latency',
235
+ type: {
236
+ name: 'Number'
237
+ }
238
+ }
239
+ }
240
+ }
241
+ }
242
+ end
243
+ end
244
+ end
245
+ end