@azure/arm-datamigration 2.0.0 → 3.0.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (450) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +72 -73
  4. package/dist/index.js +16801 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts +2 -0
  9. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js +65 -0
  11. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js.map +1 -0
  12. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts +2 -0
  13. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js +65 -0
  15. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js.map +1 -0
  16. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts +2 -0
  17. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js +32 -0
  19. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js.map +1 -0
  20. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts +2 -0
  21. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js +32 -0
  23. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js.map +1 -0
  24. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts +2 -0
  25. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js +35 -0
  27. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js.map +1 -0
  28. package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts +2 -0
  29. package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/deleteSqlMigrationService.js +31 -0
  31. package/dist-esm/samples-dev/deleteSqlMigrationService.js.map +1 -0
  32. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts +2 -0
  33. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js +35 -0
  35. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js.map +1 -0
  36. package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts +2 -0
  37. package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/filesCreateOrUpdate.js +36 -0
  39. package/dist-esm/samples-dev/filesCreateOrUpdate.js.map +1 -0
  40. package/dist-esm/samples-dev/filesDelete.d.ts +2 -0
  41. package/dist-esm/samples-dev/filesDelete.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/filesDelete.js +33 -0
  43. package/dist-esm/samples-dev/filesDelete.js.map +1 -0
  44. package/dist-esm/samples-dev/filesList.d.ts +2 -0
  45. package/dist-esm/samples-dev/filesList.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/filesList.js +33 -0
  47. package/dist-esm/samples-dev/filesList.js.map +1 -0
  48. package/dist-esm/samples-dev/filesUpdate.d.ts +2 -0
  49. package/dist-esm/samples-dev/filesUpdate.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/filesUpdate.js +36 -0
  51. package/dist-esm/samples-dev/filesUpdate.js.map +1 -0
  52. package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts +2 -0
  53. package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/getDatabaseMigrationResource.js +32 -0
  55. package/dist-esm/samples-dev/getDatabaseMigrationResource.js.map +1 -0
  56. package/dist-esm/samples-dev/getMigrationService.d.ts +2 -0
  57. package/dist-esm/samples-dev/getMigrationService.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/getMigrationService.js +31 -0
  59. package/dist-esm/samples-dev/getMigrationService.js.map +1 -0
  60. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts +2 -0
  61. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js +44 -0
  63. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js.map +1 -0
  64. package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts +2 -0
  65. package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/getServicesInTheSubscriptions.js +43 -0
  67. package/dist-esm/samples-dev/getServicesInTheSubscriptions.js.map +1 -0
  68. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts +2 -0
  69. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js +45 -0
  71. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js.map +1 -0
  72. package/dist-esm/samples-dev/listSkus.d.ts +2 -0
  73. package/dist-esm/samples-dev/listSkus.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/listSkus.js +43 -0
  75. package/dist-esm/samples-dev/listSkus.js.map +1 -0
  76. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts +2 -0
  77. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js +43 -0
  79. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js.map +1 -0
  80. package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts +2 -0
  81. package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/projectsCreateOrUpdate.js +37 -0
  83. package/dist-esm/samples-dev/projectsCreateOrUpdate.js.map +1 -0
  84. package/dist-esm/samples-dev/projectsDelete.d.ts +2 -0
  85. package/dist-esm/samples-dev/projectsDelete.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/projectsDelete.js +32 -0
  87. package/dist-esm/samples-dev/projectsDelete.js.map +1 -0
  88. package/dist-esm/samples-dev/projectsGet.d.ts +2 -0
  89. package/dist-esm/samples-dev/projectsGet.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/projectsGet.js +32 -0
  91. package/dist-esm/samples-dev/projectsGet.js.map +1 -0
  92. package/dist-esm/samples-dev/projectsList.d.ts +2 -0
  93. package/dist-esm/samples-dev/projectsList.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/projectsList.js +45 -0
  95. package/dist-esm/samples-dev/projectsList.js.map +1 -0
  96. package/dist-esm/samples-dev/projectsUpdate.d.ts +2 -0
  97. package/dist-esm/samples-dev/projectsUpdate.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/projectsUpdate.js +37 -0
  99. package/dist-esm/samples-dev/projectsUpdate.js.map +1 -0
  100. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts +2 -0
  101. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js +32 -0
  103. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js.map +1 -0
  104. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts +2 -0
  105. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js +31 -0
  107. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js.map +1 -0
  108. package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts +2 -0
  109. package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/retrieveTheMonitoringData.js +31 -0
  111. package/dist-esm/samples-dev/retrieveTheMonitoringData.js.map +1 -0
  112. package/dist-esm/samples-dev/serviceTasksList.d.ts +2 -0
  113. package/dist-esm/samples-dev/serviceTasksList.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/serviceTasksList.js +45 -0
  115. package/dist-esm/samples-dev/serviceTasksList.js.map +1 -0
  116. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts +2 -0
  117. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js +32 -0
  119. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js.map +1 -0
  120. package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts +2 -0
  121. package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/servicesCheckNameAvailability.js +34 -0
  123. package/dist-esm/samples-dev/servicesCheckNameAvailability.js.map +1 -0
  124. package/dist-esm/samples-dev/servicesCheckStatus.d.ts +2 -0
  125. package/dist-esm/samples-dev/servicesCheckStatus.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/servicesCheckStatus.js +31 -0
  127. package/dist-esm/samples-dev/servicesCheckStatus.js.map +1 -0
  128. package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts +2 -0
  129. package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts.map +1 -0
  130. package/dist-esm/samples-dev/servicesCreateOrUpdate.js +35 -0
  131. package/dist-esm/samples-dev/servicesCreateOrUpdate.js.map +1 -0
  132. package/dist-esm/samples-dev/servicesList.d.ts +2 -0
  133. package/dist-esm/samples-dev/servicesList.d.ts.map +1 -0
  134. package/dist-esm/samples-dev/servicesList.js +43 -0
  135. package/dist-esm/samples-dev/servicesList.js.map +1 -0
  136. package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts +2 -0
  137. package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts.map +1 -0
  138. package/dist-esm/samples-dev/servicesListByResourceGroup.js +44 -0
  139. package/dist-esm/samples-dev/servicesListByResourceGroup.js.map +1 -0
  140. package/dist-esm/samples-dev/servicesListSkus.d.ts +2 -0
  141. package/dist-esm/samples-dev/servicesListSkus.d.ts.map +1 -0
  142. package/dist-esm/samples-dev/servicesListSkus.js +45 -0
  143. package/dist-esm/samples-dev/servicesListSkus.js.map +1 -0
  144. package/dist-esm/samples-dev/servicesStart.d.ts +2 -0
  145. package/dist-esm/samples-dev/servicesStart.d.ts.map +1 -0
  146. package/dist-esm/samples-dev/servicesStart.js +31 -0
  147. package/dist-esm/samples-dev/servicesStart.js.map +1 -0
  148. package/dist-esm/samples-dev/servicesStop.d.ts +2 -0
  149. package/dist-esm/samples-dev/servicesStop.d.ts.map +1 -0
  150. package/dist-esm/samples-dev/servicesStop.js +31 -0
  151. package/dist-esm/samples-dev/servicesStop.js.map +1 -0
  152. package/dist-esm/samples-dev/servicesUsages.d.ts +2 -0
  153. package/dist-esm/samples-dev/servicesUsages.d.ts.map +1 -0
  154. package/dist-esm/samples-dev/servicesUsages.js +44 -0
  155. package/dist-esm/samples-dev/servicesUsages.js.map +1 -0
  156. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts +2 -0
  157. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts.map +1 -0
  158. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js +35 -0
  159. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js.map +1 -0
  160. package/dist-esm/samples-dev/tasksCancel.d.ts +2 -0
  161. package/dist-esm/samples-dev/tasksCancel.d.ts.map +1 -0
  162. package/dist-esm/samples-dev/tasksCancel.js +32 -0
  163. package/dist-esm/samples-dev/tasksCancel.js.map +1 -0
  164. package/dist-esm/samples-dev/tasksCommand.d.ts +2 -0
  165. package/dist-esm/samples-dev/tasksCommand.d.ts.map +1 -0
  166. package/dist-esm/samples-dev/tasksCommand.js +37 -0
  167. package/dist-esm/samples-dev/tasksCommand.js.map +1 -0
  168. package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts +2 -0
  169. package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts.map +1 -0
  170. package/dist-esm/samples-dev/tasksCreateOrUpdate.js +38 -0
  171. package/dist-esm/samples-dev/tasksCreateOrUpdate.js.map +1 -0
  172. package/dist-esm/samples-dev/tasksDelete.d.ts +2 -0
  173. package/dist-esm/samples-dev/tasksDelete.d.ts.map +1 -0
  174. package/dist-esm/samples-dev/tasksDelete.js +32 -0
  175. package/dist-esm/samples-dev/tasksDelete.js.map +1 -0
  176. package/dist-esm/samples-dev/tasksGet.d.ts +2 -0
  177. package/dist-esm/samples-dev/tasksGet.d.ts.map +1 -0
  178. package/dist-esm/samples-dev/tasksGet.js +32 -0
  179. package/dist-esm/samples-dev/tasksGet.js.map +1 -0
  180. package/dist-esm/samples-dev/tasksList.d.ts +2 -0
  181. package/dist-esm/samples-dev/tasksList.d.ts.map +1 -0
  182. package/dist-esm/samples-dev/tasksList.js +46 -0
  183. package/dist-esm/samples-dev/tasksList.js.map +1 -0
  184. package/dist-esm/samples-dev/tasksUpdate.d.ts +2 -0
  185. package/dist-esm/samples-dev/tasksUpdate.d.ts.map +1 -0
  186. package/dist-esm/samples-dev/tasksUpdate.js +38 -0
  187. package/dist-esm/samples-dev/tasksUpdate.js.map +1 -0
  188. package/dist-esm/samples-dev/updateSqlMigrationService.d.ts +2 -0
  189. package/dist-esm/samples-dev/updateSqlMigrationService.d.ts.map +1 -0
  190. package/dist-esm/samples-dev/updateSqlMigrationService.js +32 -0
  191. package/dist-esm/samples-dev/updateSqlMigrationService.js.map +1 -0
  192. package/dist-esm/src/dataMigrationManagementClient.d.ts +28 -0
  193. package/dist-esm/src/dataMigrationManagementClient.d.ts.map +1 -0
  194. package/dist-esm/src/dataMigrationManagementClient.js +61 -0
  195. package/dist-esm/src/dataMigrationManagementClient.js.map +1 -0
  196. package/dist-esm/src/index.d.ts +5 -0
  197. package/dist-esm/src/index.d.ts.map +1 -0
  198. package/dist-esm/src/index.js +12 -0
  199. package/dist-esm/src/index.js.map +1 -0
  200. package/dist-esm/src/lroImpl.d.ts +16 -0
  201. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  202. package/dist-esm/src/lroImpl.js +29 -0
  203. package/dist-esm/src/lroImpl.js.map +1 -0
  204. package/dist-esm/src/models/index.d.ts +7238 -0
  205. package/dist-esm/src/models/index.d.ts.map +1 -0
  206. package/dist-esm/src/models/index.js +534 -0
  207. package/dist-esm/src/models/index.js.map +1 -0
  208. package/dist-esm/src/models/mappers.d.ts +434 -0
  209. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  210. package/{esm → dist-esm/src}/models/mappers.js +7803 -6204
  211. package/dist-esm/src/models/mappers.js.map +1 -0
  212. package/dist-esm/src/models/parameters.d.ts +36 -0
  213. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  214. package/dist-esm/src/models/parameters.js +272 -0
  215. package/dist-esm/src/models/parameters.js.map +1 -0
  216. package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts +83 -0
  217. package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts.map +1 -0
  218. package/dist-esm/src/operations/databaseMigrationsSqlMi.js +309 -0
  219. package/dist-esm/src/operations/databaseMigrationsSqlMi.js.map +1 -0
  220. package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts +83 -0
  221. package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts.map +1 -0
  222. package/dist-esm/src/operations/databaseMigrationsSqlVm.js +309 -0
  223. package/dist-esm/src/operations/databaseMigrationsSqlVm.js.map +1 -0
  224. package/dist-esm/src/operations/files.d.ts +101 -0
  225. package/dist-esm/src/operations/files.d.ts.map +1 -0
  226. package/dist-esm/src/operations/files.js +358 -0
  227. package/dist-esm/src/operations/files.js.map +1 -0
  228. package/{esm → dist-esm/src}/operations/index.d.ts +4 -1
  229. package/dist-esm/src/operations/index.d.ts.map +1 -0
  230. package/dist-esm/src/operations/index.js +19 -0
  231. package/dist-esm/src/operations/index.js.map +1 -0
  232. package/dist-esm/src/operations/operations.d.ts +32 -0
  233. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  234. package/dist-esm/src/operations/operations.js +116 -0
  235. package/dist-esm/src/operations/operations.js.map +1 -0
  236. package/dist-esm/src/operations/projects.d.ts +78 -0
  237. package/dist-esm/src/operations/projects.d.ts.map +1 -0
  238. package/dist-esm/src/operations/projects.js +279 -0
  239. package/dist-esm/src/operations/projects.js.map +1 -0
  240. package/dist-esm/src/operations/resourceSkus.d.ts +32 -0
  241. package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -0
  242. package/dist-esm/src/operations/resourceSkus.js +124 -0
  243. package/dist-esm/src/operations/resourceSkus.js.map +1 -0
  244. package/dist-esm/src/operations/serviceTasks.d.ts +91 -0
  245. package/dist-esm/src/operations/serviceTasks.d.ts.map +1 -0
  246. package/dist-esm/src/operations/serviceTasks.js +316 -0
  247. package/dist-esm/src/operations/serviceTasks.js.map +1 -0
  248. package/dist-esm/src/operations/services.d.ts +217 -0
  249. package/dist-esm/src/operations/services.d.ts.map +1 -0
  250. package/dist-esm/src/operations/services.js +884 -0
  251. package/dist-esm/src/operations/services.js.map +1 -0
  252. package/dist-esm/src/operations/sqlMigrationServices.d.ts +178 -0
  253. package/dist-esm/src/operations/sqlMigrationServices.d.ts.map +1 -0
  254. package/dist-esm/src/operations/sqlMigrationServices.js +720 -0
  255. package/dist-esm/src/operations/sqlMigrationServices.js.map +1 -0
  256. package/dist-esm/src/operations/tasks.d.ts +110 -0
  257. package/dist-esm/src/operations/tasks.d.ts.map +1 -0
  258. package/dist-esm/src/operations/tasks.js +369 -0
  259. package/dist-esm/src/operations/tasks.js.map +1 -0
  260. package/dist-esm/src/operations/usages.d.ts +37 -0
  261. package/dist-esm/src/operations/usages.d.ts.map +1 -0
  262. package/dist-esm/src/operations/usages.js +134 -0
  263. package/dist-esm/src/operations/usages.js.map +1 -0
  264. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts +75 -0
  265. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -0
  266. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js +9 -0
  267. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -0
  268. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts +75 -0
  269. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -0
  270. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js +9 -0
  271. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -0
  272. package/dist-esm/src/operationsInterfaces/files.d.ts +73 -0
  273. package/dist-esm/src/operationsInterfaces/files.d.ts.map +1 -0
  274. package/dist-esm/src/operationsInterfaces/files.js +9 -0
  275. package/dist-esm/src/operationsInterfaces/files.js.map +1 -0
  276. package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
  277. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  278. package/dist-esm/src/operationsInterfaces/index.js +19 -0
  279. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  280. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  281. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  282. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  283. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  284. package/dist-esm/src/operationsInterfaces/projects.d.ts +52 -0
  285. package/dist-esm/src/operationsInterfaces/projects.d.ts.map +1 -0
  286. package/dist-esm/src/operationsInterfaces/projects.js +9 -0
  287. package/dist-esm/src/operationsInterfaces/projects.js.map +1 -0
  288. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts +11 -0
  289. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts.map +1 -0
  290. package/dist-esm/src/operationsInterfaces/resourceSkus.js +9 -0
  291. package/dist-esm/src/operationsInterfaces/resourceSkus.js.map +1 -0
  292. package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts +64 -0
  293. package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts.map +1 -0
  294. package/dist-esm/src/operationsInterfaces/serviceTasks.js +9 -0
  295. package/dist-esm/src/operationsInterfaces/serviceTasks.js.map +1 -0
  296. package/dist-esm/src/operationsInterfaces/services.d.ts +161 -0
  297. package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
  298. package/dist-esm/src/operationsInterfaces/services.js +9 -0
  299. package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
  300. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts +121 -0
  301. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -0
  302. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js +9 -0
  303. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js.map +1 -0
  304. package/dist-esm/src/operationsInterfaces/tasks.d.ts +81 -0
  305. package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
  306. package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
  307. package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
  308. package/dist-esm/src/operationsInterfaces/usages.d.ts +13 -0
  309. package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
  310. package/dist-esm/src/operationsInterfaces/usages.js +9 -0
  311. package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
  312. package/dist-esm/test/sampleTest.d.ts +2 -0
  313. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  314. package/dist-esm/test/sampleTest.js +40 -0
  315. package/dist-esm/test/sampleTest.js.map +1 -0
  316. package/package.json +80 -32
  317. package/review/arm-datamigration.api.md +4412 -0
  318. package/rollup.config.js +181 -30
  319. package/src/dataMigrationManagementClient.ts +119 -0
  320. package/src/index.ts +12 -0
  321. package/src/lroImpl.ts +34 -0
  322. package/src/models/index.ts +6252 -7473
  323. package/src/models/mappers.ts +8147 -6279
  324. package/src/models/parameters.ts +230 -54
  325. package/src/operations/databaseMigrationsSqlMi.ts +453 -0
  326. package/src/operations/databaseMigrationsSqlVm.ts +453 -0
  327. package/src/operations/files.ts +283 -368
  328. package/src/operations/index.ts +7 -6
  329. package/src/operations/operations.ts +93 -85
  330. package/src/operations/projects.ts +222 -275
  331. package/src/operations/resourceSkus.ts +92 -78
  332. package/src/operations/serviceTasks.ts +244 -321
  333. package/src/operations/services.ts +887 -647
  334. package/src/operations/sqlMigrationServices.ts +986 -0
  335. package/src/operations/tasks.ts +303 -397
  336. package/src/operations/usages.ts +110 -85
  337. package/src/operationsInterfaces/databaseMigrationsSqlMi.ts +138 -0
  338. package/src/operationsInterfaces/databaseMigrationsSqlVm.ts +138 -0
  339. package/src/operationsInterfaces/files.ts +139 -0
  340. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +8 -7
  341. package/src/operationsInterfaces/operations.ts +22 -0
  342. package/src/operationsInterfaces/projects.ts +97 -0
  343. package/src/operationsInterfaces/resourceSkus.ts +22 -0
  344. package/src/operationsInterfaces/serviceTasks.ts +116 -0
  345. package/src/operationsInterfaces/services.ts +272 -0
  346. package/src/operationsInterfaces/sqlMigrationServices.ts +223 -0
  347. package/src/operationsInterfaces/tasks.ts +149 -0
  348. package/src/operationsInterfaces/usages.ts +25 -0
  349. package/tsconfig.json +5 -4
  350. package/types/arm-datamigration.d.ts +8549 -0
  351. package/types/tsdoc-metadata.json +11 -0
  352. package/dist/arm-datamigration.js +0 -14002
  353. package/dist/arm-datamigration.js.map +0 -1
  354. package/dist/arm-datamigration.min.js +0 -1
  355. package/dist/arm-datamigration.min.js.map +0 -1
  356. package/esm/dataMigrationServiceClient.d.ts +0 -25
  357. package/esm/dataMigrationServiceClient.d.ts.map +0 -1
  358. package/esm/dataMigrationServiceClient.js +0 -40
  359. package/esm/dataMigrationServiceClient.js.map +0 -1
  360. package/esm/dataMigrationServiceClientContext.d.ts +0 -16
  361. package/esm/dataMigrationServiceClientContext.d.ts.map +0 -1
  362. package/esm/dataMigrationServiceClientContext.js +0 -56
  363. package/esm/dataMigrationServiceClientContext.js.map +0 -1
  364. package/esm/models/filesMappers.d.ts +0 -2
  365. package/esm/models/filesMappers.d.ts.map +0 -1
  366. package/esm/models/filesMappers.js +0 -9
  367. package/esm/models/filesMappers.js.map +0 -1
  368. package/esm/models/index.d.ts +0 -8920
  369. package/esm/models/index.d.ts.map +0 -1
  370. package/esm/models/index.js +0 -8
  371. package/esm/models/index.js.map +0 -1
  372. package/esm/models/mappers.d.ts +0 -374
  373. package/esm/models/mappers.d.ts.map +0 -1
  374. package/esm/models/mappers.js.map +0 -1
  375. package/esm/models/operationsMappers.d.ts +0 -2
  376. package/esm/models/operationsMappers.d.ts.map +0 -1
  377. package/esm/models/operationsMappers.js +0 -9
  378. package/esm/models/operationsMappers.js.map +0 -1
  379. package/esm/models/parameters.d.ts +0 -15
  380. package/esm/models/parameters.d.ts.map +0 -1
  381. package/esm/models/parameters.js +0 -147
  382. package/esm/models/parameters.js.map +0 -1
  383. package/esm/models/projectsMappers.d.ts +0 -2
  384. package/esm/models/projectsMappers.d.ts.map +0 -1
  385. package/esm/models/projectsMappers.js +0 -9
  386. package/esm/models/projectsMappers.js.map +0 -1
  387. package/esm/models/resourceSkusMappers.d.ts +0 -2
  388. package/esm/models/resourceSkusMappers.d.ts.map +0 -1
  389. package/esm/models/resourceSkusMappers.js +0 -9
  390. package/esm/models/resourceSkusMappers.js.map +0 -1
  391. package/esm/models/serviceTasksMappers.d.ts +0 -2
  392. package/esm/models/serviceTasksMappers.d.ts.map +0 -1
  393. package/esm/models/serviceTasksMappers.js +0 -9
  394. package/esm/models/serviceTasksMappers.js.map +0 -1
  395. package/esm/models/servicesMappers.d.ts +0 -2
  396. package/esm/models/servicesMappers.d.ts.map +0 -1
  397. package/esm/models/servicesMappers.js +0 -9
  398. package/esm/models/servicesMappers.js.map +0 -1
  399. package/esm/models/tasksMappers.d.ts +0 -2
  400. package/esm/models/tasksMappers.d.ts.map +0 -1
  401. package/esm/models/tasksMappers.js +0 -9
  402. package/esm/models/tasksMappers.js.map +0 -1
  403. package/esm/models/usagesMappers.d.ts +0 -2
  404. package/esm/models/usagesMappers.d.ts.map +0 -1
  405. package/esm/models/usagesMappers.js +0 -9
  406. package/esm/models/usagesMappers.js.map +0 -1
  407. package/esm/operations/files.d.ts +0 -235
  408. package/esm/operations/files.d.ts.map +0 -1
  409. package/esm/operations/files.js +0 -309
  410. package/esm/operations/files.js.map +0 -1
  411. package/esm/operations/index.d.ts.map +0 -1
  412. package/esm/operations/index.js.map +0 -1
  413. package/esm/operations/operations.d.ts +0 -48
  414. package/esm/operations/operations.d.ts.map +0 -1
  415. package/esm/operations/operations.js +0 -77
  416. package/esm/operations/operations.js.map +0 -1
  417. package/esm/operations/projects.d.ts +0 -166
  418. package/esm/operations/projects.d.ts.map +0 -1
  419. package/esm/operations/projects.js +0 -230
  420. package/esm/operations/projects.js.map +0 -1
  421. package/esm/operations/resourceSkus.d.ts +0 -48
  422. package/esm/operations/resourceSkus.d.ts.map +0 -1
  423. package/esm/operations/resourceSkus.js +0 -80
  424. package/esm/operations/resourceSkus.js.map +0 -1
  425. package/esm/operations/serviceTasks.d.ts +0 -199
  426. package/esm/operations/serviceTasks.d.ts.map +0 -1
  427. package/esm/operations/serviceTasks.js +0 -265
  428. package/esm/operations/serviceTasks.js.map +0 -1
  429. package/esm/operations/services.d.ts +0 -350
  430. package/esm/operations/services.d.ts.map +0 -1
  431. package/esm/operations/services.js +0 -626
  432. package/esm/operations/services.js.map +0 -1
  433. package/esm/operations/tasks.d.ts +0 -246
  434. package/esm/operations/tasks.d.ts.map +0 -1
  435. package/esm/operations/tasks.js +0 -317
  436. package/esm/operations/tasks.js.map +0 -1
  437. package/esm/operations/usages.d.ts +0 -53
  438. package/esm/operations/usages.d.ts.map +0 -1
  439. package/esm/operations/usages.js +0 -82
  440. package/esm/operations/usages.js.map +0 -1
  441. package/src/dataMigrationServiceClient.ts +0 -56
  442. package/src/dataMigrationServiceClientContext.ts +0 -62
  443. package/src/models/filesMappers.ts +0 -235
  444. package/src/models/operationsMappers.ts +0 -16
  445. package/src/models/projectsMappers.ts +0 -234
  446. package/src/models/resourceSkusMappers.ts +0 -19
  447. package/src/models/serviceTasksMappers.ts +0 -234
  448. package/src/models/servicesMappers.ts +0 -241
  449. package/src/models/tasksMappers.ts +0 -234
  450. package/src/models/usagesMappers.ts +0 -16
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),tslib=require("tslib"),coreLro=require("@azure/core-lro");!function(e){e.User="User",e.Application="Application",e.ManagedIdentity="ManagedIdentity",e.Key="Key"}(exports.KnownCreatedByType||(exports.KnownCreatedByType={})),function(e){e.SqlMi="SqlMi",e.SqlVm="SqlVm"}(exports.KnownResourceType||(exports.KnownResourceType={})),function(e){e.User="user",e.System="system"}(exports.KnownOperationOrigin||(exports.KnownOperationOrigin={})),function(e){e.Automatic="Automatic",e.Manual="Manual",e.None="None"}(exports.KnownResourceSkuCapacityScaleType||(exports.KnownResourceSkuCapacityScaleType={})),(exports.KnownResourceSkuRestrictionsType||(exports.KnownResourceSkuRestrictionsType={})).Location="location",function(e){e.QuotaId="QuotaId",e.NotAvailableForSubscription="NotAvailableForSubscription"}(exports.KnownResourceSkuRestrictionsReasonCode||(exports.KnownResourceSkuRestrictionsReasonCode={})),function(e){e.Accepted="Accepted",e.Deleting="Deleting",e.Deploying="Deploying",e.Stopped="Stopped",e.Stopping="Stopping",e.Starting="Starting",e.FailedToStart="FailedToStart",e.FailedToStop="FailedToStop",e.Succeeded="Succeeded",e.Failed="Failed"}(exports.KnownServiceProvisioningState||(exports.KnownServiceProvisioningState={})),function(e){e.None="none",e.Manual="manual",e.Automatic="automatic"}(exports.KnownServiceScalability||(exports.KnownServiceScalability={})),function(e){e.ConnectMongoDb="Connect.MongoDb",e.ConnectToSourceSqlServer="ConnectToSource.SqlServer",e.ConnectToSourceSqlServerSync="ConnectToSource.SqlServer.Sync",e.ConnectToSourcePostgreSqlSync="ConnectToSource.PostgreSql.Sync",e.ConnectToSourceMySql="ConnectToSource.MySql",e.ConnectToSourceOracleSync="ConnectToSource.Oracle.Sync",e.ConnectToTargetSqlDb="ConnectToTarget.SqlDb",e.ConnectToTargetSqlDbSync="ConnectToTarget.SqlDb.Sync",e.ConnectToTargetAzureDbForPostgreSqlSync="ConnectToTarget.AzureDbForPostgreSql.Sync",e.ConnectToTargetOracleAzureDbForPostgreSqlSync="ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync",e.ConnectToTargetAzureSqlDbMI="ConnectToTarget.AzureSqlDbMI",e.ConnectToTargetAzureSqlDbMISyncLRS="ConnectToTarget.AzureSqlDbMI.Sync.LRS",e.ConnectToTargetAzureDbForMySql="ConnectToTarget.AzureDbForMySql",e.GetUserTablesSql="GetUserTables.Sql",e.GetUserTablesAzureSqlDbSync="GetUserTables.AzureSqlDb.Sync",e.GetUserTablesOracle="GetUserTablesOracle",e.GetUserTablesPostgreSql="GetUserTablesPostgreSql",e.GetUserTablesMySql="GetUserTablesMySql",e.MigrateMongoDb="Migrate.MongoDb",e.MigrateSqlServerAzureSqlDbMI="Migrate.SqlServer.AzureSqlDbMI",e.MigrateSqlServerAzureSqlDbMISyncLRS="Migrate.SqlServer.AzureSqlDbMI.Sync.LRS",e.MigrateSqlServerSqlDb="Migrate.SqlServer.SqlDb",e.MigrateSqlServerAzureSqlDbSync="Migrate.SqlServer.AzureSqlDb.Sync",e.MigrateMySqlAzureDbForMySqlSync="Migrate.MySql.AzureDbForMySql.Sync",e.MigrateMySqlAzureDbForMySql="Migrate.MySql.AzureDbForMySql",e.MigratePostgreSqlAzureDbForPostgreSqlSyncV2="Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2",e.MigrateOracleAzureDbForPostgreSqlSync="Migrate.Oracle.AzureDbForPostgreSql.Sync",e.ValidateMigrationInputSqlServerSqlDbSync="ValidateMigrationInput.SqlServer.SqlDb.Sync",e.ValidateMigrationInputSqlServerAzureSqlDbMI="ValidateMigrationInput.SqlServer.AzureSqlDbMI",e.ValidateMigrationInputSqlServerAzureSqlDbMISyncLRS="ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS",e.ValidateMongoDb="Validate.MongoDb",e.ValidateOracleAzureDbPostgreSqlSync="Validate.Oracle.AzureDbPostgreSql.Sync",e.GetTDECertificatesSql="GetTDECertificates.Sql",e.MigrateSsis="Migrate.Ssis",e.ServiceCheckOCI="Service.Check.OCI",e.ServiceUploadOCI="Service.Upload.OCI",e.ServiceInstallOCI="Service.Install.OCI",e.MigrateSchemaSqlServerSqlDb="MigrateSchemaSqlServerSqlDb"}(exports.KnownTaskType||(exports.KnownTaskType={})),function(e){e.Unknown="Unknown",e.Queued="Queued",e.Running="Running",e.Canceled="Canceled",e.Succeeded="Succeeded",e.Failed="Failed",e.FailedInputValidation="FailedInputValidation",e.Faulted="Faulted"}(exports.KnownTaskState||(exports.KnownTaskState={})),function(e){e.MigrateSyncCompleteDatabase="Migrate.Sync.Complete.Database",e.MigrateSqlServerAzureDbSqlMiComplete="Migrate.SqlServer.AzureDbSqlMi.Complete",e.Cancel="cancel",e.Finish="finish",e.Restart="restart"}(exports.KnownCommandType||(exports.KnownCommandType={})),function(e){e.Unknown="Unknown",e.Accepted="Accepted",e.Running="Running",e.Succeeded="Succeeded",e.Failed="Failed"}(exports.KnownCommandState||(exports.KnownCommandState={})),function(e){e.AlreadyExists="AlreadyExists",e.Invalid="Invalid"}(exports.KnownNameCheckFailureReason||(exports.KnownNameCheckFailureReason={})),function(e){e.SQL="SQL",e.MySQL="MySQL",e.PostgreSql="PostgreSql",e.MongoDb="MongoDb",e.Unknown="Unknown"}(exports.KnownProjectSourcePlatform||(exports.KnownProjectSourcePlatform={})),function(e){e.Sqldb="SQLDB",e.Sqlmi="SQLMI",e.AzureDbForMySql="AzureDbForMySql",e.AzureDbForPostgreSql="AzureDbForPostgreSql",e.MongoDb="MongoDb",e.Unknown="Unknown"}(exports.KnownProjectTargetPlatform||(exports.KnownProjectTargetPlatform={})),function(e){e.Deleting="Deleting",e.Succeeded="Succeeded"}(exports.KnownProjectProvisioningState||(exports.KnownProjectProvisioningState={})),function(e){e.None="None",e.WindowsAuthentication="WindowsAuthentication",e.SqlAuthentication="SqlAuthentication",e.ActiveDirectoryIntegrated="ActiveDirectoryIntegrated",e.ActiveDirectoryPassword="ActiveDirectoryPassword"}(exports.KnownAuthenticationType||(exports.KnownAuthenticationType={})),(exports.KnownSqlSourcePlatform||(exports.KnownSqlSourcePlatform={})).SqlOnPrem="SqlOnPrem",function(e){e.Database="Database",e.TransactionLog="TransactionLog",e.File="File",e.DifferentialDatabase="DifferentialDatabase",e.DifferentialFile="DifferentialFile",e.Partial="Partial",e.DifferentialPartial="DifferentialPartial"}(exports.KnownBackupType||(exports.KnownBackupType={})),function(e){e.Arrived="Arrived",e.Queued="Queued",e.Uploading="Uploading",e.Uploaded="Uploaded",e.Restoring="Restoring",e.Restored="Restored",e.Cancelled="Cancelled"}(exports.KnownBackupFileStatus||(exports.KnownBackupFileStatus={})),function(e){e.SqlServer="SqlServer",e.AzureDbForMySQL="AzureDbForMySQL"}(exports.KnownMySqlTargetPlatformType||(exports.KnownMySqlTargetPlatformType={})),function(e){e.Rows="Rows",e.Log="Log",e.Filestream="Filestream",e.NotSupported="NotSupported",e.Fulltext="Fulltext"}(exports.KnownDatabaseFileType||(exports.KnownDatabaseFileType={})),function(e){e.CompatLevel80="CompatLevel80",e.CompatLevel90="CompatLevel90",e.CompatLevel100="CompatLevel100",e.CompatLevel110="CompatLevel110",e.CompatLevel120="CompatLevel120",e.CompatLevel130="CompatLevel130",e.CompatLevel140="CompatLevel140"}(exports.KnownDatabaseCompatLevel||(exports.KnownDatabaseCompatLevel={})),function(e){e.Online="Online",e.Restoring="Restoring",e.Recovering="Recovering",e.RecoveryPending="RecoveryPending",e.Suspect="Suspect",e.Emergency="Emergency",e.Offline="Offline",e.Copying="Copying",e.OfflineSecondary="OfflineSecondary"}(exports.KnownDatabaseState||(exports.KnownDatabaseState={})),function(e){e.WindowsUser="WindowsUser",e.WindowsGroup="WindowsGroup",e.SqlLogin="SqlLogin",e.Certificate="Certificate",e.AsymmetricKey="AsymmetricKey",e.ExternalUser="ExternalUser",e.ExternalGroup="ExternalGroup"}(exports.KnownLoginType||(exports.KnownLoginType={})),function(e){e.None="None",e.ExtractFromSource="ExtractFromSource",e.UseStorageFile="UseStorageFile"}(exports.KnownSchemaMigrationOption||(exports.KnownSchemaMigrationOption={})),function(e){e.None="None",e.InProgress="InProgress",e.Failed="Failed",e.Warning="Warning",e.Completed="Completed",e.Skipped="Skipped",e.Stopped="Stopped"}(exports.KnownMigrationState||(exports.KnownMigrationState={})),function(e){e.NotStarted="NotStarted",e.ValidatingInputs="ValidatingInputs",e.CollectingObjects="CollectingObjects",e.DownloadingScript="DownloadingScript",e.GeneratingScript="GeneratingScript",e.UploadingScript="UploadingScript",e.DeployingSchema="DeployingSchema",e.Completed="Completed",e.CompletedWithWarnings="CompletedWithWarnings",e.Failed="Failed"}(exports.KnownSchemaMigrationStage||(exports.KnownSchemaMigrationStage={})),function(e){e.Undefined="UNDEFINED",e.Configuring="CONFIGURING",e.Initialiazing="INITIALIAZING",e.Starting="STARTING",e.Running="RUNNING",e.ReadyTOComplete="READY_TO_COMPLETE",e.Completing="COMPLETING",e.Complete="COMPLETE",e.Cancelling="CANCELLING",e.Cancelled="CANCELLED",e.Failed="FAILED",e.Validating="VALIDATING",e.ValidationComplete="VALIDATION_COMPLETE",e.ValidationFailed="VALIDATION_FAILED",e.RestoreINProgress="RESTORE_IN_PROGRESS",e.RestoreCompleted="RESTORE_COMPLETED",e.BackupINProgress="BACKUP_IN_PROGRESS",e.BackupCompleted="BACKUP_COMPLETED"}(exports.KnownSyncDatabaseMigrationReportingState||(exports.KnownSyncDatabaseMigrationReportingState={})),function(e){e.BeforeLoad="BEFORE_LOAD",e.FullLoad="FULL_LOAD",e.Completed="COMPLETED",e.Canceled="CANCELED",e.Error="ERROR",e.Failed="FAILED"}(exports.KnownSyncTableMigrationState||(exports.KnownSyncTableMigrationState={})),function(e){e.Access="Access",e.DB2="DB2",e.MySQL="MySQL",e.Oracle="Oracle",e.SQL="SQL",e.Sybase="Sybase",e.PostgreSQL="PostgreSQL",e.MongoDB="MongoDB",e.Sqlrds="SQLRDS",e.MySqlrds="MySQLRDS",e.PostgreSqlrds="PostgreSQLRDS"}(exports.KnownScenarioSource||(exports.KnownScenarioSource={})),function(e){e.SQLServer="SQLServer",e.Sqldb="SQLDB",e.Sqldw="SQLDW",e.Sqlmi="SQLMI",e.AzureDBForMySql="AzureDBForMySql",e.AzureDBForPostgresSQL="AzureDBForPostgresSQL",e.MongoDB="MongoDB"}(exports.KnownScenarioTarget||(exports.KnownScenarioTarget={})),function(e){e.Undefined="UNDEFINED",e.Validating="VALIDATING",e.Pending="PENDING",e.Complete="COMPLETE",e.ActionRequired="ACTION_REQUIRED",e.Failed="FAILED"}(exports.KnownReplicateMigrationState||(exports.KnownReplicateMigrationState={})),function(e){e.Default="Default",e.Connecting="Connecting",e.SourceAndTargetSelected="SourceAndTargetSelected",e.SelectLogins="SelectLogins",e.Configured="Configured",e.Running="Running",e.Error="Error",e.Stopped="Stopped",e.Completed="Completed",e.CompletedWithWarnings="CompletedWithWarnings"}(exports.KnownMigrationStatus||(exports.KnownMigrationStatus={})),function(e){e.Default="Default",e.NotStarted="NotStarted",e.Initialized="Initialized",e.InProgress="InProgress",e.Completed="Completed",e.CompletedWithIssues="CompletedWithIssues",e.Stopped="Stopped",e.Failed="Failed"}(exports.KnownValidationStatus||(exports.KnownValidationStatus={})),function(e){e.None="None",e.Initialize="Initialize",e.Backup="Backup",e.FileCopy="FileCopy",e.Restore="Restore",e.Completed="Completed"}(exports.KnownDatabaseMigrationStage||(exports.KnownDatabaseMigrationStage={})),function(e){e.Message="Message",e.Warning="Warning",e.Error="Error"}(exports.KnownSeverity||(exports.KnownSeverity={})),function(e){e.StoredProcedures="StoredProcedures",e.Table="Table",e.User="User",e.View="View",e.Function="Function"}(exports.KnownObjectType||(exports.KnownObjectType={})),function(e){e.DeletedOnTarget="DeletedOnTarget",e.ChangedOnTarget="ChangedOnTarget",e.AddedOnTarget="AddedOnTarget"}(exports.KnownUpdateActionType||(exports.KnownUpdateActionType={})),function(e){e.Undefined="UNDEFINED",e.Initial="INITIAL",e.FullBackupUploadStart="FULL_BACKUP_UPLOAD_START",e.LOGShippingStart="LOG_SHIPPING_START",e.UploadLOGFilesStart="UPLOAD_LOG_FILES_START",e.CutoverStart="CUTOVER_START",e.PostCutoverComplete="POST_CUTOVER_COMPLETE",e.Completed="COMPLETED",e.Cancelled="CANCELLED",e.Failed="FAILED"}(exports.KnownDatabaseMigrationState||(exports.KnownDatabaseMigrationState={})),function(e){e.CreateBackup="CreateBackup",e.ExistingBackup="ExistingBackup"}(exports.KnownBackupMode||(exports.KnownBackupMode={})),function(e){e.None="None",e.Initialize="Initialize",e.LoginMigration="LoginMigration",e.EstablishUserMapping="EstablishUserMapping",e.AssignRoleMembership="AssignRoleMembership",e.AssignRoleOwnership="AssignRoleOwnership",e.EstablishServerPermissions="EstablishServerPermissions",e.EstablishObjectPermissions="EstablishObjectPermissions",e.Completed="Completed"}(exports.KnownLoginMigrationStage||(exports.KnownLoginMigrationStage={})),(exports.KnownSsisStoreType||(exports.KnownSsisStoreType={})).SsisCatalog="SsisCatalog",function(e){e.Ignore="Ignore",e.Overwrite="Overwrite"}(exports.KnownSsisMigrationOverwriteOption||(exports.KnownSsisMigrationOverwriteOption={})),function(e){e.None="None",e.Initialize="Initialize",e.InProgress="InProgress",e.Completed="Completed"}(exports.KnownSsisMigrationStage||(exports.KnownSsisMigrationStage={})),function(e){e.Forward="Forward",e.Reverse="Reverse",e.Hashed="Hashed"}(exports.KnownMongoDbShardKeyOrder||(exports.KnownMongoDbShardKeyOrder={})),function(e){e.BlobContainer="BlobContainer",e.CosmosDb="CosmosDb",e.MongoDb="MongoDb"}(exports.KnownMongoDbClusterType||(exports.KnownMongoDbClusterType={})),function(e){e.Error="Error",e.ValidationError="ValidationError",e.Warning="Warning"}(exports.KnownMongoDbErrorType||(exports.KnownMongoDbErrorType={})),function(e){e.Migration="Migration",e.Database="Database",e.Collection="Collection"}(exports.KnownMongoDbProgressResultType||(exports.KnownMongoDbProgressResultType={})),function(e){e.NotStarted="NotStarted",e.ValidatingInput="ValidatingInput",e.Initializing="Initializing",e.Restarting="Restarting",e.Copying="Copying",e.InitialReplay="InitialReplay",e.Replaying="Replaying",e.Finalizing="Finalizing",e.Complete="Complete",e.Canceled="Canceled",e.Failed="Failed"}(exports.KnownMongoDbMigrationState||(exports.KnownMongoDbMigrationState={})),function(e){e.Disabled="Disabled",e.OneTime="OneTime",e.Continuous="Continuous"}(exports.KnownMongoDbReplication||(exports.KnownMongoDbReplication={})),function(e){e.Initial="Initial",e.Completed="Completed",e.ObjectNotExistsInSource="ObjectNotExistsInSource",e.ObjectNotExistsInTarget="ObjectNotExistsInTarget",e.TargetObjectIsInaccessible="TargetObjectIsInaccessible",e.FatalError="FatalError"}(exports.KnownDataMigrationResultCode||(exports.KnownDataMigrationResultCode={})),function(e){e.Default="Default",e.Warning="Warning",e.Error="Error"}(exports.KnownErrorType||(exports.KnownErrorType={}));const SystemData={type:{name:"Composite",className:"SystemData",modelProperties:{createdBy:{serializedName:"createdBy",type:{name:"String"}},createdByType:{serializedName:"createdByType",type:{name:"String"}},createdAt:{serializedName:"createdAt",type:{name:"DateTime"}},lastModifiedBy:{serializedName:"lastModifiedBy",type:{name:"String"}},lastModifiedByType:{serializedName:"lastModifiedByType",type:{name:"String"}},lastModifiedAt:{serializedName:"lastModifiedAt",type:{name:"DateTime"}}}}},MigrationStatusDetails={type:{name:"Composite",className:"MigrationStatusDetails",modelProperties:{migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},fullBackupSetInfo:{serializedName:"fullBackupSetInfo",type:{name:"Composite",className:"SqlBackupSetInfo"}},lastRestoredBackupSetInfo:{serializedName:"lastRestoredBackupSetInfo",type:{name:"Composite",className:"SqlBackupSetInfo"}},activeBackupSets:{serializedName:"activeBackupSets",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SqlBackupSetInfo"}}}},invalidFiles:{serializedName:"invalidFiles",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},blobContainerName:{serializedName:"blobContainerName",readOnly:!0,type:{name:"String"}},isFullBackupRestored:{serializedName:"isFullBackupRestored",readOnly:!0,type:{name:"Boolean"}},restoreBlockingReason:{serializedName:"restoreBlockingReason",readOnly:!0,type:{name:"String"}},completeRestoreErrorMessage:{serializedName:"completeRestoreErrorMessage",readOnly:!0,type:{name:"String"}},fileUploadBlockingErrors:{serializedName:"fileUploadBlockingErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},currentRestoringFilename:{serializedName:"currentRestoringFilename",readOnly:!0,type:{name:"String"}},lastRestoredFilename:{serializedName:"lastRestoredFilename",readOnly:!0,type:{name:"String"}},pendingLogBackupsCount:{serializedName:"pendingLogBackupsCount",readOnly:!0,type:{name:"Number"}}}}},SqlBackupSetInfo={type:{name:"Composite",className:"SqlBackupSetInfo",modelProperties:{backupSetId:{serializedName:"backupSetId",readOnly:!0,type:{name:"Uuid"}},firstLSN:{serializedName:"firstLSN",readOnly:!0,type:{name:"String"}},lastLSN:{serializedName:"lastLSN",readOnly:!0,type:{name:"String"}},backupType:{serializedName:"backupType",readOnly:!0,type:{name:"String"}},listOfBackupFiles:{serializedName:"listOfBackupFiles",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SqlBackupFileInfo"}}}},backupStartDate:{serializedName:"backupStartDate",readOnly:!0,type:{name:"DateTime"}},backupFinishDate:{serializedName:"backupFinishDate",readOnly:!0,type:{name:"DateTime"}},isBackupRestored:{serializedName:"isBackupRestored",readOnly:!0,type:{name:"Boolean"}},hasBackupChecksums:{serializedName:"hasBackupChecksums",readOnly:!0,type:{name:"Boolean"}},familyCount:{serializedName:"familyCount",readOnly:!0,type:{name:"Number"}},ignoreReasons:{serializedName:"ignoreReasons",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},SqlBackupFileInfo={type:{name:"Composite",className:"SqlBackupFileInfo",modelProperties:{fileName:{serializedName:"fileName",readOnly:!0,type:{name:"String"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},totalSize:{serializedName:"totalSize",readOnly:!0,type:{name:"Number"}},dataRead:{serializedName:"dataRead",readOnly:!0,type:{name:"Number"}},dataWritten:{serializedName:"dataWritten",readOnly:!0,type:{name:"Number"}},copyThroughput:{serializedName:"copyThroughput",readOnly:!0,type:{name:"Number"}},copyDuration:{serializedName:"copyDuration",readOnly:!0,type:{name:"Number"}},familySequenceNumber:{serializedName:"familySequenceNumber",readOnly:!0,type:{name:"Number"}}}}},BackupConfiguration={type:{name:"Composite",className:"BackupConfiguration",modelProperties:{sourceLocation:{serializedName:"sourceLocation",type:{name:"Composite",className:"SourceLocation"}},targetLocation:{serializedName:"targetLocation",type:{name:"Composite",className:"TargetLocation"}}}}},SourceLocation={type:{name:"Composite",className:"SourceLocation",modelProperties:{fileShare:{serializedName:"fileShare",type:{name:"Composite",className:"SqlFileShare"}},azureBlob:{serializedName:"azureBlob",type:{name:"Composite",className:"AzureBlob"}}}}},SqlFileShare={type:{name:"Composite",className:"SqlFileShare",modelProperties:{path:{serializedName:"path",type:{name:"String"}},username:{serializedName:"username",type:{name:"String"}},password:{serializedName:"password",type:{name:"String"}}}}},AzureBlob={type:{name:"Composite",className:"AzureBlob",modelProperties:{storageAccountResourceId:{serializedName:"storageAccountResourceId",type:{name:"String"}},accountKey:{serializedName:"accountKey",type:{name:"String"}},blobContainerName:{serializedName:"blobContainerName",type:{name:"String"}}}}},TargetLocation={type:{name:"Composite",className:"TargetLocation",modelProperties:{storageAccountResourceId:{serializedName:"storageAccountResourceId",type:{name:"String"}},accountKey:{serializedName:"accountKey",type:{name:"String"}}}}},OfflineConfiguration={type:{name:"Composite",className:"OfflineConfiguration",modelProperties:{offline:{serializedName:"offline",type:{name:"Boolean"}},lastBackupName:{serializedName:"lastBackupName",type:{name:"String"}}}}},DatabaseMigrationProperties={type:{name:"Composite",className:"DatabaseMigrationProperties",uberParent:"DatabaseMigrationProperties",polymorphicDiscriminator:{serializedName:"kind",clientName:"kind"},modelProperties:{kind:{serializedName:"kind",required:!0,type:{name:"String"}},scope:{serializedName:"scope",type:{name:"String"}},provisioningState:{serializedName:"provisioningState",readOnly:!0,type:{name:"String"}},migrationStatus:{serializedName:"migrationStatus",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceSqlConnection:{serializedName:"sourceSqlConnection",type:{name:"Composite",className:"SqlConnectionInformation"}},sourceDatabaseName:{serializedName:"sourceDatabaseName",type:{name:"String"}},migrationService:{serializedName:"migrationService",type:{name:"String"}},migrationOperationId:{serializedName:"migrationOperationId",type:{name:"String"}},migrationFailureError:{serializedName:"migrationFailureError",type:{name:"Composite",className:"ErrorInfo"}}}}},SqlConnectionInformation={type:{name:"Composite",className:"SqlConnectionInformation",modelProperties:{dataSource:{serializedName:"dataSource",type:{name:"String"}},authentication:{serializedName:"authentication",type:{name:"String"}},userName:{serializedName:"userName",type:{name:"String"}},password:{serializedName:"password",type:{name:"String"}},encryptConnection:{serializedName:"encryptConnection",type:{name:"Boolean"}},trustServerCertificate:{serializedName:"trustServerCertificate",type:{name:"Boolean"}}}}},ErrorInfo={type:{name:"Composite",className:"ErrorInfo",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}}}}},ProxyResource={type:{name:"Composite",className:"ProxyResource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}}}}},MigrationOperationInput={type:{name:"Composite",className:"MigrationOperationInput",modelProperties:{migrationOperationId:{serializedName:"migrationOperationId",type:{name:"Uuid"}}}}},OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"OperationsDefinition"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},OperationsDefinition={type:{name:"Composite",className:"OperationsDefinition",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},isDataAction:{serializedName:"isDataAction",type:{name:"Boolean"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationsDisplayDefinition"}},origin:{serializedName:"origin",readOnly:!0,type:{name:"String"}},properties:{serializedName:"properties",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"Dictionary",value:{type:{name:"any"}}}}}}}}},OperationsDisplayDefinition={type:{name:"Composite",className:"OperationsDisplayDefinition",modelProperties:{provider:{serializedName:"provider",readOnly:!0,type:{name:"String"}},resource:{serializedName:"resource",readOnly:!0,type:{name:"String"}},operation:{serializedName:"operation",readOnly:!0,type:{name:"String"}},description:{serializedName:"description",readOnly:!0,type:{name:"String"}}}}},TrackedResource={type:{name:"Composite",className:"TrackedResource",modelProperties:{location:{serializedName:"location",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}}}},SqlMigrationServiceUpdate={type:{name:"Composite",className:"SqlMigrationServiceUpdate",modelProperties:{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},SqlMigrationListResult={type:{name:"Composite",className:"SqlMigrationListResult",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SqlMigrationService"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},AuthenticationKeys={type:{name:"Composite",className:"AuthenticationKeys",modelProperties:{authKey1:{serializedName:"authKey1",type:{name:"String"}},authKey2:{serializedName:"authKey2",type:{name:"String"}}}}},RegenAuthKeys={type:{name:"Composite",className:"RegenAuthKeys",modelProperties:{keyName:{serializedName:"keyName",type:{name:"String"}},authKey1:{serializedName:"authKey1",type:{name:"String"}},authKey2:{serializedName:"authKey2",type:{name:"String"}}}}},DeleteNode={type:{name:"Composite",className:"DeleteNode",modelProperties:{nodeName:{serializedName:"nodeName",type:{name:"String"}},integrationRuntimeName:{serializedName:"integrationRuntimeName",type:{name:"String"}}}}},DatabaseMigrationListResult={type:{name:"Composite",className:"DatabaseMigrationListResult",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseMigration"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},IntegrationRuntimeMonitoringData={type:{name:"Composite",className:"IntegrationRuntimeMonitoringData",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},nodes:{serializedName:"nodes",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"NodeMonitoringData"}}}}}}},NodeMonitoringData={type:{name:"Composite",className:"NodeMonitoringData",modelProperties:{additionalProperties:{serializedName:"additionalProperties",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"Dictionary",value:{type:{name:"any"}}}}}},nodeName:{serializedName:"nodeName",readOnly:!0,type:{name:"String"}},availableMemoryInMB:{serializedName:"availableMemoryInMB",readOnly:!0,type:{name:"Number"}},cpuUtilization:{serializedName:"cpuUtilization",readOnly:!0,type:{name:"Number"}},concurrentJobsLimit:{serializedName:"concurrentJobsLimit",readOnly:!0,type:{name:"Number"}},concurrentJobsRunning:{serializedName:"concurrentJobsRunning",readOnly:!0,type:{name:"Number"}},maxConcurrentJobs:{serializedName:"maxConcurrentJobs",readOnly:!0,type:{name:"Number"}},sentBytes:{serializedName:"sentBytes",readOnly:!0,type:{name:"Number"}},receivedBytes:{serializedName:"receivedBytes",readOnly:!0,type:{name:"Number"}}}}},ResourceSkusResult={type:{name:"Composite",className:"ResourceSkusResult",modelProperties:{value:{serializedName:"value",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceSku"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ResourceSku={type:{name:"Composite",className:"ResourceSku",modelProperties:{resourceType:{serializedName:"resourceType",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},tier:{serializedName:"tier",readOnly:!0,type:{name:"String"}},size:{serializedName:"size",readOnly:!0,type:{name:"String"}},family:{serializedName:"family",readOnly:!0,type:{name:"String"}},kind:{serializedName:"kind",readOnly:!0,type:{name:"String"}},capacity:{serializedName:"capacity",type:{name:"Composite",className:"ResourceSkuCapacity"}},locations:{serializedName:"locations",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},apiVersions:{serializedName:"apiVersions",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},costs:{serializedName:"costs",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceSkuCosts"}}}},capabilities:{serializedName:"capabilities",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceSkuCapabilities"}}}},restrictions:{serializedName:"restrictions",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceSkuRestrictions"}}}}}}},ResourceSkuCapacity={type:{name:"Composite",className:"ResourceSkuCapacity",modelProperties:{minimum:{serializedName:"minimum",readOnly:!0,type:{name:"Number"}},maximum:{serializedName:"maximum",readOnly:!0,type:{name:"Number"}},default:{serializedName:"default",readOnly:!0,type:{name:"Number"}},scaleType:{serializedName:"scaleType",readOnly:!0,type:{name:"String"}}}}},ResourceSkuCosts={type:{name:"Composite",className:"ResourceSkuCosts",modelProperties:{meterID:{serializedName:"meterID",readOnly:!0,type:{name:"String"}},quantity:{serializedName:"quantity",readOnly:!0,type:{name:"Number"}},extendedUnit:{serializedName:"extendedUnit",readOnly:!0,type:{name:"String"}}}}},ResourceSkuCapabilities={type:{name:"Composite",className:"ResourceSkuCapabilities",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},value:{serializedName:"value",readOnly:!0,type:{name:"String"}}}}},ResourceSkuRestrictions={type:{name:"Composite",className:"ResourceSkuRestrictions",modelProperties:{type:{serializedName:"type",readOnly:!0,type:{name:"String"}},values:{serializedName:"values",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},reasonCode:{serializedName:"reasonCode",readOnly:!0,type:{name:"String"}}}}},ApiError={type:{name:"Composite",className:"ApiError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ODataError"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}}}},ODataError={type:{name:"Composite",className:"ODataError",modelProperties:{code:{serializedName:"code",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}},details:{serializedName:"details",type:{name:"Sequence",element:{type:{name:"Composite",className:"ODataError"}}}}}}},ServiceSku={type:{name:"Composite",className:"ServiceSku",modelProperties:{name:{serializedName:"name",type:{name:"String"}},tier:{serializedName:"tier",type:{name:"String"}},family:{serializedName:"family",type:{name:"String"}},size:{serializedName:"size",type:{name:"String"}},capacity:{serializedName:"capacity",type:{name:"Number"}}}}},DataMigrationServiceStatusResponse={type:{name:"Composite",className:"DataMigrationServiceStatusResponse",modelProperties:{agentVersion:{serializedName:"agentVersion",type:{name:"String"}},status:{serializedName:"status",type:{name:"String"}},vmSize:{serializedName:"vmSize",type:{name:"String"}},supportedTaskTypes:{serializedName:"supportedTaskTypes",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},ServiceSkuList={type:{name:"Composite",className:"ServiceSkuList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"AvailableServiceSku"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},AvailableServiceSku={type:{name:"Composite",className:"AvailableServiceSku",modelProperties:{resourceType:{serializedName:"resourceType",type:{name:"String"}},sku:{serializedName:"sku",type:{name:"Composite",className:"AvailableServiceSkuSku"}},capacity:{serializedName:"capacity",type:{name:"Composite",className:"AvailableServiceSkuCapacity"}}}}},AvailableServiceSkuSku={type:{name:"Composite",className:"AvailableServiceSkuSku",modelProperties:{name:{serializedName:"name",type:{name:"String"}},family:{serializedName:"family",type:{name:"String"}},size:{serializedName:"size",type:{name:"String"}},tier:{serializedName:"tier",type:{name:"String"}}}}},AvailableServiceSkuCapacity={type:{name:"Composite",className:"AvailableServiceSkuCapacity",modelProperties:{minimum:{serializedName:"minimum",type:{name:"Number"}},maximum:{serializedName:"maximum",type:{name:"Number"}},default:{serializedName:"default",type:{name:"Number"}},scaleType:{serializedName:"scaleType",type:{name:"String"}}}}},TaskList={type:{name:"Composite",className:"TaskList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ProjectTask"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ProjectTaskProperties={type:{name:"Composite",className:"ProjectTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:{serializedName:"taskType",clientName:"taskType"},modelProperties:{taskType:{serializedName:"taskType",required:!0,type:{name:"String"}},errors:{serializedName:"errors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ODataError"}}}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},commands:{serializedName:"commands",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"CommandProperties"}}}},clientData:{serializedName:"clientData",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},CommandProperties={type:{name:"Composite",className:"CommandProperties",uberParent:"CommandProperties",polymorphicDiscriminator:{serializedName:"commandType",clientName:"commandType"},modelProperties:{commandType:{serializedName:"commandType",required:!0,type:{name:"String"}},errors:{serializedName:"errors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ODataError"}}}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}}}}},Resource={type:{name:"Composite",className:"Resource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}}}}},NameAvailabilityRequest={type:{name:"Composite",className:"NameAvailabilityRequest",modelProperties:{name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},NameAvailabilityResponse={type:{name:"Composite",className:"NameAvailabilityResponse",modelProperties:{nameAvailable:{serializedName:"nameAvailable",type:{name:"Boolean"}},reason:{serializedName:"reason",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}}}}},DataMigrationServiceList={type:{name:"Composite",className:"DataMigrationServiceList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"DataMigrationService"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ProjectList={type:{name:"Composite",className:"ProjectList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Project"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ConnectionInfo={type:{name:"Composite",className:"ConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:{serializedName:"type",clientName:"type"},modelProperties:{type:{serializedName:"type",required:!0,type:{name:"String"}},userName:{serializedName:"userName",type:{name:"String"}},password:{serializedName:"password",type:{name:"String"}}}}},DatabaseInfo={type:{name:"Composite",className:"DatabaseInfo",modelProperties:{sourceDatabaseName:{serializedName:"sourceDatabaseName",required:!0,type:{name:"String"}}}}},QuotaList={type:{name:"Composite",className:"QuotaList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Quota"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},Quota={type:{name:"Composite",className:"Quota",modelProperties:{currentValue:{serializedName:"currentValue",type:{name:"Number"}},id:{serializedName:"id",type:{name:"String"}},limit:{serializedName:"limit",type:{name:"Number"}},name:{serializedName:"name",type:{name:"Composite",className:"QuotaName"}},unit:{serializedName:"unit",type:{name:"String"}}}}},QuotaName={type:{name:"Composite",className:"QuotaName",modelProperties:{localizedValue:{serializedName:"localizedValue",type:{name:"String"}},value:{serializedName:"value",type:{name:"String"}}}}},FileList={type:{name:"Composite",className:"FileList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ProjectFile"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ProjectFileProperties={type:{name:"Composite",className:"ProjectFileProperties",modelProperties:{extension:{serializedName:"extension",type:{name:"String"}},filePath:{serializedName:"filePath",type:{name:"String"}},lastModified:{serializedName:"lastModified",readOnly:!0,type:{name:"DateTime"}},mediaType:{serializedName:"mediaType",type:{name:"String"}},size:{serializedName:"size",readOnly:!0,type:{name:"Number"}}}}},FileStorageInfo={type:{name:"Composite",className:"FileStorageInfo",modelProperties:{uri:{serializedName:"uri",type:{name:"String"}},headers:{serializedName:"headers",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrateSyncCompleteCommandInput={type:{name:"Composite",className:"MigrateSyncCompleteCommandInput",modelProperties:{databaseName:{serializedName:"databaseName",required:!0,type:{name:"String"}},commitTimeStamp:{serializedName:"commitTimeStamp",type:{name:"DateTime"}}}}},MigrateSyncCompleteCommandOutput={type:{name:"Composite",className:"MigrateSyncCompleteCommandOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},errors:{serializedName:"errors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ReportableException={type:{name:"Composite",className:"ReportableException",modelProperties:{message:{serializedName:"message",type:{name:"String"}},actionableMessage:{serializedName:"actionableMessage",type:{name:"String"}},filePath:{serializedName:"filePath",type:{name:"String"}},lineNumber:{serializedName:"lineNumber",type:{name:"String"}},hResult:{serializedName:"hResult",type:{name:"Number"}},stackTrace:{serializedName:"stackTrace",type:{name:"String"}}}}},MigrateMISyncCompleteCommandInput={type:{name:"Composite",className:"MigrateMISyncCompleteCommandInput",modelProperties:{sourceDatabaseName:{serializedName:"sourceDatabaseName",required:!0,type:{name:"String"}}}}},MigrateMISyncCompleteCommandOutput={type:{name:"Composite",className:"MigrateMISyncCompleteCommandOutput",modelProperties:{errors:{serializedName:"errors",type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},AzureActiveDirectoryApp={type:{name:"Composite",className:"AzureActiveDirectoryApp",modelProperties:{applicationId:{serializedName:"applicationId",required:!0,type:{name:"String"}},appKey:{serializedName:"appKey",required:!0,type:{name:"String"}},tenantId:{serializedName:"tenantId",required:!0,type:{name:"String"}}}}},BackupSetInfo={type:{name:"Composite",className:"BackupSetInfo",modelProperties:{backupSetId:{serializedName:"backupSetId",type:{name:"String"}},firstLsn:{serializedName:"firstLsn",type:{name:"String"}},lastLsn:{serializedName:"lastLsn",type:{name:"String"}},lastModifiedTime:{serializedName:"lastModifiedTime",type:{name:"DateTime"}},backupType:{serializedName:"backupType",type:{name:"String"}},listOfBackupFiles:{serializedName:"listOfBackupFiles",type:{name:"Sequence",element:{type:{name:"Composite",className:"BackupFileInfo"}}}},databaseName:{serializedName:"databaseName",type:{name:"String"}},backupStartDate:{serializedName:"backupStartDate",type:{name:"DateTime"}},backupFinishedDate:{serializedName:"backupFinishedDate",type:{name:"DateTime"}},isBackupRestored:{serializedName:"isBackupRestored",type:{name:"Boolean"}}}}},BackupFileInfo={type:{name:"Composite",className:"BackupFileInfo",modelProperties:{fileLocation:{serializedName:"fileLocation",type:{name:"String"}},familySequenceNumber:{serializedName:"familySequenceNumber",type:{name:"Number"}},status:{serializedName:"status",type:{name:"String"}}}}},OrphanedUserInfo={type:{name:"Composite",className:"OrphanedUserInfo",modelProperties:{name:{serializedName:"name",type:{name:"String"}},databaseName:{serializedName:"databaseName",type:{name:"String"}}}}},ConnectToSourceMySqlTaskInput={type:{name:"Composite",className:"ConnectToSourceMySqlTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},targetPlatform:{serializedName:"targetPlatform",type:{name:"String"}},checkPermissionsGroup:{serializedName:"checkPermissionsGroup",type:{name:"Enum",allowedValues:["Default","MigrationFromSqlServerToAzureDB","MigrationFromSqlServerToAzureMI","MigrationFromMySQLToAzureDBForMySQL"]}},isOfflineMigration:{defaultValue:!1,serializedName:"isOfflineMigration",type:{name:"Boolean"}}}}},ConnectToSourceSqlServerTaskInput={type:{name:"Composite",className:"ConnectToSourceSqlServerTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},checkPermissionsGroup:{serializedName:"checkPermissionsGroup",type:{name:"Enum",allowedValues:["Default","MigrationFromSqlServerToAzureDB","MigrationFromSqlServerToAzureMI","MigrationFromMySQLToAzureDBForMySQL"]}},collectDatabases:{defaultValue:!0,serializedName:"collectDatabases",type:{name:"Boolean"}},collectLogins:{defaultValue:!1,serializedName:"collectLogins",type:{name:"Boolean"}},collectAgentJobs:{defaultValue:!1,serializedName:"collectAgentJobs",type:{name:"Boolean"}},collectTdeCertificateInfo:{defaultValue:!1,serializedName:"collectTdeCertificateInfo",type:{name:"Boolean"}},validateSsisCatalogOnly:{defaultValue:!1,serializedName:"validateSsisCatalogOnly",type:{name:"Boolean"}}}}},ConnectToSourceSqlServerTaskOutput={type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutput",uberParent:"ConnectToSourceSqlServerTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},DatabaseFileInfo={type:{name:"Composite",className:"DatabaseFileInfo",modelProperties:{databaseName:{serializedName:"databaseName",type:{name:"String"}},id:{serializedName:"id",type:{name:"String"}},logicalName:{serializedName:"logicalName",type:{name:"String"}},physicalFullName:{serializedName:"physicalFullName",type:{name:"String"}},restoreFullName:{serializedName:"restoreFullName",type:{name:"String"}},fileType:{serializedName:"fileType",type:{name:"String"}},sizeMB:{serializedName:"sizeMB",type:{name:"Number"}}}}},MigrationEligibilityInfo={type:{name:"Composite",className:"MigrationEligibilityInfo",modelProperties:{isEligibleForMigration:{serializedName:"isEligibleForMigration",readOnly:!0,type:{name:"Boolean"}},validationMessages:{serializedName:"validationMessages",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},ConnectToSourcePostgreSqlSyncTaskInput={type:{name:"Composite",className:"ConnectToSourcePostgreSqlSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}}}}},ConnectToSourcePostgreSqlSyncTaskOutput={type:{name:"Composite",className:"ConnectToSourcePostgreSqlSyncTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ConnectToTargetAzureDbForMySqlTaskInput={type:{name:"Composite",className:"ConnectToTargetAzureDbForMySqlTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},isOfflineMigration:{defaultValue:!1,serializedName:"isOfflineMigration",type:{name:"Boolean"}}}}},ConnectToTargetAzureDbForMySqlTaskOutput={type:{name:"Composite",className:"ConnectToTargetAzureDbForMySqlTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},serverVersion:{serializedName:"serverVersion",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ConnectToTargetSqlDbTaskInput={type:{name:"Composite",className:"ConnectToTargetSqlDbTaskInput",modelProperties:{targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}}}}},ConnectToTargetSqlDbTaskOutput={type:{name:"Composite",className:"ConnectToTargetSqlDbTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}}}}},ConnectToTargetSqlMISyncTaskInput={type:{name:"Composite",className:"ConnectToTargetSqlMISyncTaskInput",modelProperties:{targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"MiSqlConnectionInfo"}},azureApp:{serializedName:"azureApp",type:{name:"Composite",className:"AzureActiveDirectoryApp"}}}}},ConnectToTargetSqlMISyncTaskOutput={type:{name:"Composite",className:"ConnectToTargetSqlMISyncTaskOutput",modelProperties:{targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ConnectToTargetSqlMITaskInput={type:{name:"Composite",className:"ConnectToTargetSqlMITaskInput",modelProperties:{targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},collectLogins:{defaultValue:!0,serializedName:"collectLogins",type:{name:"Boolean"}},collectAgentJobs:{defaultValue:!0,serializedName:"collectAgentJobs",type:{name:"Boolean"}},validateSsisCatalogOnly:{defaultValue:!1,serializedName:"validateSsisCatalogOnly",type:{name:"Boolean"}}}}},ConnectToTargetSqlMITaskOutput={type:{name:"Composite",className:"ConnectToTargetSqlMITaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},logins:{serializedName:"logins",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},agentJobs:{serializedName:"agentJobs",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ConnectToTargetSqlDbSyncTaskInput={type:{name:"Composite",className:"ConnectToTargetSqlDbSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}}}}},ConnectToTargetAzureDbForPostgreSqlSyncTaskInput={type:{name:"Composite",className:"ConnectToTargetAzureDbForPostgreSqlSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}}}}},ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput={type:{name:"Composite",className:"ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},GetUserTablesMySqlTaskInput={type:{name:"Composite",className:"GetUserTablesMySqlTaskInput",modelProperties:{connectionInfo:{serializedName:"connectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesMySqlTaskOutput={type:{name:"Composite",className:"GetUserTablesMySqlTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},databasesToTables:{serializedName:"databasesToTables",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},DatabaseTable={type:{name:"Composite",className:"DatabaseTable",modelProperties:{hasRows:{serializedName:"hasRows",readOnly:!0,type:{name:"Boolean"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}}}}},GetTdeCertificatesSqlTaskInput={type:{name:"Composite",className:"GetTdeCertificatesSqlTaskInput",modelProperties:{connectionInfo:{serializedName:"connectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},backupFileShare:{serializedName:"backupFileShare",type:{name:"Composite",className:"FileShare"}},selectedCertificates:{serializedName:"selectedCertificates",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SelectedCertificateInput"}}}}}}},FileShare={type:{name:"Composite",className:"FileShare",modelProperties:{userName:{serializedName:"userName",type:{name:"String"}},password:{serializedName:"password",type:{name:"String"}},path:{serializedName:"path",required:!0,type:{name:"String"}}}}},SelectedCertificateInput={type:{name:"Composite",className:"SelectedCertificateInput",modelProperties:{certificateName:{serializedName:"certificateName",required:!0,type:{name:"String"}},password:{serializedName:"password",required:!0,type:{name:"String"}}}}},GetTdeCertificatesSqlTaskOutput={type:{name:"Composite",className:"GetTdeCertificatesSqlTaskOutput",modelProperties:{base64EncodedCertificates:{serializedName:"base64EncodedCertificates",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},GetUserTablesSqlSyncTaskInput={type:{name:"Composite",className:"GetUserTablesSqlSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},selectedSourceDatabases:{serializedName:"selectedSourceDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},selectedTargetDatabases:{serializedName:"selectedTargetDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesSqlSyncTaskOutput={type:{name:"Composite",className:"GetUserTablesSqlSyncTaskOutput",modelProperties:{databasesToSourceTables:{serializedName:"databasesToSourceTables",readOnly:!0,type:{name:"String"}},databasesToTargetTables:{serializedName:"databasesToTargetTables",readOnly:!0,type:{name:"String"}},tableValidationErrors:{serializedName:"tableValidationErrors",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},GetUserTablesSqlTaskInput={type:{name:"Composite",className:"GetUserTablesSqlTaskInput",modelProperties:{connectionInfo:{serializedName:"connectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesSqlTaskOutput={type:{name:"Composite",className:"GetUserTablesSqlTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},databasesToTables:{serializedName:"databasesToTables",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},MigrateSchemaSqlServerSqlDbDatabaseInput={type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},id:{serializedName:"id",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},schemaSetting:{serializedName:"schemaSetting",type:{name:"Composite",className:"SchemaMigrationSetting"}}}}},SchemaMigrationSetting={type:{name:"Composite",className:"SchemaMigrationSetting",modelProperties:{schemaOption:{serializedName:"schemaOption",type:{name:"String"}},fileId:{serializedName:"fileId",type:{name:"String"}},fileName:{serializedName:"fileName",type:{name:"String"}}}}},SqlMigrationTaskInput={type:{name:"Composite",className:"SqlMigrationTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}}}}},MigrateSchemaSqlServerSqlDbTaskOutput={type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskOutput",uberParent:"MigrateSchemaSqlServerSqlDbTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},MigrateMySqlAzureDbForMySqlSyncTaskInput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncDatabaseInput"}}}}}}},MigrateMySqlAzureDbForMySqlSyncDatabaseInput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},migrationSetting:{serializedName:"migrationSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},sourceSetting:{serializedName:"sourceSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},targetSetting:{serializedName:"targetSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},tableMap:{serializedName:"tableMap",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrateMySqlAzureDbForMySqlSyncTaskOutput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},SyncMigrationDatabaseErrorEvent={type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent",modelProperties:{timestampString:{serializedName:"timestampString",readOnly:!0,type:{name:"String"}},eventTypeString:{serializedName:"eventTypeString",readOnly:!0,type:{name:"String"}},eventText:{serializedName:"eventText",readOnly:!0,type:{name:"String"}}}}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput={type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput",modelProperties:{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput"}}}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}},sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}},encryptedKeyForSecureFields:{serializedName:"encryptedKeyForSecureFields",type:{name:"String"}}}}},MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput={type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},migrationSetting:{serializedName:"migrationSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},sourceSetting:{serializedName:"sourceSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},targetSetting:{serializedName:"targetSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},selectedTables:{serializedName:"selectedTables",type:{name:"Sequence",element:{type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput"}}}}}}},MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput={type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}}}}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput={type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},MigrateSqlServerSqlDbSyncDatabaseInput={type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncDatabaseInput",modelProperties:{id:{serializedName:"id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},schemaName:{serializedName:"schemaName",type:{name:"String"}},tableMap:{serializedName:"tableMap",type:{name:"Dictionary",value:{type:{name:"String"}}}},migrationSetting:{serializedName:"migrationSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},sourceSetting:{serializedName:"sourceSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},targetSetting:{serializedName:"targetSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrationValidationOptions={type:{name:"Composite",className:"MigrationValidationOptions",modelProperties:{enableSchemaValidation:{serializedName:"enableSchemaValidation",type:{name:"Boolean"}},enableDataIntegrityValidation:{serializedName:"enableDataIntegrityValidation",type:{name:"Boolean"}},enableQueryAnalysisValidation:{serializedName:"enableQueryAnalysisValidation",type:{name:"Boolean"}}}}},MigrateSqlServerSqlDbSyncTaskOutput={type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutput",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},MigrateSqlServerSqlDbDatabaseInput={type:{name:"Composite",className:"MigrateSqlServerSqlDbDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},makeSourceDbReadOnly:{serializedName:"makeSourceDbReadOnly",type:{name:"Boolean"}},tableMap:{serializedName:"tableMap",type:{name:"Dictionary",value:{type:{name:"String"}}}},schemaSetting:{serializedName:"schemaSetting",type:{name:"Dictionary",value:{type:{name:"any"}}}},id:{serializedName:"id",type:{name:"String"}}}}},MigrateSqlServerSqlDbTaskOutput={type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutput",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},MigrationValidationResult={type:{name:"Composite",className:"MigrationValidationResult",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},migrationId:{serializedName:"migrationId",readOnly:!0,type:{name:"String"}},summaryResults:{serializedName:"summaryResults",type:{name:"Dictionary",value:{type:{name:"Composite",className:"MigrationValidationDatabaseSummaryResult"}}}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}}}}},MigrationValidationDatabaseSummaryResult={type:{name:"Composite",className:"MigrationValidationDatabaseSummaryResult",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},migrationId:{serializedName:"migrationId",readOnly:!0,type:{name:"String"}},sourceDatabaseName:{serializedName:"sourceDatabaseName",readOnly:!0,type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}}}}},MigrationReportResult={type:{name:"Composite",className:"MigrationReportResult",modelProperties:{id:{serializedName:"id",type:{name:"String"}},reportUrl:{serializedName:"reportUrl",type:{name:"String"}}}}},DataItemMigrationSummaryResult={type:{name:"Composite",className:"DataItemMigrationSummaryResult",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},itemsCount:{serializedName:"itemsCount",readOnly:!0,type:{name:"Number"}},itemsCompletedCount:{serializedName:"itemsCompletedCount",readOnly:!0,type:{name:"Number"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},resultPrefix:{serializedName:"resultPrefix",readOnly:!0,type:{name:"String"}}}}},MigrationValidationDatabaseLevelResult={type:{name:"Composite",className:"MigrationValidationDatabaseLevelResult",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},migrationId:{serializedName:"migrationId",readOnly:!0,type:{name:"String"}},sourceDatabaseName:{serializedName:"sourceDatabaseName",readOnly:!0,type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},dataIntegrityValidationResult:{serializedName:"dataIntegrityValidationResult",type:{name:"Composite",className:"DataIntegrityValidationResult"}},schemaValidationResult:{serializedName:"schemaValidationResult",type:{name:"Composite",className:"SchemaComparisonValidationResult"}},queryAnalysisValidationResult:{serializedName:"queryAnalysisValidationResult",type:{name:"Composite",className:"QueryAnalysisValidationResult"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}}}}},DataIntegrityValidationResult={type:{name:"Composite",className:"DataIntegrityValidationResult",modelProperties:{failedObjects:{serializedName:"failedObjects",type:{name:"Dictionary",value:{type:{name:"String"}}}},validationErrors:{serializedName:"validationErrors",type:{name:"Composite",className:"ValidationError"}}}}},ValidationError={type:{name:"Composite",className:"ValidationError",modelProperties:{text:{serializedName:"text",type:{name:"String"}},severity:{serializedName:"severity",type:{name:"String"}}}}},SchemaComparisonValidationResult={type:{name:"Composite",className:"SchemaComparisonValidationResult",modelProperties:{schemaDifferences:{serializedName:"schemaDifferences",type:{name:"Composite",className:"SchemaComparisonValidationResultType"}},validationErrors:{serializedName:"validationErrors",type:{name:"Composite",className:"ValidationError"}},sourceDatabaseObjectCount:{serializedName:"sourceDatabaseObjectCount",type:{name:"Dictionary",value:{type:{name:"Number"}}}},targetDatabaseObjectCount:{serializedName:"targetDatabaseObjectCount",type:{name:"Dictionary",value:{type:{name:"Number"}}}}}}},SchemaComparisonValidationResultType={type:{name:"Composite",className:"SchemaComparisonValidationResultType",modelProperties:{objectName:{serializedName:"objectName",type:{name:"String"}},objectType:{serializedName:"objectType",type:{name:"String"}},updateAction:{serializedName:"updateAction",type:{name:"String"}}}}},QueryAnalysisValidationResult={type:{name:"Composite",className:"QueryAnalysisValidationResult",modelProperties:{queryResults:{serializedName:"queryResults",type:{name:"Composite",className:"QueryExecutionResult"}},validationErrors:{serializedName:"validationErrors",type:{name:"Composite",className:"ValidationError"}}}}},QueryExecutionResult={type:{name:"Composite",className:"QueryExecutionResult",modelProperties:{queryText:{serializedName:"queryText",type:{name:"String"}},statementsInBatch:{serializedName:"statementsInBatch",type:{name:"Number"}},sourceResult:{serializedName:"sourceResult",type:{name:"Composite",className:"ExecutionStatistics"}},targetResult:{serializedName:"targetResult",type:{name:"Composite",className:"ExecutionStatistics"}}}}},ExecutionStatistics={type:{name:"Composite",className:"ExecutionStatistics",modelProperties:{executionCount:{serializedName:"executionCount",type:{name:"Number"}},cpuTimeMs:{serializedName:"cpuTimeMs",type:{name:"Number"}},elapsedTimeMs:{serializedName:"elapsedTimeMs",type:{name:"Number"}},waitStats:{serializedName:"waitStats",type:{name:"Dictionary",value:{type:{name:"Composite",className:"WaitStatistics"}}}},hasErrors:{serializedName:"hasErrors",type:{name:"Boolean"}},sqlErrors:{serializedName:"sqlErrors",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},WaitStatistics={type:{name:"Composite",className:"WaitStatistics",modelProperties:{waitType:{serializedName:"waitType",type:{name:"String"}},waitTimeMs:{defaultValue:0,serializedName:"waitTimeMs",type:{name:"Number"}},waitCount:{serializedName:"waitCount",type:{name:"Number"}}}}},SqlServerSqlMISyncTaskInput={type:{name:"Composite",className:"SqlServerSqlMISyncTaskInput",modelProperties:{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlMIDatabaseInput"}}}},backupFileShare:{serializedName:"backupFileShare",type:{name:"Composite",className:"FileShare"}},storageResourceId:{serializedName:"storageResourceId",required:!0,type:{name:"String"}},sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"MiSqlConnectionInfo"}},azureApp:{serializedName:"azureApp",type:{name:"Composite",className:"AzureActiveDirectoryApp"}}}}},MigrateSqlServerSqlMIDatabaseInput={type:{name:"Composite",className:"MigrateSqlServerSqlMIDatabaseInput",modelProperties:{name:{serializedName:"name",required:!0,type:{name:"String"}},restoreDatabaseName:{serializedName:"restoreDatabaseName",required:!0,type:{name:"String"}},backupFileShare:{serializedName:"backupFileShare",type:{name:"Composite",className:"FileShare"}},backupFilePaths:{serializedName:"backupFilePaths",type:{name:"Sequence",element:{type:{name:"String"}}}},id:{serializedName:"id",type:{name:"String"}}}}},MigrateSqlServerSqlMISyncTaskOutput={type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskOutput",uberParent:"MigrateSqlServerSqlMISyncTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},BlobShare={type:{name:"Composite",className:"BlobShare",modelProperties:{sasUri:{serializedName:"sasUri",required:!0,type:{name:"String"}}}}},MigrateSqlServerSqlMITaskOutput={type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutput",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},SsisMigrationInfo={type:{name:"Composite",className:"SsisMigrationInfo",modelProperties:{ssisStoreType:{serializedName:"ssisStoreType",type:{name:"String"}},projectOverwriteOption:{serializedName:"projectOverwriteOption",type:{name:"String"}},environmentOverwriteOption:{serializedName:"environmentOverwriteOption",type:{name:"String"}}}}},MigrateSsisTaskOutput={type:{name:"Composite",className:"MigrateSsisTaskOutput",uberParent:"MigrateSsisTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},MongoDbCommandInput={type:{name:"Composite",className:"MongoDbCommandInput",modelProperties:{objectName:{serializedName:"objectName",type:{name:"String"}}}}},MongoDbClusterInfo={type:{name:"Composite",className:"MongoDbClusterInfo",modelProperties:{databases:{serializedName:"databases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbDatabaseInfo"}}}},supportsSharding:{serializedName:"supportsSharding",required:!0,type:{name:"Boolean"}},type:{serializedName:"type",required:!0,type:{name:"String"}},version:{serializedName:"version",required:!0,type:{name:"String"}}}}},MongoDbShardKeyInfo={type:{name:"Composite",className:"MongoDbShardKeyInfo",modelProperties:{fields:{serializedName:"fields",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbShardKeyField"}}}},isUnique:{serializedName:"isUnique",required:!0,type:{name:"Boolean"}}}}},MongoDbShardKeyField={type:{name:"Composite",className:"MongoDbShardKeyField",modelProperties:{name:{serializedName:"name",required:!0,type:{name:"String"}},order:{serializedName:"order",required:!0,type:{name:"String"}}}}},MongoDbObjectInfo={type:{name:"Composite",className:"MongoDbObjectInfo",modelProperties:{averageDocumentSize:{serializedName:"averageDocumentSize",required:!0,type:{name:"Number"}},dataSize:{serializedName:"dataSize",required:!0,type:{name:"Number"}},documentCount:{serializedName:"documentCount",required:!0,type:{name:"Number"}},name:{serializedName:"name",required:!0,type:{name:"String"}},qualifiedName:{serializedName:"qualifiedName",required:!0,type:{name:"String"}}}}},MongoDbProgress={type:{name:"Composite",className:"MongoDbProgress",uberParent:"MongoDbProgress",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{bytesCopied:{serializedName:"bytesCopied",required:!0,type:{name:"Number"}},documentsCopied:{serializedName:"documentsCopied",required:!0,type:{name:"Number"}},elapsedTime:{serializedName:"elapsedTime",required:!0,type:{name:"String"}},errors:{serializedName:"errors",required:!0,type:{name:"Dictionary",value:{type:{name:"Composite",className:"MongoDbError"}}}},eventsPending:{serializedName:"eventsPending",required:!0,type:{name:"Number"}},eventsReplayed:{serializedName:"eventsReplayed",required:!0,type:{name:"Number"}},lastEventTime:{serializedName:"lastEventTime",type:{name:"DateTime"}},lastReplayTime:{serializedName:"lastReplayTime",type:{name:"DateTime"}},name:{serializedName:"name",type:{name:"String"}},qualifiedName:{serializedName:"qualifiedName",type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}},state:{serializedName:"state",required:!0,type:{name:"String"}},totalBytes:{serializedName:"totalBytes",required:!0,type:{name:"Number"}},totalDocuments:{serializedName:"totalDocuments",required:!0,type:{name:"Number"}}}}},MongoDbError={type:{name:"Composite",className:"MongoDbError",modelProperties:{code:{serializedName:"code",type:{name:"String"}},count:{serializedName:"count",type:{name:"Number"}},message:{serializedName:"message",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},MongoDbCollectionSettings={type:{name:"Composite",className:"MongoDbCollectionSettings",modelProperties:{canDelete:{serializedName:"canDelete",type:{name:"Boolean"}},shardKey:{serializedName:"shardKey",type:{name:"Composite",className:"MongoDbShardKeySetting"}},targetRUs:{serializedName:"targetRUs",type:{name:"Number"}}}}},MongoDbShardKeySetting={type:{name:"Composite",className:"MongoDbShardKeySetting",modelProperties:{fields:{serializedName:"fields",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbShardKeyField"}}}},isUnique:{serializedName:"isUnique",required:!0,type:{name:"Boolean"}}}}},MongoDbDatabaseSettings={type:{name:"Composite",className:"MongoDbDatabaseSettings",modelProperties:{collections:{serializedName:"collections",required:!0,type:{name:"Dictionary",value:{type:{name:"Composite",className:"MongoDbCollectionSettings"}}}},targetRUs:{serializedName:"targetRUs",type:{name:"Number"}}}}},MongoDbMigrationSettings={type:{name:"Composite",className:"MongoDbMigrationSettings",modelProperties:{boostRUs:{serializedName:"boostRUs",type:{name:"Number"}},databases:{serializedName:"databases",required:!0,type:{name:"Dictionary",value:{type:{name:"Composite",className:"MongoDbDatabaseSettings"}}}},replication:{serializedName:"replication",type:{name:"String"}},source:{serializedName:"source",type:{name:"Composite",className:"MongoDbConnectionInfo"}},target:{serializedName:"target",type:{name:"Composite",className:"MongoDbConnectionInfo"}},throttling:{serializedName:"throttling",type:{name:"Composite",className:"MongoDbThrottlingSettings"}}}}},MongoDbThrottlingSettings={type:{name:"Composite",className:"MongoDbThrottlingSettings",modelProperties:{minFreeCpu:{serializedName:"minFreeCpu",type:{name:"Number"}},minFreeMemoryMb:{serializedName:"minFreeMemoryMb",type:{name:"Number"}},maxParallelism:{serializedName:"maxParallelism",type:{name:"Number"}}}}},ConnectToSourceOracleSyncTaskInput={type:{name:"Composite",className:"ConnectToSourceOracleSyncTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"OracleConnectionInfo"}}}}},ConnectToSourceOracleSyncTaskOutput={type:{name:"Composite",className:"ConnectToSourceOracleSyncTaskOutput",modelProperties:{sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput={type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput",modelProperties:{targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}}}}},ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput={type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput",modelProperties:{targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},databaseSchemaMap:{serializedName:"databaseSchemaMap",type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem"}}}}}}},ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem={type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem",modelProperties:{database:{serializedName:"database",type:{name:"String"}},schemas:{serializedName:"schemas",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesOracleTaskInput={type:{name:"Composite",className:"GetUserTablesOracleTaskInput",modelProperties:{connectionInfo:{serializedName:"connectionInfo",type:{name:"Composite",className:"OracleConnectionInfo"}},selectedSchemas:{serializedName:"selectedSchemas",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesOracleTaskOutput={type:{name:"Composite",className:"GetUserTablesOracleTaskOutput",modelProperties:{schemaName:{serializedName:"schemaName",readOnly:!0,type:{name:"String"}},tables:{serializedName:"tables",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseTable"}}}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},GetUserTablesPostgreSqlTaskInput={type:{name:"Composite",className:"GetUserTablesPostgreSqlTaskInput",modelProperties:{connectionInfo:{serializedName:"connectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},GetUserTablesPostgreSqlTaskOutput={type:{name:"Composite",className:"GetUserTablesPostgreSqlTaskOutput",modelProperties:{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},tables:{serializedName:"tables",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseTable"}}}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ValidateOracleAzureDbPostgreSqlSyncTaskOutput={type:{name:"Composite",className:"ValidateOracleAzureDbPostgreSqlSyncTaskOutput",modelProperties:{validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},MigrateOracleAzureDbPostgreSqlSyncTaskInput={type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskInput",modelProperties:{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncDatabaseInput"}}}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo"}},sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"OracleConnectionInfo"}}}}},MigrateOracleAzureDbPostgreSqlSyncDatabaseInput={type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncDatabaseInput",modelProperties:{caseManipulation:{serializedName:"caseManipulation",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},schemaName:{serializedName:"schemaName",type:{name:"String"}},tableMap:{serializedName:"tableMap",type:{name:"Dictionary",value:{type:{name:"String"}}}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},migrationSetting:{serializedName:"migrationSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},sourceSetting:{serializedName:"sourceSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}},targetSetting:{serializedName:"targetSetting",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrateOracleAzureDbPostgreSqlSyncTaskOutput={type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},OracleOCIDriverInfo={type:{name:"Composite",className:"OracleOCIDriverInfo",modelProperties:{driverName:{serializedName:"driverName",readOnly:!0,type:{name:"String"}},driverSize:{serializedName:"driverSize",readOnly:!0,type:{name:"String"}},archiveChecksum:{serializedName:"archiveChecksum",readOnly:!0,type:{name:"String"}},oracleChecksum:{serializedName:"oracleChecksum",readOnly:!0,type:{name:"String"}},assemblyVersion:{serializedName:"assemblyVersion",readOnly:!0,type:{name:"String"}},supportedOracleVersions:{serializedName:"supportedOracleVersions",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}}}}},CheckOCIDriverTaskInput={type:{name:"Composite",className:"CheckOCIDriverTaskInput",modelProperties:{serverVersion:{serializedName:"serverVersion",type:{name:"String"}}}}},CheckOCIDriverTaskOutput={type:{name:"Composite",className:"CheckOCIDriverTaskOutput",modelProperties:{installedDriver:{serializedName:"installedDriver",type:{name:"Composite",className:"OracleOCIDriverInfo"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},UploadOCIDriverTaskInput={type:{name:"Composite",className:"UploadOCIDriverTaskInput",modelProperties:{driverShare:{serializedName:"driverShare",type:{name:"Composite",className:"FileShare"}}}}},UploadOCIDriverTaskOutput={type:{name:"Composite",className:"UploadOCIDriverTaskOutput",modelProperties:{driverPackageName:{serializedName:"driverPackageName",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},InstallOCIDriverTaskInput={type:{name:"Composite",className:"InstallOCIDriverTaskInput",modelProperties:{driverPackageName:{serializedName:"driverPackageName",type:{name:"String"}}}}},InstallOCIDriverTaskOutput={type:{name:"Composite",className:"InstallOCIDriverTaskOutput",modelProperties:{validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ServiceOperation={type:{name:"Composite",className:"ServiceOperation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"ServiceOperationDisplay"}}}}},ServiceOperationDisplay={type:{name:"Composite",className:"ServiceOperationDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}}}}},ServiceOperationList={type:{name:"Composite",className:"ServiceOperationList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ServiceOperation"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},ConnectToSourceNonSqlTaskOutput={type:{name:"Composite",className:"ConnectToSourceNonSqlTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},serverProperties:{serializedName:"serverProperties",type:{name:"Composite",className:"ServerProperties"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ServerProperties={type:{name:"Composite",className:"ServerProperties",modelProperties:{serverPlatform:{serializedName:"serverPlatform",readOnly:!0,type:{name:"String"}},serverName:{serializedName:"serverName",readOnly:!0,type:{name:"String"}},serverVersion:{serializedName:"serverVersion",readOnly:!0,type:{name:"String"}},serverEdition:{serializedName:"serverEdition",readOnly:!0,type:{name:"String"}},serverOperatingSystemVersion:{serializedName:"serverOperatingSystemVersion",readOnly:!0,type:{name:"String"}},serverDatabaseCount:{serializedName:"serverDatabaseCount",readOnly:!0,type:{name:"Number"}}}}},MigrateMySqlAzureDbForMySqlOfflineTaskInput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineDatabaseInput"}}}},makeSourceServerReadOnly:{defaultValue:!1,serializedName:"makeSourceServerReadOnly",type:{name:"Boolean"}},startedOn:{serializedName:"startedOn",type:{name:"DateTime"}},optionalAgentSettings:{serializedName:"optionalAgentSettings",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrateMySqlAzureDbForMySqlOfflineDatabaseInput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},targetDatabaseName:{serializedName:"targetDatabaseName",type:{name:"String"}},tableMap:{serializedName:"tableMap",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},MigrateMySqlAzureDbForMySqlOfflineTaskOutput={type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",uberParent:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",polymorphicDiscriminator:{serializedName:"resultType",clientName:"resultType"},modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},resultType:{serializedName:"resultType",required:!0,type:{name:"String"}}}}},ValidateSyncMigrationInputSqlServerTaskInput={type:{name:"Composite",className:"ValidateSyncMigrationInputSqlServerTaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncDatabaseInput"}}}}}}},ValidateSyncMigrationInputSqlServerTaskOutput={type:{name:"Composite",className:"ValidateSyncMigrationInputSqlServerTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},ValidateMigrationInputSqlServerSqlMITaskInput={type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMITaskInput",modelProperties:{sourceConnectionInfo:{serializedName:"sourceConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlMIDatabaseInput"}}}},selectedLogins:{serializedName:"selectedLogins",type:{name:"Sequence",element:{type:{name:"String"}}}},backupFileShare:{serializedName:"backupFileShare",type:{name:"Composite",className:"FileShare"}},backupBlobShare:{serializedName:"backupBlobShare",type:{name:"Composite",className:"BlobShare"}},backupMode:{serializedName:"backupMode",type:{name:"String"}}}}},ValidateMigrationInputSqlServerSqlMITaskOutput={type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMITaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},restoreDatabaseNameErrors:{serializedName:"restoreDatabaseNameErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},backupFolderErrors:{serializedName:"backupFolderErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},backupShareCredentialsErrors:{serializedName:"backupShareCredentialsErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},backupStorageAccountErrors:{serializedName:"backupStorageAccountErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},existingBackupErrors:{serializedName:"existingBackupErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},databaseBackupInfo:{serializedName:"databaseBackupInfo",type:{name:"Composite",className:"DatabaseBackupInfo"}}}}},DatabaseBackupInfo={type:{name:"Composite",className:"DatabaseBackupInfo",modelProperties:{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},backupType:{serializedName:"backupType",readOnly:!0,type:{name:"String"}},backupFiles:{serializedName:"backupFiles",readOnly:!0,type:{name:"Sequence",element:{type:{name:"String"}}}},position:{serializedName:"position",readOnly:!0,type:{name:"Number"}},isDamaged:{serializedName:"isDamaged",readOnly:!0,type:{name:"Boolean"}},isCompressed:{serializedName:"isCompressed",readOnly:!0,type:{name:"Boolean"}},familyCount:{serializedName:"familyCount",readOnly:!0,type:{name:"Number"}},backupFinishDate:{serializedName:"backupFinishDate",readOnly:!0,type:{name:"DateTime"}}}}},ValidateMigrationInputSqlServerSqlMISyncTaskOutput={type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMISyncTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},Database={type:{name:"Composite",className:"Database",modelProperties:{id:{serializedName:"id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},compatibilityLevel:{serializedName:"compatibilityLevel",type:{name:"String"}},collation:{serializedName:"collation",type:{name:"String"}},serverName:{serializedName:"serverName",type:{name:"String"}},fqdn:{serializedName:"fqdn",type:{name:"String"}},installId:{serializedName:"installId",type:{name:"String"}},serverVersion:{serializedName:"serverVersion",type:{name:"String"}},serverEdition:{serializedName:"serverEdition",type:{name:"String"}},serverLevel:{serializedName:"serverLevel",type:{name:"String"}},serverDefaultDataPath:{serializedName:"serverDefaultDataPath",type:{name:"String"}},serverDefaultLogPath:{serializedName:"serverDefaultLogPath",type:{name:"String"}},serverDefaultBackupPath:{serializedName:"serverDefaultBackupPath",type:{name:"String"}},serverCoreCount:{serializedName:"serverCoreCount",type:{name:"Number"}},serverVisibleOnlineCoreCount:{serializedName:"serverVisibleOnlineCoreCount",type:{name:"Number"}},databaseState:{serializedName:"databaseState",type:{name:"String"}},serverId:{serializedName:"serverId",type:{name:"String"}}}}},DatabaseObjectName={type:{name:"Composite",className:"DatabaseObjectName",modelProperties:{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},objectName:{serializedName:"objectName",readOnly:!0,type:{name:"String"}},schemaName:{serializedName:"schemaName",readOnly:!0,type:{name:"String"}},objectType:{serializedName:"objectType",type:{name:"String"}}}}},DataMigrationProjectMetadata={type:{name:"Composite",className:"DataMigrationProjectMetadata",modelProperties:{sourceServerName:{serializedName:"sourceServerName",readOnly:!0,type:{name:"String"}},sourceServerPort:{serializedName:"sourceServerPort",readOnly:!0,type:{name:"String"}},sourceUsername:{serializedName:"sourceUsername",readOnly:!0,type:{name:"String"}},targetServerName:{serializedName:"targetServerName",readOnly:!0,type:{name:"String"}},targetUsername:{serializedName:"targetUsername",readOnly:!0,type:{name:"String"}},targetDbName:{serializedName:"targetDbName",readOnly:!0,type:{name:"String"}},targetUsingWinAuth:{serializedName:"targetUsingWinAuth",readOnly:!0,type:{name:"Boolean"}},selectedMigrationTables:{serializedName:"selectedMigrationTables",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrationTableMetadata"}}}}}}},MigrationTableMetadata={type:{name:"Composite",className:"MigrationTableMetadata",modelProperties:{sourceTableName:{serializedName:"sourceTableName",readOnly:!0,type:{name:"String"}},targetTableName:{serializedName:"targetTableName",readOnly:!0,type:{name:"String"}}}}},GetProjectDetailsNonSqlTaskInput={type:{name:"Composite",className:"GetProjectDetailsNonSqlTaskInput",modelProperties:{projectName:{serializedName:"projectName",required:!0,type:{name:"String"}},projectLocation:{serializedName:"projectLocation",required:!0,type:{name:"String"}}}}},NonSqlMigrationTaskInput={type:{name:"Composite",className:"NonSqlMigrationTaskInput",modelProperties:{targetConnectionInfo:{serializedName:"targetConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo"}},targetDatabaseName:{serializedName:"targetDatabaseName",required:!0,type:{name:"String"}},projectName:{serializedName:"projectName",required:!0,type:{name:"String"}},projectLocation:{serializedName:"projectLocation",required:!0,type:{name:"String"}},selectedTables:{serializedName:"selectedTables",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"NonSqlDataMigrationTable"}}}}}}},NonSqlDataMigrationTable={type:{name:"Composite",className:"NonSqlDataMigrationTable",modelProperties:{sourceName:{serializedName:"sourceName",type:{name:"String"}}}}},NonSqlMigrationTaskOutput={type:{name:"Composite",className:"NonSqlMigrationTaskOutput",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},dataMigrationTableResults:{serializedName:"dataMigrationTableResults",readOnly:!0,type:{name:"String"}},progressMessage:{serializedName:"progressMessage",readOnly:!0,type:{name:"String"}},sourceServerName:{serializedName:"sourceServerName",readOnly:!0,type:{name:"String"}},targetServerName:{serializedName:"targetServerName",readOnly:!0,type:{name:"String"}}}}},NonSqlDataMigrationTableResult={type:{name:"Composite",className:"NonSqlDataMigrationTableResult",modelProperties:{resultCode:{serializedName:"resultCode",readOnly:!0,type:{name:"String"}},sourceName:{serializedName:"sourceName",readOnly:!0,type:{name:"String"}},targetName:{serializedName:"targetName",readOnly:!0,type:{name:"String"}},sourceRowCount:{serializedName:"sourceRowCount",readOnly:!0,type:{name:"Number"}},targetRowCount:{serializedName:"targetRowCount",readOnly:!0,type:{name:"Number"}},elapsedTimeInMiliseconds:{serializedName:"elapsedTimeInMiliseconds",readOnly:!0,type:{name:"Number"}},errors:{serializedName:"errors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DataMigrationError"}}}}}}},DataMigrationError={type:{name:"Composite",className:"DataMigrationError",modelProperties:{message:{serializedName:"message",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},MigrateSqlServerDatabaseInput={type:{name:"Composite",className:"MigrateSqlServerDatabaseInput",modelProperties:{name:{serializedName:"name",type:{name:"String"}},restoreDatabaseName:{serializedName:"restoreDatabaseName",type:{name:"String"}},backupAndRestoreFolder:{serializedName:"backupAndRestoreFolder",type:{name:"String"}},databaseFiles:{serializedName:"databaseFiles",type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseFileInput"}}}}}}},DatabaseFileInput={type:{name:"Composite",className:"DatabaseFileInput",modelProperties:{id:{serializedName:"id",type:{name:"String"}},logicalName:{serializedName:"logicalName",type:{name:"String"}},physicalFullName:{serializedName:"physicalFullName",type:{name:"String"}},restoreFullName:{serializedName:"restoreFullName",type:{name:"String"}},fileType:{serializedName:"fileType",type:{name:"String"}}}}},StartMigrationScenarioServerRoleResult={type:{name:"Composite",className:"StartMigrationScenarioServerRoleResult",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}}}},DatabaseMigrationPropertiesSqlMi={serializedName:"SqlMi",type:{name:"Composite",className:"DatabaseMigrationPropertiesSqlMi",uberParent:"DatabaseMigrationProperties",polymorphicDiscriminator:DatabaseMigrationProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},DatabaseMigrationProperties.type.modelProperties),{migrationStatusDetails:{serializedName:"migrationStatusDetails",type:{name:"Composite",className:"MigrationStatusDetails"}},targetDatabaseCollation:{serializedName:"targetDatabaseCollation",type:{name:"String"}},provisioningError:{serializedName:"provisioningError",type:{name:"String"}},backupConfiguration:{serializedName:"backupConfiguration",type:{name:"Composite",className:"BackupConfiguration"}},offlineConfiguration:{serializedName:"offlineConfiguration",type:{name:"Composite",className:"OfflineConfiguration"}}})}},DatabaseMigrationPropertiesSqlVm={serializedName:"SqlVm",type:{name:"Composite",className:"DatabaseMigrationPropertiesSqlVm",uberParent:"DatabaseMigrationProperties",polymorphicDiscriminator:DatabaseMigrationProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},DatabaseMigrationProperties.type.modelProperties),{migrationStatusDetails:{serializedName:"migrationStatusDetails",type:{name:"Composite",className:"MigrationStatusDetails"}},targetDatabaseCollation:{serializedName:"targetDatabaseCollation",type:{name:"String"}},provisioningError:{serializedName:"provisioningError",type:{name:"String"}},backupConfiguration:{serializedName:"backupConfiguration",type:{name:"Composite",className:"BackupConfiguration"}},offlineConfiguration:{serializedName:"offlineConfiguration",type:{name:"Composite",className:"OfflineConfiguration"}}})}},DatabaseMigrationSqlMi={type:{name:"Composite",className:"DatabaseMigrationSqlMi",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},properties:{serializedName:"properties",type:{name:"Composite",className:"DatabaseMigrationPropertiesSqlMi"}}})}},DatabaseMigrationSqlVm={type:{name:"Composite",className:"DatabaseMigrationSqlVm",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},properties:{serializedName:"properties",type:{name:"Composite",className:"DatabaseMigrationPropertiesSqlVm"}}})}},DatabaseMigration={type:{name:"Composite",className:"DatabaseMigration",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},properties:{serializedName:"properties",type:{name:"Composite",className:"DatabaseMigrationProperties"}}})}},SqlMigrationService={type:{name:"Composite",className:"SqlMigrationService",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}},integrationRuntimeState:{serializedName:"properties.integrationRuntimeState",readOnly:!0,type:{name:"String"}}})}},DataMigrationService={type:{name:"Composite",className:"DataMigrationService",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{etag:{serializedName:"etag",type:{name:"String"}},kind:{serializedName:"kind",type:{name:"String"}},sku:{serializedName:"sku",type:{name:"Composite",className:"ServiceSku"}},provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}},publicKey:{serializedName:"properties.publicKey",type:{name:"String"}},virtualSubnetId:{serializedName:"properties.virtualSubnetId",type:{name:"String"}},virtualNicId:{serializedName:"properties.virtualNicId",type:{name:"String"}},autoStopDelay:{serializedName:"properties.autoStopDelay",type:{name:"String"}},deleteResourcesOnStop:{serializedName:"properties.deleteResourcesOnStop",type:{name:"Boolean"}}})}},Project={type:{name:"Composite",className:"Project",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{eTag:{serializedName:"eTag",type:{name:"String"}},sourcePlatform:{serializedName:"properties.sourcePlatform",type:{name:"String"}},azureAuthenticationInfo:{serializedName:"properties.azureAuthenticationInfo",type:{name:"String"}},targetPlatform:{serializedName:"properties.targetPlatform",type:{name:"String"}},creationTime:{serializedName:"properties.creationTime",readOnly:!0,type:{name:"DateTime"}},sourceConnectionInfo:{serializedName:"properties.sourceConnectionInfo",type:{name:"Composite",className:"ConnectionInfo"}},targetConnectionInfo:{serializedName:"properties.targetConnectionInfo",type:{name:"Composite",className:"ConnectionInfo"}},databasesInfo:{serializedName:"properties.databasesInfo",type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseInfo"}}}},provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}}})}},MigrateSchemaSqlServerSqlDbTaskProperties={serializedName:"MigrateSchemaSqlServerSqlDb",type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskOutput"}}}},createdOn:{serializedName:"createdOn",type:{name:"String"}},taskId:{serializedName:"taskId",type:{name:"String"}}})}},CheckOCIDriverTaskProperties={serializedName:"Service.Check.OCI",type:{name:"Composite",className:"CheckOCIDriverTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"CheckOCIDriverTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"CheckOCIDriverTaskOutput"}}}}})}},UploadOCIDriverTaskProperties={serializedName:"Service.Upload.OCI",type:{name:"Composite",className:"UploadOCIDriverTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"UploadOCIDriverTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"UploadOCIDriverTaskOutput"}}}}})}},InstallOCIDriverTaskProperties={serializedName:"Service.Install.OCI",type:{name:"Composite",className:"InstallOCIDriverTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"InstallOCIDriverTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"InstallOCIDriverTaskOutput"}}}}})}},ConnectToMongoDbTaskProperties={serializedName:"Connect.MongoDb",type:{name:"Composite",className:"ConnectToMongoDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbConnectionInfo"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbClusterInfo"}}}}})}},ConnectToSourceSqlServerTaskProperties={serializedName:"ConnectToSource.SqlServer",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutput"}}}}})}},ConnectToSourceSqlServerSyncTaskProperties={serializedName:"ConnectToSource.SqlServer.Sync",type:{name:"Composite",className:"ConnectToSourceSqlServerSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutput"}}}}})}},ConnectToSourcePostgreSqlSyncTaskProperties={serializedName:"ConnectToSource.PostgreSql.Sync",type:{name:"Composite",className:"ConnectToSourcePostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToSourcePostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToSourcePostgreSqlSyncTaskOutput"}}}}})}},ConnectToSourceMySqlTaskProperties={serializedName:"ConnectToSource.MySql",type:{name:"Composite",className:"ConnectToSourceMySqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToSourceMySqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToSourceNonSqlTaskOutput"}}}}})}},ConnectToSourceOracleSyncTaskProperties={serializedName:"ConnectToSource.Oracle.Sync",type:{name:"Composite",className:"ConnectToSourceOracleSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToSourceOracleSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToSourceOracleSyncTaskOutput"}}}}})}},ConnectToTargetSqlDbTaskProperties={serializedName:"ConnectToTarget.SqlDb",type:{name:"Composite",className:"ConnectToTargetSqlDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetSqlDbTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetSqlDbTaskOutput"}}}}})}},ConnectToTargetSqlDbSyncTaskProperties={serializedName:"ConnectToTarget.SqlDb.Sync",type:{name:"Composite",className:"ConnectToTargetSqlDbSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetSqlDbSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetSqlDbTaskOutput"}}}}})}},ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties={serializedName:"ConnectToTarget.AzureDbForPostgreSql.Sync",type:{name:"Composite",className:"ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetAzureDbForPostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput"}}}}})}},ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties={serializedName:"ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync",type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput"}}}}})}},GetUserTablesSqlTaskProperties={serializedName:"GetUserTables.Sql",type:{name:"Composite",className:"GetUserTablesSqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetUserTablesSqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetUserTablesSqlTaskOutput"}}}}})}},GetUserTablesSqlSyncTaskProperties={serializedName:"GetUserTables.AzureSqlDb.Sync",type:{name:"Composite",className:"GetUserTablesSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetUserTablesSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetUserTablesSqlSyncTaskOutput"}}}}})}},GetUserTablesOracleTaskProperties={serializedName:"GetUserTablesOracle",type:{name:"Composite",className:"GetUserTablesOracleTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetUserTablesOracleTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetUserTablesOracleTaskOutput"}}}}})}},GetUserTablesPostgreSqlTaskProperties={serializedName:"GetUserTablesPostgreSql",type:{name:"Composite",className:"GetUserTablesPostgreSqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetUserTablesPostgreSqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetUserTablesPostgreSqlTaskOutput"}}}}})}},GetUserTablesMySqlTaskProperties={serializedName:"GetUserTablesMySql",type:{name:"Composite",className:"GetUserTablesMySqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetUserTablesMySqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetUserTablesMySqlTaskOutput"}}}}})}},ConnectToTargetSqlMITaskProperties={serializedName:"ConnectToTarget.AzureSqlDbMI",type:{name:"Composite",className:"ConnectToTargetSqlMITaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetSqlMITaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetSqlMITaskOutput"}}}}})}},ConnectToTargetSqlMISyncTaskProperties={serializedName:"ConnectToTarget.AzureSqlDbMI.Sync.LRS",type:{name:"Composite",className:"ConnectToTargetSqlMISyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetSqlMISyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetSqlMISyncTaskOutput"}}}}})}},ConnectToTargetAzureDbForMySqlTaskProperties={serializedName:"ConnectToTarget.AzureDbForMySql",type:{name:"Composite",className:"ConnectToTargetAzureDbForMySqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ConnectToTargetAzureDbForMySqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ConnectToTargetAzureDbForMySqlTaskOutput"}}}}})}},MigrateMongoDbTaskProperties={serializedName:"Migrate.MongoDb",type:{name:"Composite",className:"MigrateMongoDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbMigrationSettings"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbProgress"}}}}})}},MigrateSqlServerSqlMITaskProperties={serializedName:"Migrate.SqlServer.AzureSqlDbMI",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutput"}}}},taskId:{serializedName:"taskId",type:{name:"String"}}})}},MigrateSqlServerSqlMISyncTaskProperties={serializedName:"Migrate.SqlServer.AzureSqlDbMI.Sync.LRS",type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskOutput"}}}}})}},MigrateSqlServerSqlDbTaskProperties={serializedName:"Migrate.SqlServer.SqlDb",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutput"}}}},taskId:{serializedName:"taskId",type:{name:"String"}},isCloneable:{serializedName:"isCloneable",type:{name:"Boolean"}}})}},MigrateSqlServerSqlDbSyncTaskProperties={serializedName:"Migrate.SqlServer.AzureSqlDb.Sync",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutput"}}}}})}},MigrateMySqlAzureDbForMySqlSyncTaskProperties={serializedName:"Migrate.MySql.AzureDbForMySql.Sync",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutput"}}}}})}},MigrateMySqlAzureDbForMySqlOfflineTaskProperties={serializedName:"Migrate.MySql.AzureDbForMySql",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput"}}}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties={serializedName:"Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput"}}}},taskId:{serializedName:"taskId",type:{name:"String"}},createdOn:{serializedName:"createdOn",type:{name:"String"}}})}},MigrateOracleAzureDbForPostgreSqlSyncTaskProperties={serializedName:"Migrate.Oracle.AzureDbForPostgreSql.Sync",type:{name:"Composite",className:"MigrateOracleAzureDbForPostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput"}}}}})}},ValidateMigrationInputSqlServerSqlDbSyncTaskProperties={serializedName:"ValidateMigrationInput.SqlServer.SqlDb.Sync",type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlDbSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ValidateSyncMigrationInputSqlServerTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ValidateSyncMigrationInputSqlServerTaskOutput"}}}}})}},ValidateMigrationInputSqlServerSqlMITaskProperties={serializedName:"ValidateMigrationInput.SqlServer.AzureSqlDbMI",type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMITaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMITaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMITaskOutput"}}}}})}},ValidateMigrationInputSqlServerSqlMISyncTaskProperties={serializedName:"ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS",type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMISyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMISyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMISyncTaskOutput"}}}}})}},ValidateMongoDbTaskProperties={serializedName:"Validate.MongoDb",type:{name:"Composite",className:"ValidateMongoDbTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbMigrationSettings"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbMigrationProgress"}}}}})}},ValidateOracleAzureDbForPostgreSqlSyncTaskProperties={serializedName:"Validate.Oracle.AzureDbPostgreSql.Sync",type:{name:"Composite",className:"ValidateOracleAzureDbForPostgreSqlSyncTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ValidateOracleAzureDbPostgreSqlSyncTaskOutput"}}}}})}},GetTdeCertificatesSqlTaskProperties={serializedName:"GetTDECertificates.Sql",type:{name:"Composite",className:"GetTdeCertificatesSqlTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"GetTdeCertificatesSqlTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"GetTdeCertificatesSqlTaskOutput"}}}}})}},MigrateSsisTaskProperties={serializedName:"Migrate.Ssis",type:{name:"Composite",className:"MigrateSsisTaskProperties",uberParent:"ProjectTaskProperties",polymorphicDiscriminator:ProjectTaskProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ProjectTaskProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSsisTaskInput"}},output:{serializedName:"output",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSsisTaskOutput"}}}}})}},MigrateSyncCompleteCommandProperties={serializedName:"Migrate.Sync.Complete.Database",type:{name:"Composite",className:"MigrateSyncCompleteCommandProperties",uberParent:"CommandProperties",polymorphicDiscriminator:CommandProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},CommandProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateSyncCompleteCommandInput"}},output:{serializedName:"output",type:{name:"Composite",className:"MigrateSyncCompleteCommandOutput"}}})}},MigrateMISyncCompleteCommandProperties={serializedName:"Migrate.SqlServer.AzureDbSqlMi.Complete",type:{name:"Composite",className:"MigrateMISyncCompleteCommandProperties",uberParent:"CommandProperties",polymorphicDiscriminator:CommandProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},CommandProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MigrateMISyncCompleteCommandInput"}},output:{serializedName:"output",type:{name:"Composite",className:"MigrateMISyncCompleteCommandOutput"}}})}},MongoDbCancelCommand={serializedName:"cancel",type:{name:"Composite",className:"MongoDbCancelCommand",uberParent:"CommandProperties",polymorphicDiscriminator:CommandProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},CommandProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbCommandInput"}}})}},MongoDbFinishCommand={serializedName:"finish",type:{name:"Composite",className:"MongoDbFinishCommand",uberParent:"CommandProperties",polymorphicDiscriminator:CommandProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},CommandProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbFinishCommandInput"}}})}},MongoDbRestartCommand={serializedName:"restart",type:{name:"Composite",className:"MongoDbRestartCommand",uberParent:"CommandProperties",polymorphicDiscriminator:CommandProperties.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},CommandProperties.type.modelProperties),{input:{serializedName:"input",type:{name:"Composite",className:"MongoDbCommandInput"}}})}},ProjectTask={type:{name:"Composite",className:"ProjectTask",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{etag:{serializedName:"etag",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"ProjectTaskProperties"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}})}},ProjectFile={type:{name:"Composite",className:"ProjectFile",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{etag:{serializedName:"etag",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"ProjectFileProperties"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}})}},MongoDbConnectionInfo={serializedName:"MongoDbConnectionInfo",type:{name:"Composite",className:"MongoDbConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{connectionString:{serializedName:"connectionString",required:!0,type:{name:"String"}},dataSource:{serializedName:"dataSource",type:{name:"String"}},encryptConnection:{serializedName:"encryptConnection",type:{name:"Boolean"}},serverBrandVersion:{serializedName:"serverBrandVersion",type:{name:"String"}},enforceSSL:{serializedName:"enforceSSL",type:{name:"Boolean"}},port:{serializedName:"port",type:{name:"Number"}},additionalSettings:{serializedName:"additionalSettings",type:{name:"String"}}})}},SqlConnectionInfo={serializedName:"SqlConnectionInfo",type:{name:"Composite",className:"SqlConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{dataSource:{serializedName:"dataSource",required:!0,type:{name:"String"}},serverName:{serializedName:"serverName",type:{name:"String"}},port:{serializedName:"port",type:{name:"String"}},resourceId:{serializedName:"resourceId",type:{name:"String"}},authentication:{serializedName:"authentication",type:{name:"String"}},encryptConnection:{defaultValue:!0,serializedName:"encryptConnection",type:{name:"Boolean"}},additionalSettings:{serializedName:"additionalSettings",type:{name:"String"}},trustServerCertificate:{defaultValue:!1,serializedName:"trustServerCertificate",type:{name:"Boolean"}},platform:{serializedName:"platform",type:{name:"String"}}})}},MySqlConnectionInfo={serializedName:"MySqlConnectionInfo",type:{name:"Composite",className:"MySqlConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{serverName:{serializedName:"serverName",required:!0,type:{name:"String"}},dataSource:{serializedName:"dataSource",type:{name:"String"}},port:{serializedName:"port",required:!0,type:{name:"Number"}},encryptConnection:{defaultValue:!0,serializedName:"encryptConnection",type:{name:"Boolean"}}})}},OracleConnectionInfo={serializedName:"OracleConnectionInfo",type:{name:"Composite",className:"OracleConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{dataSource:{serializedName:"dataSource",required:!0,type:{name:"String"}}})}},PostgreSqlConnectionInfo={serializedName:"PostgreSqlConnectionInfo",type:{name:"Composite",className:"PostgreSqlConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{serverName:{serializedName:"serverName",required:!0,type:{name:"String"}},dataSource:{serializedName:"dataSource",type:{name:"String"}},serverVersion:{serializedName:"serverVersion",type:{name:"String"}},databaseName:{serializedName:"databaseName",type:{name:"String"}},port:{serializedName:"port",required:!0,type:{name:"Number"}},encryptConnection:{defaultValue:!0,serializedName:"encryptConnection",type:{name:"Boolean"}},trustServerCertificate:{defaultValue:!1,serializedName:"trustServerCertificate",type:{name:"Boolean"}}})}},MiSqlConnectionInfo={serializedName:"MiSqlConnectionInfo",type:{name:"Composite",className:"MiSqlConnectionInfo",uberParent:"ConnectionInfo",polymorphicDiscriminator:ConnectionInfo.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectionInfo.type.modelProperties),{managedInstanceResourceId:{serializedName:"managedInstanceResourceId",required:!0,type:{name:"String"}}})}},ConnectToSourceSqlServerTaskOutputTaskLevel={serializedName:"TaskLevelOutput",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutputTaskLevel",uberParent:"ConnectToSourceSqlServerTaskOutput",polymorphicDiscriminator:ConnectToSourceSqlServerTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectToSourceSqlServerTaskOutput.type.modelProperties),{databases:{serializedName:"databases",readOnly:!0,type:{name:"String"}},logins:{serializedName:"logins",readOnly:!0,type:{name:"String"}},agentJobs:{serializedName:"agentJobs",readOnly:!0,type:{name:"String"}},databaseTdeCertificateMapping:{serializedName:"databaseTdeCertificateMapping",readOnly:!0,type:{name:"String"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},ConnectToSourceSqlServerTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutputDatabaseLevel",uberParent:"ConnectToSourceSqlServerTaskOutput",polymorphicDiscriminator:ConnectToSourceSqlServerTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectToSourceSqlServerTaskOutput.type.modelProperties),{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},sizeMB:{serializedName:"sizeMB",readOnly:!0,type:{name:"Number"}},databaseFiles:{serializedName:"databaseFiles",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"DatabaseFileInfo"}}}},compatibilityLevel:{serializedName:"compatibilityLevel",readOnly:!0,type:{name:"String"}},databaseState:{serializedName:"databaseState",readOnly:!0,type:{name:"String"}}})}},ConnectToSourceSqlServerTaskOutputLoginLevel={serializedName:"LoginLevelOutput",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutputLoginLevel",uberParent:"ConnectToSourceSqlServerTaskOutput",polymorphicDiscriminator:ConnectToSourceSqlServerTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectToSourceSqlServerTaskOutput.type.modelProperties),{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},loginType:{serializedName:"loginType",readOnly:!0,type:{name:"String"}},defaultDatabase:{serializedName:"defaultDatabase",readOnly:!0,type:{name:"String"}},isEnabled:{serializedName:"isEnabled",readOnly:!0,type:{name:"Boolean"}},migrationEligibility:{serializedName:"migrationEligibility",type:{name:"Composite",className:"MigrationEligibilityInfo"}}})}},ConnectToSourceSqlServerTaskOutputAgentJobLevel={serializedName:"AgentJobLevelOutput",type:{name:"Composite",className:"ConnectToSourceSqlServerTaskOutputAgentJobLevel",uberParent:"ConnectToSourceSqlServerTaskOutput",polymorphicDiscriminator:ConnectToSourceSqlServerTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},ConnectToSourceSqlServerTaskOutput.type.modelProperties),{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},jobCategory:{serializedName:"jobCategory",readOnly:!0,type:{name:"String"}},isEnabled:{serializedName:"isEnabled",readOnly:!0,type:{name:"Boolean"}},jobOwner:{serializedName:"jobOwner",readOnly:!0,type:{name:"String"}},lastExecutedOn:{serializedName:"lastExecutedOn",readOnly:!0,type:{name:"DateTime"}},validationErrors:{serializedName:"validationErrors",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},migrationEligibility:{serializedName:"migrationEligibility",type:{name:"Composite",className:"MigrationEligibilityInfo"}}})}},MigrateSchemaSqlServerSqlDbTaskInput={type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskInput",modelProperties:Object.assign(Object.assign({},SqlMigrationTaskInput.type.modelProperties),{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbDatabaseInput"}}}},encryptedKeyForSecureFields:{serializedName:"encryptedKeyForSecureFields",type:{name:"String"}},startedOn:{serializedName:"startedOn",type:{name:"String"}}})}},MigrateSqlServerSqlDbSyncTaskInput={type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskInput",modelProperties:Object.assign(Object.assign({},SqlMigrationTaskInput.type.modelProperties),{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncDatabaseInput"}}}},validationOptions:{serializedName:"validationOptions",type:{name:"Composite",className:"MigrationValidationOptions"}}})}},MigrateSqlServerSqlDbTaskInput={type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskInput",modelProperties:Object.assign(Object.assign({},SqlMigrationTaskInput.type.modelProperties),{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlDbDatabaseInput"}}}},validationOptions:{serializedName:"validationOptions",type:{name:"Composite",className:"MigrationValidationOptions"}},startedOn:{serializedName:"startedOn",type:{name:"String"}},encryptedKeyForSecureFields:{serializedName:"encryptedKeyForSecureFields",type:{name:"String"}}})}},MigrateSqlServerSqlMITaskInput={type:{name:"Composite",className:"MigrateSqlServerSqlMITaskInput",modelProperties:Object.assign(Object.assign({},SqlMigrationTaskInput.type.modelProperties),{selectedDatabases:{serializedName:"selectedDatabases",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MigrateSqlServerSqlMIDatabaseInput"}}}},startedOn:{serializedName:"startedOn",type:{name:"String"}},selectedLogins:{serializedName:"selectedLogins",type:{name:"Sequence",element:{type:{name:"String"}}}},selectedAgentJobs:{serializedName:"selectedAgentJobs",type:{name:"Sequence",element:{type:{name:"String"}}}},backupFileShare:{serializedName:"backupFileShare",type:{name:"Composite",className:"FileShare"}},backupBlobShare:{serializedName:"backupBlobShare",type:{name:"Composite",className:"BlobShare"}},backupMode:{serializedName:"backupMode",type:{name:"String"}},aadDomainName:{serializedName:"aadDomainName",type:{name:"String"}}})}},MigrateSsisTaskInput={type:{name:"Composite",className:"MigrateSsisTaskInput",modelProperties:Object.assign(Object.assign({},SqlMigrationTaskInput.type.modelProperties),{ssisMigrationInfo:{serializedName:"ssisMigrationInfo",type:{name:"Composite",className:"SsisMigrationInfo"}}})}},MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel",uberParent:"MigrateSchemaSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSchemaSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSchemaSqlServerSqlDbTaskOutput.type.modelProperties),{state:{serializedName:"state",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}}})}},MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel",uberParent:"MigrateSchemaSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSchemaSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSchemaSqlServerSqlDbTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},databaseErrorResultPrefix:{serializedName:"databaseErrorResultPrefix",readOnly:!0,type:{name:"String"}},schemaErrorResultPrefix:{serializedName:"schemaErrorResultPrefix",readOnly:!0,type:{name:"String"}},numberOfSuccessfulOperations:{serializedName:"numberOfSuccessfulOperations",readOnly:!0,type:{name:"Number"}},numberOfFailedOperations:{serializedName:"numberOfFailedOperations",readOnly:!0,type:{name:"Number"}},fileId:{serializedName:"fileId",readOnly:!0,type:{name:"String"}}})}},MigrateSchemaSqlServerSqlDbTaskOutputError={serializedName:"SchemaErrorOutput",type:{name:"Composite",className:"MigrateSchemaSqlServerSqlDbTaskOutputError",uberParent:"MigrateSchemaSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSchemaSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSchemaSqlServerSqlDbTaskOutput.type.modelProperties),{commandText:{serializedName:"commandText",readOnly:!0,type:{name:"String"}},errorText:{serializedName:"errorText",readOnly:!0,type:{name:"String"}}})}},MigrateSchemaSqlTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateSchemaSqlTaskOutputError",uberParent:"MigrateSchemaSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSchemaSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSchemaSqlServerSqlDbTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServer:{serializedName:"sourceServer",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServer:{serializedName:"targetServer",readOnly:!0,type:{name:"String"}}})}},MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},incomingChanges:{serializedName:"incomingChanges",readOnly:!0,type:{name:"Number"}},appliedChanges:{serializedName:"appliedChanges",readOnly:!0,type:{name:"Number"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},fullLoadCompletedTables:{serializedName:"fullLoadCompletedTables",readOnly:!0,type:{name:"Number"}},fullLoadLoadingTables:{serializedName:"fullLoadLoadingTables",readOnly:!0,type:{name:"Number"}},fullLoadQueuedTables:{serializedName:"fullLoadQueuedTables",readOnly:!0,type:{name:"Number"}},fullLoadErroredTables:{serializedName:"fullLoadErroredTables",readOnly:!0,type:{name:"Number"}},initializationCompleted:{serializedName:"initializationCompleted",readOnly:!0,type:{name:"Boolean"}},latency:{serializedName:"latency",readOnly:!0,type:{name:"Number"}}})}},MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.modelProperties),{tableName:{serializedName:"tableName",readOnly:!0,type:{name:"String"}},databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"String"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"String"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"String"}},fullLoadEstFinishTime:{serializedName:"fullLoadEstFinishTime",readOnly:!0,type:{name:"DateTime"}},fullLoadStartedOn:{serializedName:"fullLoadStartedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadEndedOn:{serializedName:"fullLoadEndedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadTotalRows:{serializedName:"fullLoadTotalRows",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},totalChangesApplied:{serializedName:"totalChangesApplied",readOnly:!0,type:{name:"Number"}},dataErrorsCounter:{serializedName:"dataErrorsCounter",readOnly:!0,type:{name:"Number"}},lastModifiedTime:{serializedName:"lastModifiedTime",readOnly:!0,type:{name:"DateTime"}}})}},MigrateMySqlAzureDbForMySqlSyncTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutputError",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError={serializedName:"DatabaseLevelErrorOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError",uberParent:"MigrateMySqlAzureDbForMySqlSyncTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlSyncTaskOutput.type.modelProperties),{errorMessage:{serializedName:"errorMessage",type:{name:"String"}},events:{serializedName:"events",type:{name:"Sequence",element:{type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent"}}}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServer:{serializedName:"sourceServer",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServer:{serializedName:"targetServer",readOnly:!0,type:{name:"String"}},sourceServerType:{serializedName:"sourceServerType",readOnly:!0,type:{name:"String"}},targetServerType:{serializedName:"targetServerType",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},databaseCount:{serializedName:"databaseCount",type:{name:"Number"}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},incomingChanges:{serializedName:"incomingChanges",readOnly:!0,type:{name:"Number"}},appliedChanges:{serializedName:"appliedChanges",readOnly:!0,type:{name:"Number"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},fullLoadCompletedTables:{serializedName:"fullLoadCompletedTables",readOnly:!0,type:{name:"Number"}},fullLoadLoadingTables:{serializedName:"fullLoadLoadingTables",readOnly:!0,type:{name:"Number"}},fullLoadQueuedTables:{serializedName:"fullLoadQueuedTables",readOnly:!0,type:{name:"Number"}},fullLoadErroredTables:{serializedName:"fullLoadErroredTables",readOnly:!0,type:{name:"Number"}},initializationCompleted:{serializedName:"initializationCompleted",readOnly:!0,type:{name:"Boolean"}},latency:{serializedName:"latency",readOnly:!0,type:{name:"Number"}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.modelProperties),{tableName:{serializedName:"tableName",readOnly:!0,type:{name:"String"}},databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},fullLoadEstFinishTime:{serializedName:"fullLoadEstFinishTime",readOnly:!0,type:{name:"DateTime"}},fullLoadStartedOn:{serializedName:"fullLoadStartedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadEndedOn:{serializedName:"fullLoadEndedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadTotalRows:{serializedName:"fullLoadTotalRows",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},totalChangesApplied:{serializedName:"totalChangesApplied",readOnly:!0,type:{name:"Number"}},dataErrorsCounter:{serializedName:"dataErrorsCounter",readOnly:!0,type:{name:"Number"}},lastModifiedTime:{serializedName:"lastModifiedTime",readOnly:!0,type:{name:"DateTime"}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}},events:{serializedName:"events",type:{name:"Sequence",element:{type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent"}}}}})}},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError={serializedName:"DatabaseLevelErrorOutput",type:{name:"Composite",className:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError",uberParent:"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.type.modelProperties),{errorMessage:{serializedName:"errorMessage",type:{name:"String"}},events:{serializedName:"events",type:{name:"Sequence",element:{type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent"}}}}})}},MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbSyncTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServer:{serializedName:"sourceServer",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServer:{serializedName:"targetServer",readOnly:!0,type:{name:"String"}},databaseCount:{serializedName:"databaseCount",readOnly:!0,type:{name:"Number"}}})}},MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbSyncTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},incomingChanges:{serializedName:"incomingChanges",readOnly:!0,type:{name:"Number"}},appliedChanges:{serializedName:"appliedChanges",readOnly:!0,type:{name:"Number"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},fullLoadCompletedTables:{serializedName:"fullLoadCompletedTables",readOnly:!0,type:{name:"Number"}},fullLoadLoadingTables:{serializedName:"fullLoadLoadingTables",readOnly:!0,type:{name:"Number"}},fullLoadQueuedTables:{serializedName:"fullLoadQueuedTables",readOnly:!0,type:{name:"Number"}},fullLoadErroredTables:{serializedName:"fullLoadErroredTables",readOnly:!0,type:{name:"Number"}},initializationCompleted:{serializedName:"initializationCompleted",readOnly:!0,type:{name:"Boolean"}},latency:{serializedName:"latency",readOnly:!0,type:{name:"Number"}}})}},MigrateSqlServerSqlDbSyncTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutputTableLevel",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbSyncTaskOutput.type.modelProperties),{tableName:{serializedName:"tableName",readOnly:!0,type:{name:"String"}},databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},fullLoadEstFinishTime:{serializedName:"fullLoadEstFinishTime",readOnly:!0,type:{name:"DateTime"}},fullLoadStartedOn:{serializedName:"fullLoadStartedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadEndedOn:{serializedName:"fullLoadEndedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadTotalRows:{serializedName:"fullLoadTotalRows",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},totalChangesApplied:{serializedName:"totalChangesApplied",readOnly:!0,type:{name:"Number"}},dataErrorsCounter:{serializedName:"dataErrorsCounter",readOnly:!0,type:{name:"Number"}},lastModifiedTime:{serializedName:"lastModifiedTime",readOnly:!0,type:{name:"DateTime"}}})}},MigrateSqlServerSqlDbSyncTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutputError",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbSyncTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateSqlServerSqlDbSyncTaskOutputDatabaseError={serializedName:"DatabaseLevelErrorOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbSyncTaskOutputDatabaseError",uberParent:"MigrateSqlServerSqlDbSyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbSyncTaskOutput.type.modelProperties),{errorMessage:{serializedName:"errorMessage",type:{name:"String"}},events:{serializedName:"events",type:{name:"Sequence",element:{type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent"}}}}})}},MigrateSqlServerSqlDbTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputMigrationLevel",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},durationInSeconds:{serializedName:"durationInSeconds",readOnly:!0,type:{name:"Number"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",readOnly:!0,type:{name:"String"}},databaseSummary:{serializedName:"databaseSummary",readOnly:!0,type:{name:"String"}},migrationValidationResult:{serializedName:"migrationValidationResult",type:{name:"Composite",className:"MigrationValidationResult"}},migrationReportResult:{serializedName:"migrationReportResult",type:{name:"Composite",className:"MigrationReportResult"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlDbTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputDatabaseLevel",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},numberOfObjects:{serializedName:"numberOfObjects",readOnly:!0,type:{name:"Number"}},numberOfObjectsCompleted:{serializedName:"numberOfObjectsCompleted",readOnly:!0,type:{name:"Number"}},errorCount:{serializedName:"errorCount",readOnly:!0,type:{name:"Number"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},resultPrefix:{serializedName:"resultPrefix",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},objectSummary:{serializedName:"objectSummary",readOnly:!0,type:{name:"String"}}})}},MigrateSqlServerSqlDbTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputTableLevel",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),{objectName:{serializedName:"objectName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},itemsCount:{serializedName:"itemsCount",readOnly:!0,type:{name:"Number"}},itemsCompletedCount:{serializedName:"itemsCompletedCount",readOnly:!0,type:{name:"Number"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},resultPrefix:{serializedName:"resultPrefix",readOnly:!0,type:{name:"String"}}})}},MigrateSqlServerSqlDbTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputError",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateSqlServerSqlDbTaskOutputValidationResult={serializedName:"MigrationValidationOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputValidationResult",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),MigrationValidationResult.type.modelProperties)}},MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult={serializedName:"MigrationDatabaseLevelValidationOutput",type:{name:"Composite",className:"MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult",uberParent:"MigrateSqlServerSqlDbTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlDbTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlDbTaskOutput.type.modelProperties),MigrationValidationDatabaseLevelResult.type.modelProperties)}},DatabaseSummaryResult={type:{name:"Composite",className:"DatabaseSummaryResult",modelProperties:Object.assign(Object.assign({},DataItemMigrationSummaryResult.type.modelProperties),{sizeMB:{serializedName:"sizeMB",readOnly:!0,type:{name:"Number"}}})}},MigrateSqlServerSqlMISyncTaskInput={type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskInput",modelProperties:Object.assign({},SqlServerSqlMISyncTaskInput.type.modelProperties)}},ValidateMigrationInputSqlServerSqlMISyncTaskInput={type:{name:"Composite",className:"ValidateMigrationInputSqlServerSqlMISyncTaskInput",modelProperties:Object.assign({},SqlServerSqlMISyncTaskInput.type.modelProperties)}},MigrateSqlServerSqlMISyncTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskOutputMigrationLevel",uberParent:"MigrateSqlServerSqlMISyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMISyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMISyncTaskOutput.type.modelProperties),{databaseCount:{serializedName:"databaseCount",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerName:{serializedName:"sourceServerName",readOnly:!0,type:{name:"String"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerName:{serializedName:"targetServerName",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},databaseErrorCount:{serializedName:"databaseErrorCount",readOnly:!0,type:{name:"Number"}}})}},MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel",uberParent:"MigrateSqlServerSqlMISyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMISyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMISyncTaskOutput.type.modelProperties),{sourceDatabaseName:{serializedName:"sourceDatabaseName",readOnly:!0,type:{name:"String"}},migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},fullBackupSetInfo:{serializedName:"fullBackupSetInfo",type:{name:"Composite",className:"BackupSetInfo"}},lastRestoredBackupSetInfo:{serializedName:"lastRestoredBackupSetInfo",type:{name:"Composite",className:"BackupSetInfo"}},activeBackupSets:{serializedName:"activeBackupSets",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"BackupSetInfo"}}}},containerName:{serializedName:"containerName",readOnly:!0,type:{name:"String"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},isFullBackupRestored:{serializedName:"isFullBackupRestored",readOnly:!0,type:{name:"Boolean"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlMISyncTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMISyncTaskOutputError",uberParent:"MigrateSqlServerSqlMISyncTaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMISyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMISyncTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateSqlServerSqlMITaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutputMigrationLevel",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMITaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMITaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},agentJobs:{serializedName:"agentJobs",readOnly:!0,type:{name:"String"}},logins:{serializedName:"logins",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},serverRoleResults:{serializedName:"serverRoleResults",readOnly:!0,type:{name:"String"}},orphanedUsersInfo:{serializedName:"orphanedUsersInfo",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"OrphanedUserInfo"}}}},databases:{serializedName:"databases",readOnly:!0,type:{name:"String"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlMITaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutputDatabaseLevel",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMITaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMITaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},sizeMB:{serializedName:"sizeMB",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlMITaskOutputAgentJobLevel={serializedName:"AgentJobLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutputAgentJobLevel",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMITaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMITaskOutput.type.modelProperties),{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},isEnabled:{serializedName:"isEnabled",readOnly:!0,type:{name:"Boolean"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlMITaskOutputLoginLevel={serializedName:"LoginLevelOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutputLoginLevel",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMITaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMITaskOutput.type.modelProperties),{loginName:{serializedName:"loginName",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MigrateSqlServerSqlMITaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateSqlServerSqlMITaskOutputError",uberParent:"MigrateSqlServerSqlMITaskOutput",polymorphicDiscriminator:MigrateSqlServerSqlMITaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSqlServerSqlMITaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateSsisTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateSsisTaskOutputMigrationLevel",uberParent:"MigrateSsisTaskOutput",polymorphicDiscriminator:MigrateSsisTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSsisTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}}})}},MigrateSsisTaskOutputProjectLevel={serializedName:"SsisProjectLevelOutput",type:{name:"Composite",className:"MigrateSsisTaskOutputProjectLevel",uberParent:"MigrateSsisTaskOutput",polymorphicDiscriminator:MigrateSsisTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateSsisTaskOutput.type.modelProperties),{folderName:{serializedName:"folderName",readOnly:!0,type:{name:"String"}},projectName:{serializedName:"projectName",readOnly:!0,type:{name:"String"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}}})}},MongoDbFinishCommandInput={type:{name:"Composite",className:"MongoDbFinishCommandInput",modelProperties:Object.assign(Object.assign({},MongoDbCommandInput.type.modelProperties),{immediate:{serializedName:"immediate",required:!0,type:{name:"Boolean"}}})}},MongoDbCollectionInfo={type:{name:"Composite",className:"MongoDbCollectionInfo",modelProperties:Object.assign(Object.assign({},MongoDbObjectInfo.type.modelProperties),{databaseName:{serializedName:"databaseName",required:!0,type:{name:"String"}},isCapped:{serializedName:"isCapped",required:!0,type:{name:"Boolean"}},isSystemCollection:{serializedName:"isSystemCollection",required:!0,type:{name:"Boolean"}},isView:{serializedName:"isView",required:!0,type:{name:"Boolean"}},shardKey:{serializedName:"shardKey",type:{name:"Composite",className:"MongoDbShardKeyInfo"}},supportsSharding:{serializedName:"supportsSharding",required:!0,type:{name:"Boolean"}},viewOf:{serializedName:"viewOf",type:{name:"String"}}})}},MongoDbDatabaseInfo={type:{name:"Composite",className:"MongoDbDatabaseInfo",modelProperties:Object.assign(Object.assign({},MongoDbObjectInfo.type.modelProperties),{collections:{serializedName:"collections",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"MongoDbCollectionInfo"}}}},supportsSharding:{serializedName:"supportsSharding",required:!0,type:{name:"Boolean"}}})}},MongoDbCollectionProgress={serializedName:"Collection",type:{name:"Composite",className:"MongoDbCollectionProgress",uberParent:"MongoDbProgress",polymorphicDiscriminator:MongoDbProgress.type.polymorphicDiscriminator,modelProperties:Object.assign({},MongoDbProgress.type.modelProperties)}},MongoDbDatabaseProgress={serializedName:"Database",type:{name:"Composite",className:"MongoDbDatabaseProgress",uberParent:"MongoDbProgress",polymorphicDiscriminator:MongoDbProgress.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MongoDbProgress.type.modelProperties),{collections:{serializedName:"collections",type:{name:"Dictionary",value:{type:{name:"Composite",className:"MongoDbCollectionProgress"}}}}})}},MongoDbMigrationProgress={serializedName:"Migration",type:{name:"Composite",className:"MongoDbMigrationProgress",uberParent:"MongoDbProgress",polymorphicDiscriminator:MongoDbProgress.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MongoDbProgress.type.modelProperties),{databases:{serializedName:"databases",type:{name:"Dictionary",value:{type:{name:"Composite",className:"MongoDbDatabaseProgress"}}}}})}},MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServer:{serializedName:"sourceServer",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServer:{serializedName:"targetServer",readOnly:!0,type:{name:"String"}}})}},MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},migrationState:{serializedName:"migrationState",readOnly:!0,type:{name:"String"}},incomingChanges:{serializedName:"incomingChanges",readOnly:!0,type:{name:"Number"}},appliedChanges:{serializedName:"appliedChanges",readOnly:!0,type:{name:"Number"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},fullLoadCompletedTables:{serializedName:"fullLoadCompletedTables",readOnly:!0,type:{name:"Number"}},fullLoadLoadingTables:{serializedName:"fullLoadLoadingTables",readOnly:!0,type:{name:"Number"}},fullLoadQueuedTables:{serializedName:"fullLoadQueuedTables",readOnly:!0,type:{name:"Number"}},fullLoadErroredTables:{serializedName:"fullLoadErroredTables",readOnly:!0,type:{name:"Number"}},initializationCompleted:{serializedName:"initializationCompleted",readOnly:!0,type:{name:"Boolean"}},latency:{serializedName:"latency",readOnly:!0,type:{name:"Number"}}})}},MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.modelProperties),{tableName:{serializedName:"tableName",readOnly:!0,type:{name:"String"}},databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},cdcInsertCounter:{serializedName:"cdcInsertCounter",readOnly:!0,type:{name:"Number"}},cdcUpdateCounter:{serializedName:"cdcUpdateCounter",readOnly:!0,type:{name:"Number"}},cdcDeleteCounter:{serializedName:"cdcDeleteCounter",readOnly:!0,type:{name:"Number"}},fullLoadEstFinishTime:{serializedName:"fullLoadEstFinishTime",readOnly:!0,type:{name:"DateTime"}},fullLoadStartedOn:{serializedName:"fullLoadStartedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadEndedOn:{serializedName:"fullLoadEndedOn",readOnly:!0,type:{name:"DateTime"}},fullLoadTotalRows:{serializedName:"fullLoadTotalRows",readOnly:!0,type:{name:"Number"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},totalChangesApplied:{serializedName:"totalChangesApplied",readOnly:!0,type:{name:"Number"}},dataErrorsCounter:{serializedName:"dataErrorsCounter",readOnly:!0,type:{name:"Number"}},lastModifiedTime:{serializedName:"lastModifiedTime",readOnly:!0,type:{name:"DateTime"}}})}},MigrateOracleAzureDbPostgreSqlSyncTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutputError",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}},MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError={serializedName:"DatabaseLevelErrorOutput",type:{name:"Composite",className:"MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError",uberParent:"MigrateOracleAzureDbPostgreSqlSyncTaskOutput",polymorphicDiscriminator:MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateOracleAzureDbPostgreSqlSyncTaskOutput.type.modelProperties),{errorMessage:{serializedName:"errorMessage",type:{name:"String"}},events:{serializedName:"events",type:{name:"Sequence",element:{type:{name:"Composite",className:"SyncMigrationDatabaseErrorEvent"}}}}})}},MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel={serializedName:"MigrationLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel",uberParent:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.modelProperties),{startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},durationInSeconds:{serializedName:"durationInSeconds",readOnly:!0,type:{name:"Number"}},status:{serializedName:"status",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},databases:{serializedName:"databases",type:{name:"String"}},databaseSummary:{serializedName:"databaseSummary",readOnly:!0,type:{name:"String"}},migrationReportResult:{serializedName:"migrationReportResult",type:{name:"Composite",className:"MigrationReportResult"}},sourceServerVersion:{serializedName:"sourceServerVersion",readOnly:!0,type:{name:"String"}},sourceServerBrandVersion:{serializedName:"sourceServerBrandVersion",readOnly:!0,type:{name:"String"}},targetServerVersion:{serializedName:"targetServerVersion",readOnly:!0,type:{name:"String"}},targetServerBrandVersion:{serializedName:"targetServerBrandVersion",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},lastStorageUpdate:{serializedName:"lastStorageUpdate",readOnly:!0,type:{name:"DateTime"}}})}},MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel={serializedName:"DatabaseLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel",uberParent:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.modelProperties),{databaseName:{serializedName:"databaseName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},stage:{serializedName:"stage",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},numberOfObjects:{serializedName:"numberOfObjects",readOnly:!0,type:{name:"Number"}},numberOfObjectsCompleted:{serializedName:"numberOfObjectsCompleted",readOnly:!0,type:{name:"Number"}},errorCount:{serializedName:"errorCount",readOnly:!0,type:{name:"Number"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},resultPrefix:{serializedName:"resultPrefix",readOnly:!0,type:{name:"String"}},exceptionsAndWarnings:{serializedName:"exceptionsAndWarnings",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ReportableException"}}}},lastStorageUpdate:{serializedName:"lastStorageUpdate",readOnly:!0,type:{name:"DateTime"}},objectSummary:{serializedName:"objectSummary",readOnly:!0,type:{name:"String"}}})}},MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel={serializedName:"TableLevelOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel",uberParent:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.modelProperties),{objectName:{serializedName:"objectName",readOnly:!0,type:{name:"String"}},startedOn:{serializedName:"startedOn",readOnly:!0,type:{name:"DateTime"}},endedOn:{serializedName:"endedOn",readOnly:!0,type:{name:"DateTime"}},state:{serializedName:"state",readOnly:!0,type:{name:"String"}},statusMessage:{serializedName:"statusMessage",readOnly:!0,type:{name:"String"}},itemsCount:{serializedName:"itemsCount",readOnly:!0,type:{name:"Number"}},itemsCompletedCount:{serializedName:"itemsCompletedCount",readOnly:!0,type:{name:"Number"}},errorPrefix:{serializedName:"errorPrefix",readOnly:!0,type:{name:"String"}},resultPrefix:{serializedName:"resultPrefix",readOnly:!0,type:{name:"String"}},lastStorageUpdate:{serializedName:"lastStorageUpdate",readOnly:!0,type:{name:"DateTime"}}})}},MigrateMySqlAzureDbForMySqlOfflineTaskOutputError={serializedName:"ErrorOutput",type:{name:"Composite",className:"MigrateMySqlAzureDbForMySqlOfflineTaskOutputError",uberParent:"MigrateMySqlAzureDbForMySqlOfflineTaskOutput",polymorphicDiscriminator:MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.polymorphicDiscriminator,modelProperties:Object.assign(Object.assign({},MigrateMySqlAzureDbForMySqlOfflineTaskOutput.type.modelProperties),{error:{serializedName:"error",type:{name:"Composite",className:"ReportableException"}}})}};let discriminators={DatabaseMigrationProperties:DatabaseMigrationProperties,ProjectTaskProperties:ProjectTaskProperties,CommandProperties:CommandProperties,ConnectionInfo:ConnectionInfo,ConnectToSourceSqlServerTaskOutput:ConnectToSourceSqlServerTaskOutput,MigrateSchemaSqlServerSqlDbTaskOutput:MigrateSchemaSqlServerSqlDbTaskOutput,MigrateMySqlAzureDbForMySqlSyncTaskOutput:MigrateMySqlAzureDbForMySqlSyncTaskOutput,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput,MigrateSqlServerSqlDbSyncTaskOutput:MigrateSqlServerSqlDbSyncTaskOutput,MigrateSqlServerSqlDbTaskOutput:MigrateSqlServerSqlDbTaskOutput,MigrateSqlServerSqlMISyncTaskOutput:MigrateSqlServerSqlMISyncTaskOutput,MigrateSqlServerSqlMITaskOutput:MigrateSqlServerSqlMITaskOutput,MigrateSsisTaskOutput:MigrateSsisTaskOutput,MongoDbProgress:MongoDbProgress,MigrateOracleAzureDbPostgreSqlSyncTaskOutput:MigrateOracleAzureDbPostgreSqlSyncTaskOutput,MigrateMySqlAzureDbForMySqlOfflineTaskOutput:MigrateMySqlAzureDbForMySqlOfflineTaskOutput,"DatabaseMigrationProperties.SqlMi":DatabaseMigrationPropertiesSqlMi,"DatabaseMigrationProperties.SqlVm":DatabaseMigrationPropertiesSqlVm,"ProjectTaskProperties.MigrateSchemaSqlServerSqlDb":MigrateSchemaSqlServerSqlDbTaskProperties,"ProjectTaskProperties.Service.Check.OCI":CheckOCIDriverTaskProperties,"ProjectTaskProperties.Service.Upload.OCI":UploadOCIDriverTaskProperties,"ProjectTaskProperties.Service.Install.OCI":InstallOCIDriverTaskProperties,"ProjectTaskProperties.Connect.MongoDb":ConnectToMongoDbTaskProperties,"ProjectTaskProperties.ConnectToSource.SqlServer":ConnectToSourceSqlServerTaskProperties,"ProjectTaskProperties.ConnectToSource.SqlServer.Sync":ConnectToSourceSqlServerSyncTaskProperties,"ProjectTaskProperties.ConnectToSource.PostgreSql.Sync":ConnectToSourcePostgreSqlSyncTaskProperties,"ProjectTaskProperties.ConnectToSource.MySql":ConnectToSourceMySqlTaskProperties,"ProjectTaskProperties.ConnectToSource.Oracle.Sync":ConnectToSourceOracleSyncTaskProperties,"ProjectTaskProperties.ConnectToTarget.SqlDb":ConnectToTargetSqlDbTaskProperties,"ProjectTaskProperties.ConnectToTarget.SqlDb.Sync":ConnectToTargetSqlDbSyncTaskProperties,"ProjectTaskProperties.ConnectToTarget.AzureDbForPostgreSql.Sync":ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties,"ProjectTaskProperties.ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync":ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties,"ProjectTaskProperties.GetUserTables.Sql":GetUserTablesSqlTaskProperties,"ProjectTaskProperties.GetUserTables.AzureSqlDb.Sync":GetUserTablesSqlSyncTaskProperties,"ProjectTaskProperties.GetUserTablesOracle":GetUserTablesOracleTaskProperties,"ProjectTaskProperties.GetUserTablesPostgreSql":GetUserTablesPostgreSqlTaskProperties,"ProjectTaskProperties.GetUserTablesMySql":GetUserTablesMySqlTaskProperties,"ProjectTaskProperties.ConnectToTarget.AzureSqlDbMI":ConnectToTargetSqlMITaskProperties,"ProjectTaskProperties.ConnectToTarget.AzureSqlDbMI.Sync.LRS":ConnectToTargetSqlMISyncTaskProperties,"ProjectTaskProperties.ConnectToTarget.AzureDbForMySql":ConnectToTargetAzureDbForMySqlTaskProperties,"ProjectTaskProperties.Migrate.MongoDb":MigrateMongoDbTaskProperties,"ProjectTaskProperties.Migrate.SqlServer.AzureSqlDbMI":MigrateSqlServerSqlMITaskProperties,"ProjectTaskProperties.Migrate.SqlServer.AzureSqlDbMI.Sync.LRS":MigrateSqlServerSqlMISyncTaskProperties,"ProjectTaskProperties.Migrate.SqlServer.SqlDb":MigrateSqlServerSqlDbTaskProperties,"ProjectTaskProperties.Migrate.SqlServer.AzureSqlDb.Sync":MigrateSqlServerSqlDbSyncTaskProperties,"ProjectTaskProperties.Migrate.MySql.AzureDbForMySql.Sync":MigrateMySqlAzureDbForMySqlSyncTaskProperties,"ProjectTaskProperties.Migrate.MySql.AzureDbForMySql":MigrateMySqlAzureDbForMySqlOfflineTaskProperties,"ProjectTaskProperties.Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties,"ProjectTaskProperties.Migrate.Oracle.AzureDbForPostgreSql.Sync":MigrateOracleAzureDbForPostgreSqlSyncTaskProperties,"ProjectTaskProperties.ValidateMigrationInput.SqlServer.SqlDb.Sync":ValidateMigrationInputSqlServerSqlDbSyncTaskProperties,"ProjectTaskProperties.ValidateMigrationInput.SqlServer.AzureSqlDbMI":ValidateMigrationInputSqlServerSqlMITaskProperties,"ProjectTaskProperties.ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS":ValidateMigrationInputSqlServerSqlMISyncTaskProperties,"ProjectTaskProperties.Validate.MongoDb":ValidateMongoDbTaskProperties,"ProjectTaskProperties.Validate.Oracle.AzureDbPostgreSql.Sync":ValidateOracleAzureDbForPostgreSqlSyncTaskProperties,"ProjectTaskProperties.GetTDECertificates.Sql":GetTdeCertificatesSqlTaskProperties,"ProjectTaskProperties.Migrate.Ssis":MigrateSsisTaskProperties,"CommandProperties.Migrate.Sync.Complete.Database":MigrateSyncCompleteCommandProperties,"CommandProperties.Migrate.SqlServer.AzureDbSqlMi.Complete":MigrateMISyncCompleteCommandProperties,"CommandProperties.cancel":MongoDbCancelCommand,"CommandProperties.finish":MongoDbFinishCommand,"CommandProperties.restart":MongoDbRestartCommand,"ConnectionInfo.MongoDbConnectionInfo":MongoDbConnectionInfo,"ConnectionInfo.SqlConnectionInfo":SqlConnectionInfo,"ConnectionInfo.MySqlConnectionInfo":MySqlConnectionInfo,"ConnectionInfo.OracleConnectionInfo":OracleConnectionInfo,"ConnectionInfo.PostgreSqlConnectionInfo":PostgreSqlConnectionInfo,"ConnectionInfo.MiSqlConnectionInfo":MiSqlConnectionInfo,"ConnectToSourceSqlServerTaskOutput.TaskLevelOutput":ConnectToSourceSqlServerTaskOutputTaskLevel,"ConnectToSourceSqlServerTaskOutput.DatabaseLevelOutput":ConnectToSourceSqlServerTaskOutputDatabaseLevel,"ConnectToSourceSqlServerTaskOutput.LoginLevelOutput":ConnectToSourceSqlServerTaskOutputLoginLevel,"ConnectToSourceSqlServerTaskOutput.AgentJobLevelOutput":ConnectToSourceSqlServerTaskOutputAgentJobLevel,"MigrateSchemaSqlServerSqlDbTaskOutput.MigrationLevelOutput":MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel,"MigrateSchemaSqlServerSqlDbTaskOutput.DatabaseLevelOutput":MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel,"MigrateSchemaSqlServerSqlDbTaskOutput.SchemaErrorOutput":MigrateSchemaSqlServerSqlDbTaskOutputError,"MigrateSchemaSqlServerSqlDbTaskOutput.ErrorOutput":MigrateSchemaSqlTaskOutputError,"MigrateMySqlAzureDbForMySqlSyncTaskOutput.MigrationLevelOutput":MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel,"MigrateMySqlAzureDbForMySqlSyncTaskOutput.DatabaseLevelOutput":MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel,"MigrateMySqlAzureDbForMySqlSyncTaskOutput.TableLevelOutput":MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel,"MigrateMySqlAzureDbForMySqlSyncTaskOutput.ErrorOutput":MigrateMySqlAzureDbForMySqlSyncTaskOutputError,"MigrateMySqlAzureDbForMySqlSyncTaskOutput.DatabaseLevelErrorOutput":MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError,"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.MigrationLevelOutput":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel,"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.DatabaseLevelOutput":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel,"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.TableLevelOutput":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel,"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.ErrorOutput":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError,"MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.DatabaseLevelErrorOutput":MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError,"MigrateSqlServerSqlDbSyncTaskOutput.MigrationLevelOutput":MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel,"MigrateSqlServerSqlDbSyncTaskOutput.DatabaseLevelOutput":MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel,"MigrateSqlServerSqlDbSyncTaskOutput.TableLevelOutput":MigrateSqlServerSqlDbSyncTaskOutputTableLevel,"MigrateSqlServerSqlDbSyncTaskOutput.ErrorOutput":MigrateSqlServerSqlDbSyncTaskOutputError,"MigrateSqlServerSqlDbSyncTaskOutput.DatabaseLevelErrorOutput":MigrateSqlServerSqlDbSyncTaskOutputDatabaseError,"MigrateSqlServerSqlDbTaskOutput.MigrationLevelOutput":MigrateSqlServerSqlDbTaskOutputMigrationLevel,"MigrateSqlServerSqlDbTaskOutput.DatabaseLevelOutput":MigrateSqlServerSqlDbTaskOutputDatabaseLevel,"MigrateSqlServerSqlDbTaskOutput.TableLevelOutput":MigrateSqlServerSqlDbTaskOutputTableLevel,"MigrateSqlServerSqlDbTaskOutput.ErrorOutput":MigrateSqlServerSqlDbTaskOutputError,"MigrateSqlServerSqlDbTaskOutput.MigrationValidationOutput":MigrateSqlServerSqlDbTaskOutputValidationResult,"MigrateSqlServerSqlDbTaskOutput.MigrationDatabaseLevelValidationOutput":MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult,"MigrateSqlServerSqlMISyncTaskOutput.MigrationLevelOutput":MigrateSqlServerSqlMISyncTaskOutputMigrationLevel,"MigrateSqlServerSqlMISyncTaskOutput.DatabaseLevelOutput":MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel,"MigrateSqlServerSqlMISyncTaskOutput.ErrorOutput":MigrateSqlServerSqlMISyncTaskOutputError,"MigrateSqlServerSqlMITaskOutput.MigrationLevelOutput":MigrateSqlServerSqlMITaskOutputMigrationLevel,"MigrateSqlServerSqlMITaskOutput.DatabaseLevelOutput":MigrateSqlServerSqlMITaskOutputDatabaseLevel,"MigrateSqlServerSqlMITaskOutput.AgentJobLevelOutput":MigrateSqlServerSqlMITaskOutputAgentJobLevel,"MigrateSqlServerSqlMITaskOutput.LoginLevelOutput":MigrateSqlServerSqlMITaskOutputLoginLevel,"MigrateSqlServerSqlMITaskOutput.ErrorOutput":MigrateSqlServerSqlMITaskOutputError,"MigrateSsisTaskOutput.MigrationLevelOutput":MigrateSsisTaskOutputMigrationLevel,"MigrateSsisTaskOutput.SsisProjectLevelOutput":MigrateSsisTaskOutputProjectLevel,"MongoDbProgress.Collection":MongoDbCollectionProgress,"MongoDbProgress.Database":MongoDbDatabaseProgress,"MongoDbProgress.Migration":MongoDbMigrationProgress,"MigrateOracleAzureDbPostgreSqlSyncTaskOutput.MigrationLevelOutput":MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel,"MigrateOracleAzureDbPostgreSqlSyncTaskOutput.DatabaseLevelOutput":MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel,"MigrateOracleAzureDbPostgreSqlSyncTaskOutput.TableLevelOutput":MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel,"MigrateOracleAzureDbPostgreSqlSyncTaskOutput.ErrorOutput":MigrateOracleAzureDbPostgreSqlSyncTaskOutputError,"MigrateOracleAzureDbPostgreSqlSyncTaskOutput.DatabaseLevelErrorOutput":MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError,"MigrateMySqlAzureDbForMySqlOfflineTaskOutput.MigrationLevelOutput":MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel,"MigrateMySqlAzureDbForMySqlOfflineTaskOutput.DatabaseLevelOutput":MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel,"MigrateMySqlAzureDbForMySqlOfflineTaskOutput.TableLevelOutput":MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel,"MigrateMySqlAzureDbForMySqlOfflineTaskOutput.ErrorOutput":MigrateMySqlAzureDbForMySqlOfflineTaskOutputError};var Mappers=Object.freeze({__proto__:null,SystemData:SystemData,MigrationStatusDetails:MigrationStatusDetails,SqlBackupSetInfo:SqlBackupSetInfo,SqlBackupFileInfo:SqlBackupFileInfo,BackupConfiguration:BackupConfiguration,SourceLocation:SourceLocation,SqlFileShare:SqlFileShare,AzureBlob:AzureBlob,TargetLocation:TargetLocation,OfflineConfiguration:OfflineConfiguration,DatabaseMigrationProperties:DatabaseMigrationProperties,SqlConnectionInformation:SqlConnectionInformation,ErrorInfo:ErrorInfo,ProxyResource:ProxyResource,MigrationOperationInput:MigrationOperationInput,OperationListResult:OperationListResult,OperationsDefinition:OperationsDefinition,OperationsDisplayDefinition:OperationsDisplayDefinition,TrackedResource:TrackedResource,SqlMigrationServiceUpdate:SqlMigrationServiceUpdate,SqlMigrationListResult:SqlMigrationListResult,AuthenticationKeys:AuthenticationKeys,RegenAuthKeys:RegenAuthKeys,DeleteNode:DeleteNode,DatabaseMigrationListResult:DatabaseMigrationListResult,IntegrationRuntimeMonitoringData:IntegrationRuntimeMonitoringData,NodeMonitoringData:NodeMonitoringData,ResourceSkusResult:ResourceSkusResult,ResourceSku:ResourceSku,ResourceSkuCapacity:ResourceSkuCapacity,ResourceSkuCosts:ResourceSkuCosts,ResourceSkuCapabilities:ResourceSkuCapabilities,ResourceSkuRestrictions:ResourceSkuRestrictions,ApiError:ApiError,ODataError:ODataError,ServiceSku:ServiceSku,DataMigrationServiceStatusResponse:DataMigrationServiceStatusResponse,ServiceSkuList:ServiceSkuList,AvailableServiceSku:AvailableServiceSku,AvailableServiceSkuSku:AvailableServiceSkuSku,AvailableServiceSkuCapacity:AvailableServiceSkuCapacity,TaskList:TaskList,ProjectTaskProperties:ProjectTaskProperties,CommandProperties:CommandProperties,Resource:Resource,NameAvailabilityRequest:NameAvailabilityRequest,NameAvailabilityResponse:NameAvailabilityResponse,DataMigrationServiceList:DataMigrationServiceList,ProjectList:ProjectList,ConnectionInfo:ConnectionInfo,DatabaseInfo:DatabaseInfo,QuotaList:QuotaList,Quota:Quota,QuotaName:QuotaName,FileList:FileList,ProjectFileProperties:ProjectFileProperties,FileStorageInfo:FileStorageInfo,MigrateSyncCompleteCommandInput:MigrateSyncCompleteCommandInput,MigrateSyncCompleteCommandOutput:MigrateSyncCompleteCommandOutput,ReportableException:ReportableException,MigrateMISyncCompleteCommandInput:MigrateMISyncCompleteCommandInput,MigrateMISyncCompleteCommandOutput:MigrateMISyncCompleteCommandOutput,AzureActiveDirectoryApp:AzureActiveDirectoryApp,BackupSetInfo:BackupSetInfo,BackupFileInfo:BackupFileInfo,OrphanedUserInfo:OrphanedUserInfo,ConnectToSourceMySqlTaskInput:ConnectToSourceMySqlTaskInput,ConnectToSourceSqlServerTaskInput:ConnectToSourceSqlServerTaskInput,ConnectToSourceSqlServerTaskOutput:ConnectToSourceSqlServerTaskOutput,DatabaseFileInfo:DatabaseFileInfo,MigrationEligibilityInfo:MigrationEligibilityInfo,ConnectToSourcePostgreSqlSyncTaskInput:ConnectToSourcePostgreSqlSyncTaskInput,ConnectToSourcePostgreSqlSyncTaskOutput:ConnectToSourcePostgreSqlSyncTaskOutput,ConnectToTargetAzureDbForMySqlTaskInput:ConnectToTargetAzureDbForMySqlTaskInput,ConnectToTargetAzureDbForMySqlTaskOutput:ConnectToTargetAzureDbForMySqlTaskOutput,ConnectToTargetSqlDbTaskInput:ConnectToTargetSqlDbTaskInput,ConnectToTargetSqlDbTaskOutput:ConnectToTargetSqlDbTaskOutput,ConnectToTargetSqlMISyncTaskInput:ConnectToTargetSqlMISyncTaskInput,ConnectToTargetSqlMISyncTaskOutput:ConnectToTargetSqlMISyncTaskOutput,ConnectToTargetSqlMITaskInput:ConnectToTargetSqlMITaskInput,ConnectToTargetSqlMITaskOutput:ConnectToTargetSqlMITaskOutput,ConnectToTargetSqlDbSyncTaskInput:ConnectToTargetSqlDbSyncTaskInput,ConnectToTargetAzureDbForPostgreSqlSyncTaskInput:ConnectToTargetAzureDbForPostgreSqlSyncTaskInput,ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput:ConnectToTargetAzureDbForPostgreSqlSyncTaskOutput,GetUserTablesMySqlTaskInput:GetUserTablesMySqlTaskInput,GetUserTablesMySqlTaskOutput:GetUserTablesMySqlTaskOutput,DatabaseTable:DatabaseTable,GetTdeCertificatesSqlTaskInput:GetTdeCertificatesSqlTaskInput,FileShare:FileShare,SelectedCertificateInput:SelectedCertificateInput,GetTdeCertificatesSqlTaskOutput:GetTdeCertificatesSqlTaskOutput,GetUserTablesSqlSyncTaskInput:GetUserTablesSqlSyncTaskInput,GetUserTablesSqlSyncTaskOutput:GetUserTablesSqlSyncTaskOutput,GetUserTablesSqlTaskInput:GetUserTablesSqlTaskInput,GetUserTablesSqlTaskOutput:GetUserTablesSqlTaskOutput,MigrateSchemaSqlServerSqlDbDatabaseInput:MigrateSchemaSqlServerSqlDbDatabaseInput,SchemaMigrationSetting:SchemaMigrationSetting,SqlMigrationTaskInput:SqlMigrationTaskInput,MigrateSchemaSqlServerSqlDbTaskOutput:MigrateSchemaSqlServerSqlDbTaskOutput,MigrateMySqlAzureDbForMySqlSyncTaskInput:MigrateMySqlAzureDbForMySqlSyncTaskInput,MigrateMySqlAzureDbForMySqlSyncDatabaseInput:MigrateMySqlAzureDbForMySqlSyncDatabaseInput,MigrateMySqlAzureDbForMySqlSyncTaskOutput:MigrateMySqlAzureDbForMySqlSyncTaskOutput,SyncMigrationDatabaseErrorEvent:SyncMigrationDatabaseErrorEvent,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput,MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput:MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput,MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput:MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput,MigrateSqlServerSqlDbSyncDatabaseInput:MigrateSqlServerSqlDbSyncDatabaseInput,MigrationValidationOptions:MigrationValidationOptions,MigrateSqlServerSqlDbSyncTaskOutput:MigrateSqlServerSqlDbSyncTaskOutput,MigrateSqlServerSqlDbDatabaseInput:MigrateSqlServerSqlDbDatabaseInput,MigrateSqlServerSqlDbTaskOutput:MigrateSqlServerSqlDbTaskOutput,MigrationValidationResult:MigrationValidationResult,MigrationValidationDatabaseSummaryResult:MigrationValidationDatabaseSummaryResult,MigrationReportResult:MigrationReportResult,DataItemMigrationSummaryResult:DataItemMigrationSummaryResult,MigrationValidationDatabaseLevelResult:MigrationValidationDatabaseLevelResult,DataIntegrityValidationResult:DataIntegrityValidationResult,ValidationError:ValidationError,SchemaComparisonValidationResult:SchemaComparisonValidationResult,SchemaComparisonValidationResultType:SchemaComparisonValidationResultType,QueryAnalysisValidationResult:QueryAnalysisValidationResult,QueryExecutionResult:QueryExecutionResult,ExecutionStatistics:ExecutionStatistics,WaitStatistics:WaitStatistics,SqlServerSqlMISyncTaskInput:SqlServerSqlMISyncTaskInput,MigrateSqlServerSqlMIDatabaseInput:MigrateSqlServerSqlMIDatabaseInput,MigrateSqlServerSqlMISyncTaskOutput:MigrateSqlServerSqlMISyncTaskOutput,BlobShare:BlobShare,MigrateSqlServerSqlMITaskOutput:MigrateSqlServerSqlMITaskOutput,SsisMigrationInfo:SsisMigrationInfo,MigrateSsisTaskOutput:MigrateSsisTaskOutput,MongoDbCommandInput:MongoDbCommandInput,MongoDbClusterInfo:MongoDbClusterInfo,MongoDbShardKeyInfo:MongoDbShardKeyInfo,MongoDbShardKeyField:MongoDbShardKeyField,MongoDbObjectInfo:MongoDbObjectInfo,MongoDbProgress:MongoDbProgress,MongoDbError:MongoDbError,MongoDbCollectionSettings:MongoDbCollectionSettings,MongoDbShardKeySetting:MongoDbShardKeySetting,MongoDbDatabaseSettings:MongoDbDatabaseSettings,MongoDbMigrationSettings:MongoDbMigrationSettings,MongoDbThrottlingSettings:MongoDbThrottlingSettings,ConnectToSourceOracleSyncTaskInput:ConnectToSourceOracleSyncTaskInput,ConnectToSourceOracleSyncTaskOutput:ConnectToSourceOracleSyncTaskOutput,ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput:ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskInput,ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput:ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutput,ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem:ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskOutputDatabaseSchemaMapItem,GetUserTablesOracleTaskInput:GetUserTablesOracleTaskInput,GetUserTablesOracleTaskOutput:GetUserTablesOracleTaskOutput,GetUserTablesPostgreSqlTaskInput:GetUserTablesPostgreSqlTaskInput,GetUserTablesPostgreSqlTaskOutput:GetUserTablesPostgreSqlTaskOutput,ValidateOracleAzureDbPostgreSqlSyncTaskOutput:ValidateOracleAzureDbPostgreSqlSyncTaskOutput,MigrateOracleAzureDbPostgreSqlSyncTaskInput:MigrateOracleAzureDbPostgreSqlSyncTaskInput,MigrateOracleAzureDbPostgreSqlSyncDatabaseInput:MigrateOracleAzureDbPostgreSqlSyncDatabaseInput,MigrateOracleAzureDbPostgreSqlSyncTaskOutput:MigrateOracleAzureDbPostgreSqlSyncTaskOutput,OracleOCIDriverInfo:OracleOCIDriverInfo,CheckOCIDriverTaskInput:CheckOCIDriverTaskInput,CheckOCIDriverTaskOutput:CheckOCIDriverTaskOutput,UploadOCIDriverTaskInput:UploadOCIDriverTaskInput,UploadOCIDriverTaskOutput:UploadOCIDriverTaskOutput,InstallOCIDriverTaskInput:InstallOCIDriverTaskInput,InstallOCIDriverTaskOutput:InstallOCIDriverTaskOutput,ServiceOperation:ServiceOperation,ServiceOperationDisplay:ServiceOperationDisplay,ServiceOperationList:ServiceOperationList,ConnectToSourceNonSqlTaskOutput:ConnectToSourceNonSqlTaskOutput,ServerProperties:ServerProperties,MigrateMySqlAzureDbForMySqlOfflineTaskInput:MigrateMySqlAzureDbForMySqlOfflineTaskInput,MigrateMySqlAzureDbForMySqlOfflineDatabaseInput:MigrateMySqlAzureDbForMySqlOfflineDatabaseInput,MigrateMySqlAzureDbForMySqlOfflineTaskOutput:MigrateMySqlAzureDbForMySqlOfflineTaskOutput,ValidateSyncMigrationInputSqlServerTaskInput:ValidateSyncMigrationInputSqlServerTaskInput,ValidateSyncMigrationInputSqlServerTaskOutput:ValidateSyncMigrationInputSqlServerTaskOutput,ValidateMigrationInputSqlServerSqlMITaskInput:ValidateMigrationInputSqlServerSqlMITaskInput,ValidateMigrationInputSqlServerSqlMITaskOutput:ValidateMigrationInputSqlServerSqlMITaskOutput,DatabaseBackupInfo:DatabaseBackupInfo,ValidateMigrationInputSqlServerSqlMISyncTaskOutput:ValidateMigrationInputSqlServerSqlMISyncTaskOutput,Database:Database,DatabaseObjectName:DatabaseObjectName,DataMigrationProjectMetadata:DataMigrationProjectMetadata,MigrationTableMetadata:MigrationTableMetadata,GetProjectDetailsNonSqlTaskInput:GetProjectDetailsNonSqlTaskInput,NonSqlMigrationTaskInput:NonSqlMigrationTaskInput,NonSqlDataMigrationTable:NonSqlDataMigrationTable,NonSqlMigrationTaskOutput:NonSqlMigrationTaskOutput,NonSqlDataMigrationTableResult:NonSqlDataMigrationTableResult,DataMigrationError:DataMigrationError,MigrateSqlServerDatabaseInput:MigrateSqlServerDatabaseInput,DatabaseFileInput:DatabaseFileInput,StartMigrationScenarioServerRoleResult:StartMigrationScenarioServerRoleResult,DatabaseMigrationPropertiesSqlMi:DatabaseMigrationPropertiesSqlMi,DatabaseMigrationPropertiesSqlVm:DatabaseMigrationPropertiesSqlVm,DatabaseMigrationSqlMi:DatabaseMigrationSqlMi,DatabaseMigrationSqlVm:DatabaseMigrationSqlVm,DatabaseMigration:DatabaseMigration,SqlMigrationService:SqlMigrationService,DataMigrationService:DataMigrationService,Project:Project,MigrateSchemaSqlServerSqlDbTaskProperties:MigrateSchemaSqlServerSqlDbTaskProperties,CheckOCIDriverTaskProperties:CheckOCIDriverTaskProperties,UploadOCIDriverTaskProperties:UploadOCIDriverTaskProperties,InstallOCIDriverTaskProperties:InstallOCIDriverTaskProperties,ConnectToMongoDbTaskProperties:ConnectToMongoDbTaskProperties,ConnectToSourceSqlServerTaskProperties:ConnectToSourceSqlServerTaskProperties,ConnectToSourceSqlServerSyncTaskProperties:ConnectToSourceSqlServerSyncTaskProperties,ConnectToSourcePostgreSqlSyncTaskProperties:ConnectToSourcePostgreSqlSyncTaskProperties,ConnectToSourceMySqlTaskProperties:ConnectToSourceMySqlTaskProperties,ConnectToSourceOracleSyncTaskProperties:ConnectToSourceOracleSyncTaskProperties,ConnectToTargetSqlDbTaskProperties:ConnectToTargetSqlDbTaskProperties,ConnectToTargetSqlDbSyncTaskProperties:ConnectToTargetSqlDbSyncTaskProperties,ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties:ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties,ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties:ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties,GetUserTablesSqlTaskProperties:GetUserTablesSqlTaskProperties,GetUserTablesSqlSyncTaskProperties:GetUserTablesSqlSyncTaskProperties,GetUserTablesOracleTaskProperties:GetUserTablesOracleTaskProperties,GetUserTablesPostgreSqlTaskProperties:GetUserTablesPostgreSqlTaskProperties,GetUserTablesMySqlTaskProperties:GetUserTablesMySqlTaskProperties,ConnectToTargetSqlMITaskProperties:ConnectToTargetSqlMITaskProperties,ConnectToTargetSqlMISyncTaskProperties:ConnectToTargetSqlMISyncTaskProperties,ConnectToTargetAzureDbForMySqlTaskProperties:ConnectToTargetAzureDbForMySqlTaskProperties,MigrateMongoDbTaskProperties:MigrateMongoDbTaskProperties,MigrateSqlServerSqlMITaskProperties:MigrateSqlServerSqlMITaskProperties,MigrateSqlServerSqlMISyncTaskProperties:MigrateSqlServerSqlMISyncTaskProperties,MigrateSqlServerSqlDbTaskProperties:MigrateSqlServerSqlDbTaskProperties,MigrateSqlServerSqlDbSyncTaskProperties:MigrateSqlServerSqlDbSyncTaskProperties,MigrateMySqlAzureDbForMySqlSyncTaskProperties:MigrateMySqlAzureDbForMySqlSyncTaskProperties,MigrateMySqlAzureDbForMySqlOfflineTaskProperties:MigrateMySqlAzureDbForMySqlOfflineTaskProperties,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties,MigrateOracleAzureDbForPostgreSqlSyncTaskProperties:MigrateOracleAzureDbForPostgreSqlSyncTaskProperties,ValidateMigrationInputSqlServerSqlDbSyncTaskProperties:ValidateMigrationInputSqlServerSqlDbSyncTaskProperties,ValidateMigrationInputSqlServerSqlMITaskProperties:ValidateMigrationInputSqlServerSqlMITaskProperties,ValidateMigrationInputSqlServerSqlMISyncTaskProperties:ValidateMigrationInputSqlServerSqlMISyncTaskProperties,ValidateMongoDbTaskProperties:ValidateMongoDbTaskProperties,ValidateOracleAzureDbForPostgreSqlSyncTaskProperties:ValidateOracleAzureDbForPostgreSqlSyncTaskProperties,GetTdeCertificatesSqlTaskProperties:GetTdeCertificatesSqlTaskProperties,MigrateSsisTaskProperties:MigrateSsisTaskProperties,MigrateSyncCompleteCommandProperties:MigrateSyncCompleteCommandProperties,MigrateMISyncCompleteCommandProperties:MigrateMISyncCompleteCommandProperties,MongoDbCancelCommand:MongoDbCancelCommand,MongoDbFinishCommand:MongoDbFinishCommand,MongoDbRestartCommand:MongoDbRestartCommand,ProjectTask:ProjectTask,ProjectFile:ProjectFile,MongoDbConnectionInfo:MongoDbConnectionInfo,SqlConnectionInfo:SqlConnectionInfo,MySqlConnectionInfo:MySqlConnectionInfo,OracleConnectionInfo:OracleConnectionInfo,PostgreSqlConnectionInfo:PostgreSqlConnectionInfo,MiSqlConnectionInfo:MiSqlConnectionInfo,ConnectToSourceSqlServerTaskOutputTaskLevel:ConnectToSourceSqlServerTaskOutputTaskLevel,ConnectToSourceSqlServerTaskOutputDatabaseLevel:ConnectToSourceSqlServerTaskOutputDatabaseLevel,ConnectToSourceSqlServerTaskOutputLoginLevel:ConnectToSourceSqlServerTaskOutputLoginLevel,ConnectToSourceSqlServerTaskOutputAgentJobLevel:ConnectToSourceSqlServerTaskOutputAgentJobLevel,MigrateSchemaSqlServerSqlDbTaskInput:MigrateSchemaSqlServerSqlDbTaskInput,MigrateSqlServerSqlDbSyncTaskInput:MigrateSqlServerSqlDbSyncTaskInput,MigrateSqlServerSqlDbTaskInput:MigrateSqlServerSqlDbTaskInput,MigrateSqlServerSqlMITaskInput:MigrateSqlServerSqlMITaskInput,MigrateSsisTaskInput:MigrateSsisTaskInput,MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel:MigrateSchemaSqlServerSqlDbTaskOutputMigrationLevel,MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel:MigrateSchemaSqlServerSqlDbTaskOutputDatabaseLevel,MigrateSchemaSqlServerSqlDbTaskOutputError:MigrateSchemaSqlServerSqlDbTaskOutputError,MigrateSchemaSqlTaskOutputError:MigrateSchemaSqlTaskOutputError,MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel:MigrateMySqlAzureDbForMySqlSyncTaskOutputMigrationLevel,MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel:MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseLevel,MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel:MigrateMySqlAzureDbForMySqlSyncTaskOutputTableLevel,MigrateMySqlAzureDbForMySqlSyncTaskOutputError:MigrateMySqlAzureDbForMySqlSyncTaskOutputError,MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError:MigrateMySqlAzureDbForMySqlSyncTaskOutputDatabaseError,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError,MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError:MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError,MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel:MigrateSqlServerSqlDbSyncTaskOutputMigrationLevel,MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel:MigrateSqlServerSqlDbSyncTaskOutputDatabaseLevel,MigrateSqlServerSqlDbSyncTaskOutputTableLevel:MigrateSqlServerSqlDbSyncTaskOutputTableLevel,MigrateSqlServerSqlDbSyncTaskOutputError:MigrateSqlServerSqlDbSyncTaskOutputError,MigrateSqlServerSqlDbSyncTaskOutputDatabaseError:MigrateSqlServerSqlDbSyncTaskOutputDatabaseError,MigrateSqlServerSqlDbTaskOutputMigrationLevel:MigrateSqlServerSqlDbTaskOutputMigrationLevel,MigrateSqlServerSqlDbTaskOutputDatabaseLevel:MigrateSqlServerSqlDbTaskOutputDatabaseLevel,MigrateSqlServerSqlDbTaskOutputTableLevel:MigrateSqlServerSqlDbTaskOutputTableLevel,MigrateSqlServerSqlDbTaskOutputError:MigrateSqlServerSqlDbTaskOutputError,MigrateSqlServerSqlDbTaskOutputValidationResult:MigrateSqlServerSqlDbTaskOutputValidationResult,MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult:MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult,DatabaseSummaryResult:DatabaseSummaryResult,MigrateSqlServerSqlMISyncTaskInput:MigrateSqlServerSqlMISyncTaskInput,ValidateMigrationInputSqlServerSqlMISyncTaskInput:ValidateMigrationInputSqlServerSqlMISyncTaskInput,MigrateSqlServerSqlMISyncTaskOutputMigrationLevel:MigrateSqlServerSqlMISyncTaskOutputMigrationLevel,MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel:MigrateSqlServerSqlMISyncTaskOutputDatabaseLevel,MigrateSqlServerSqlMISyncTaskOutputError:MigrateSqlServerSqlMISyncTaskOutputError,MigrateSqlServerSqlMITaskOutputMigrationLevel:MigrateSqlServerSqlMITaskOutputMigrationLevel,MigrateSqlServerSqlMITaskOutputDatabaseLevel:MigrateSqlServerSqlMITaskOutputDatabaseLevel,MigrateSqlServerSqlMITaskOutputAgentJobLevel:MigrateSqlServerSqlMITaskOutputAgentJobLevel,MigrateSqlServerSqlMITaskOutputLoginLevel:MigrateSqlServerSqlMITaskOutputLoginLevel,MigrateSqlServerSqlMITaskOutputError:MigrateSqlServerSqlMITaskOutputError,MigrateSsisTaskOutputMigrationLevel:MigrateSsisTaskOutputMigrationLevel,MigrateSsisTaskOutputProjectLevel:MigrateSsisTaskOutputProjectLevel,MongoDbFinishCommandInput:MongoDbFinishCommandInput,MongoDbCollectionInfo:MongoDbCollectionInfo,MongoDbDatabaseInfo:MongoDbDatabaseInfo,MongoDbCollectionProgress:MongoDbCollectionProgress,MongoDbDatabaseProgress:MongoDbDatabaseProgress,MongoDbMigrationProgress:MongoDbMigrationProgress,MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel:MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel,MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel:MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseLevel,MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel:MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel,MigrateOracleAzureDbPostgreSqlSyncTaskOutputError:MigrateOracleAzureDbPostgreSqlSyncTaskOutputError,MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError:MigrateOracleAzureDbPostgreSqlSyncTaskOutputDatabaseError,MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel:MigrateMySqlAzureDbForMySqlOfflineTaskOutputMigrationLevel,MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel:MigrateMySqlAzureDbForMySqlOfflineTaskOutputDatabaseLevel,MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel:MigrateMySqlAzureDbForMySqlOfflineTaskOutputTableLevel,MigrateMySqlAzureDbForMySqlOfflineTaskOutputError:MigrateMySqlAzureDbForMySqlOfflineTaskOutputError,discriminators:discriminators});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},resourceGroupName={parameterPath:"resourceGroupName",mapper:{serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},managedInstanceName={parameterPath:"managedInstanceName",mapper:{serializedName:"managedInstanceName",required:!0,type:{name:"String"}}},targetDbName={parameterPath:"targetDbName",mapper:{serializedName:"targetDbName",required:!0,type:{name:"String"}}},migrationOperationId={parameterPath:["options","migrationOperationId"],mapper:{serializedName:"migrationOperationId",type:{name:"Uuid"}}},expand={parameterPath:["options","expand"],mapper:{serializedName:"$expand",type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2021-10-30-preview",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},parameters={parameterPath:"parameters",mapper:DatabaseMigrationSqlMi},parameters1={parameterPath:"parameters",mapper:MigrationOperationInput},sqlVirtualMachineName={parameterPath:"sqlVirtualMachineName",mapper:{serializedName:"sqlVirtualMachineName",required:!0,type:{name:"String"}}},parameters2={parameterPath:"parameters",mapper:DatabaseMigrationSqlVm},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},sqlMigrationServiceName={parameterPath:"sqlMigrationServiceName",mapper:{serializedName:"sqlMigrationServiceName",required:!0,type:{name:"String"}}},parameters3={parameterPath:"parameters",mapper:SqlMigrationService},parameters4={parameterPath:"parameters",mapper:SqlMigrationServiceUpdate},parameters5={parameterPath:"parameters",mapper:RegenAuthKeys},parameters6={parameterPath:"parameters",mapper:DeleteNode},parameters7={parameterPath:"parameters",mapper:DataMigrationService},groupName={parameterPath:"groupName",mapper:{serializedName:"groupName",required:!0,type:{name:"String"}}},serviceName={parameterPath:"serviceName",mapper:{serializedName:"serviceName",required:!0,type:{name:"String"}}},deleteRunningTasks={parameterPath:["options","deleteRunningTasks"],mapper:{serializedName:"deleteRunningTasks",type:{name:"Boolean"}}},parameters8={parameterPath:"parameters",mapper:NameAvailabilityRequest},location={parameterPath:"location",mapper:{serializedName:"location",required:!0,type:{name:"String"}}},projectName={parameterPath:"projectName",mapper:{serializedName:"projectName",required:!0,type:{name:"String"}}},taskType={parameterPath:["options","taskType"],mapper:{serializedName:"taskType",type:{name:"String"}}},parameters9={parameterPath:"parameters",mapper:ProjectTask},taskName={parameterPath:"taskName",mapper:{serializedName:"taskName",required:!0,type:{name:"String"}}},parameters10={parameterPath:"parameters",mapper:CommandProperties},parameters11={parameterPath:"parameters",mapper:Project},fileName={parameterPath:"fileName",mapper:{serializedName:"fileName",required:!0,type:{name:"String"}}},parameters12={parameterPath:"parameters",mapper:ProjectFile};class LroImpl{constructor(e,a,t,r=t.path,i=t.httpMethod){this.sendOperationFn=e,this.args=a,this.spec=t,this.requestPath=r,this.requestMethod=i}sendInitialRequest(){return tslib.__awaiter(this,void 0,void 0,function*(){return this.sendOperationFn(this.args,this.spec)})}sendPollRequest(a){return tslib.__awaiter(this,void 0,void 0,function*(){var e=this.spec,e=tslib.__rest(e,["requestBody"]);return this.sendOperationFn(this.args,Object.assign(Object.assign({},e),{path:a,httpMethod:"GET"}))})}}class DatabaseMigrationsSqlMiImpl{constructor(e){this.client=e}get(e,a,t,r){return this.client.sendOperationRequest({resourceGroupName:e,managedInstanceName:a,targetDbName:t,options:r},getOperationSpec)}beginCreateOrUpdate(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null===(e=a.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,managedInstanceName:t,targetDbName:r,parameters:i,options:n},createOrUpdateOperationSpec);return new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs})})}beginCreateOrUpdateAndWait(a,t,r,i,s){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCreateOrUpdate(a,t,r,i,s);return e.pollUntilDone()})}beginCancel(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null===(e=a.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,managedInstanceName:t,targetDbName:r,parameters:i,options:n},cancelOperationSpec);return new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs})})}beginCancelAndWait(a,t,r,i,s){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCancel(a,t,r,i,s);return e.pollUntilDone()})}beginCutover(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null===(e=a.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,managedInstanceName:t,targetDbName:r,parameters:i,options:n},cutoverOperationSpec);return new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs})})}beginCutoverAndWait(a,t,r,i,s){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCutover(a,t,r,i,s);return e.pollUntilDone()})}}const serializer=coreClient.createSerializer(Mappers,!1),getOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",httpMethod:"GET",responses:{200:{bodyMapper:DatabaseMigrationSqlMi},default:{}},queryParameters:[migrationOperationId,expand,apiVersion],urlParameters:[$host,resourceGroupName,managedInstanceName,targetDbName,subscriptionId],headerParameters:[accept],serializer:serializer},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",httpMethod:"PUT",responses:{200:{bodyMapper:DatabaseMigrationSqlMi},201:{bodyMapper:DatabaseMigrationSqlMi},202:{bodyMapper:DatabaseMigrationSqlMi},204:{bodyMapper:DatabaseMigrationSqlMi},default:{}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,managedInstanceName,targetDbName,subscriptionId],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},cancelOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cancel",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,managedInstanceName,targetDbName,subscriptionId],headerParameters:[contentType],mediaType:"json",serializer:serializer},cutoverOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cutover",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,managedInstanceName,targetDbName,subscriptionId],headerParameters:[contentType],mediaType:"json",serializer:serializer};class DatabaseMigrationsSqlVmImpl{constructor(e){this.client=e}get(e,a,t,r){return this.client.sendOperationRequest({resourceGroupName:e,sqlVirtualMachineName:a,targetDbName:t,options:r},getOperationSpec$1)}beginCreateOrUpdate(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null===(e=a.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlVirtualMachineName:t,targetDbName:r,parameters:i,options:n},createOrUpdateOperationSpec$1);return new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs})})}beginCreateOrUpdateAndWait(a,t,r,i,s){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCreateOrUpdate(a,t,r,i,s);return e.pollUntilDone()})}beginCancel(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null===(e=a.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlVirtualMachineName:t,targetDbName:r,parameters:i,options:n},cancelOperationSpec$1);return new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs})})}beginCancelAndWait(a,t,r,i,s){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCancel(a,t,r,i,s);return e.pollUntilDone()})}beginCutover(a,t,r,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null===(e=a.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlVirtualMachineName:t,targetDbName:r,parameters:i,options:n},cutoverOperationSpec$1);return new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs})})}beginCutoverAndWait(a,t,r,i,s){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCutover(a,t,r,i,s);return e.pollUntilDone()})}}const serializer$1=coreClient.createSerializer(Mappers,!1),getOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",httpMethod:"GET",responses:{200:{bodyMapper:DatabaseMigrationSqlVm},default:{}},queryParameters:[migrationOperationId,expand,apiVersion],urlParameters:[$host,resourceGroupName,targetDbName,subscriptionId,sqlVirtualMachineName],headerParameters:[accept],serializer:serializer$1},createOrUpdateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",httpMethod:"PUT",responses:{200:{bodyMapper:DatabaseMigrationSqlVm},201:{bodyMapper:DatabaseMigrationSqlVm},202:{bodyMapper:DatabaseMigrationSqlVm},204:{bodyMapper:DatabaseMigrationSqlVm},default:{}},requestBody:parameters2,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,targetDbName,subscriptionId,sqlVirtualMachineName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},cancelOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cancel",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,targetDbName,subscriptionId,sqlVirtualMachineName],headerParameters:[contentType],mediaType:"json",serializer:serializer$1},cutoverOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cutover",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,targetDbName,subscriptionId,sqlVirtualMachineName],headerParameters:[contentType],mediaType:"json",serializer:serializer$1};class OperationsImpl{constructor(e){this.client=e}list(e){const a=this.listPagingAll(e);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listNext(a,t)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec)}_listNext(e,a){return this.client.sendOperationRequest({nextLink:e,options:a},listNextOperationSpec)}}const serializer$2=coreClient.createSerializer(Mappers,!1),listOperationSpec={path:"/providers/Microsoft.DataMigration/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$2},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer$2};class SqlMigrationServicesImpl{constructor(e){this.client=e}listByResourceGroup(e,a){const t=this.listByResourceGroupPagingAll(e,a);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByResourceGroupPagingPage(e,a)}}listByResourceGroupPagingPage(t,r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByResourceGroup(t,r));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listByResourceGroupNext(t,a,r)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listByResourceGroupPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listByResourceGroupPagingPage(s,n));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}listMigrations(e,a,t){const r=this.listMigrationsPagingAll(e,a,t);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listMigrationsPagingPage(e,a,t)}}listMigrationsPagingPage(t,r,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listMigrations(t,r,i));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listMigrationsNext(t,r,a,i)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listMigrationsPagingAll(s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listMigrationsPagingPage(s,n,o));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}listBySubscription(e){const a=this.listBySubscriptionPagingAll(e);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e)}}listBySubscriptionPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(t));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listBySubscriptionNext(a,t)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listBySubscriptionPagingPage(s));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}get(e,a,t){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,options:t},getOperationSpec$2)}beginCreateOrUpdate(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null===(e=a.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlMigrationServiceName:t,parameters:r,options:i},createOrUpdateOperationSpec$2);return new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs})})}beginCreateOrUpdateAndWait(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCreateOrUpdate(a,t,r,i);return e.pollUntilDone()})}beginDelete(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null===(e=a.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlMigrationServiceName:t,options:r},deleteOperationSpec);return new coreLro.LroEngine(e,{resumeFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs})})}beginDeleteAndWait(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginDelete(a,t,r);return e.pollUntilDone()})}beginUpdate(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null===(e=a.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:a,sqlMigrationServiceName:t,parameters:r,options:i},updateOperationSpec);return new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs})})}beginUpdateAndWait(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginUpdate(a,t,r,i);return e.pollUntilDone()})}_listByResourceGroup(e,a){return this.client.sendOperationRequest({resourceGroupName:e,options:a},listByResourceGroupOperationSpec)}listAuthKeys(e,a,t){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,options:t},listAuthKeysOperationSpec)}regenerateAuthKeys(e,a,t,r){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,parameters:t,options:r},regenerateAuthKeysOperationSpec)}deleteNode(e,a,t,r){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,parameters:t,options:r},deleteNodeOperationSpec)}_listMigrations(e,a,t){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,options:t},listMigrationsOperationSpec)}listMonitoringData(e,a,t){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,options:t},listMonitoringDataOperationSpec)}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec)}_listByResourceGroupNext(e,a,t){return this.client.sendOperationRequest({resourceGroupName:e,nextLink:a,options:t},listByResourceGroupNextOperationSpec)}_listMigrationsNext(e,a,t,r){return this.client.sendOperationRequest({resourceGroupName:e,sqlMigrationServiceName:a,nextLink:t,options:r},listMigrationsNextOperationSpec)}_listBySubscriptionNext(e,a){return this.client.sendOperationRequest({nextLink:e,options:a},listBySubscriptionNextOperationSpec)}}const serializer$3=coreClient.createSerializer(Mappers,!1),getOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",httpMethod:"GET",responses:{200:{bodyMapper:SqlMigrationService},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept],serializer:serializer$3},createOrUpdateOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",httpMethod:"PUT",responses:{200:{bodyMapper:SqlMigrationService},201:{bodyMapper:SqlMigrationService},202:{bodyMapper:SqlMigrationService},204:{bodyMapper:SqlMigrationService},default:{}},requestBody:parameters3,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$3},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],serializer:serializer$3},updateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",httpMethod:"PATCH",responses:{200:{bodyMapper:SqlMigrationService},201:{bodyMapper:SqlMigrationService},202:{bodyMapper:SqlMigrationService},204:{bodyMapper:SqlMigrationService},default:{}},requestBody:parameters4,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$3},listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices",httpMethod:"GET",responses:{200:{bodyMapper:SqlMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId],headerParameters:[accept],serializer:serializer$3},listAuthKeysOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listAuthKeys",httpMethod:"POST",responses:{200:{bodyMapper:AuthenticationKeys},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept],serializer:serializer$3},regenerateAuthKeysOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/regenerateAuthKeys",httpMethod:"POST",responses:{200:{bodyMapper:RegenAuthKeys},default:{}},requestBody:parameters5,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$3},deleteNodeOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/deleteNode",httpMethod:"POST",responses:{200:{bodyMapper:DeleteNode},default:{}},requestBody:parameters6,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$3},listMigrationsOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMigrations",httpMethod:"GET",responses:{200:{bodyMapper:DatabaseMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept],serializer:serializer$3},listMonitoringDataOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMonitoringData",httpMethod:"POST",responses:{200:{bodyMapper:IntegrationRuntimeMonitoringData},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,sqlMigrationServiceName],headerParameters:[accept],serializer:serializer$3},listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices",httpMethod:"GET",responses:{200:{bodyMapper:SqlMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$3},listByResourceGroupNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:SqlMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$3},listMigrationsNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:DatabaseMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId,nextLink,sqlMigrationServiceName],headerParameters:[accept],serializer:serializer$3},listBySubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:SqlMigrationListResult},default:{}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$3};class ResourceSkusImpl{constructor(e){this.client=e}listSkus(e){const a=this.listSkusPagingAll(e);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listSkusPagingPage(e)}}listSkusPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listSkus(t));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listSkusNext(a,t)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listSkusPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listSkusPagingPage(s));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_listSkus(e){return this.client.sendOperationRequest({options:e},listSkusOperationSpec)}_listSkusNext(e,a){return this.client.sendOperationRequest({nextLink:e,options:a},listSkusNextOperationSpec)}}const serializer$4=coreClient.createSerializer(Mappers,!1),listSkusOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/skus",httpMethod:"GET",responses:{200:{bodyMapper:ResourceSkusResult},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$4},listSkusNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ResourceSkusResult},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$4};class ServicesImpl{constructor(e){this.client=e}listSkus(e,a,t){const r=this.listSkusPagingAll(e,a,t);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listSkusPagingPage(e,a,t)}}listSkusPagingPage(t,r,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listSkus(t,r,i));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listSkusNext(t,r,a,i)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listSkusPagingAll(s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listSkusPagingPage(s,n,o));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}listByResourceGroup(e,a){const t=this.listByResourceGroupPagingAll(e,a);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByResourceGroupPagingPage(e,a)}}listByResourceGroupPagingPage(t,r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByResourceGroup(t,r));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listByResourceGroupNext(t,a,r)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listByResourceGroupPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listByResourceGroupPagingPage(s,n));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}list(e){const a=this.listPagingAll(e);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listNext(a,t)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}beginCreateOrUpdate(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null===(e=a.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{groupName:a,serviceName:t,parameters:r,options:i},createOrUpdateOperationSpec$3);return new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs})})}beginCreateOrUpdateAndWait(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCreateOrUpdate(a,t,r,i);return e.pollUntilDone()})}get(e,a,t){return this.client.sendOperationRequest({groupName:e,serviceName:a,options:t},getOperationSpec$3)}beginDelete(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null===(e=a.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{groupName:a,serviceName:t,options:r},deleteOperationSpec$1);return new coreLro.LroEngine(e,{resumeFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs})})}beginDeleteAndWait(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginDelete(a,t,r);return e.pollUntilDone()})}beginUpdate(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null===(e=a.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{groupName:a,serviceName:t,parameters:r,options:i},updateOperationSpec$1);return new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs})})}beginUpdateAndWait(a,t,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginUpdate(a,t,r,i);return e.pollUntilDone()})}checkStatus(e,a,t){return this.client.sendOperationRequest({groupName:e,serviceName:a,options:t},checkStatusOperationSpec)}beginStart(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null===(e=a.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{groupName:a,serviceName:t,options:r},startOperationSpec);return new coreLro.LroEngine(e,{resumeFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs})})}beginStartAndWait(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginStart(a,t,r);return e.pollUntilDone()})}beginStop(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,a)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,a)});var e=new LroImpl((a,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const r=null===(e=a.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},a),{options:Object.assign(Object.assign({},a.options),{onResponse:(e,a)=>{t=e,null!==r&&void 0!==r&&r(e,a)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{groupName:a,serviceName:t,options:r},stopOperationSpec);return new coreLro.LroEngine(e,{resumeFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs})})}beginStopAndWait(a,t,r){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginStop(a,t,r);return e.pollUntilDone()})}_listSkus(e,a,t){return this.client.sendOperationRequest({groupName:e,serviceName:a,options:t},listSkusOperationSpec$1)}checkChildrenNameAvailability(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,parameters:t,options:r},checkChildrenNameAvailabilityOperationSpec)}_listByResourceGroup(e,a){return this.client.sendOperationRequest({groupName:e,options:a},listByResourceGroupOperationSpec$1)}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec$1)}checkNameAvailability(e,a,t){return this.client.sendOperationRequest({location:e,parameters:a,options:t},checkNameAvailabilityOperationSpec)}_listSkusNext(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,nextLink:t,options:r},listSkusNextOperationSpec$1)}_listByResourceGroupNext(e,a,t){return this.client.sendOperationRequest({groupName:e,nextLink:a,options:t},listByResourceGroupNextOperationSpec$1)}_listNext(e,a){return this.client.sendOperationRequest({nextLink:e,options:a},listNextOperationSpec$1)}}const serializer$5=coreClient.createSerializer(Mappers,!1),createOrUpdateOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",httpMethod:"PUT",responses:{200:{bodyMapper:DataMigrationService},201:{bodyMapper:DataMigrationService},202:{bodyMapper:DataMigrationService},204:{bodyMapper:DataMigrationService},default:{bodyMapper:ApiError}},requestBody:parameters7,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$5},getOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",httpMethod:"GET",responses:{200:{bodyMapper:DataMigrationService},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},deleteOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,deleteRunningTasks],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},updateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",httpMethod:"PATCH",responses:{200:{bodyMapper:DataMigrationService},201:{bodyMapper:DataMigrationService},202:{bodyMapper:DataMigrationService},204:{bodyMapper:DataMigrationService},default:{bodyMapper:ApiError}},requestBody:parameters7,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$5},checkStatusOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus",httpMethod:"POST",responses:{200:{bodyMapper:DataMigrationServiceStatusResponse},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},startOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},stopOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop",httpMethod:"POST",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},listSkusOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus",httpMethod:"GET",responses:{200:{bodyMapper:ServiceSkuList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},checkChildrenNameAvailabilityOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability",httpMethod:"POST",responses:{200:{bodyMapper:NameAvailabilityResponse},default:{bodyMapper:ApiError}},requestBody:parameters8,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$5},listByResourceGroupOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services",httpMethod:"GET",responses:{200:{bodyMapper:DataMigrationServiceList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName],headerParameters:[accept],serializer:serializer$5},listOperationSpec$1={path:"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services",httpMethod:"GET",responses:{200:{bodyMapper:DataMigrationServiceList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$5},checkNameAvailabilityOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability",httpMethod:"POST",responses:{200:{bodyMapper:NameAvailabilityResponse},default:{bodyMapper:ApiError}},requestBody:parameters8,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,location],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$5},listSkusNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ServiceSkuList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,groupName,serviceName],headerParameters:[accept],serializer:serializer$5},listByResourceGroupNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:DataMigrationServiceList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,groupName],headerParameters:[accept],serializer:serializer$5},listNextOperationSpec$1={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:DataMigrationServiceList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$5};class TasksImpl{constructor(e){this.client=e}list(e,a,t,r){const i=this.listPagingAll(e,a,t,r);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,a,t,r)}}listPagingPage(t,r,i,s){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,r,i,s));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listNext(t,r,i,a,s)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n,o,l){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s,n,o,l));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,options:r},listOperationSpec$2)}createOrUpdate(e,a,t,r,i,s){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,parameters:i,options:s},createOrUpdateOperationSpec$4)}get(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,options:i},getOperationSpec$4)}delete(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,options:i},deleteOperationSpec$2)}update(e,a,t,r,i,s){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,parameters:i,options:s},updateOperationSpec$2)}cancel(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,options:i},cancelOperationSpec$2)}command(e,a,t,r,i,s){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,taskName:r,parameters:i,options:s},commandOperationSpec)}_listNext(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,nextLink:r,options:i},listNextOperationSpec$2)}}const serializer$6=coreClient.createSerializer(Mappers,!1),listOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks",httpMethod:"GET",responses:{200:{bodyMapper:TaskList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,taskType],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer$6},createOrUpdateOperationSpec$4={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",httpMethod:"PUT",responses:{200:{bodyMapper:ProjectTask},201:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},requestBody:parameters9,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$6},getOperationSpec$4={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",httpMethod:"GET",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},queryParameters:[expand,apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept],serializer:serializer$6},deleteOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,deleteRunningTasks],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept],serializer:serializer$6},updateOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",httpMethod:"PATCH",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},requestBody:parameters9,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$6},cancelOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/cancel",httpMethod:"POST",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept],serializer:serializer$6},commandOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/command",httpMethod:"POST",responses:{200:{bodyMapper:CommandProperties},default:{bodyMapper:ApiError}},requestBody:parameters10,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,taskName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$6},listNextOperationSpec$2={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:TaskList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,taskType],urlParameters:[$host,subscriptionId,nextLink,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer$6};class ServiceTasksImpl{constructor(e){this.client=e}list(e,a,t){const r=this.listPagingAll(e,a,t);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,a,t)}}listPagingPage(t,r,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,r,i));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listNext(t,r,a,i)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s,n,o));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e,a,t){return this.client.sendOperationRequest({groupName:e,serviceName:a,options:t},listOperationSpec$3)}createOrUpdate(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,taskName:t,parameters:r,options:i},createOrUpdateOperationSpec$5)}get(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,taskName:t,options:r},getOperationSpec$5)}delete(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,taskName:t,options:r},deleteOperationSpec$3)}update(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,taskName:t,parameters:r,options:i},updateOperationSpec$3)}cancel(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,taskName:t,options:r},cancelOperationSpec$3)}_listNext(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,nextLink:t,options:r},listNextOperationSpec$3)}}const serializer$7=coreClient.createSerializer(Mappers,!1),listOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks",httpMethod:"GET",responses:{200:{bodyMapper:TaskList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,taskType],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$7},createOrUpdateOperationSpec$5={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",httpMethod:"PUT",responses:{200:{bodyMapper:ProjectTask},201:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},requestBody:parameters9,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,taskName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$7},getOperationSpec$5={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",httpMethod:"GET",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},queryParameters:[expand,apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,taskName],headerParameters:[accept],serializer:serializer$7},deleteOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,deleteRunningTasks],urlParameters:[$host,subscriptionId,groupName,serviceName,taskName],headerParameters:[accept],serializer:serializer$7},updateOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",httpMethod:"PATCH",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},requestBody:parameters9,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,taskName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$7},cancelOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}/cancel",httpMethod:"POST",responses:{200:{bodyMapper:ProjectTask},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,taskName],headerParameters:[accept],serializer:serializer$7},listNextOperationSpec$3={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:TaskList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,taskType],urlParameters:[$host,subscriptionId,nextLink,groupName,serviceName],headerParameters:[accept],serializer:serializer$7};class ProjectsImpl{constructor(e){this.client=e}list(e,a,t){const r=this.listPagingAll(e,a,t);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,a,t)}}listPagingPage(t,r,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,r,i));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listNext(t,r,a,i)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n,o){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s,n,o));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e,a,t){return this.client.sendOperationRequest({groupName:e,serviceName:a,options:t},listOperationSpec$4)}createOrUpdate(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,parameters:r,options:i},createOrUpdateOperationSpec$6)}get(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,options:r},getOperationSpec$6)}delete(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,options:r},deleteOperationSpec$4)}update(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,parameters:r,options:i},updateOperationSpec$4)}_listNext(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,nextLink:t,options:r},listNextOperationSpec$4)}}const serializer$8=coreClient.createSerializer(Mappers,!1),listOperationSpec$4={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects",httpMethod:"GET",responses:{200:{bodyMapper:ProjectList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName],headerParameters:[accept],serializer:serializer$8},createOrUpdateOperationSpec$6={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",httpMethod:"PUT",responses:{200:{bodyMapper:Project},201:{bodyMapper:Project},default:{bodyMapper:ApiError}},requestBody:parameters11,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$8},getOperationSpec$6={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",httpMethod:"GET",responses:{200:{bodyMapper:Project},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer$8},deleteOperationSpec$4={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion,deleteRunningTasks],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer$8},updateOperationSpec$4={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",httpMethod:"PATCH",responses:{200:{bodyMapper:Project},default:{bodyMapper:ApiError}},requestBody:parameters11,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$8},listNextOperationSpec$4={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ProjectList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,groupName,serviceName],headerParameters:[accept],serializer:serializer$8};class UsagesImpl{constructor(e){this.client=e}list(e,a){const t=this.listPagingAll(e,a);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,a)}}listPagingPage(t,r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,r));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listNext(t,a,r)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s,n));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e,a){return this.client.sendOperationRequest({location:e,options:a},listOperationSpec$5)}_listNext(e,a,t){return this.client.sendOperationRequest({location:e,nextLink:a,options:t},listNextOperationSpec$5)}}const serializer$9=coreClient.createSerializer(Mappers,!1),listOperationSpec$5={path:"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages",httpMethod:"GET",responses:{200:{bodyMapper:QuotaList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,location],headerParameters:[accept],serializer:serializer$9},listNextOperationSpec$5={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:QuotaList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,location],headerParameters:[accept],serializer:serializer$9};class FilesImpl{constructor(e){this.client=e}list(e,a,t,r){const i=this.listPagingAll(e,a,t,r);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,a,t,r)}}listPagingPage(t,r,i,s){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,r,i,s));yield yield tslib.__await(e.value||[]);let a=e.nextLink;for(;a;)e=yield tslib.__await(this._listNext(t,r,i,a,s)),a=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s,n,o,l){return tslib.__asyncGenerator(this,arguments,function*(){var a,e;try{for(var t,r=tslib.__asyncValues(this.listPagingPage(s,n,o,l));!(t=yield tslib.__await(r.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){a={error:e}}finally{try{t&&!t.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(a)throw a.error}}})}_list(e,a,t,r){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,options:r},listOperationSpec$6)}get(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,options:i},getOperationSpec$7)}createOrUpdate(e,a,t,r,i,s){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,parameters:i,options:s},createOrUpdateOperationSpec$7)}delete(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,options:i},deleteOperationSpec$5)}update(e,a,t,r,i,s){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,parameters:i,options:s},updateOperationSpec$5)}read(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,options:i},readOperationSpec)}readWrite(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,fileName:r,options:i},readWriteOperationSpec)}_listNext(e,a,t,r,i){return this.client.sendOperationRequest({groupName:e,serviceName:a,projectName:t,nextLink:r,options:i},listNextOperationSpec$6)}}const serializer$a=coreClient.createSerializer(Mappers,!1),listOperationSpec$6={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files",httpMethod:"GET",responses:{200:{bodyMapper:FileList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer$a},getOperationSpec$7={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",httpMethod:"GET",responses:{200:{bodyMapper:ProjectFile},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept],serializer:serializer$a},createOrUpdateOperationSpec$7={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",httpMethod:"PUT",responses:{200:{bodyMapper:ProjectFile},201:{bodyMapper:ProjectFile},default:{bodyMapper:ApiError}},requestBody:parameters12,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$a},deleteOperationSpec$5={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept],serializer:serializer$a},updateOperationSpec$5={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",httpMethod:"PATCH",responses:{200:{bodyMapper:ProjectFile},default:{bodyMapper:ApiError}},requestBody:parameters12,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$a},readOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/read",httpMethod:"POST",responses:{200:{bodyMapper:FileStorageInfo},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept],serializer:serializer$a},readWriteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/readwrite",httpMethod:"POST",responses:{200:{bodyMapper:FileStorageInfo},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groupName,serviceName,projectName,fileName],headerParameters:[accept],serializer:serializer$a},listNextOperationSpec$6={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:FileList},default:{bodyMapper:ApiError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink,groupName,serviceName,projectName],headerParameters:[accept],serializer:serializer$a};class DataMigrationManagementClient extends coreClient.ServiceClient{constructor(e,a,t){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===a)throw new Error("'subscriptionId' cannot be null");var r={requestContentType:"application/json; charset=utf-8",credential:e},e="azsdk-js-arm-datamigration/3.0.0-beta.1",e=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+e:e;t.credentialScopes||(t.credentialScopes=["https://management.azure.com/.default"]),super(Object.assign(Object.assign(Object.assign({},r),t),{userAgentOptions:{userAgentPrefix:e},baseUri:t.endpoint||"https://management.azure.com"})),this.subscriptionId=a,this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2021-10-30-preview",this.databaseMigrationsSqlMi=new DatabaseMigrationsSqlMiImpl(this),this.databaseMigrationsSqlVm=new DatabaseMigrationsSqlVmImpl(this),this.operations=new OperationsImpl(this),this.sqlMigrationServices=new SqlMigrationServicesImpl(this),this.resourceSkus=new ResourceSkusImpl(this),this.services=new ServicesImpl(this),this.tasks=new TasksImpl(this),this.serviceTasks=new ServiceTasksImpl(this),this.projects=new ProjectsImpl(this),this.usages=new UsagesImpl(this),this.files=new FilesImpl(this)}}exports.DataMigrationManagementClient=DataMigrationManagementClient;