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
@@ -44,6 +44,7 @@ module Azure::DataMigration::Mgmt::V2018_04_19
44
44
  errors: {
45
45
  client_side_validation: true,
46
46
  required: false,
47
+ read_only: true,
47
48
  serialized_name: 'errors',
48
49
  type: {
49
50
  name: 'Sequence',
@@ -67,6 +68,26 @@ module Azure::DataMigration::Mgmt::V2018_04_19
67
68
  name: 'String'
68
69
  }
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
+ },
70
91
  taskType: {
71
92
  client_side_validation: true,
72
93
  required: true,
@@ -0,0 +1,91 @@
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 Managed Instance
10
+ # migration task inputs
11
+ #
12
+ class MigrateSqlServerSqlMIDatabaseInput
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Name of the database
17
+ attr_accessor :name
18
+
19
+ # @return [String] Name of the database at destination
20
+ attr_accessor :restore_database_name
21
+
22
+ # @return [FileShare] Backup file share information for backing up this
23
+ # database.
24
+ attr_accessor :backup_file_share
25
+
26
+ # @return [Array<String>] The list of backup files to be used in case of
27
+ # existing backups.
28
+ attr_accessor :backup_file_paths
29
+
30
+
31
+ #
32
+ # Mapper for MigrateSqlServerSqlMIDatabaseInput 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: 'MigrateSqlServerSqlMIDatabaseInput',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'MigrateSqlServerSqlMIDatabaseInput',
43
+ model_properties: {
44
+ name: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'name',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ restore_database_name: {
53
+ client_side_validation: true,
54
+ required: true,
55
+ serialized_name: 'restoreDatabaseName',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ backup_file_share: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'backupFileShare',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'FileShare'
67
+ }
68
+ },
69
+ backup_file_paths: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'backupFilePaths',
73
+ type: {
74
+ name: 'Sequence',
75
+ element: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'StringElementType',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ end
89
+ end
90
+ end
91
+ end
@@ -0,0 +1,97 @@
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 task that migrates SQL Server databases to Azure SQL Database
10
+ # Managed Instance online scenario.
11
+ #
12
+ class MigrateSqlServerSqlMISyncTaskInput < SqlServerSqlMISyncTaskInput
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ #
18
+ # Mapper for MigrateSqlServerSqlMISyncTaskInput class as Ruby Hash.
19
+ # This will be used for serialization/deserialization.
20
+ #
21
+ def self.mapper()
22
+ {
23
+ client_side_validation: true,
24
+ required: false,
25
+ serialized_name: 'MigrateSqlServerSqlMISyncTaskInput',
26
+ type: {
27
+ name: 'Composite',
28
+ class_name: 'MigrateSqlServerSqlMISyncTaskInput',
29
+ model_properties: {
30
+ selected_databases: {
31
+ client_side_validation: true,
32
+ required: true,
33
+ serialized_name: 'selectedDatabases',
34
+ type: {
35
+ name: 'Sequence',
36
+ element: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'MigrateSqlServerSqlMIDatabaseInputElementType',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'MigrateSqlServerSqlMIDatabaseInput'
43
+ }
44
+ }
45
+ }
46
+ },
47
+ backup_file_share: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'backupFileShare',
51
+ type: {
52
+ name: 'Composite',
53
+ class_name: 'FileShare'
54
+ }
55
+ },
56
+ storage_resource_id: {
57
+ client_side_validation: true,
58
+ required: true,
59
+ serialized_name: 'storageResourceId',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ source_connection_info: {
65
+ client_side_validation: true,
66
+ required: true,
67
+ serialized_name: 'sourceConnectionInfo',
68
+ type: {
69
+ name: 'Composite',
70
+ class_name: 'SqlConnectionInfo'
71
+ }
72
+ },
73
+ target_connection_info: {
74
+ client_side_validation: true,
75
+ required: true,
76
+ serialized_name: 'targetConnectionInfo',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'MiSqlConnectionInfo'
80
+ }
81
+ },
82
+ azure_app: {
83
+ client_side_validation: true,
84
+ required: true,
85
+ serialized_name: 'azureApp',
86
+ type: {
87
+ name: 'Composite',
88
+ class_name: 'AzureActiveDirectoryApp'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ end
95
+ end
96
+ end
97
+ end
@@ -0,0 +1,61 @@
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 task that migrates SQL Server databases to Azure SQL Database
10
+ # Managed Instance using Log Replay Service.
11
+ #
12
+ class MigrateSqlServerSqlMISyncTaskOutput
13
+
14
+ include MsRestAzure
15
+
16
+ @@discriminatorMap = Hash.new
17
+ @@discriminatorMap["ErrorOutput"] = "MigrateSqlServerSqlMISyncTaskOutputError"
18
+ @@discriminatorMap["DatabaseLevelOutput"] = "MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel"
19
+ @@discriminatorMap["MigrationLevelOutput"] = "MigrateSqlServerSqlMISyncTaskOutputMigrationLevel"
20
+
21
+ def initialize
22
+ @resultType = "MigrateSqlServerSqlMISyncTaskOutput"
23
+ end
24
+
25
+ attr_accessor :resultType
26
+
27
+ # @return [String] Result identifier
28
+ attr_accessor :id
29
+
30
+
31
+ #
32
+ # Mapper for MigrateSqlServerSqlMISyncTaskOutput 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: 'MigrateSqlServerSqlMISyncTaskOutput',
40
+ type: {
41
+ name: 'Composite',
42
+ polymorphic_discriminator: 'resultType',
43
+ uber_parent: 'MigrateSqlServerSqlMISyncTaskOutput',
44
+ class_name: 'MigrateSqlServerSqlMISyncTaskOutput',
45
+ model_properties: {
46
+ id: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ read_only: true,
50
+ serialized_name: 'id',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,220 @@
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 MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel < MigrateSqlServerSqlMISyncTaskOutput
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 :source_database_name
25
+
26
+ # @return [DatabaseMigrationState] Current state of database. Possible
27
+ # values include: 'UNDEFINED', 'INITIAL', 'FULL_BACKUP_UPLOAD_START',
28
+ # 'LOG_SHIPPING_START', 'UPLOAD_LOG_FILES_START', 'CUTOVER_START',
29
+ # 'POST_CUTOVER_COMPLETE', 'COMPLETED', 'CANCELLED', 'FAILED'
30
+ attr_accessor :migration_state
31
+
32
+ # @return [DateTime] Database migration start time
33
+ attr_accessor :started_on
34
+
35
+ # @return [DateTime] Database migration end time
36
+ attr_accessor :ended_on
37
+
38
+ # @return [BackupSetInfo] Details of full backup set
39
+ attr_accessor :full_backup_set_info
40
+
41
+ # @return [BackupSetInfo] Last applied backup set information
42
+ attr_accessor :last_restored_backup_set_info
43
+
44
+ # @return [Array<BackupSetInfo>] Backup sets that are currently active
45
+ # (Either being uploaded or getting restored)
46
+ attr_accessor :active_backup_sets
47
+
48
+ # @return [String] Name of container created in the Azure Storage account
49
+ # where backups are copied to
50
+ attr_accessor :container_name
51
+
52
+ # @return [String] prefix string to use for querying errors for this
53
+ # database
54
+ attr_accessor :error_prefix
55
+
56
+ # @return [Boolean] Whether full backup has been applied to the target
57
+ # database or not
58
+ attr_accessor :is_full_backup_restored
59
+
60
+ # @return [Array<ReportableException>] Migration exceptions and warnings
61
+ attr_accessor :exceptions_and_warnings
62
+
63
+
64
+ #
65
+ # Mapper for MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel class as
66
+ # Ruby Hash.
67
+ # This will be used for serialization/deserialization.
68
+ #
69
+ def self.mapper()
70
+ {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'DatabaseLevelOutput',
74
+ type: {
75
+ name: 'Composite',
76
+ class_name: 'MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel',
77
+ model_properties: {
78
+ id: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ read_only: true,
82
+ serialized_name: 'id',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ resultType: {
88
+ client_side_validation: true,
89
+ required: true,
90
+ serialized_name: 'resultType',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ },
95
+ source_database_name: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ read_only: true,
99
+ serialized_name: 'sourceDatabaseName',
100
+ type: {
101
+ name: 'String'
102
+ }
103
+ },
104
+ migration_state: {
105
+ client_side_validation: true,
106
+ required: false,
107
+ read_only: true,
108
+ serialized_name: 'migrationState',
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
+ full_backup_set_info: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ read_only: true,
135
+ serialized_name: 'fullBackupSetInfo',
136
+ type: {
137
+ name: 'Composite',
138
+ class_name: 'BackupSetInfo'
139
+ }
140
+ },
141
+ last_restored_backup_set_info: {
142
+ client_side_validation: true,
143
+ required: false,
144
+ read_only: true,
145
+ serialized_name: 'lastRestoredBackupSetInfo',
146
+ type: {
147
+ name: 'Composite',
148
+ class_name: 'BackupSetInfo'
149
+ }
150
+ },
151
+ active_backup_sets: {
152
+ client_side_validation: true,
153
+ required: false,
154
+ read_only: true,
155
+ serialized_name: 'activeBackupSets',
156
+ type: {
157
+ name: 'Sequence',
158
+ element: {
159
+ client_side_validation: true,
160
+ required: false,
161
+ serialized_name: 'BackupSetInfoElementType',
162
+ type: {
163
+ name: 'Composite',
164
+ class_name: 'BackupSetInfo'
165
+ }
166
+ }
167
+ }
168
+ },
169
+ container_name: {
170
+ client_side_validation: true,
171
+ required: false,
172
+ read_only: true,
173
+ serialized_name: 'containerName',
174
+ type: {
175
+ name: 'String'
176
+ }
177
+ },
178
+ error_prefix: {
179
+ client_side_validation: true,
180
+ required: false,
181
+ read_only: true,
182
+ serialized_name: 'errorPrefix',
183
+ type: {
184
+ name: 'String'
185
+ }
186
+ },
187
+ is_full_backup_restored: {
188
+ client_side_validation: true,
189
+ required: false,
190
+ read_only: true,
191
+ serialized_name: 'isFullBackupRestored',
192
+ type: {
193
+ name: 'Boolean'
194
+ }
195
+ },
196
+ exceptions_and_warnings: {
197
+ client_side_validation: true,
198
+ required: false,
199
+ read_only: true,
200
+ serialized_name: 'exceptionsAndWarnings',
201
+ type: {
202
+ name: 'Sequence',
203
+ element: {
204
+ client_side_validation: true,
205
+ required: false,
206
+ serialized_name: 'ReportableExceptionElementType',
207
+ type: {
208
+ name: 'Composite',
209
+ class_name: 'ReportableException'
210
+ }
211
+ }
212
+ }
213
+ }
214
+ }
215
+ }
216
+ }
217
+ end
218
+ end
219
+ end
220
+ end