azure_mgmt_data_migration 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (746) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration.rb +134 -0
  4. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +151 -0
  5. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/api_error.rb +47 -0
  6. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/authentication_type.rb +19 -0
  7. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku.rb +71 -0
  8. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb +81 -0
  9. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_sku.rb +80 -0
  10. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb +62 -0
  11. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output.rb +60 -0
  12. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb +137 -0
  13. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_task_level.rb +127 -0
  14. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb +115 -0
  15. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_input.rb +48 -0
  16. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_output.rb +93 -0
  17. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb +113 -0
  18. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +68 -0
  19. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/data_integrity_validation_result.rb +68 -0
  20. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/data_item_migration_summary_result.rb +148 -0
  21. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/data_migration_error.rb +60 -0
  22. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/data_migration_project_metadata.rb +141 -0
  23. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service.rb +162 -0
  24. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service_list.rb +98 -0
  25. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service_status_response.rb +90 -0
  26. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database.rb +230 -0
  27. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_compat_level.rb +21 -0
  28. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_file_info.rb +114 -0
  29. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_file_input.rb +92 -0
  30. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_file_type.rb +19 -0
  31. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_info.rb +46 -0
  32. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_migration_stage.rb +20 -0
  33. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_object_name.rb +85 -0
  34. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_state.rb +23 -0
  35. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_summary_result.rb +129 -0
  36. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_table.rb +59 -0
  37. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/error_type.rb +17 -0
  38. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb +119 -0
  39. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_input.rb +67 -0
  40. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_output.rb +99 -0
  41. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb +113 -0
  42. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_database_input.rb +89 -0
  43. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_input.rb +97 -0
  44. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output.rb +62 -0
  45. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_database_level.rb +255 -0
  46. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_error.rb +72 -0
  47. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_migration_level.rb +261 -0
  48. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_table_level.rb +173 -0
  49. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb +115 -0
  50. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_report_result.rb +58 -0
  51. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_state.rb +21 -0
  52. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_status.rb +24 -0
  53. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_table_metadata.rb +59 -0
  54. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_level_result.rb +165 -0
  55. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb +122 -0
  56. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_options.rb +74 -0
  57. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_result.rb +97 -0
  58. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/name_availability_request.rb +58 -0
  59. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/name_availability_response.rb +73 -0
  60. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/name_check_failure_reason.rb +16 -0
  61. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/object_type.rb +19 -0
  62. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/odata_error.rb +78 -0
  63. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project.rb +186 -0
  64. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project_list.rb +98 -0
  65. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project_provisioning_state.rb +16 -0
  66. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project_source_platform.rb +16 -0
  67. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project_target_platform.rb +16 -0
  68. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project_task.rb +88 -0
  69. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +87 -0
  70. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/query_analysis_validation_result.rb +60 -0
  71. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/query_execution_result.rb +81 -0
  72. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/quota.rb +94 -0
  73. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/quota_list.rb +99 -0
  74. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/quota_name.rb +57 -0
  75. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb +91 -0
  76. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource.rb +80 -0
  77. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku.rb +225 -0
  78. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +59 -0
  79. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity.rb +85 -0
  80. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity_scale_type.rb +17 -0
  81. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_costs.rb +72 -0
  82. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions.rb +86 -0
  83. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_reason_code.rb +16 -0
  84. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_type.rb +15 -0
  85. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_skus_result.rb +100 -0
  86. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result.rb +99 -0
  87. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb +74 -0
  88. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/server_level_permissions_group.rb +16 -0
  89. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/service_operation.rb +59 -0
  90. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/service_operation_display.rb +79 -0
  91. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/service_operation_list.rb +98 -0
  92. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/service_provisioning_state.rb +24 -0
  93. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/service_scalability.rb +17 -0
  94. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/service_sku.rb +95 -0
  95. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/service_sku_list.rb +98 -0
  96. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/severity.rb +17 -0
  97. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/sql_connection_info.rb +130 -0
  98. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/sql_migration_task_input.rb +59 -0
  99. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/task_list.rb +98 -0
  100. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/task_state.rb +22 -0
  101. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/tracked_resource.rb +92 -0
  102. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/update_action_type.rb +17 -0
  103. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/validation_error.rb +59 -0
  104. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/validation_status.rb +22 -0
  105. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/wait_statistics.rb +69 -0
  106. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/module_definition.rb +9 -0
  107. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/operations.rb +236 -0
  108. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/projects.rb +694 -0
  109. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/resource_skus.rb +231 -0
  110. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/services.rb +1918 -0
  111. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/tasks.rb +866 -0
  112. data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/usages.rb +242 -0
  113. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration.rb +150 -0
  114. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +151 -0
  115. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/api_error.rb +47 -0
  116. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/authentication_type.rb +19 -0
  117. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku.rb +71 -0
  118. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb +80 -0
  119. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_sku.rb +80 -0
  120. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/blob_share.rb +46 -0
  121. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb +61 -0
  122. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output.rb +60 -0
  123. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb +135 -0
  124. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_task_level.rb +127 -0
  125. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb +114 -0
  126. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_input.rb +48 -0
  127. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_output.rb +93 -0
  128. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb +112 -0
  129. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_input.rb +49 -0
  130. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_output.rb +93 -0
  131. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_properties.rb +112 -0
  132. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +68 -0
  133. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/data_integrity_validation_result.rb +68 -0
  134. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/data_item_migration_summary_result.rb +147 -0
  135. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/data_migration_error.rb +59 -0
  136. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/data_migration_project_metadata.rb +141 -0
  137. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service.rb +161 -0
  138. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service_list.rb +98 -0
  139. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service_status_response.rb +90 -0
  140. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database.rb +228 -0
  141. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_compat_level.rb +21 -0
  142. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_file_info.rb +113 -0
  143. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_file_input.rb +91 -0
  144. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_file_type.rb +19 -0
  145. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_info.rb +46 -0
  146. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_migration_stage.rb +20 -0
  147. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_object_name.rb +84 -0
  148. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_state.rb +23 -0
  149. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_summary_result.rb +128 -0
  150. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_table.rb +59 -0
  151. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/error_type.rb +17 -0
  152. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb +119 -0
  153. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/file_share.rb +69 -0
  154. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_input.rb +67 -0
  155. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_output.rb +99 -0
  156. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb +112 -0
  157. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_database_input.rb +89 -0
  158. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_input.rb +97 -0
  159. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output.rb +62 -0
  160. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_database_level.rb +253 -0
  161. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_error.rb +72 -0
  162. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_migration_level.rb +260 -0
  163. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_table_level.rb +172 -0
  164. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb +114 -0
  165. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_midatabase_input.rb +71 -0
  166. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_input.rb +101 -0
  167. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output.rb +61 -0
  168. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_database_level.rb +157 -0
  169. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_error.rb +72 -0
  170. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_migration_level.rb +215 -0
  171. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_properties.rb +114 -0
  172. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_server_database_input.rb +89 -0
  173. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_report_result.rb +58 -0
  174. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_state.rb +21 -0
  175. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_status.rb +24 -0
  176. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_table_metadata.rb +59 -0
  177. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_level_result.rb +164 -0
  178. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb +121 -0
  179. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_options.rb +74 -0
  180. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_result.rb +96 -0
  181. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/name_availability_request.rb +58 -0
  182. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/name_availability_response.rb +72 -0
  183. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/name_check_failure_reason.rb +16 -0
  184. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/object_type.rb +19 -0
  185. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/odata_error.rb +78 -0
  186. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project.rb +183 -0
  187. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project_list.rb +98 -0
  188. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project_provisioning_state.rb +16 -0
  189. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project_source_platform.rb +16 -0
  190. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project_target_platform.rb +16 -0
  191. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project_task.rb +88 -0
  192. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +89 -0
  193. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/query_analysis_validation_result.rb +60 -0
  194. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/query_execution_result.rb +81 -0
  195. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/quota.rb +94 -0
  196. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/quota_list.rb +99 -0
  197. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/quota_name.rb +57 -0
  198. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb +91 -0
  199. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource.rb +80 -0
  200. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku.rb +225 -0
  201. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +59 -0
  202. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity.rb +84 -0
  203. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity_scale_type.rb +17 -0
  204. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_costs.rb +72 -0
  205. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions.rb +84 -0
  206. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_reason_code.rb +16 -0
  207. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_type.rb +15 -0
  208. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_skus_result.rb +100 -0
  209. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result.rb +99 -0
  210. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb +72 -0
  211. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/server_level_permissions_group.rb +16 -0
  212. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/service_operation.rb +59 -0
  213. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/service_operation_display.rb +79 -0
  214. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/service_operation_list.rb +98 -0
  215. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/service_provisioning_state.rb +24 -0
  216. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/service_scalability.rb +17 -0
  217. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/service_sku.rb +95 -0
  218. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/service_sku_list.rb +98 -0
  219. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/severity.rb +17 -0
  220. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/sql_connection_info.rb +129 -0
  221. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/sql_migration_task_input.rb +59 -0
  222. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/task_list.rb +98 -0
  223. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/task_state.rb +22 -0
  224. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/tracked_resource.rb +92 -0
  225. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/update_action_type.rb +17 -0
  226. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb +96 -0
  227. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_output.rb +149 -0
  228. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_properties.rb +113 -0
  229. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/validation_error.rb +58 -0
  230. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/validation_status.rb +22 -0
  231. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/wait_statistics.rb +69 -0
  232. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/module_definition.rb +9 -0
  233. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/operations.rb +236 -0
  234. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/projects.rb +694 -0
  235. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/resource_skus.rb +231 -0
  236. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/services.rb +1918 -0
  237. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/tasks.rb +866 -0
  238. data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/usages.rb +242 -0
  239. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration.rb +158 -0
  240. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +151 -0
  241. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/api_error.rb +47 -0
  242. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/authentication_type.rb +19 -0
  243. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/available_service_sku.rb +71 -0
  244. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb +80 -0
  245. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/available_service_sku_sku.rb +80 -0
  246. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/blob_share.rb +46 -0
  247. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb +87 -0
  248. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output.rb +62 -0
  249. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_agent_job_level.rb +136 -0
  250. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb +135 -0
  251. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb +126 -0
  252. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_task_level.rb +169 -0
  253. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb +114 -0
  254. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_input.rb +48 -0
  255. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_output.rb +93 -0
  256. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb +112 -0
  257. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_input.rb +49 -0
  258. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_output.rb +133 -0
  259. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_properties.rb +112 -0
  260. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +68 -0
  261. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/data_integrity_validation_result.rb +68 -0
  262. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/data_item_migration_summary_result.rb +147 -0
  263. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/data_migration_error.rb +59 -0
  264. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/data_migration_project_metadata.rb +141 -0
  265. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/data_migration_service.rb +161 -0
  266. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/data_migration_service_list.rb +98 -0
  267. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/data_migration_service_status_response.rb +90 -0
  268. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database.rb +228 -0
  269. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_compat_level.rb +21 -0
  270. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_file_info.rb +113 -0
  271. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_file_input.rb +91 -0
  272. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_file_type.rb +19 -0
  273. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_info.rb +46 -0
  274. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_migration_stage.rb +20 -0
  275. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_object_name.rb +84 -0
  276. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_state.rb +23 -0
  277. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_summary_result.rb +128 -0
  278. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_table.rb +59 -0
  279. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/error_type.rb +17 -0
  280. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb +119 -0
  281. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/file_share.rb +69 -0
  282. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_input.rb +67 -0
  283. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_output.rb +99 -0
  284. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb +112 -0
  285. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/login_migration_stage.rb +23 -0
  286. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/login_type.rb +21 -0
  287. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_database_input.rb +89 -0
  288. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_input.rb +97 -0
  289. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output.rb +62 -0
  290. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_database_level.rb +254 -0
  291. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_error.rb +73 -0
  292. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_migration_level.rb +261 -0
  293. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_table_level.rb +173 -0
  294. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb +114 -0
  295. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_midatabase_input.rb +71 -0
  296. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_input.rb +139 -0
  297. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output.rb +63 -0
  298. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_agent_job_level.rb +157 -0
  299. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_database_level.rb +170 -0
  300. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_error.rb +73 -0
  301. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_login_level.rb +161 -0
  302. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_migration_level.rb +301 -0
  303. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_properties.rb +114 -0
  304. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_server_database_input.rb +89 -0
  305. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_eligibility_info.rb +68 -0
  306. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_report_result.rb +58 -0
  307. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_state.rb +21 -0
  308. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_status.rb +24 -0
  309. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_table_metadata.rb +59 -0
  310. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_level_result.rb +164 -0
  311. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb +121 -0
  312. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_validation_options.rb +74 -0
  313. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_validation_result.rb +96 -0
  314. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/name_availability_request.rb +58 -0
  315. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/name_availability_response.rb +72 -0
  316. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/name_check_failure_reason.rb +16 -0
  317. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/object_type.rb +19 -0
  318. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/odata_error.rb +78 -0
  319. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project.rb +183 -0
  320. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project_list.rb +98 -0
  321. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project_provisioning_state.rb +16 -0
  322. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project_source_platform.rb +16 -0
  323. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project_target_platform.rb +17 -0
  324. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project_task.rb +88 -0
  325. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +89 -0
  326. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/query_analysis_validation_result.rb +60 -0
  327. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/query_execution_result.rb +81 -0
  328. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/quota.rb +94 -0
  329. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/quota_list.rb +99 -0
  330. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/quota_name.rb +57 -0
  331. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb +91 -0
  332. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource.rb +80 -0
  333. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku.rb +225 -0
  334. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +59 -0
  335. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity.rb +84 -0
  336. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity_scale_type.rb +17 -0
  337. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_costs.rb +72 -0
  338. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions.rb +84 -0
  339. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_reason_code.rb +16 -0
  340. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_type.rb +15 -0
  341. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_skus_result.rb +100 -0
  342. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result.rb +99 -0
  343. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb +72 -0
  344. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/server_level_permissions_group.rb +16 -0
  345. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/service_operation.rb +59 -0
  346. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/service_operation_display.rb +79 -0
  347. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/service_operation_list.rb +98 -0
  348. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/service_provisioning_state.rb +24 -0
  349. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/service_scalability.rb +17 -0
  350. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/service_sku.rb +95 -0
  351. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/service_sku_list.rb +98 -0
  352. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/severity.rb +17 -0
  353. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/sql_connection_info.rb +129 -0
  354. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/sql_migration_task_input.rb +59 -0
  355. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/start_migration_scenario_server_role_result.rb +82 -0
  356. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/task_list.rb +98 -0
  357. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/task_state.rb +22 -0
  358. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/tracked_resource.rb +92 -0
  359. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/update_action_type.rb +17 -0
  360. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb +96 -0
  361. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_output.rb +149 -0
  362. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_properties.rb +113 -0
  363. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/validation_error.rb +58 -0
  364. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/validation_status.rb +22 -0
  365. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/wait_statistics.rb +69 -0
  366. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/module_definition.rb +9 -0
  367. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/operations.rb +236 -0
  368. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/projects.rb +694 -0
  369. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/resource_skus.rb +231 -0
  370. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/services.rb +1918 -0
  371. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/tasks.rb +866 -0
  372. data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/usages.rb +242 -0
  373. data/lib/2018-04-19/generated/azure_mgmt_data_migration.rb +143 -0
  374. data/lib/2018-04-19/generated/azure_mgmt_data_migration/data_migration_service_client.rb +151 -0
  375. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/api_error.rb +47 -0
  376. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/authentication_type.rb +19 -0
  377. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/available_service_sku.rb +71 -0
  378. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb +80 -0
  379. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/available_service_sku_sku.rb +80 -0
  380. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/blob_share.rb +46 -0
  381. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb +87 -0
  382. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output.rb +62 -0
  383. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_agent_job_level.rb +136 -0
  384. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb +135 -0
  385. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb +126 -0
  386. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_task_level.rb +169 -0
  387. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb +113 -0
  388. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_input.rb +48 -0
  389. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_output.rb +93 -0
  390. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb +111 -0
  391. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connection_info.rb +68 -0
  392. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_integrity_validation_result.rb +70 -0
  393. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_item_migration_summary_result.rb +147 -0
  394. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_error.rb +59 -0
  395. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_project_metadata.rb +141 -0
  396. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_service.rb +161 -0
  397. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_service_list.rb +98 -0
  398. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_service_status_response.rb +90 -0
  399. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database.rb +245 -0
  400. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_compat_level.rb +21 -0
  401. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_info.rb +113 -0
  402. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_input.rb +91 -0
  403. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_type.rb +19 -0
  404. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_info.rb +46 -0
  405. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_migration_stage.rb +20 -0
  406. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_object_name.rb +84 -0
  407. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_state.rb +23 -0
  408. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_summary_result.rb +128 -0
  409. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_table.rb +59 -0
  410. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/error_type.rb +17 -0
  411. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/execution_statistics.rb +124 -0
  412. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/file_share.rb +69 -0
  413. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_input.rb +67 -0
  414. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_output.rb +99 -0
  415. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb +111 -0
  416. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/login_migration_stage.rb +23 -0
  417. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/login_type.rb +21 -0
  418. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_database_input.rb +89 -0
  419. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_input.rb +97 -0
  420. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output.rb +64 -0
  421. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_database_level.rb +253 -0
  422. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_database_level_validation_result.rb +177 -0
  423. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_error.rb +72 -0
  424. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_migration_level.rb +261 -0
  425. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_table_level.rb +172 -0
  426. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_validation_result.rb +109 -0
  427. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb +113 -0
  428. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_server_database_input.rb +89 -0
  429. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_eligibility_info.rb +68 -0
  430. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_report_result.rb +60 -0
  431. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_state.rb +21 -0
  432. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_status.rb +24 -0
  433. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_table_metadata.rb +59 -0
  434. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb +121 -0
  435. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_validation_options.rb +74 -0
  436. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/name_availability_request.rb +58 -0
  437. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/name_availability_response.rb +75 -0
  438. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/name_check_failure_reason.rb +16 -0
  439. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/object_type.rb +19 -0
  440. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/odata_error.rb +81 -0
  441. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project.rb +183 -0
  442. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_list.rb +98 -0
  443. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_provisioning_state.rb +16 -0
  444. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_source_platform.rb +16 -0
  445. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_target_platform.rb +16 -0
  446. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task.rb +88 -0
  447. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb +85 -0
  448. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/query_analysis_validation_result.rb +62 -0
  449. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/query_execution_result.rb +85 -0
  450. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/quota.rb +94 -0
  451. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/quota_list.rb +99 -0
  452. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/quota_name.rb +57 -0
  453. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/reportable_exception.rb +96 -0
  454. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource.rb +80 -0
  455. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku.rb +225 -0
  456. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +59 -0
  457. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_capacity.rb +84 -0
  458. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_capacity_scale_type.rb +17 -0
  459. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_costs.rb +72 -0
  460. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_restrictions.rb +84 -0
  461. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_reason_code.rb +16 -0
  462. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_type.rb +15 -0
  463. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_skus_result.rb +100 -0
  464. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result.rb +101 -0
  465. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb +75 -0
  466. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/server_level_permissions_group.rb +16 -0
  467. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_operation.rb +59 -0
  468. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_operation_display.rb +79 -0
  469. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_operation_list.rb +98 -0
  470. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_provisioning_state.rb +24 -0
  471. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_scalability.rb +17 -0
  472. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_sku.rb +95 -0
  473. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_sku_list.rb +98 -0
  474. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/severity.rb +17 -0
  475. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_connection_info.rb +129 -0
  476. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_migration_task_input.rb +59 -0
  477. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/start_migration_scenario_server_role_result.rb +82 -0
  478. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/task_list.rb +98 -0
  479. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/task_state.rb +22 -0
  480. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/tracked_resource.rb +92 -0
  481. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/update_action_type.rb +17 -0
  482. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validation_error.rb +60 -0
  483. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validation_status.rb +22 -0
  484. data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/wait_statistics.rb +72 -0
  485. data/lib/2018-04-19/generated/azure_mgmt_data_migration/module_definition.rb +9 -0
  486. data/lib/2018-04-19/generated/azure_mgmt_data_migration/operations.rb +236 -0
  487. data/lib/2018-04-19/generated/azure_mgmt_data_migration/projects.rb +694 -0
  488. data/lib/2018-04-19/generated/azure_mgmt_data_migration/resource_skus.rb +231 -0
  489. data/lib/2018-04-19/generated/azure_mgmt_data_migration/services.rb +1918 -0
  490. data/lib/2018-04-19/generated/azure_mgmt_data_migration/tasks.rb +866 -0
  491. data/lib/2018-04-19/generated/azure_mgmt_data_migration/usages.rb +242 -0
  492. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration.rb +272 -0
  493. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +155 -0
  494. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/files.rb +921 -0
  495. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/api_error.rb +47 -0
  496. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/authentication_type.rb +19 -0
  497. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku.rb +71 -0
  498. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb +80 -0
  499. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_sku.rb +80 -0
  500. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_mode.rb +16 -0
  501. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_type.rb +21 -0
  502. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/blob_share.rb +46 -0
  503. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/command_properties.rb +86 -0
  504. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/command_state.rb +19 -0
  505. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_mongo_db_task_properties.rb +132 -0
  506. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_input.rb +74 -0
  507. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_properties.rb +131 -0
  508. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_non_sql_task_output.rb +114 -0
  509. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_sync_task_properties.rb +135 -0
  510. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb +102 -0
  511. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output.rb +62 -0
  512. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_agent_job_level.rb +157 -0
  513. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb +135 -0
  514. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb +125 -0
  515. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_task_level.rb +190 -0
  516. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb +134 -0
  517. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_my_sql_task_input.rb +62 -0
  518. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_my_sql_task_output.rb +114 -0
  519. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_my_sql_task_properties.rb +133 -0
  520. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_input.rb +48 -0
  521. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_output.rb +93 -0
  522. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb +132 -0
  523. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_input.rb +49 -0
  524. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_output.rb +133 -0
  525. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_properties.rb +132 -0
  526. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_sql_db_sync_task_input.rb +61 -0
  527. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_sql_db_sync_task_properties.rb +133 -0
  528. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +71 -0
  529. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_integrity_validation_result.rb +68 -0
  530. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_item_migration_summary_result.rb +147 -0
  531. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_migration_error.rb +59 -0
  532. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_migration_project_metadata.rb +141 -0
  533. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_migration_result_code.rb +20 -0
  534. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service.rb +161 -0
  535. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service_list.rb +98 -0
  536. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service_status_response.rb +90 -0
  537. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database.rb +228 -0
  538. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_backup_info.rb +143 -0
  539. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_compat_level.rb +21 -0
  540. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_file_info.rb +113 -0
  541. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_file_input.rb +91 -0
  542. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_file_type.rb +19 -0
  543. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_info.rb +46 -0
  544. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_migration_stage.rb +20 -0
  545. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_object_name.rb +84 -0
  546. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_state.rb +23 -0
  547. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_summary_result.rb +128 -0
  548. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_table.rb +59 -0
  549. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/error_type.rb +17 -0
  550. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb +119 -0
  551. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/file_list.rb +98 -0
  552. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/file_share.rb +69 -0
  553. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/file_storage_info.rb +65 -0
  554. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_project_details_non_sql_task_input.rb +58 -0
  555. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_tde_certificates_sql_task_input.rb +82 -0
  556. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_tde_certificates_sql_task_output.rb +85 -0
  557. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_tde_certificates_sql_task_properties.rb +132 -0
  558. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_sync_task_input.rb +100 -0
  559. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_sync_task_output.rb +146 -0
  560. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_sync_task_properties.rb +132 -0
  561. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_input.rb +67 -0
  562. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_output.rb +99 -0
  563. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb +132 -0
  564. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/login_migration_stage.rb +23 -0
  565. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/login_type.rb +21 -0
  566. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_mongo_db_task_properties.rb +130 -0
  567. 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
  568. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_input.rb +82 -0
  569. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output.rb +64 -0
  570. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_database_error.rb +92 -0
  571. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_database_level.rb +245 -0
  572. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_error.rb +74 -0
  573. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_migration_level.rb +133 -0
  574. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_table_level.rb +219 -0
  575. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_properties.rb +135 -0
  576. 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
  577. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_input.rb +84 -0
  578. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output.rb +64 -0
  579. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_database_error.rb +93 -0
  580. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_database_level.rb +246 -0
  581. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_error.rb +74 -0
  582. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_migration_level.rb +134 -0
  583. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_table_level.rb +220 -0
  584. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_properties.rb +135 -0
  585. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_database_input.rb +69 -0
  586. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_task_input.rb +75 -0
  587. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_task_output.rb +62 -0
  588. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_task_output_database_level.rb +190 -0
  589. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_task_output_error.rb +85 -0
  590. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_task_output_migration_level.rb +147 -0
  591. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_task_properties.rb +135 -0
  592. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_task_output_error.rb +73 -0
  593. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_database_input.rb +89 -0
  594. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_database_input.rb +159 -0
  595. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_input.rb +87 -0
  596. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output.rb +63 -0
  597. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_database_error.rb +92 -0
  598. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_database_level.rb +245 -0
  599. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_error.rb +73 -0
  600. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_migration_level.rb +145 -0
  601. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_table_level.rb +219 -0
  602. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_properties.rb +134 -0
  603. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_input.rb +97 -0
  604. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output.rb +62 -0
  605. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_database_level.rb +254 -0
  606. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_error.rb +73 -0
  607. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_migration_level.rb +273 -0
  608. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_table_level.rb +173 -0
  609. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb +134 -0
  610. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_midatabase_input.rb +91 -0
  611. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_input.rb +153 -0
  612. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output.rb +63 -0
  613. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_agent_job_level.rb +157 -0
  614. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_database_level.rb +170 -0
  615. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_error.rb +73 -0
  616. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_login_level.rb +160 -0
  617. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_migration_level.rb +301 -0
  618. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_properties.rb +134 -0
  619. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_server_database_input.rb +88 -0
  620. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sync_complete_command_input.rb +57 -0
  621. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sync_complete_command_output.rb +56 -0
  622. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sync_complete_command_properties.rb +103 -0
  623. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_eligibility_info.rb +68 -0
  624. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_report_result.rb +58 -0
  625. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_state.rb +21 -0
  626. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_status.rb +24 -0
  627. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_table_metadata.rb +59 -0
  628. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_level_result.rb +164 -0
  629. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb +121 -0
  630. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_options.rb +74 -0
  631. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_result.rb +96 -0
  632. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_cancel_command.rb +89 -0
  633. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_cluster_info.rb +91 -0
  634. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_cluster_type.rb +17 -0
  635. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_collection_info.rb +158 -0
  636. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_collection_progress.rb +156 -0
  637. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_collection_settings.rb +73 -0
  638. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_command_input.rb +48 -0
  639. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_connection_info.rb +79 -0
  640. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_database_info.rb +108 -0
  641. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_database_progress.rb +178 -0
  642. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_database_settings.rb +71 -0
  643. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_error.rb +82 -0
  644. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_error_type.rb +17 -0
  645. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_finish_command.rb +89 -0
  646. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_finish_command_input.rb +56 -0
  647. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_migration_progress.rb +177 -0
  648. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_migration_settings.rb +124 -0
  649. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_migration_state.rb +25 -0
  650. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_object_info.rb +94 -0
  651. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_progress.rb +214 -0
  652. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_replication.rb +17 -0
  653. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_restart_command.rb +89 -0
  654. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_shard_key_field.rb +58 -0
  655. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_shard_key_info.rb +66 -0
  656. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_shard_key_order.rb +17 -0
  657. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_shard_key_setting.rb +66 -0
  658. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_throttling_settings.rb +71 -0
  659. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/my_sql_connection_info.rb +88 -0
  660. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/my_sql_target_platform_type.rb +15 -0
  661. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/name_availability_request.rb +58 -0
  662. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/name_availability_response.rb +72 -0
  663. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/name_check_failure_reason.rb +16 -0
  664. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table.rb +46 -0
  665. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table_result.rb +132 -0
  666. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_migration_task_input.rb +102 -0
  667. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_migration_task_output.rb +145 -0
  668. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/object_type.rb +19 -0
  669. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/odata_error.rb +78 -0
  670. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/postgre_sql_connection_info.rb +99 -0
  671. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project.rb +185 -0
  672. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_file.rb +86 -0
  673. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_file_properties.rb +95 -0
  674. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_list.rb +98 -0
  675. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_provisioning_state.rb +16 -0
  676. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_source_platform.rb +19 -0
  677. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_target_platform.rb +20 -0
  678. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task.rb +88 -0
  679. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +126 -0
  680. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/query_analysis_validation_result.rb +60 -0
  681. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/query_execution_result.rb +81 -0
  682. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/quota.rb +94 -0
  683. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/quota_list.rb +99 -0
  684. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/quota_name.rb +57 -0
  685. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb +102 -0
  686. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource.rb +80 -0
  687. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku.rb +225 -0
  688. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +59 -0
  689. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity.rb +84 -0
  690. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity_scale_type.rb +17 -0
  691. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_costs.rb +72 -0
  692. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions.rb +84 -0
  693. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_reason_code.rb +16 -0
  694. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_type.rb +15 -0
  695. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_skus_result.rb +100 -0
  696. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result.rb +99 -0
  697. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb +72 -0
  698. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/schema_migration_option.rb +17 -0
  699. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/schema_migration_setting.rb +59 -0
  700. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/schema_migration_stage.rb +24 -0
  701. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/selected_certificate_input.rb +58 -0
  702. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/server_level_permissions_group.rb +18 -0
  703. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/server_properties.rb +107 -0
  704. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/service_operation.rb +59 -0
  705. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/service_operation_display.rb +79 -0
  706. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/service_operation_list.rb +98 -0
  707. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/service_provisioning_state.rb +24 -0
  708. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/service_scalability.rb +17 -0
  709. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/service_sku.rb +95 -0
  710. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/service_sku_list.rb +98 -0
  711. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/severity.rb +17 -0
  712. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/sql_connection_info.rb +141 -0
  713. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/sql_migration_task_input.rb +59 -0
  714. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/sql_source_platform.rb +15 -0
  715. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/start_migration_scenario_server_role_result.rb +82 -0
  716. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/sync_database_migration_reporting_state.rb +25 -0
  717. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/sync_migration_database_error_event.rb +71 -0
  718. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/sync_table_migration_state.rb +20 -0
  719. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/task_list.rb +98 -0
  720. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/task_state.rb +22 -0
  721. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/tracked_resource.rb +92 -0
  722. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/update_action_type.rb +17 -0
  723. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_db_sync_task_properties.rb +133 -0
  724. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb +140 -0
  725. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_output.rb +184 -0
  726. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_properties.rb +133 -0
  727. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_mongo_db_task_properties.rb +132 -0
  728. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_sync_migration_input_sql_server_task_input.rb +82 -0
  729. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_sync_migration_input_sql_server_task_output.rb +82 -0
  730. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validation_error.rb +58 -0
  731. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validation_status.rb +22 -0
  732. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/wait_statistics.rb +69 -0
  733. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/module_definition.rb +9 -0
  734. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/operations.rb +236 -0
  735. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/projects.rb +694 -0
  736. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/resource_skus.rb +231 -0
  737. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/services.rb +1918 -0
  738. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/tasks.rb +989 -0
  739. data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/usages.rb +242 -0
  740. data/lib/azure_mgmt_data_migration.rb +10 -0
  741. data/lib/module_definition.rb +7 -0
  742. data/lib/profiles/latest/datamigration_latest_profile_client.rb +40 -0
  743. data/lib/profiles/latest/datamigration_module_definition.rb +8 -0
  744. data/lib/profiles/latest/modules/datamigration_profile_module.rb +1025 -0
  745. data/lib/version.rb +7 -0
  746. metadata +862 -0
