azure_mgmt_data_migration 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
  3. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/operations.rb +4 -0
  4. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/projects.rb +12 -0
  5. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/resource_skus.rb +4 -0
  6. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/services.rb +30 -0
  7. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/tasks.rb +14 -0
  8. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/usages.rb +4 -0
  9. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
  10. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/operations.rb +4 -0
  11. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/projects.rb +12 -0
  12. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/resource_skus.rb +4 -0
  13. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/services.rb +30 -0
  14. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/tasks.rb +14 -0
  15. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/usages.rb +4 -0
  16. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
  17. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/operations.rb +4 -0
  18. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/projects.rb +12 -0
  19. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/resource_skus.rb +4 -0
  20. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/services.rb +30 -0
  21. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/tasks.rb +14 -0
  22. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/usages.rb +4 -0
  23. data/lib/2018-04-19/generated/azure_mgmt_data_migration/data_migration_service_client.rb +1 -1
  24. data/lib/2018-04-19/generated/azure_mgmt_data_migration/operations.rb +4 -0
  25. data/lib/2018-04-19/generated/azure_mgmt_data_migration/projects.rb +12 -0
  26. data/lib/2018-04-19/generated/azure_mgmt_data_migration/resource_skus.rb +4 -0
  27. data/lib/2018-04-19/generated/azure_mgmt_data_migration/services.rb +30 -0
  28. data/lib/2018-04-19/generated/azure_mgmt_data_migration/tasks.rb +14 -0
  29. data/lib/2018-04-19/generated/azure_mgmt_data_migration/usages.rb +4 -0
  30. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration.rb +151 -86
  31. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +5 -1
  32. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/files.rb +16 -0
  33. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/azure_active_directory_app.rb +70 -0
  34. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_file_info.rb +70 -0
  35. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_file_status.rb +21 -0
  36. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_set_info.rb +158 -0
  37. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/check_ocidriver_task_input.rb +47 -0
  38. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/check_ocidriver_task_output.rb +86 -0
  39. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/check_ocidriver_task_properties.rb +147 -0
  40. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/command_properties.rb +1 -0
  41. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_mongo_db_task_properties.rb +16 -0
  42. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_input.rb +3 -2
  43. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_properties.rb +16 -0
  44. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_non_sql_task_output.rb +1 -1
  45. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_oracle_sync_task_input.rb +48 -0
  46. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_oracle_sync_task_output.rb +101 -0
  47. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_oracle_sync_task_properties.rb +147 -0
  48. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_postgre_sql_sync_task_input.rb +49 -0
  49. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_postgre_sql_sync_task_output.rb +114 -0
  50. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_postgre_sql_sync_task_properties.rb +149 -0
  51. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_sync_task_properties.rb +16 -0
  52. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb +2 -1
  53. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_agent_job_level.rb +1 -1
  54. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb +1 -1
  55. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb +16 -0
  56. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_my_sql_task_properties.rb +16 -0
  57. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_input.rb +63 -0
  58. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_output.rb +115 -0
  59. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_properties.rb +149 -0
  60. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_oracle_azure_db_for_postgre_sql_sync_task_input.rb +50 -0
  61. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_oracle_azure_db_for_postgre_sql_sync_task_output.rb +125 -0
  62. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_oracle_azure_db_for_postgre_sql_sync_task_output_database_schema_map_item.rb +68 -0
  63. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_oracle_azure_db_for_postgre_sql_sync_task_properties.rb +152 -0
  64. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb +16 -0
  65. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_misync_task_input.rb +63 -0
  66. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_misync_task_output.rb +81 -0
  67. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_misync_task_properties.rb +148 -0
  68. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_properties.rb +16 -0
  69. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_sql_db_sync_task_properties.rb +16 -0
  70. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +2 -0
  71. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_migration_state.rb +24 -0
  72. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_tde_certificates_sql_task_properties.rb +16 -0
  73. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_oracle_task_input.rb +69 -0
  74. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_oracle_task_output.rb +92 -0
  75. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_oracle_task_properties.rb +148 -0
  76. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_postgre_sql_task_input.rb +69 -0
  77. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_postgre_sql_task_output.rb +92 -0
  78. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_postgre_sql_task_properties.rb +148 -0
  79. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_sync_task_properties.rb +16 -0
  80. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb +16 -0
  81. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/install_ocidriver_task_input.rb +46 -0
  82. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/install_ocidriver_task_output.rb +56 -0
  83. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/install_ocidriver_task_properties.rb +147 -0
  84. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mi_sql_connection_info.rb +78 -0
  85. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_misync_complete_command_input.rb +47 -0
  86. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_misync_complete_command_output.rb +57 -0
  87. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_misync_complete_command_properties.rb +104 -0
  88. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_mongo_db_task_properties.rb +16 -0
  89. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_database_input.rb +60 -0
  90. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_properties.rb +16 -0
  91. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_for_postgre_sql_sync_task_properties.rb +151 -0
  92. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_database_input.rb +150 -0
  93. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_input.rb +83 -0
  94. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output.rb +64 -0
  95. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output_database_error.rb +92 -0
  96. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output_database_level.rb +245 -0
  97. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output_error.rb +74 -0
  98. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output_migration_level.rb +133 -0
  99. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_oracle_azure_db_postgre_sql_sync_task_output_table_level.rb +219 -0
  100. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_database_input.rb +60 -0
  101. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_properties.rb +16 -0
  102. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_task_properties.rb +16 -0
  103. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_properties.rb +16 -0
  104. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb +16 -0
  105. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_input.rb +97 -0
  106. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output.rb +61 -0
  107. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output_database_level.rb +220 -0
  108. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output_error.rb +73 -0
  109. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_output_migration_level.rb +195 -0
  110. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_misync_task_properties.rb +150 -0
  111. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_migration_level.rb +9 -9
  112. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_properties.rb +16 -0
  113. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sync_complete_command_output.rb +13 -0
  114. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/my_sql_target_platform_type.rb +1 -0
  115. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/oracle_connection_info.rb +77 -0
  116. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/oracle_ocidriver_info.rb +118 -0
  117. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/orphaned_user_info.rb +57 -0
  118. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_file_properties.rb +1 -1
  119. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +34 -0
  120. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +1 -1
  121. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/selected_certificate_input.rb +1 -1
  122. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/server_properties.rb +1 -1
  123. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/sql_server_sql_misync_task_input.rb +121 -0
  124. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/upload_ocidriver_task_input.rb +47 -0
  125. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/upload_ocidriver_task_output.rb +69 -0
  126. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/upload_ocidriver_task_properties.rb +147 -0
  127. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_db_sync_task_properties.rb +16 -0
  128. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_misync_task_input.rb +98 -0
  129. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_misync_task_output.rb +83 -0
  130. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_misync_task_properties.rb +149 -0
  131. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_properties.rb +16 -0
  132. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_mongo_db_task_properties.rb +16 -0
  133. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_oracle_azure_db_for_postgre_sql_sync_task_properties.rb +149 -0
  134. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_oracle_azure_db_postgre_sql_sync_task_output.rb +59 -0
  135. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/operations.rb +4 -0
  136. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/projects.rb +12 -0
  137. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/resource_skus.rb +4 -0
  138. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/service_tasks.rb +855 -0
  139. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/services.rb +30 -0
  140. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/tasks.rb +19 -3
  141. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/usages.rb +4 -0
  142. data/lib/profiles/latest/modules/datamigration_profile_module.rb +534 -276
  143. data/lib/version.rb +1 -1
  144. metadata +69 -4
