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,74 @@
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 MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError < MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @resultType = "ErrorOutput"
19
+ end
20
+
21
+ attr_accessor :resultType
22
+
23
+ # @return [ReportableException] Migration error
24
+ attr_accessor :error
25
+
26
+
27
+ #
28
+ # Mapper for MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError
29
+ # 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: 'ErrorOutput',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError',
40
+ model_properties: {
41
+ id: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'id',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ resultType: {
51
+ client_side_validation: true,
52
+ required: true,
53
+ serialized_name: 'resultType',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ error: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'error',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'ReportableException'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,134 @@
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 MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel < MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @resultType = "MigrationLevelOutput"
19
+ end
20
+
21
+ attr_accessor :resultType
22
+
23
+ # @return [DateTime] Migration start time
24
+ attr_accessor :started_on
25
+
26
+ # @return [DateTime] Migration end time
27
+ attr_accessor :ended_on
28
+
29
+ # @return [String] Source server version
30
+ attr_accessor :source_server_version
31
+
32
+ # @return [String] Source server name
33
+ attr_accessor :source_server
34
+
35
+ # @return [String] Target server version
36
+ attr_accessor :target_server_version
37
+
38
+ # @return [String] Target server name
39
+ attr_accessor :target_server
40
+
41
+
42
+ #
43
+ # Mapper for
44
+ # MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel class
45
+ # 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: 'MigrationLevelOutput',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel',
56
+ model_properties: {
57
+ id: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'id',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ resultType: {
67
+ client_side_validation: true,
68
+ required: true,
69
+ serialized_name: 'resultType',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ started_on: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'startedOn',
79
+ type: {
80
+ name: 'DateTime'
81
+ }
82
+ },
83
+ ended_on: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ read_only: true,
87
+ serialized_name: 'endedOn',
88
+ type: {
89
+ name: 'DateTime'
90
+ }
91
+ },
92
+ source_server_version: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ read_only: true,
96
+ serialized_name: 'sourceServerVersion',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ },
101
+ source_server: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ read_only: true,
105
+ serialized_name: 'sourceServer',
106
+ type: {
107
+ name: 'String'
108
+ }
109
+ },
110
+ target_server_version: {
111
+ client_side_validation: true,
112
+ required: false,
113
+ read_only: true,
114
+ serialized_name: 'targetServerVersion',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ target_server: {
120
+ client_side_validation: true,
121
+ required: false,
122
+ read_only: true,
123
+ serialized_name: 'targetServer',
124
+ type: {
125
+ name: 'String'
126
+ }
127
+ }
128
+ }
129
+ }
130
+ }
131
+ end
132
+ end
133
+ end
134
+ 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 MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel < MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @resultType = "TableLevelOutput"
19
+ end
20
+
21
+ attr_accessor :resultType
22
+
23
+ # @return [String] Name of the table
24
+ attr_accessor :table_name
25
+
26
+ # @return [String] Name of the database
27
+ attr_accessor :database_name
28
+
29
+ # @return [Integer] Number of applied inserts
30
+ attr_accessor :cdc_insert_counter
31
+
32
+ # @return [Integer] Number of applied updates
33
+ attr_accessor :cdc_update_counter
34
+
35
+ # @return [Integer] Number of applied deletes
36
+ attr_accessor :cdc_delete_counter
37
+
38
+ # @return [DateTime] Estimate to finish full load
39
+ attr_accessor :full_load_est_finish_time
40
+
41
+ # @return [DateTime] Full load start time
42
+ attr_accessor :full_load_started_on
43
+
44
+ # @return [DateTime] Full load end time
45
+ attr_accessor :full_load_ended_on
46
+
47
+ # @return [Integer] Number of rows applied in full load
48
+ attr_accessor :full_load_total_rows
49
+
50
+ # @return [SyncTableMigrationState] Current state of the table migration.
51
+ # Possible values include: 'BEFORE_LOAD', 'FULL_LOAD', 'COMPLETED',
52
+ # 'CANCELED', 'ERROR', 'FAILED'
53
+ attr_accessor :state
54
+
55
+ # @return [Integer] Total number of applied changes
56
+ attr_accessor :total_changes_applied
57
+
58
+ # @return [Integer] Number of data errors occurred
59
+ attr_accessor :data_errors_counter
60
+
61
+ # @return [DateTime] Last modified time on target
62
+ attr_accessor :last_modified_time
63
+
64
+
65
+ #
66
+ # Mapper for
67
+ # MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel class as
68
+ # Ruby Hash.
69
+ # This will be used for serialization/deserialization.
70
+ #
71
+ def self.mapper()
72
+ {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'TableLevelOutput',
76
+ type: {
77
+ name: 'Composite',
78
+ class_name: 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel',
79
+ model_properties: {
80
+ id: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ read_only: true,
84
+ serialized_name: 'id',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ resultType: {
90
+ client_side_validation: true,
91
+ required: true,
92
+ serialized_name: 'resultType',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ },
97
+ table_name: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ read_only: true,
101
+ serialized_name: 'tableName',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ database_name: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ read_only: true,
110
+ serialized_name: 'databaseName',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ },
115
+ cdc_insert_counter: {
116
+ client_side_validation: true,
117
+ required: false,
118
+ read_only: true,
119
+ serialized_name: 'cdcInsertCounter',
120
+ type: {
121
+ name: 'Number'
122
+ }
123
+ },
124
+ cdc_update_counter: {
125
+ client_side_validation: true,
126
+ required: false,
127
+ read_only: true,
128
+ serialized_name: 'cdcUpdateCounter',
129
+ type: {
130
+ name: 'Number'
131
+ }
132
+ },
133
+ cdc_delete_counter: {
134
+ client_side_validation: true,
135
+ required: false,
136
+ read_only: true,
137
+ serialized_name: 'cdcDeleteCounter',
138
+ type: {
139
+ name: 'Number'
140
+ }
141
+ },
142
+ full_load_est_finish_time: {
143
+ client_side_validation: true,
144
+ required: false,
145
+ read_only: true,
146
+ serialized_name: 'fullLoadEstFinishTime',
147
+ type: {
148
+ name: 'DateTime'
149
+ }
150
+ },
151
+ full_load_started_on: {
152
+ client_side_validation: true,
153
+ required: false,
154
+ read_only: true,
155
+ serialized_name: 'fullLoadStartedOn',
156
+ type: {
157
+ name: 'DateTime'
158
+ }
159
+ },
160
+ full_load_ended_on: {
161
+ client_side_validation: true,
162
+ required: false,
163
+ read_only: true,
164
+ serialized_name: 'fullLoadEndedOn',
165
+ type: {
166
+ name: 'DateTime'
167
+ }
168
+ },
169
+ full_load_total_rows: {
170
+ client_side_validation: true,
171
+ required: false,
172
+ read_only: true,
173
+ serialized_name: 'fullLoadTotalRows',
174
+ type: {
175
+ name: 'Number'
176
+ }
177
+ },
178
+ state: {
179
+ client_side_validation: true,
180
+ required: false,
181
+ read_only: true,
182
+ serialized_name: 'state',
183
+ type: {
184
+ name: 'String'
185
+ }
186
+ },
187
+ total_changes_applied: {
188
+ client_side_validation: true,
189
+ required: false,
190
+ read_only: true,
191
+ serialized_name: 'totalChangesApplied',
192
+ type: {
193
+ name: 'Number'
194
+ }
195
+ },
196
+ data_errors_counter: {
197
+ client_side_validation: true,
198
+ required: false,
199
+ read_only: true,
200
+ serialized_name: 'dataErrorsCounter',
201
+ type: {
202
+ name: 'Number'
203
+ }
204
+ },
205
+ last_modified_time: {
206
+ client_side_validation: true,
207
+ required: false,
208
+ read_only: true,
209
+ serialized_name: 'lastModifiedTime',
210
+ type: {
211
+ name: 'DateTime'
212
+ }
213
+ }
214
+ }
215
+ }
216
+ }
217
+ end
218
+ end
219
+ end
220
+ end
@@ -0,0 +1,135 @@
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
+ # Properties for the task that migrates PostgreSQL databases to Azure
10
+ # Database for PostgreSQL for online migrations
11
+ #
12
+ class MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties < ProjectTaskProperties
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @taskType = "Migrate.PostgreSql.AzureDbForPostgreSql.Sync"
19
+ end
20
+
21
+ attr_accessor :taskType
22
+
23
+ # @return [MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput] Task input
24
+ attr_accessor :input
25
+
26
+ # @return [Array<MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput>]
27
+ # Task output. This is ignored if submitted.
28
+ attr_accessor :output
29
+
30
+
31
+ #
32
+ # Mapper for MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties
33
+ # class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'Migrate.PostgreSql.AzureDbForPostgreSql.Sync',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties',
44
+ model_properties: {
45
+ errors: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'errors',
50
+ type: {
51
+ name: 'Sequence',
52
+ element: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'ODataErrorElementType',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'ODataError'
59
+ }
60
+ }
61
+ }
62
+ },
63
+ state: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'state',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ commands: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ read_only: true,
76
+ serialized_name: 'commands',
77
+ type: {
78
+ name: 'Sequence',
79
+ element: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'CommandPropertiesElementType',
83
+ type: {
84
+ name: 'Composite',
85
+ polymorphic_discriminator: 'commandType',
86
+ uber_parent: 'CommandProperties',
87
+ class_name: 'CommandProperties'
88
+ }
89
+ }
90
+ }
91
+ },
92
+ taskType: {
93
+ client_side_validation: true,
94
+ required: true,
95
+ serialized_name: 'taskType',
96
+ type: {
97
+ name: 'String'
98
+ }
99
+ },
100
+ input: {
101
+ client_side_validation: true,
102
+ required: false,
103
+ serialized_name: 'input',
104
+ type: {
105
+ name: 'Composite',
106
+ class_name: 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput'
107
+ }
108
+ },
109
+ output: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ read_only: true,
113
+ serialized_name: 'output',
114
+ type: {
115
+ name: 'Sequence',
116
+ element: {
117
+ client_side_validation: true,
118
+ required: false,
119
+ serialized_name: 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputElementType',
120
+ type: {
121
+ name: 'Composite',
122
+ polymorphic_discriminator: 'resultType',
123
+ uber_parent: 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput',
124
+ class_name: 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput'
125
+ }
126
+ }
127
+ }
128
+ }
129
+ }
130
+ }
131
+ }
132
+ end
133
+ end
134
+ end
135
+ end