@@ -0,0 +1,155 @@
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
+ #
8
+ # A service client - single point of access to the REST API.
9
+ #
10
+ class DataMigrationServiceClient < MsRestAzure::AzureServiceClient
11
+ include MsRestAzure
12
+ include MsRestAzure::Serialization
13
+
14
+ # @return [String] the base URI of the service.
15
+ attr_accessor :base_url
16
+
17
+ # @return Credentials needed for the client to connect to Azure.
18
+ attr_reader :credentials
19
+
20
+ # @return [String] Version of the API
21
+ attr_reader :api_version
22
+
23
+ # @return [String] Identifier of the subscription
24
+ attr_accessor :subscription_id
25
+
26
+ # @return [String] The preferred language for the response.
27
+ attr_accessor :accept_language
28
+
29
+ # @return [Integer] The retry timeout in seconds for Long Running
30
+ # Operations. Default value is 30.
31
+ attr_accessor :long_running_operation_retry_timeout
32
+
33
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
34
+ # generated. When set to true a unique x-ms-client-request-id value is
35
+ # generated and included in each request. Default is true.
36
+ attr_accessor :generate_client_request_id
37
+
38
+ # @return [ResourceSkus] resource_skus
39
+ attr_reader :resource_skus
40
+
41
+ # @return [Services] services
42
+ attr_reader :services
43
+
44
+ # @return [Tasks] tasks
45
+ attr_reader :tasks
46
+
47
+ # @return [Projects] projects
48
+ attr_reader :projects
49
+
50
+ # @return [Usages] usages
51
+ attr_reader :usages
52
+
53
+ # @return [Operations] operations
54
+ attr_reader :operations
55
+
56
+ # @return [Files] files
57
+ attr_reader :files
58
+
59
+ #
60
+ # Creates initializes a new instance of the DataMigrationServiceClient class.
61
+ # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
62
+ # @param base_url [String] the base URI of the service.
63
+ # @param options [Array] filters to be applied to the HTTP requests.
64
+ #
65
+ def initialize(credentials = nil, base_url = nil, options = nil)
66
+ super(credentials, options)
67
+ @base_url = base_url || 'https://management.azure.com'
68
+
69
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
70
+ @credentials = credentials
71
+
72
+ @resource_skus = ResourceSkus.new(self)
73
+ @services = Services.new(self)
74
+ @tasks = Tasks.new(self)
75
+ @projects = Projects.new(self)
76
+ @usages = Usages.new(self)
77
+ @operations = Operations.new(self)
78
+ @files = Files.new(self)
79
+ @api_version = '2018-07-15-preview'
80
+ @accept_language = 'en-US'
81
+ @long_running_operation_retry_timeout = 30
82
+ @generate_client_request_id = true
83
+ add_telemetry
84
+ end
85
+
86
+ #
87
+ # Makes a request and returns the body of the response.
88
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
89
+ # @param path [String] the path, relative to {base_url}.
90
+ # @param options [Hash{String=>String}] specifying any request options like :body.
91
+ # @return [Hash{String=>String}] containing the body of the response.
92
+ # Example:
93
+ #
94
+ # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
95
+ # path = "/path"
96
+ # options = {
97
+ # body: request_content,
98
+ # query_params: {'api-version' => '2016-02-01'}
99
+ # }
100
+ # result = @client.make_request(:put, path, options)
101
+ #
102
+ def make_request(method, path, options = {})
103
+ result = make_request_with_http_info(method, path, options)
104
+ result.body unless result.nil?
105
+ end
106
+
107
+ #
108
+ # Makes a request and returns the operation response.
109
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
110
+ # @param path [String] the path, relative to {base_url}.
111
+ # @param options [Hash{String=>String}] specifying any request options like :body.
112
+ # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
113
+ #
114
+ def make_request_with_http_info(method, path, options = {})
115
+ result = make_request_async(method, path, options).value!
116
+ result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
117
+ result
118
+ end
119
+
120
+ #
121
+ # Makes a request asynchronously.
122
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
123
+ # @param path [String] the path, relative to {base_url}.
124
+ # @param options [Hash{String=>String}] specifying any request options like :body.
125
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
126
+ #
127
+ def make_request_async(method, path, options = {})
128
+ fail ArgumentError, 'method is nil' if method.nil?
129
+ fail ArgumentError, 'path is nil' if path.nil?
130
+
131
+ request_url = options[:base_url] || @base_url
132
+ if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
133
+ @request_headers['Content-Type'] = options[:headers]['Content-Type']
134
+ end
135
+
136
+ request_headers = @request_headers
137
+ request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
138
+ options.merge!({headers: request_headers.merge(options[:headers] || {})})
139
+ options.merge!({credentials: @credentials}) unless @credentials.nil?
140
+
141
+ super(request_url, method, path, options)
142
+ end
143
+
144
+
145
+ private
146
+ #
147
+ # Adds telemetry information.
148
+ #
149
+ def add_telemetry
150
+ sdk_information = 'azure_mgmt_data_migration'
151
+ sdk_information = "#{sdk_information}/0.17.0"
152
+ add_user_agent_information(sdk_information)
153
+ end
154
+ end
155
+ end
@@ -0,0 +1,921 @@
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
+ #
8
+ # Data Migration Client
9
+ #
10
+ class Files
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the Files class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [DataMigrationServiceClient] reference to the DataMigrationServiceClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Get files in a project
26
+ #
27
+ # The project resource is a nested resource representing a stored migration
28
+ # project. This method returns a list of files owned by a project resource.
29
+ #
30
+ # @param group_name [String] Name of the resource group
31
+ # @param service_name [String] Name of the service
32
+ # @param project_name [String] Name of the project
33
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
34
+ # will be added to the HTTP request.
35
+ #
36
+ # @return [Array<ProjectFile>] operation results.
37
+ #
38
+ def list(group_name, service_name, project_name, custom_headers:nil)
39
+ first_page = list_as_lazy(group_name, service_name, project_name, custom_headers:custom_headers)
40
+ first_page.get_all_items
41
+ end
42
+
43
+ #
44
+ # Get files in a project
45
+ #
46
+ # The project resource is a nested resource representing a stored migration
47
+ # project. This method returns a list of files owned by a project resource.
48
+ #
49
+ # @param group_name [String] Name of the resource group
50
+ # @param service_name [String] Name of the service
51
+ # @param project_name [String] Name of the project
52
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
53
+ # will be added to the HTTP request.
54
+ #
55
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
56
+ #
57
+ def list_with_http_info(group_name, service_name, project_name, custom_headers:nil)
58
+ list_async(group_name, service_name, project_name, custom_headers:custom_headers).value!
59
+ end
60
+
61
+ #
62
+ # Get files in a project
63
+ #
64
+ # The project resource is a nested resource representing a stored migration
65
+ # project. This method returns a list of files owned by a project resource.
66
+ #
67
+ # @param group_name [String] Name of the resource group
68
+ # @param service_name [String] Name of the service
69
+ # @param project_name [String] Name of the project
70
+ # @param [Hash{String => String}] A hash of custom headers that will be added
71
+ # to the HTTP request.
72
+ #
73
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
74
+ #
75
+ def list_async(group_name, service_name, project_name, custom_headers:nil)
76
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
77
+ fail ArgumentError, 'group_name is nil' if group_name.nil?
78
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
79
+ fail ArgumentError, 'project_name is nil' if project_name.nil?
80
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
81
+
82
+
83
+ request_headers = {}
84
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
85
+
86
+ # Set Headers
87
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
88
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
89
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files'
90
+
91
+ request_url = @base_url || @client.base_url
92
+
93
+ options = {
94
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
95
+ path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name},
96
+ query_params: {'api-version' => @client.api_version},
97
+ headers: request_headers.merge(custom_headers || {}),
98
+ base_url: request_url
99
+ }
100
+ promise = @client.make_request_async(:get, path_template, options)
101
+
102
+ promise = promise.then do |result|
103
+ http_response = result.response
104
+ status_code = http_response.status
105
+ response_content = http_response.body
106
+ unless status_code == 200
107
+ error_model = JSON.load(response_content)
108
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
109
+ end
110
+
111
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
112
+ # Deserialize Response
113
+ if status_code == 200
114
+ begin
115
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
116
+ result_mapper = Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::FileList.mapper()
117
+ result.body = @client.deserialize(result_mapper, parsed_response)
118
+ rescue Exception => e
119
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
120
+ end
121
+ end
122
+
123
+ result
124
+ end
125
+
126
+ promise.execute
127
+ end
128
+
129
+ #
130
+ # Get file information
131
+ #
132
+ # The files resource is a nested, proxy-only resource representing a file
133
+ # stored under the project resource. This method retrieves information about a
134
+ # file.
135
+ #
136
+ # @param group_name [String] Name of the resource group
137
+ # @param service_name [String] Name of the service
138
+ # @param project_name [String] Name of the project
139
+ # @param file_name [String] Name of the File
140
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
141
+ # will be added to the HTTP request.
142
+ #
143
+ # @return [ProjectFile] operation results.
144
+ #
145
+ def get(group_name, service_name, project_name, file_name, custom_headers:nil)
146
+ response = get_async(group_name, service_name, project_name, file_name, custom_headers:custom_headers).value!
147
+ response.body unless response.nil?
148
+ end
149
+
150
+ #
151
+ # Get file information
152
+ #
153
+ # The files resource is a nested, proxy-only resource representing a file
154
+ # stored under the project resource. This method retrieves information about a
155
+ # file.
156
+ #
157
+ # @param group_name [String] Name of the resource group
158
+ # @param service_name [String] Name of the service
159
+ # @param project_name [String] Name of the project
160
+ # @param file_name [String] Name of the File
161
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
162
+ # will be added to the HTTP request.
163
+ #
164
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
165
+ #
166
+ def get_with_http_info(group_name, service_name, project_name, file_name, custom_headers:nil)
167
+ get_async(group_name, service_name, project_name, file_name, custom_headers:custom_headers).value!
168
+ end
169
+
170
+ #
171
+ # Get file information
172
+ #
173
+ # The files resource is a nested, proxy-only resource representing a file
174
+ # stored under the project resource. This method retrieves information about a
175
+ # file.
176
+ #
177
+ # @param group_name [String] Name of the resource group
178
+ # @param service_name [String] Name of the service
179
+ # @param project_name [String] Name of the project
180
+ # @param file_name [String] Name of the File
181
+ # @param [Hash{String => String}] A hash of custom headers that will be added
182
+ # to the HTTP request.
183
+ #
184
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
185
+ #
186
+ def get_async(group_name, service_name, project_name, file_name, custom_headers:nil)
187
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
188
+ fail ArgumentError, 'group_name is nil' if group_name.nil?
189
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
190
+ fail ArgumentError, 'project_name is nil' if project_name.nil?
191
+ fail ArgumentError, 'file_name is nil' if file_name.nil?
192
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
193
+
194
+
195
+ request_headers = {}
196
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
197
+
198
+ # Set Headers
199
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
200
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
201
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'
202
+
203
+ request_url = @base_url || @client.base_url
204
+
205
+ options = {
206
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
207
+ path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name,'fileName' => file_name},
208
+ query_params: {'api-version' => @client.api_version},
209
+ headers: request_headers.merge(custom_headers || {}),
210
+ base_url: request_url
211
+ }
212
+ promise = @client.make_request_async(:get, path_template, options)
213
+
214
+ promise = promise.then do |result|
215
+ http_response = result.response
216
+ status_code = http_response.status
217
+ response_content = http_response.body
218
+ unless status_code == 200
219
+ error_model = JSON.load(response_content)
220
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
221
+ end
222
+
223
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
224
+ # Deserialize Response
225
+ if status_code == 200
226
+ begin
227
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
228
+ result_mapper = Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::ProjectFile.mapper()
229
+ result.body = @client.deserialize(result_mapper, parsed_response)
230
+ rescue Exception => e
231
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
232
+ end
233
+ end
234
+
235
+ result
236
+ end
237
+
238
+ promise.execute
239
+ end
240
+
241
+ #
242
+ # Create a file resource
243
+ #
244
+ # The PUT method creates a new file or updates an existing one.
245
+ #
246
+ # @param parameters [ProjectFile] Information about the file
247
+ # @param group_name [String] Name of the resource group
248
+ # @param service_name [String] Name of the service
249
+ # @param project_name [String] Name of the project
250
+ # @param file_name [String] Name of the File
251
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
252
+ # will be added to the HTTP request.
253
+ #
254
+ # @return [ProjectFile] operation results.
255
+ #
256
+ def create_or_update(parameters, group_name, service_name, project_name, file_name, custom_headers:nil)
257
+ response = create_or_update_async(parameters, group_name, service_name, project_name, file_name, custom_headers:custom_headers).value!
258
+ response.body unless response.nil?
259
+ end
260
+
261
+ #
262
+ # Create a file resource
263
+ #
264
+ # The PUT method creates a new file or updates an existing one.
265
+ #
266
+ # @param parameters [ProjectFile] Information about the file
267
+ # @param group_name [String] Name of the resource group
268
+ # @param service_name [String] Name of the service
269
+ # @param project_name [String] Name of the project
270
+ # @param file_name [String] Name of the File
271
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
272
+ # will be added to the HTTP request.
273
+ #
274
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
275
+ #
276
+ def create_or_update_with_http_info(parameters, group_name, service_name, project_name, file_name, custom_headers:nil)
277
+ create_or_update_async(parameters, group_name, service_name, project_name, file_name, custom_headers:custom_headers).value!
278
+ end
279
+
280
+ #
281
+ # Create a file resource
282
+ #
283
+ # The PUT method creates a new file or updates an existing one.
284
+ #
285
+ # @param parameters [ProjectFile] Information about the file
286
+ # @param group_name [String] Name of the resource group
287
+ # @param service_name [String] Name of the service
288
+ # @param project_name [String] Name of the project
289
+ # @param file_name [String] Name of the File
290
+ # @param [Hash{String => String}] A hash of custom headers that will be added
291
+ # to the HTTP request.
292
+ #
293
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
294
+ #
295
+ def create_or_update_async(parameters, group_name, service_name, project_name, file_name, custom_headers:nil)
296
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
297
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
298
+ fail ArgumentError, 'group_name is nil' if group_name.nil?
299
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
300
+ fail ArgumentError, 'project_name is nil' if project_name.nil?
301
+ fail ArgumentError, 'file_name is nil' if file_name.nil?
302
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
303
+
304
+
305
+ request_headers = {}
306
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
307
+
308
+ # Set Headers
309
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
310
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
311
+
312
+ # Serialize Request
313
+ request_mapper = Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::ProjectFile.mapper()
314
+ request_content = @client.serialize(request_mapper, parameters)
315
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
316
+
317
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'
318
+
319
+ request_url = @base_url || @client.base_url
320
+
321
+ options = {
322
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
323
+ path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name,'fileName' => file_name},
324
+ query_params: {'api-version' => @client.api_version},
325
+ body: request_content,
326
+ headers: request_headers.merge(custom_headers || {}),
327
+ base_url: request_url
328
+ }
329
+ promise = @client.make_request_async(:put, path_template, options)
330
+
331
+ promise = promise.then do |result|
332
+ http_response = result.response
333
+ status_code = http_response.status
334
+ response_content = http_response.body
335
+ unless status_code == 200 || status_code == 201
336
+ error_model = JSON.load(response_content)
337
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
338
+ end
339
+
340
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
341
+ # Deserialize Response
342
+ if status_code == 200
343
+ begin
344
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
345
+ result_mapper = Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::ProjectFile.mapper()
346
+ result.body = @client.deserialize(result_mapper, parsed_response)
347
+ rescue Exception => e
348
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
349
+ end
350
+ end
351
+ # Deserialize Response
352
+ if status_code == 201
353
+ begin
354
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
355
+ result_mapper = Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::ProjectFile.mapper()
356
+ result.body = @client.deserialize(result_mapper, parsed_response)
357
+ rescue Exception => e
358
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
359
+ end
360
+ end
361
+
362
+ result
363
+ end
364
+
365
+ promise.execute
366
+ end
367
+
368
+ #
369
+ # Delete file
370
+ #
371
+ # This method deletes a file.
372
+ #
373
+ # @param group_name [String] Name of the resource group
374
+ # @param service_name [String] Name of the service
375
+ # @param project_name [String] Name of the project
376
+ # @param file_name [String] Name of the File
377
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
378
+ # will be added to the HTTP request.
379
+ #
380
+ #
381
+ def delete(group_name, service_name, project_name, file_name, custom_headers:nil)
382
+ response = delete_async(group_name, service_name, project_name, file_name, custom_headers:custom_headers).value!
383
+ nil
384
+ end
385
+
386
+ #
387
+ # Delete file
388
+ #
389
+ # This method deletes a file.
390
+ #
391
+ # @param group_name [String] Name of the resource group
392
+ # @param service_name [String] Name of the service
393
+ # @param project_name [String] Name of the project
394
+ # @param file_name [String] Name of the File
395
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
396
+ # will be added to the HTTP request.
397
+ #
398
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
399
+ #
400
+ def delete_with_http_info(group_name, service_name, project_name, file_name, custom_headers:nil)
401
+ delete_async(group_name, service_name, project_name, file_name, custom_headers:custom_headers).value!
402
+ end
403
+
404
+ #
405
+ # Delete file
406
+ #
407
+ # This method deletes a file.
408
+ #
409
+ # @param group_name [String] Name of the resource group
410
+ # @param service_name [String] Name of the service
411
+ # @param project_name [String] Name of the project
412
+ # @param file_name [String] Name of the File
413
+ # @param [Hash{String => String}] A hash of custom headers that will be added
414
+ # to the HTTP request.
415
+ #
416
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
417
+ #
418
+ def delete_async(group_name, service_name, project_name, file_name, custom_headers:nil)
419
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
420
+ fail ArgumentError, 'group_name is nil' if group_name.nil?
421
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
422
+ fail ArgumentError, 'project_name is nil' if project_name.nil?
423
+ fail ArgumentError, 'file_name is nil' if file_name.nil?
424
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
425
+
426
+
427
+ request_headers = {}
428
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
429
+
430
+ # Set Headers
431
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
432
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
433
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'
434
+
435
+ request_url = @base_url || @client.base_url
436
+
437
+ options = {
438
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
439
+ path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name,'fileName' => file_name},
440
+ query_params: {'api-version' => @client.api_version},
441
+ headers: request_headers.merge(custom_headers || {}),
442
+ base_url: request_url
443
+ }
444
+ promise = @client.make_request_async(:delete, path_template, options)
445
+
446
+ promise = promise.then do |result|
447
+ http_response = result.response
448
+ status_code = http_response.status
449
+ response_content = http_response.body
450
+ unless status_code == 200 || status_code == 204
451
+ error_model = JSON.load(response_content)
452
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
453
+ end
454
+
455
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
456
+
457
+ result
458
+ end
459
+
460
+ promise.execute
461
+ end
462
+
463
+ #
464
+ # Update a file
465
+ #
466
+ # This method updates an existing file.
467
+ #
468
+ # @param parameters [ProjectFile] Information about the file
469
+ # @param group_name [String] Name of the resource group
470
+ # @param service_name [String] Name of the service
471
+ # @param project_name [String] Name of the project
472
+ # @param file_name [String] Name of the File
473
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
474
+ # will be added to the HTTP request.
475
+ #
476
+ # @return [ProjectFile] operation results.
477
+ #
478
+ def update(parameters, group_name, service_name, project_name, file_name, custom_headers:nil)
479
+ response = update_async(parameters, group_name, service_name, project_name, file_name, custom_headers:custom_headers).value!
480
+ response.body unless response.nil?
481
+ end
482
+
483
+ #
484
+ # Update a file
485
+ #
486
+ # This method updates an existing file.
487
+ #
488
+ # @param parameters [ProjectFile] Information about the file
489
+ # @param group_name [String] Name of the resource group
490
+ # @param service_name [String] Name of the service
491
+ # @param project_name [String] Name of the project
492
+ # @param file_name [String] Name of the File
493
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
494
+ # will be added to the HTTP request.
495
+ #
496
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
497
+ #
498
+ def update_with_http_info(parameters, group_name, service_name, project_name, file_name, custom_headers:nil)
499
+ update_async(parameters, group_name, service_name, project_name, file_name, custom_headers:custom_headers).value!
500
+ end
501
+
502
+ #
503
+ # Update a file
504
+ #
505
+ # This method updates an existing file.
506
+ #
507
+ # @param parameters [ProjectFile] Information about the file
508
+ # @param group_name [String] Name of the resource group
509
+ # @param service_name [String] Name of the service
510
+ # @param project_name [String] Name of the project
511
+ # @param file_name [String] Name of the File
512
+ # @param [Hash{String => String}] A hash of custom headers that will be added
513
+ # to the HTTP request.
514
+ #
515
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
516
+ #
517
+ def update_async(parameters, group_name, service_name, project_name, file_name, custom_headers:nil)
518
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
519
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
520
+ fail ArgumentError, 'group_name is nil' if group_name.nil?
521
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
522
+ fail ArgumentError, 'project_name is nil' if project_name.nil?
523
+ fail ArgumentError, 'file_name is nil' if file_name.nil?
524
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
525
+
526
+
527
+ request_headers = {}
528
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
529
+
530
+ # Set Headers
531
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
532
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
533
+
534
+ # Serialize Request
535
+ request_mapper = Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::ProjectFile.mapper()
536
+ request_content = @client.serialize(request_mapper, parameters)
537
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
538
+
539
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}'
540
+
541
+ request_url = @base_url || @client.base_url
542
+
543
+ options = {
544
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
545
+ path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name,'fileName' => file_name},
546
+ query_params: {'api-version' => @client.api_version},
547
+ body: request_content,
548
+ headers: request_headers.merge(custom_headers || {}),
549
+ base_url: request_url
550
+ }
551
+ promise = @client.make_request_async(:patch, path_template, options)
552
+
553
+ promise = promise.then do |result|
554
+ http_response = result.response
555
+ status_code = http_response.status
556
+ response_content = http_response.body
557
+ unless status_code == 200
558
+ error_model = JSON.load(response_content)
559
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
560
+ end
561
+
562
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
563
+ # Deserialize Response
564
+ if status_code == 200
565
+ begin
566
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
567
+ result_mapper = Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::ProjectFile.mapper()
568
+ result.body = @client.deserialize(result_mapper, parsed_response)
569
+ rescue Exception => e
570
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
571
+ end
572
+ end
573
+
574
+ result
575
+ end
576
+
577
+ promise.execute
578
+ end
579
+
580
+ #
581
+ # Request storage information for downloading the file content
582
+ #
583
+ # This method is used for requesting storage information using which contents
584
+ # of the file can be downloaded.
585
+ #
586
+ # @param group_name [String] Name of the resource group
587
+ # @param service_name [String] Name of the service
588
+ # @param project_name [String] Name of the project
589
+ # @param file_name [String] Name of the File
590
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
591
+ # will be added to the HTTP request.
592
+ #
593
+ # @return [FileStorageInfo] operation results.
594
+ #
595
+ def read(group_name, service_name, project_name, file_name, custom_headers:nil)
596
+ response = read_async(group_name, service_name, project_name, file_name, custom_headers:custom_headers).value!
597
+ response.body unless response.nil?
598
+ end
599
+
600
+ #
601
+ # Request storage information for downloading the file content
602
+ #
603
+ # This method is used for requesting storage information using which contents
604
+ # of the file can be downloaded.
605
+ #
606
+ # @param group_name [String] Name of the resource group
607
+ # @param service_name [String] Name of the service
608
+ # @param project_name [String] Name of the project
609
+ # @param file_name [String] Name of the File
610
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
611
+ # will be added to the HTTP request.
612
+ #
613
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
614
+ #
615
+ def read_with_http_info(group_name, service_name, project_name, file_name, custom_headers:nil)
616
+ read_async(group_name, service_name, project_name, file_name, custom_headers:custom_headers).value!
617
+ end
618
+
619
+ #
620
+ # Request storage information for downloading the file content
621
+ #
622
+ # This method is used for requesting storage information using which contents
623
+ # of the file can be downloaded.
624
+ #
625
+ # @param group_name [String] Name of the resource group
626
+ # @param service_name [String] Name of the service
627
+ # @param project_name [String] Name of the project
628
+ # @param file_name [String] Name of the File
629
+ # @param [Hash{String => String}] A hash of custom headers that will be added
630
+ # to the HTTP request.
631
+ #
632
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
633
+ #
634
+ def read_async(group_name, service_name, project_name, file_name, custom_headers:nil)
635
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
636
+ fail ArgumentError, 'group_name is nil' if group_name.nil?
637
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
638
+ fail ArgumentError, 'project_name is nil' if project_name.nil?
639
+ fail ArgumentError, 'file_name is nil' if file_name.nil?
640
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
641
+
642
+
643
+ request_headers = {}
644
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
645
+
646
+ # Set Headers
647
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
648
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
649
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/read'
650
+
651
+ request_url = @base_url || @client.base_url
652
+
653
+ options = {
654
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
655
+ path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name,'fileName' => file_name},
656
+ query_params: {'api-version' => @client.api_version},
657
+ headers: request_headers.merge(custom_headers || {}),
658
+ base_url: request_url
659
+ }
660
+ promise = @client.make_request_async(:post, path_template, options)
661
+
662
+ promise = promise.then do |result|
663
+ http_response = result.response
664
+ status_code = http_response.status
665
+ response_content = http_response.body
666
+ unless status_code == 200
667
+ error_model = JSON.load(response_content)
668
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
669
+ end
670
+
671
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
672
+ # Deserialize Response
673
+ if status_code == 200
674
+ begin
675
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
676
+ result_mapper = Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::FileStorageInfo.mapper()
677
+ result.body = @client.deserialize(result_mapper, parsed_response)
678
+ rescue Exception => e
679
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
680
+ end
681
+ end
682
+
683
+ result
684
+ end
685
+
686
+ promise.execute
687
+ end
688
+
689
+ #
690
+ # Request information for reading and writing file content.
691
+ #
692
+ # This method is used for requesting information for reading and writing the
693
+ # file content.
694
+ #
695
+ # @param group_name [String] Name of the resource group
696
+ # @param service_name [String] Name of the service
697
+ # @param project_name [String] Name of the project
698
+ # @param file_name [String] Name of the File
699
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
700
+ # will be added to the HTTP request.
701
+ #
702
+ # @return [FileStorageInfo] operation results.
703
+ #
704
+ def read_write(group_name, service_name, project_name, file_name, custom_headers:nil)
705
+ response = read_write_async(group_name, service_name, project_name, file_name, custom_headers:custom_headers).value!
706
+ response.body unless response.nil?
707
+ end
708
+
709
+ #
710
+ # Request information for reading and writing file content.
711
+ #
712
+ # This method is used for requesting information for reading and writing the
713
+ # file content.
714
+ #
715
+ # @param group_name [String] Name of the resource group
716
+ # @param service_name [String] Name of the service
717
+ # @param project_name [String] Name of the project
718
+ # @param file_name [String] Name of the File
719
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
720
+ # will be added to the HTTP request.
721
+ #
722
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
723
+ #
724
+ def read_write_with_http_info(group_name, service_name, project_name, file_name, custom_headers:nil)
725
+ read_write_async(group_name, service_name, project_name, file_name, custom_headers:custom_headers).value!
726
+ end
727
+
728
+ #
729
+ # Request information for reading and writing file content.
730
+ #
731
+ # This method is used for requesting information for reading and writing the
732
+ # file content.
733
+ #
734
+ # @param group_name [String] Name of the resource group
735
+ # @param service_name [String] Name of the service
736
+ # @param project_name [String] Name of the project
737
+ # @param file_name [String] Name of the File
738
+ # @param [Hash{String => String}] A hash of custom headers that will be added
739
+ # to the HTTP request.
740
+ #
741
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
742
+ #
743
+ def read_write_async(group_name, service_name, project_name, file_name, custom_headers:nil)
744
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
745
+ fail ArgumentError, 'group_name is nil' if group_name.nil?
746
+ fail ArgumentError, 'service_name is nil' if service_name.nil?
747
+ fail ArgumentError, 'project_name is nil' if project_name.nil?
748
+ fail ArgumentError, 'file_name is nil' if file_name.nil?
749
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
750
+
751
+
752
+ request_headers = {}
753
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
754
+
755
+ # Set Headers
756
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
757
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
758
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/readwrite'
759
+
760
+ request_url = @base_url || @client.base_url
761
+
762
+ options = {
763
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
764
+ path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name,'fileName' => file_name},
765
+ query_params: {'api-version' => @client.api_version},
766
+ headers: request_headers.merge(custom_headers || {}),
767
+ base_url: request_url
768
+ }
769
+ promise = @client.make_request_async(:post, path_template, options)
770
+
771
+ promise = promise.then do |result|
772
+ http_response = result.response
773
+ status_code = http_response.status
774
+ response_content = http_response.body
775
+ unless status_code == 200
776
+ error_model = JSON.load(response_content)
777
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
778
+ end
779
+
780
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
781
+ # Deserialize Response
782
+ if status_code == 200
783
+ begin
784
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
785
+ result_mapper = Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::FileStorageInfo.mapper()
786
+ result.body = @client.deserialize(result_mapper, parsed_response)
787
+ rescue Exception => e
788
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
789
+ end
790
+ end
791
+
792
+ result
793
+ end
794
+
795
+ promise.execute
796
+ end
797
+
798
+ #
799
+ # Get files in a project
800
+ #
801
+ # The project resource is a nested resource representing a stored migration
802
+ # project. This method returns a list of files owned by a project resource.
803
+ #
804
+ # @param next_page_link [String] The NextLink from the previous successful call
805
+ # to List operation.
806
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
807
+ # will be added to the HTTP request.
808
+ #
809
+ # @return [FileList] operation results.
810
+ #
811
+ def list_next(next_page_link, custom_headers:nil)
812
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
813
+ response.body unless response.nil?
814
+ end
815
+
816
+ #
817
+ # Get files in a project
818
+ #
819
+ # The project resource is a nested resource representing a stored migration
820
+ # project. This method returns a list of files owned by a project resource.
821
+ #
822
+ # @param next_page_link [String] The NextLink from the previous successful call
823
+ # to List operation.
824
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
825
+ # will be added to the HTTP request.
826
+ #
827
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
828
+ #
829
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
830
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
831
+ end
832
+
833
+ #
834
+ # Get files in a project
835
+ #
836
+ # The project resource is a nested resource representing a stored migration
837
+ # project. This method returns a list of files owned by a project resource.
838
+ #
839
+ # @param next_page_link [String] The NextLink from the previous successful call
840
+ # to List operation.
841
+ # @param [Hash{String => String}] A hash of custom headers that will be added
842
+ # to the HTTP request.
843
+ #
844
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
845
+ #
846
+ def list_next_async(next_page_link, custom_headers:nil)
847
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
848
+
849
+
850
+ request_headers = {}
851
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
852
+
853
+ # Set Headers
854
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
855
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
856
+ path_template = '{nextLink}'
857
+
858
+ request_url = @base_url || @client.base_url
859
+
860
+ options = {
861
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
862
+ skip_encoding_path_params: {'nextLink' => next_page_link},
863
+ headers: request_headers.merge(custom_headers || {}),
864
+ base_url: request_url
865
+ }
866
+ promise = @client.make_request_async(:get, path_template, options)
867
+
868
+ promise = promise.then do |result|
869
+ http_response = result.response
870
+ status_code = http_response.status
871
+ response_content = http_response.body
872
+ unless status_code == 200
873
+ error_model = JSON.load(response_content)
874
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
875
+ end
876
+
877
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
878
+ # Deserialize Response
879
+ if status_code == 200
880
+ begin
881
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
882
+ result_mapper = Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::FileList.mapper()
883
+ result.body = @client.deserialize(result_mapper, parsed_response)
884
+ rescue Exception => e
885
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
886
+ end
887
+ end
888
+
889
+ result
890
+ end
891
+
892
+ promise.execute
893
+ end
894
+
895
+ #
896
+ # Get files in a project
897
+ #
898
+ # The project resource is a nested resource representing a stored migration
899
+ # project. This method returns a list of files owned by a project resource.
900
+ #
901
+ # @param group_name [String] Name of the resource group
902
+ # @param service_name [String] Name of the service
903
+ # @param project_name [String] Name of the project
904
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
905
+ # will be added to the HTTP request.
906
+ #
907
+ # @return [FileList] which provide lazy access to pages of the response.
908
+ #
909
+ def list_as_lazy(group_name, service_name, project_name, custom_headers:nil)
910
+ response = list_async(group_name, service_name, project_name, custom_headers:custom_headers).value!
911
+ unless response.nil?
912
+ page = response.body
913
+ page.next_method = Proc.new do |next_page_link|
914
+ list_next_async(next_page_link, custom_headers:custom_headers)
915
+ end
916
+ page
917
+ end
918
+ end
919
+
920
+ end
921
+ end