@@ -89,6 +89,22 @@ module Azure::DataMigration::Mgmt::V2018_07_15_preview
89
89
  }
90
90
  }
91
91
  },
92
+ client_data: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ serialized_name: 'clientData',
96
+ type: {
97
+ name: 'Dictionary',
98
+ value: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'StringElementType',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ }
106
+ }
107
+ },
92
108
  taskType: {
93
109
  client_side_validation: true,
94
110
  required: true,
@@ -63,7 +63,8 @@ module Azure::DataMigration::Mgmt::V2018_07_15_preview
63
63
  required: false,
64
64
  serialized_name: 'checkPermissionsGroup',
65
65
  type: {
66
- name: 'String'
66
+ name: 'Enum',
67
+ module: 'ServerLevelPermissionsGroup'
67
68
  }
68
69
  },
69
70
  collect_logins: {
@@ -39,7 +39,7 @@ module Azure::DataMigration::Mgmt::V2018_07_15_preview
39
39
  # @return [Array<ReportableException>] Validation errors
40
40
  attr_accessor :validation_errors
41
41
 
42
- # @return [MigrationEligibilityInfo] Information about eligiblity of
42
+ # @return [MigrationEligibilityInfo] Information about eligibility of
43
43
  # agent job for migration.
44
44
  attr_accessor :migration_eligibility
45
45
 
@@ -34,7 +34,7 @@ module Azure::DataMigration::Mgmt::V2018_07_15_preview
34
34
  # @return [Boolean] The state of the login.
35
35
  attr_accessor :is_enabled
36
36
 
37
- # @return [MigrationEligibilityInfo] Information about eligiblity of
37
+ # @return [MigrationEligibilityInfo] Information about eligibility of
38
38
  # login for migration.
39
39
  attr_accessor :migration_eligibility
40
40
 
@@ -88,6 +88,22 @@ module Azure::DataMigration::Mgmt::V2018_07_15_preview
88
88
  }
89
89
  }
90
90
  },
91
+ client_data: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'clientData',
95
+ type: {
96
+ name: 'Dictionary',
97
+ value: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'StringElementType',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ }
105
+ }
106
+ },
91
107
  taskType: {
92
108
  client_side_validation: true,
93
109
  required: true,
@@ -89,6 +89,22 @@ module Azure::DataMigration::Mgmt::V2018_07_15_preview
89
89
  }
90
90
  }
91
91
  },
92
+ client_data: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ serialized_name: 'clientData',
96
+ type: {
97
+ name: 'Dictionary',
98
+ value: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'StringElementType',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ }
106
+ }
107
+ },
92
108
  taskType: {
93
109
  client_side_validation: true,
94
110
  required: true,
@@ -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_07_15_preview
7
+ module Models
8
+ #
9
+ # Input for the task that validates connection to Azure Database for
10
+ # PostgreSQL and target server requirements
11
+ #
12
+ class ConnectToTargetAzureDbForPostgreSqlSyncTaskInput
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [PostgreSqlConnectionInfo] Connection information for source
17
+ # PostgreSQL server
18
+ attr_accessor :source_connection_info
19
+
20
+ # @return [PostgreSqlConnectionInfo] Connection information for target
21
+ # Azure Database for PostgreSQL server
22
+ attr_accessor :target_connection_info
23
+
24
+
25
+ #
26
+ # Mapper for ConnectToTargetAzureDbForPostgreSqlSyncTaskInput class as
27
+ # Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'ConnectToTargetAzureDbForPostgreSqlSyncTaskInput',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ConnectToTargetAzureDbForPostgreSqlSyncTaskInput',
38
+ model_properties: {
39
+ source_connection_info: {
40
+ client_side_validation: true,
41
+ required: true,
42
+ serialized_name: 'sourceConnectionInfo',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'PostgreSqlConnectionInfo'
46
+ }
47
+ },
48
+ target_connection_info: {
49
+ client_side_validation: true,
50
+ required: true,
51
+ serialized_name: 'targetConnectionInfo',
52
+ type: {
53
+ name: 'Composite',
54
+ class_name: 'PostgreSqlConnectionInfo'
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,115 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DataMigration::Mgmt::V2018_07_15_preview
7
+ module Models
8
+ #
9
+ # Output for the task that validates connection to Azure Database for
10
+ # PostgreSQL and target server requirements
11
+ #
12
+ class ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Result identifier
17
+ attr_accessor :id
18
+
19
+ # @return [String] Version of the target server
20
+ attr_accessor :target_server_version
21
+
22
+ # @return [Array<String>] List of databases on target server
23
+ attr_accessor :databases
24
+
25
+ # @return [String] Target server brand version
26
+ attr_accessor :target_server_brand_version
27
+
28
+ # @return [Array<ReportableException>] Validation errors associated with
29
+ # the task
30
+ attr_accessor :validation_errors
31
+
32
+
33
+ #
34
+ # Mapper for ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput class as
35
+ # Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput',
46
+ model_properties: {
47
+ id: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'id',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ target_server_version: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'targetServerVersion',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ databases: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'databases',
70
+ type: {
71
+ name: 'Sequence',
72
+ element: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'StringElementType',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ }
80
+ }
81
+ },
82
+ target_server_brand_version: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: 'targetServerBrandVersion',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ validation_errors: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ read_only: true,
95
+ serialized_name: 'validationErrors',
96
+ type: {
97
+ name: 'Sequence',
98
+ element: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'ReportableExceptionElementType',
102
+ type: {
103
+ name: 'Composite',
104
+ class_name: 'ReportableException'
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ end
113
+ end
114
+ end
115
+ end
@@ -0,0 +1,149 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DataMigration::Mgmt::V2018_07_15_preview
7
+ module Models
8
+ #
9
+ # Properties for the task that validates connection to Azure Database For
10
+ # PostgreSQL server and target server requirements for online migration
11
+ #
12
+ class ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties < ProjectTaskProperties
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @taskType = "ConnectToTarget.AzureDbForPostgreSql.Sync"
19
+ end
20
+
21
+ attr_accessor :taskType
22
+
23
+ # @return [ConnectToTargetAzureDbForPostgreSqlSyncTaskInput] Task input
24
+ attr_accessor :input
25
+
26
+ # @return [Array<ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput>] Task
27
+ # output. This is ignored if submitted.
28
+ attr_accessor :output
29
+
30
+
31
+ #
32
+ # Mapper for ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties class
33
+ # 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: 'ConnectToTarget.AzureDbForPostgreSql.Sync',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties',
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
+ client_data: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ serialized_name: 'clientData',
96
+ type: {
97
+ name: 'Dictionary',
98
+ value: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'StringElementType',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ }
106
+ }
107
+ },
108
+ taskType: {
109
+ client_side_validation: true,
110
+ required: true,
111
+ serialized_name: 'taskType',
112
+ type: {
113
+ name: 'String'
114
+ }
115
+ },
116
+ input: {
117
+ client_side_validation: true,
118
+ required: false,
119
+ serialized_name: 'input',
120
+ type: {
121
+ name: 'Composite',
122
+ class_name: 'ConnectToTargetAzureDbForPostgreSqlSyncTaskInput'
123
+ }
124
+ },
125
+ output: {
126
+ client_side_validation: true,
127
+ required: false,
128
+ read_only: true,
129
+ serialized_name: 'output',
130
+ type: {
131
+ name: 'Sequence',
132
+ element: {
133
+ client_side_validation: true,
134
+ required: false,
135
+ serialized_name: 'ConnectToTargetAzureDbForPostgreSqlSyncTaskOutputElementType',
136
+ type: {
137
+ name: 'Composite',
138
+ class_name: 'ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput'
139
+ }
140
+ }
141
+ }
142
+ }
143
+ }
144
+ }
145
+ }
146
+ end
147
+ end
148
+ end
149
+ end
@@ -0,0 +1,50 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DataMigration::Mgmt::V2018_07_15_preview
7
+ module Models
8
+ #
9
+ # Input for the task that validates connection to Azure Database for
10
+ # PostgreSQL and target server requirements for Oracle source.
11
+ #
12
+ class ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [PostgreSqlConnectionInfo] Connection information for target
17
+ # Azure Database for PostgreSQL server
18
+ attr_accessor :target_connection_info
19
+
20
+
21
+ #
22
+ # Mapper for ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput class
23
+ # as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput',
34
+ model_properties: {
35
+ target_connection_info: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'targetConnectionInfo',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'PostgreSqlConnectionInfo'
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ end
48
+ end
49
+ end
50
+ end