@azure/arm-datamigration 3.0.0-alpha.20250721.1 → 3.0.0-alpha.20250723.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (501) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +0 -3
  3. package/dist/browser/dataMigrationManagementClient.d.ts +5 -1
  4. package/dist/browser/dataMigrationManagementClient.d.ts.map +1 -1
  5. package/dist/browser/dataMigrationManagementClient.js +19 -32
  6. package/dist/browser/dataMigrationManagementClient.js.map +1 -1
  7. package/dist/browser/lroImpl.d.ts +6 -11
  8. package/dist/browser/lroImpl.d.ts.map +1 -1
  9. package/dist/browser/lroImpl.js +12 -24
  10. package/dist/browser/lroImpl.js.map +1 -1
  11. package/dist/browser/models/index.d.ts +968 -216
  12. package/dist/browser/models/index.d.ts.map +1 -1
  13. package/dist/browser/models/index.js +52 -8
  14. package/dist/browser/models/index.js.map +1 -1
  15. package/dist/browser/models/mappers.d.ts +47 -14
  16. package/dist/browser/models/mappers.d.ts.map +1 -1
  17. package/dist/browser/models/mappers.js +5531 -5222
  18. package/dist/browser/models/mappers.js.map +1 -1
  19. package/dist/browser/models/parameters.d.ts +21 -12
  20. package/dist/browser/models/parameters.d.ts.map +1 -1
  21. package/dist/browser/models/parameters.js +184 -110
  22. package/dist/browser/models/parameters.js.map +1 -1
  23. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  24. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  25. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +370 -0
  26. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  27. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  28. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  29. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +370 -0
  30. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  31. package/dist/browser/operations/databaseMigrationsSqlDb.d.ts +81 -0
  32. package/dist/browser/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  33. package/dist/browser/operations/databaseMigrationsSqlDb.js +303 -0
  34. package/dist/browser/operations/databaseMigrationsSqlDb.js.map +1 -0
  35. package/dist/browser/operations/databaseMigrationsSqlMi.d.ts +11 -11
  36. package/dist/browser/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  37. package/dist/browser/operations/databaseMigrationsSqlMi.js +95 -99
  38. package/dist/browser/operations/databaseMigrationsSqlMi.js.map +1 -1
  39. package/dist/browser/operations/databaseMigrationsSqlVm.d.ts +11 -11
  40. package/dist/browser/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  41. package/dist/browser/operations/databaseMigrationsSqlVm.js +95 -99
  42. package/dist/browser/operations/databaseMigrationsSqlVm.js.map +1 -1
  43. package/dist/browser/operations/files.js +83 -67
  44. package/dist/browser/operations/files.js.map +1 -1
  45. package/dist/browser/operations/index.d.ts +4 -0
  46. package/dist/browser/operations/index.d.ts.map +1 -1
  47. package/dist/browser/operations/index.js +4 -0
  48. package/dist/browser/operations/index.js.map +1 -1
  49. package/dist/browser/operations/migrationServices.d.ts +144 -0
  50. package/dist/browser/operations/migrationServices.d.ts.map +1 -0
  51. package/dist/browser/operations/migrationServices.js +676 -0
  52. package/dist/browser/operations/migrationServices.js.map +1 -0
  53. package/dist/browser/operations/operations.js +47 -31
  54. package/dist/browser/operations/operations.js.map +1 -1
  55. package/dist/browser/operations/projects.js +73 -57
  56. package/dist/browser/operations/projects.js.map +1 -1
  57. package/dist/browser/operations/resourceSkus.d.ts +2 -2
  58. package/dist/browser/operations/resourceSkus.js +52 -36
  59. package/dist/browser/operations/resourceSkus.js.map +1 -1
  60. package/dist/browser/operations/serviceTasks.d.ts +16 -13
  61. package/dist/browser/operations/serviceTasks.d.ts.map +1 -1
  62. package/dist/browser/operations/serviceTasks.js +95 -76
  63. package/dist/browser/operations/serviceTasks.js.map +1 -1
  64. package/dist/browser/operations/services.d.ts +59 -58
  65. package/dist/browser/operations/services.d.ts.map +1 -1
  66. package/dist/browser/operations/services.js +332 -288
  67. package/dist/browser/operations/services.js.map +1 -1
  68. package/dist/browser/operations/sqlMigrationServices.d.ts +13 -12
  69. package/dist/browser/operations/sqlMigrationServices.d.ts.map +1 -1
  70. package/dist/browser/operations/sqlMigrationServices.js +240 -194
  71. package/dist/browser/operations/sqlMigrationServices.js.map +1 -1
  72. package/dist/browser/operations/tasks.d.ts +20 -20
  73. package/dist/browser/operations/tasks.js +105 -89
  74. package/dist/browser/operations/tasks.js.map +1 -1
  75. package/dist/browser/operations/usages.d.ts +4 -4
  76. package/dist/browser/operations/usages.js +55 -39
  77. package/dist/browser/operations/usages.js.map +1 -1
  78. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  79. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  80. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
  81. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  82. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  83. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  84. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
  85. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  86. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  87. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  88. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
  89. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  90. package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  91. package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  92. package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  93. package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  94. package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  95. package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  96. package/dist/browser/operationsInterfaces/files.js.map +1 -1
  97. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  98. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  99. package/dist/browser/operationsInterfaces/index.js +4 -0
  100. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  101. package/dist/browser/operationsInterfaces/migrationServices.d.ts +87 -0
  102. package/dist/browser/operationsInterfaces/migrationServices.d.ts.map +1 -0
  103. package/dist/browser/operationsInterfaces/migrationServices.js +9 -0
  104. package/dist/browser/operationsInterfaces/migrationServices.js.map +1 -0
  105. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  106. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  107. package/dist/browser/operationsInterfaces/projects.js.map +1 -1
  108. package/dist/browser/operationsInterfaces/resourceSkus.d.ts +1 -1
  109. package/dist/browser/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  110. package/dist/browser/operationsInterfaces/resourceSkus.js.map +1 -1
  111. package/dist/browser/operationsInterfaces/serviceTasks.d.ts +12 -10
  112. package/dist/browser/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  113. package/dist/browser/operationsInterfaces/serviceTasks.js.map +1 -1
  114. package/dist/browser/operationsInterfaces/services.d.ts +53 -52
  115. package/dist/browser/operationsInterfaces/services.d.ts.map +1 -1
  116. package/dist/browser/operationsInterfaces/services.js.map +1 -1
  117. package/dist/browser/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  118. package/dist/browser/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  119. package/dist/browser/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  120. package/dist/browser/operationsInterfaces/tasks.d.ts +17 -17
  121. package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
  122. package/dist/browser/operationsInterfaces/usages.d.ts +2 -2
  123. package/dist/browser/operationsInterfaces/usages.js.map +1 -1
  124. package/dist/browser/pagingHelper.d.ts +4 -4
  125. package/dist/browser/pagingHelper.js +8 -6
  126. package/dist/browser/pagingHelper.js.map +1 -1
  127. package/dist/commonjs/dataMigrationManagementClient.d.ts +5 -1
  128. package/dist/commonjs/dataMigrationManagementClient.d.ts.map +1 -1
  129. package/dist/commonjs/dataMigrationManagementClient.js +18 -31
  130. package/dist/commonjs/dataMigrationManagementClient.js.map +1 -1
  131. package/dist/commonjs/lroImpl.d.ts +6 -11
  132. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  133. package/dist/commonjs/lroImpl.js +13 -26
  134. package/dist/commonjs/lroImpl.js.map +1 -1
  135. package/dist/commonjs/models/index.d.ts +968 -216
  136. package/dist/commonjs/models/index.d.ts.map +1 -1
  137. package/dist/commonjs/models/index.js +54 -10
  138. package/dist/commonjs/models/index.js.map +1 -1
  139. package/dist/commonjs/models/mappers.d.ts +47 -14
  140. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  141. package/dist/commonjs/models/mappers.js +5538 -5229
  142. package/dist/commonjs/models/mappers.js.map +1 -1
  143. package/dist/commonjs/models/parameters.d.ts +21 -12
  144. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  145. package/dist/commonjs/models/parameters.js +184 -110
  146. package/dist/commonjs/models/parameters.js.map +1 -1
  147. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  148. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  149. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +374 -0
  150. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  151. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  152. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  153. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +374 -0
  154. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  155. package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts +81 -0
  156. package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  157. package/dist/commonjs/operations/databaseMigrationsSqlDb.js +308 -0
  158. package/dist/commonjs/operations/databaseMigrationsSqlDb.js.map +1 -0
  159. package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts +11 -11
  160. package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  161. package/dist/commonjs/operations/databaseMigrationsSqlMi.js +93 -97
  162. package/dist/commonjs/operations/databaseMigrationsSqlMi.js.map +1 -1
  163. package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts +11 -11
  164. package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  165. package/dist/commonjs/operations/databaseMigrationsSqlVm.js +93 -97
  166. package/dist/commonjs/operations/databaseMigrationsSqlVm.js.map +1 -1
  167. package/dist/commonjs/operations/files.js +82 -67
  168. package/dist/commonjs/operations/files.js.map +1 -1
  169. package/dist/commonjs/operations/index.d.ts +4 -0
  170. package/dist/commonjs/operations/index.d.ts.map +1 -1
  171. package/dist/commonjs/operations/index.js +4 -0
  172. package/dist/commonjs/operations/index.js.map +1 -1
  173. package/dist/commonjs/operations/migrationServices.d.ts +144 -0
  174. package/dist/commonjs/operations/migrationServices.d.ts.map +1 -0
  175. package/dist/commonjs/operations/migrationServices.js +680 -0
  176. package/dist/commonjs/operations/migrationServices.js.map +1 -0
  177. package/dist/commonjs/operations/operations.js +46 -31
  178. package/dist/commonjs/operations/operations.js.map +1 -1
  179. package/dist/commonjs/operations/projects.js +72 -57
  180. package/dist/commonjs/operations/projects.js.map +1 -1
  181. package/dist/commonjs/operations/resourceSkus.d.ts +2 -2
  182. package/dist/commonjs/operations/resourceSkus.js +51 -36
  183. package/dist/commonjs/operations/resourceSkus.js.map +1 -1
  184. package/dist/commonjs/operations/serviceTasks.d.ts +16 -13
  185. package/dist/commonjs/operations/serviceTasks.d.ts.map +1 -1
  186. package/dist/commonjs/operations/serviceTasks.js +94 -76
  187. package/dist/commonjs/operations/serviceTasks.js.map +1 -1
  188. package/dist/commonjs/operations/services.d.ts +59 -58
  189. package/dist/commonjs/operations/services.d.ts.map +1 -1
  190. package/dist/commonjs/operations/services.js +329 -286
  191. package/dist/commonjs/operations/services.js.map +1 -1
  192. package/dist/commonjs/operations/sqlMigrationServices.d.ts +13 -12
  193. package/dist/commonjs/operations/sqlMigrationServices.d.ts.map +1 -1
  194. package/dist/commonjs/operations/sqlMigrationServices.js +237 -192
  195. package/dist/commonjs/operations/sqlMigrationServices.js.map +1 -1
  196. package/dist/commonjs/operations/tasks.d.ts +20 -20
  197. package/dist/commonjs/operations/tasks.js +104 -89
  198. package/dist/commonjs/operations/tasks.js.map +1 -1
  199. package/dist/commonjs/operations/usages.d.ts +4 -4
  200. package/dist/commonjs/operations/usages.js +54 -39
  201. package/dist/commonjs/operations/usages.js.map +1 -1
  202. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  203. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  204. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +10 -0
  205. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  206. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  207. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  208. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +10 -0
  209. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  210. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  211. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  212. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js +10 -0
  213. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  214. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  215. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  216. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  217. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  218. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  219. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  220. package/dist/commonjs/operationsInterfaces/files.js.map +1 -1
  221. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
  222. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  223. package/dist/commonjs/operationsInterfaces/index.js +4 -0
  224. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  225. package/dist/commonjs/operationsInterfaces/migrationServices.d.ts +87 -0
  226. package/dist/commonjs/operationsInterfaces/migrationServices.d.ts.map +1 -0
  227. package/dist/commonjs/operationsInterfaces/migrationServices.js +10 -0
  228. package/dist/commonjs/operationsInterfaces/migrationServices.js.map +1 -0
  229. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  230. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  231. package/dist/commonjs/operationsInterfaces/projects.js.map +1 -1
  232. package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts +1 -1
  233. package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  234. package/dist/commonjs/operationsInterfaces/resourceSkus.js.map +1 -1
  235. package/dist/commonjs/operationsInterfaces/serviceTasks.d.ts +12 -10
  236. package/dist/commonjs/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  237. package/dist/commonjs/operationsInterfaces/serviceTasks.js.map +1 -1
  238. package/dist/commonjs/operationsInterfaces/services.d.ts +53 -52
  239. package/dist/commonjs/operationsInterfaces/services.d.ts.map +1 -1
  240. package/dist/commonjs/operationsInterfaces/services.js.map +1 -1
  241. package/dist/commonjs/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  242. package/dist/commonjs/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  243. package/dist/commonjs/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  244. package/dist/commonjs/operationsInterfaces/tasks.d.ts +17 -17
  245. package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
  246. package/dist/commonjs/operationsInterfaces/usages.d.ts +2 -2
  247. package/dist/commonjs/operationsInterfaces/usages.js.map +1 -1
  248. package/dist/commonjs/pagingHelper.d.ts +4 -4
  249. package/dist/commonjs/pagingHelper.js +8 -6
  250. package/dist/commonjs/pagingHelper.js.map +1 -1
  251. package/dist/esm/dataMigrationManagementClient.d.ts +5 -1
  252. package/dist/esm/dataMigrationManagementClient.d.ts.map +1 -1
  253. package/dist/esm/dataMigrationManagementClient.js +19 -32
  254. package/dist/esm/dataMigrationManagementClient.js.map +1 -1
  255. package/dist/esm/lroImpl.d.ts +6 -11
  256. package/dist/esm/lroImpl.d.ts.map +1 -1
  257. package/dist/esm/lroImpl.js +12 -24
  258. package/dist/esm/lroImpl.js.map +1 -1
  259. package/dist/esm/models/index.d.ts +968 -216
  260. package/dist/esm/models/index.d.ts.map +1 -1
  261. package/dist/esm/models/index.js +52 -8
  262. package/dist/esm/models/index.js.map +1 -1
  263. package/dist/esm/models/mappers.d.ts +47 -14
  264. package/dist/esm/models/mappers.d.ts.map +1 -1
  265. package/dist/esm/models/mappers.js +5531 -5222
  266. package/dist/esm/models/mappers.js.map +1 -1
  267. package/dist/esm/models/parameters.d.ts +21 -12
  268. package/dist/esm/models/parameters.d.ts.map +1 -1
  269. package/dist/esm/models/parameters.js +184 -110
  270. package/dist/esm/models/parameters.js.map +1 -1
  271. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  272. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  273. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +370 -0
  274. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  275. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  276. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  277. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +370 -0
  278. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  279. package/dist/esm/operations/databaseMigrationsSqlDb.d.ts +81 -0
  280. package/dist/esm/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  281. package/dist/esm/operations/databaseMigrationsSqlDb.js +303 -0
  282. package/dist/esm/operations/databaseMigrationsSqlDb.js.map +1 -0
  283. package/dist/esm/operations/databaseMigrationsSqlMi.d.ts +11 -11
  284. package/dist/esm/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  285. package/dist/esm/operations/databaseMigrationsSqlMi.js +95 -99
  286. package/dist/esm/operations/databaseMigrationsSqlMi.js.map +1 -1
  287. package/dist/esm/operations/databaseMigrationsSqlVm.d.ts +11 -11
  288. package/dist/esm/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  289. package/dist/esm/operations/databaseMigrationsSqlVm.js +95 -99
  290. package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
  291. package/dist/esm/operations/files.js +83 -67
  292. package/dist/esm/operations/files.js.map +1 -1
  293. package/dist/esm/operations/index.d.ts +4 -0
  294. package/dist/esm/operations/index.d.ts.map +1 -1
  295. package/dist/esm/operations/index.js +4 -0
  296. package/dist/esm/operations/index.js.map +1 -1
  297. package/dist/esm/operations/migrationServices.d.ts +144 -0
  298. package/dist/esm/operations/migrationServices.d.ts.map +1 -0
  299. package/dist/esm/operations/migrationServices.js +676 -0
  300. package/dist/esm/operations/migrationServices.js.map +1 -0
  301. package/dist/esm/operations/operations.js +47 -31
  302. package/dist/esm/operations/operations.js.map +1 -1
  303. package/dist/esm/operations/projects.js +73 -57
  304. package/dist/esm/operations/projects.js.map +1 -1
  305. package/dist/esm/operations/resourceSkus.d.ts +2 -2
  306. package/dist/esm/operations/resourceSkus.js +52 -36
  307. package/dist/esm/operations/resourceSkus.js.map +1 -1
  308. package/dist/esm/operations/serviceTasks.d.ts +16 -13
  309. package/dist/esm/operations/serviceTasks.d.ts.map +1 -1
  310. package/dist/esm/operations/serviceTasks.js +95 -76
  311. package/dist/esm/operations/serviceTasks.js.map +1 -1
  312. package/dist/esm/operations/services.d.ts +59 -58
  313. package/dist/esm/operations/services.d.ts.map +1 -1
  314. package/dist/esm/operations/services.js +332 -288
  315. package/dist/esm/operations/services.js.map +1 -1
  316. package/dist/esm/operations/sqlMigrationServices.d.ts +13 -12
  317. package/dist/esm/operations/sqlMigrationServices.d.ts.map +1 -1
  318. package/dist/esm/operations/sqlMigrationServices.js +240 -194
  319. package/dist/esm/operations/sqlMigrationServices.js.map +1 -1
  320. package/dist/esm/operations/tasks.d.ts +20 -20
  321. package/dist/esm/operations/tasks.js +105 -89
  322. package/dist/esm/operations/tasks.js.map +1 -1
  323. package/dist/esm/operations/usages.d.ts +4 -4
  324. package/dist/esm/operations/usages.js +55 -39
  325. package/dist/esm/operations/usages.js.map +1 -1
  326. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  327. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  328. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
  329. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  330. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  331. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  332. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
  333. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  334. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  335. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  336. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
  337. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  338. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  339. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  340. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  341. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  342. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  343. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  344. package/dist/esm/operationsInterfaces/files.js.map +1 -1
  345. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  346. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  347. package/dist/esm/operationsInterfaces/index.js +4 -0
  348. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  349. package/dist/esm/operationsInterfaces/migrationServices.d.ts +87 -0
  350. package/dist/esm/operationsInterfaces/migrationServices.d.ts.map +1 -0
  351. package/dist/esm/operationsInterfaces/migrationServices.js +9 -0
  352. package/dist/esm/operationsInterfaces/migrationServices.js.map +1 -0
  353. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  354. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  355. package/dist/esm/operationsInterfaces/projects.js.map +1 -1
  356. package/dist/esm/operationsInterfaces/resourceSkus.d.ts +1 -1
  357. package/dist/esm/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  358. package/dist/esm/operationsInterfaces/resourceSkus.js.map +1 -1
  359. package/dist/esm/operationsInterfaces/serviceTasks.d.ts +12 -10
  360. package/dist/esm/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  361. package/dist/esm/operationsInterfaces/serviceTasks.js.map +1 -1
  362. package/dist/esm/operationsInterfaces/services.d.ts +53 -52
  363. package/dist/esm/operationsInterfaces/services.d.ts.map +1 -1
  364. package/dist/esm/operationsInterfaces/services.js.map +1 -1
  365. package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  366. package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  367. package/dist/esm/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  368. package/dist/esm/operationsInterfaces/tasks.d.ts +17 -17
  369. package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
  370. package/dist/esm/operationsInterfaces/usages.d.ts +2 -2
  371. package/dist/esm/operationsInterfaces/usages.js.map +1 -1
  372. package/dist/esm/pagingHelper.d.ts +4 -4
  373. package/dist/esm/pagingHelper.js +8 -6
  374. package/dist/esm/pagingHelper.js.map +1 -1
  375. package/dist/react-native/dataMigrationManagementClient.d.ts +5 -1
  376. package/dist/react-native/dataMigrationManagementClient.d.ts.map +1 -1
  377. package/dist/react-native/dataMigrationManagementClient.js +19 -32
  378. package/dist/react-native/dataMigrationManagementClient.js.map +1 -1
  379. package/dist/react-native/lroImpl.d.ts +6 -11
  380. package/dist/react-native/lroImpl.d.ts.map +1 -1
  381. package/dist/react-native/lroImpl.js +12 -24
  382. package/dist/react-native/lroImpl.js.map +1 -1
  383. package/dist/react-native/models/index.d.ts +968 -216
  384. package/dist/react-native/models/index.d.ts.map +1 -1
  385. package/dist/react-native/models/index.js +52 -8
  386. package/dist/react-native/models/index.js.map +1 -1
  387. package/dist/react-native/models/mappers.d.ts +47 -14
  388. package/dist/react-native/models/mappers.d.ts.map +1 -1
  389. package/dist/react-native/models/mappers.js +5531 -5222
  390. package/dist/react-native/models/mappers.js.map +1 -1
  391. package/dist/react-native/models/parameters.d.ts +21 -12
  392. package/dist/react-native/models/parameters.d.ts.map +1 -1
  393. package/dist/react-native/models/parameters.js +184 -110
  394. package/dist/react-native/models/parameters.js.map +1 -1
  395. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  396. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  397. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +370 -0
  398. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  399. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  400. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  401. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +370 -0
  402. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  403. package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts +81 -0
  404. package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  405. package/dist/react-native/operations/databaseMigrationsSqlDb.js +303 -0
  406. package/dist/react-native/operations/databaseMigrationsSqlDb.js.map +1 -0
  407. package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts +11 -11
  408. package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  409. package/dist/react-native/operations/databaseMigrationsSqlMi.js +95 -99
  410. package/dist/react-native/operations/databaseMigrationsSqlMi.js.map +1 -1
  411. package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts +11 -11
  412. package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  413. package/dist/react-native/operations/databaseMigrationsSqlVm.js +95 -99
  414. package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
  415. package/dist/react-native/operations/files.js +83 -67
  416. package/dist/react-native/operations/files.js.map +1 -1
  417. package/dist/react-native/operations/index.d.ts +4 -0
  418. package/dist/react-native/operations/index.d.ts.map +1 -1
  419. package/dist/react-native/operations/index.js +4 -0
  420. package/dist/react-native/operations/index.js.map +1 -1
  421. package/dist/react-native/operations/migrationServices.d.ts +144 -0
  422. package/dist/react-native/operations/migrationServices.d.ts.map +1 -0
  423. package/dist/react-native/operations/migrationServices.js +676 -0
  424. package/dist/react-native/operations/migrationServices.js.map +1 -0
  425. package/dist/react-native/operations/operations.js +47 -31
  426. package/dist/react-native/operations/operations.js.map +1 -1
  427. package/dist/react-native/operations/projects.js +73 -57
  428. package/dist/react-native/operations/projects.js.map +1 -1
  429. package/dist/react-native/operations/resourceSkus.d.ts +2 -2
  430. package/dist/react-native/operations/resourceSkus.js +52 -36
  431. package/dist/react-native/operations/resourceSkus.js.map +1 -1
  432. package/dist/react-native/operations/serviceTasks.d.ts +16 -13
  433. package/dist/react-native/operations/serviceTasks.d.ts.map +1 -1
  434. package/dist/react-native/operations/serviceTasks.js +95 -76
  435. package/dist/react-native/operations/serviceTasks.js.map +1 -1
  436. package/dist/react-native/operations/services.d.ts +59 -58
  437. package/dist/react-native/operations/services.d.ts.map +1 -1
  438. package/dist/react-native/operations/services.js +332 -288
  439. package/dist/react-native/operations/services.js.map +1 -1
  440. package/dist/react-native/operations/sqlMigrationServices.d.ts +13 -12
  441. package/dist/react-native/operations/sqlMigrationServices.d.ts.map +1 -1
  442. package/dist/react-native/operations/sqlMigrationServices.js +240 -194
  443. package/dist/react-native/operations/sqlMigrationServices.js.map +1 -1
  444. package/dist/react-native/operations/tasks.d.ts +20 -20
  445. package/dist/react-native/operations/tasks.js +105 -89
  446. package/dist/react-native/operations/tasks.js.map +1 -1
  447. package/dist/react-native/operations/usages.d.ts +4 -4
  448. package/dist/react-native/operations/usages.js +55 -39
  449. package/dist/react-native/operations/usages.js.map +1 -1
  450. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  451. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  452. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
  453. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  454. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  455. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  456. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
  457. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  458. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  459. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  460. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
  461. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  462. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  463. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  464. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  465. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  466. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  467. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  468. package/dist/react-native/operationsInterfaces/files.js.map +1 -1
  469. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  470. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  471. package/dist/react-native/operationsInterfaces/index.js +4 -0
  472. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  473. package/dist/react-native/operationsInterfaces/migrationServices.d.ts +87 -0
  474. package/dist/react-native/operationsInterfaces/migrationServices.d.ts.map +1 -0
  475. package/dist/react-native/operationsInterfaces/migrationServices.js +9 -0
  476. package/dist/react-native/operationsInterfaces/migrationServices.js.map +1 -0
  477. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  478. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  479. package/dist/react-native/operationsInterfaces/projects.js.map +1 -1
  480. package/dist/react-native/operationsInterfaces/resourceSkus.d.ts +1 -1
  481. package/dist/react-native/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  482. package/dist/react-native/operationsInterfaces/resourceSkus.js.map +1 -1
  483. package/dist/react-native/operationsInterfaces/serviceTasks.d.ts +12 -10
  484. package/dist/react-native/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  485. package/dist/react-native/operationsInterfaces/serviceTasks.js.map +1 -1
  486. package/dist/react-native/operationsInterfaces/services.d.ts +53 -52
  487. package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -1
  488. package/dist/react-native/operationsInterfaces/services.js.map +1 -1
  489. package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  490. package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  491. package/dist/react-native/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  492. package/dist/react-native/operationsInterfaces/tasks.d.ts +17 -17
  493. package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
  494. package/dist/react-native/operationsInterfaces/usages.d.ts +2 -2
  495. package/dist/react-native/operationsInterfaces/usages.js.map +1 -1
  496. package/dist/react-native/pagingHelper.d.ts +4 -4
  497. package/dist/react-native/pagingHelper.js +8 -6
  498. package/dist/react-native/pagingHelper.js.map +1 -1
  499. package/package.json +26 -27
  500. package/CHANGELOG.md +0 -21
  501. package/review/arm-datamigration-node.api.md +0 -4103
@@ -5,16 +5,16 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
8
9
  import { setContinuationToken } from "../pagingHelper.js";
9
10
  import * as coreClient from "@azure/core-client";
10
11
  import * as Mappers from "../models/mappers.js";
11
12
  import * as Parameters from "../models/parameters.js";
12
- import { LroEngine } from "@azure/core-lro";
13
- import { LroImpl } from "../lroImpl.js";
13
+ import { createHttpPoller, } from "@azure/core-lro";
14
+ import { createLroSpec } from "../lroImpl.js";
14
15
  /// <reference lib="esnext.asynciterable" />
15
16
  /** Class containing SqlMigrationServices operations. */
16
17
  export class SqlMigrationServicesImpl {
17
- client;
18
18
  /**
19
19
  * Initialize a new instance of the class SqlMigrationServices class.
20
20
  * @param client Reference to the service client
@@ -38,35 +38,52 @@ export class SqlMigrationServicesImpl {
38
38
  return this;
39
39
  },
40
40
  byPage: (settings) => {
41
- if (settings?.maxPageSize) {
41
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
42
42
  throw new Error("maxPageSize is not supported by this operation.");
43
43
  }
44
44
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
45
- }
45
+ },
46
46
  };
47
47
  }
48
- async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
49
- let result;
50
- let continuationToken = settings?.continuationToken;
51
- if (!continuationToken) {
52
- result = await this._listByResourceGroup(resourceGroupName, options);
53
- let page = result.value || [];
54
- continuationToken = result.nextLink;
55
- setContinuationToken(page, continuationToken);
56
- yield page;
57
- }
58
- while (continuationToken) {
59
- result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
60
- continuationToken = result.nextLink;
61
- let page = result.value || [];
62
- setContinuationToken(page, continuationToken);
63
- yield page;
64
- }
48
+ listByResourceGroupPagingPage(resourceGroupName, options, settings) {
49
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
50
+ let result;
51
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
52
+ if (!continuationToken) {
53
+ result = yield __await(this._listByResourceGroup(resourceGroupName, options));
54
+ let page = result.value || [];
55
+ continuationToken = result.nextLink;
56
+ setContinuationToken(page, continuationToken);
57
+ yield yield __await(page);
58
+ }
59
+ while (continuationToken) {
60
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
61
+ continuationToken = result.nextLink;
62
+ let page = result.value || [];
63
+ setContinuationToken(page, continuationToken);
64
+ yield yield __await(page);
65
+ }
66
+ });
65
67
  }
66
- async *listByResourceGroupPagingAll(resourceGroupName, options) {
67
- for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
68
- yield* page;
69
- }
68
+ listByResourceGroupPagingAll(resourceGroupName, options) {
69
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
70
+ var _a, e_1, _b, _c;
71
+ try {
72
+ for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
73
+ _c = _f.value;
74
+ _d = false;
75
+ const page = _c;
76
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
77
+ }
78
+ }
79
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
80
+ finally {
81
+ try {
82
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
83
+ }
84
+ finally { if (e_1) throw e_1.error; }
85
+ }
86
+ });
70
87
  }
71
88
  /**
72
89
  * Retrieve the List of database migrations attached to the service.
@@ -85,35 +102,52 @@ export class SqlMigrationServicesImpl {
85
102
  return this;
86
103
  },
87
104
  byPage: (settings) => {
88
- if (settings?.maxPageSize) {
105
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
89
106
  throw new Error("maxPageSize is not supported by this operation.");
90
107
  }
91
108
  return this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings);
92
- }
109
+ },
93
110
  };
94
111
  }
95
- async *listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings) {
96
- let result;
97
- let continuationToken = settings?.continuationToken;
98
- if (!continuationToken) {
99
- result = await this._listMigrations(resourceGroupName, sqlMigrationServiceName, options);
100
- let page = result.value || [];
101
- continuationToken = result.nextLink;
102
- setContinuationToken(page, continuationToken);
103
- yield page;
104
- }
105
- while (continuationToken) {
106
- result = await this._listMigrationsNext(resourceGroupName, sqlMigrationServiceName, continuationToken, options);
107
- continuationToken = result.nextLink;
108
- let page = result.value || [];
109
- setContinuationToken(page, continuationToken);
110
- yield page;
111
- }
112
+ listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings) {
113
+ return __asyncGenerator(this, arguments, function* listMigrationsPagingPage_1() {
114
+ let result;
115
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
116
+ if (!continuationToken) {
117
+ result = yield __await(this._listMigrations(resourceGroupName, sqlMigrationServiceName, options));
118
+ let page = result.value || [];
119
+ continuationToken = result.nextLink;
120
+ setContinuationToken(page, continuationToken);
121
+ yield yield __await(page);
122
+ }
123
+ while (continuationToken) {
124
+ result = yield __await(this._listMigrationsNext(resourceGroupName, sqlMigrationServiceName, continuationToken, options));
125
+ continuationToken = result.nextLink;
126
+ let page = result.value || [];
127
+ setContinuationToken(page, continuationToken);
128
+ yield yield __await(page);
129
+ }
130
+ });
112
131
  }
113
- async *listMigrationsPagingAll(resourceGroupName, sqlMigrationServiceName, options) {
114
- for await (const page of this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options)) {
115
- yield* page;
116
- }
132
+ listMigrationsPagingAll(resourceGroupName, sqlMigrationServiceName, options) {
133
+ return __asyncGenerator(this, arguments, function* listMigrationsPagingAll_1() {
134
+ var _a, e_2, _b, _c;
135
+ try {
136
+ for (var _d = true, _e = __asyncValues(this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
137
+ _c = _f.value;
138
+ _d = false;
139
+ const page = _c;
140
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
141
+ }
142
+ }
143
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
144
+ finally {
145
+ try {
146
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
147
+ }
148
+ finally { if (e_2) throw e_2.error; }
149
+ }
150
+ });
117
151
  }
118
152
  /**
119
153
  * Retrieve all SQL migration services in the subscriptions.
@@ -129,38 +163,55 @@ export class SqlMigrationServicesImpl {
129
163
  return this;
130
164
  },
131
165
  byPage: (settings) => {
132
- if (settings?.maxPageSize) {
166
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
133
167
  throw new Error("maxPageSize is not supported by this operation.");
134
168
  }
135
169
  return this.listBySubscriptionPagingPage(options, settings);
136
- }
170
+ },
137
171
  };
138
172
  }
139
- async *listBySubscriptionPagingPage(options, settings) {
140
- let result;
141
- let continuationToken = settings?.continuationToken;
142
- if (!continuationToken) {
143
- result = await this._listBySubscription(options);
144
- let page = result.value || [];
145
- continuationToken = result.nextLink;
146
- setContinuationToken(page, continuationToken);
147
- yield page;
148
- }
149
- while (continuationToken) {
150
- result = await this._listBySubscriptionNext(continuationToken, options);
151
- continuationToken = result.nextLink;
152
- let page = result.value || [];
153
- setContinuationToken(page, continuationToken);
154
- yield page;
155
- }
173
+ listBySubscriptionPagingPage(options, settings) {
174
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
175
+ let result;
176
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
177
+ if (!continuationToken) {
178
+ result = yield __await(this._listBySubscription(options));
179
+ let page = result.value || [];
180
+ continuationToken = result.nextLink;
181
+ setContinuationToken(page, continuationToken);
182
+ yield yield __await(page);
183
+ }
184
+ while (continuationToken) {
185
+ result = yield __await(this._listBySubscriptionNext(continuationToken, options));
186
+ continuationToken = result.nextLink;
187
+ let page = result.value || [];
188
+ setContinuationToken(page, continuationToken);
189
+ yield yield __await(page);
190
+ }
191
+ });
156
192
  }
157
- async *listBySubscriptionPagingAll(options) {
158
- for await (const page of this.listBySubscriptionPagingPage(options)) {
159
- yield* page;
160
- }
193
+ listBySubscriptionPagingAll(options) {
194
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
195
+ var _a, e_3, _b, _c;
196
+ try {
197
+ for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
198
+ _c = _f.value;
199
+ _d = false;
200
+ const page = _c;
201
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
202
+ }
203
+ }
204
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
205
+ finally {
206
+ try {
207
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
208
+ }
209
+ finally { if (e_3) throw e_3.error; }
210
+ }
211
+ });
161
212
  }
162
213
  /**
163
- * Retrieve the Migration Service.
214
+ * Retrieve the Database Migration Service
164
215
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
165
216
  * value from the Azure Resource Manager API or the portal.
166
217
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -170,7 +221,7 @@ export class SqlMigrationServicesImpl {
170
221
  return this.client.sendOperationRequest({ resourceGroupName, sqlMigrationServiceName, options }, getOperationSpec);
171
222
  }
172
223
  /**
173
- * Create or Update SQL Migration Service.
224
+ * Create or Update Database Migration Service.
174
225
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
175
226
  * value from the Azure Resource Manager API or the portal.
176
227
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -181,40 +232,39 @@ export class SqlMigrationServicesImpl {
181
232
  const directSendOperation = async (args, spec) => {
182
233
  return this.client.sendOperationRequest(args, spec);
183
234
  };
184
- const sendOperation = async (args, spec) => {
235
+ const sendOperationFn = async (args, spec) => {
236
+ var _a;
185
237
  let currentRawResponse = undefined;
186
- const providedCallback = args.options?.onResponse;
238
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
187
239
  const callback = (rawResponse, flatResponse) => {
188
240
  currentRawResponse = rawResponse;
189
- providedCallback?.(rawResponse, flatResponse);
190
- };
191
- const updatedArgs = {
192
- ...args,
193
- options: {
194
- ...args.options,
195
- onResponse: callback
196
- }
241
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
197
242
  };
243
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
198
244
  const flatResponse = await directSendOperation(updatedArgs, spec);
199
245
  return {
200
246
  flatResponse,
201
247
  rawResponse: {
202
248
  statusCode: currentRawResponse.status,
203
249
  body: currentRawResponse.parsedBody,
204
- headers: currentRawResponse.headers.toJSON()
205
- }
250
+ headers: currentRawResponse.headers.toJSON(),
251
+ },
206
252
  };
207
253
  };
208
- const lro = new LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, parameters, options }, createOrUpdateOperationSpec);
209
- const poller = new LroEngine(lro, {
210
- resumeFrom: options?.resumeFrom,
211
- intervalInMs: options?.updateIntervalInMs
254
+ const lro = createLroSpec({
255
+ sendOperationFn,
256
+ args: { resourceGroupName, sqlMigrationServiceName, parameters, options },
257
+ spec: createOrUpdateOperationSpec,
258
+ });
259
+ const poller = await createHttpPoller(lro, {
260
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
261
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
212
262
  });
213
263
  await poller.poll();
214
264
  return poller;
215
265
  }
216
266
  /**
217
- * Create or Update SQL Migration Service.
267
+ * Create or Update Database Migration Service.
218
268
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
219
269
  * value from the Azure Resource Manager API or the portal.
220
270
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -226,7 +276,7 @@ export class SqlMigrationServicesImpl {
226
276
  return poller.pollUntilDone();
227
277
  }
228
278
  /**
229
- * Delete SQL Migration Service.
279
+ * Delete Database Migration Service.
230
280
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
231
281
  * value from the Azure Resource Manager API or the portal.
232
282
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -236,40 +286,39 @@ export class SqlMigrationServicesImpl {
236
286
  const directSendOperation = async (args, spec) => {
237
287
  return this.client.sendOperationRequest(args, spec);
238
288
  };
239
- const sendOperation = async (args, spec) => {
289
+ const sendOperationFn = async (args, spec) => {
290
+ var _a;
240
291
  let currentRawResponse = undefined;
241
- const providedCallback = args.options?.onResponse;
292
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
242
293
  const callback = (rawResponse, flatResponse) => {
243
294
  currentRawResponse = rawResponse;
244
- providedCallback?.(rawResponse, flatResponse);
245
- };
246
- const updatedArgs = {
247
- ...args,
248
- options: {
249
- ...args.options,
250
- onResponse: callback
251
- }
295
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
252
296
  };
297
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
253
298
  const flatResponse = await directSendOperation(updatedArgs, spec);
254
299
  return {
255
300
  flatResponse,
256
301
  rawResponse: {
257
302
  statusCode: currentRawResponse.status,
258
303
  body: currentRawResponse.parsedBody,
259
- headers: currentRawResponse.headers.toJSON()
260
- }
304
+ headers: currentRawResponse.headers.toJSON(),
305
+ },
261
306
  };
262
307
  };
263
- const lro = new LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, options }, deleteOperationSpec);
264
- const poller = new LroEngine(lro, {
265
- resumeFrom: options?.resumeFrom,
266
- intervalInMs: options?.updateIntervalInMs
308
+ const lro = createLroSpec({
309
+ sendOperationFn,
310
+ args: { resourceGroupName, sqlMigrationServiceName, options },
311
+ spec: deleteOperationSpec,
312
+ });
313
+ const poller = await createHttpPoller(lro, {
314
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
315
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
267
316
  });
268
317
  await poller.poll();
269
318
  return poller;
270
319
  }
271
320
  /**
272
- * Delete SQL Migration Service.
321
+ * Delete Database Migration Service.
273
322
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
274
323
  * value from the Azure Resource Manager API or the portal.
275
324
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -280,7 +329,7 @@ export class SqlMigrationServicesImpl {
280
329
  return poller.pollUntilDone();
281
330
  }
282
331
  /**
283
- * Update SQL Migration Service.
332
+ * Update Database Migration Service.
284
333
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
285
334
  * value from the Azure Resource Manager API or the portal.
286
335
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -291,40 +340,39 @@ export class SqlMigrationServicesImpl {
291
340
  const directSendOperation = async (args, spec) => {
292
341
  return this.client.sendOperationRequest(args, spec);
293
342
  };
294
- const sendOperation = async (args, spec) => {
343
+ const sendOperationFn = async (args, spec) => {
344
+ var _a;
295
345
  let currentRawResponse = undefined;
296
- const providedCallback = args.options?.onResponse;
346
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
297
347
  const callback = (rawResponse, flatResponse) => {
298
348
  currentRawResponse = rawResponse;
299
- providedCallback?.(rawResponse, flatResponse);
300
- };
301
- const updatedArgs = {
302
- ...args,
303
- options: {
304
- ...args.options,
305
- onResponse: callback
306
- }
349
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
307
350
  };
351
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
308
352
  const flatResponse = await directSendOperation(updatedArgs, spec);
309
353
  return {
310
354
  flatResponse,
311
355
  rawResponse: {
312
356
  statusCode: currentRawResponse.status,
313
357
  body: currentRawResponse.parsedBody,
314
- headers: currentRawResponse.headers.toJSON()
315
- }
358
+ headers: currentRawResponse.headers.toJSON(),
359
+ },
316
360
  };
317
361
  };
318
- const lro = new LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, parameters, options }, updateOperationSpec);
319
- const poller = new LroEngine(lro, {
320
- resumeFrom: options?.resumeFrom,
321
- intervalInMs: options?.updateIntervalInMs
362
+ const lro = createLroSpec({
363
+ sendOperationFn,
364
+ args: { resourceGroupName, sqlMigrationServiceName, parameters, options },
365
+ spec: updateOperationSpec,
366
+ });
367
+ const poller = await createHttpPoller(lro, {
368
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
369
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
322
370
  });
323
371
  await poller.poll();
324
372
  return poller;
325
373
  }
326
374
  /**
327
- * Update SQL Migration Service.
375
+ * Update Database Migration Service.
328
376
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
329
377
  * value from the Azure Resource Manager API or the portal.
330
378
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -387,7 +435,8 @@ export class SqlMigrationServicesImpl {
387
435
  return this.client.sendOperationRequest({ resourceGroupName, sqlMigrationServiceName, options }, listMigrationsOperationSpec);
388
436
  }
389
437
  /**
390
- * Retrieve the Monitoring Data.
438
+ * Retrieve the registered Integration Runtime nodes and their monitoring data for a given Database
439
+ * Migration Service.
391
440
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
392
441
  * value from the Azure Resource Manager API or the portal.
393
442
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -440,49 +489,49 @@ const getOperationSpec = {
440
489
  httpMethod: "GET",
441
490
  responses: {
442
491
  200: {
443
- bodyMapper: Mappers.SqlMigrationService
492
+ bodyMapper: Mappers.SqlMigrationService,
444
493
  },
445
- default: {}
494
+ default: {},
446
495
  },
447
496
  queryParameters: [Parameters.apiVersion],
448
497
  urlParameters: [
449
498
  Parameters.$host,
450
499
  Parameters.resourceGroupName,
451
500
  Parameters.subscriptionId,
452
- Parameters.sqlMigrationServiceName
501
+ Parameters.sqlMigrationServiceName,
453
502
  ],
454
503
  headerParameters: [Parameters.accept],
455
- serializer
504
+ serializer,
456
505
  };
457
506
  const createOrUpdateOperationSpec = {
458
507
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
459
508
  httpMethod: "PUT",
460
509
  responses: {
461
510
  200: {
462
- bodyMapper: Mappers.SqlMigrationService
511
+ bodyMapper: Mappers.SqlMigrationService,
463
512
  },
464
513
  201: {
465
- bodyMapper: Mappers.SqlMigrationService
514
+ bodyMapper: Mappers.SqlMigrationService,
466
515
  },
467
516
  202: {
468
- bodyMapper: Mappers.SqlMigrationService
517
+ bodyMapper: Mappers.SqlMigrationService,
469
518
  },
470
519
  204: {
471
- bodyMapper: Mappers.SqlMigrationService
520
+ bodyMapper: Mappers.SqlMigrationService,
472
521
  },
473
- default: {}
522
+ default: {},
474
523
  },
475
- requestBody: Parameters.parameters3,
524
+ requestBody: Parameters.parameters7,
476
525
  queryParameters: [Parameters.apiVersion],
477
526
  urlParameters: [
478
527
  Parameters.$host,
479
528
  Parameters.resourceGroupName,
480
529
  Parameters.subscriptionId,
481
- Parameters.sqlMigrationServiceName
530
+ Parameters.sqlMigrationServiceName,
482
531
  ],
483
532
  headerParameters: [Parameters.accept, Parameters.contentType],
484
533
  mediaType: "json",
485
- serializer
534
+ serializer,
486
535
  };
487
536
  const deleteOperationSpec = {
488
537
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
@@ -493,226 +542,223 @@ const deleteOperationSpec = {
493
542
  Parameters.$host,
494
543
  Parameters.resourceGroupName,
495
544
  Parameters.subscriptionId,
496
- Parameters.sqlMigrationServiceName
545
+ Parameters.sqlMigrationServiceName,
497
546
  ],
498
- serializer
547
+ serializer,
499
548
  };
500
549
  const updateOperationSpec = {
501
550
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
502
551
  httpMethod: "PATCH",
503
552
  responses: {
504
553
  200: {
505
- bodyMapper: Mappers.SqlMigrationService
554
+ bodyMapper: Mappers.SqlMigrationService,
506
555
  },
507
556
  201: {
508
- bodyMapper: Mappers.SqlMigrationService
557
+ bodyMapper: Mappers.SqlMigrationService,
509
558
  },
510
559
  202: {
511
- bodyMapper: Mappers.SqlMigrationService
560
+ bodyMapper: Mappers.SqlMigrationService,
512
561
  },
513
562
  204: {
514
- bodyMapper: Mappers.SqlMigrationService
563
+ bodyMapper: Mappers.SqlMigrationService,
515
564
  },
516
- default: {}
565
+ default: {},
517
566
  },
518
- requestBody: Parameters.parameters4,
567
+ requestBody: Parameters.parameters8,
519
568
  queryParameters: [Parameters.apiVersion],
520
569
  urlParameters: [
521
570
  Parameters.$host,
522
571
  Parameters.resourceGroupName,
523
572
  Parameters.subscriptionId,
524
- Parameters.sqlMigrationServiceName
573
+ Parameters.sqlMigrationServiceName,
525
574
  ],
526
575
  headerParameters: [Parameters.accept, Parameters.contentType],
527
576
  mediaType: "json",
528
- serializer
577
+ serializer,
529
578
  };
530
579
  const listByResourceGroupOperationSpec = {
531
580
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices",
532
581
  httpMethod: "GET",
533
582
  responses: {
534
583
  200: {
535
- bodyMapper: Mappers.SqlMigrationListResult
584
+ bodyMapper: Mappers.SqlMigrationListResult,
536
585
  },
537
- default: {}
586
+ default: {},
538
587
  },
539
588
  queryParameters: [Parameters.apiVersion],
540
589
  urlParameters: [
541
590
  Parameters.$host,
542
591
  Parameters.resourceGroupName,
543
- Parameters.subscriptionId
592
+ Parameters.subscriptionId,
544
593
  ],
545
594
  headerParameters: [Parameters.accept],
546
- serializer
595
+ serializer,
547
596
  };
548
597
  const listAuthKeysOperationSpec = {
549
598
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listAuthKeys",
550
599
  httpMethod: "POST",
551
600
  responses: {
552
601
  200: {
553
- bodyMapper: Mappers.AuthenticationKeys
602
+ bodyMapper: Mappers.AuthenticationKeys,
554
603
  },
555
- default: {}
604
+ default: {},
556
605
  },
557
606
  queryParameters: [Parameters.apiVersion],
558
607
  urlParameters: [
559
608
  Parameters.$host,
560
609
  Parameters.resourceGroupName,
561
610
  Parameters.subscriptionId,
562
- Parameters.sqlMigrationServiceName
611
+ Parameters.sqlMigrationServiceName,
563
612
  ],
564
613
  headerParameters: [Parameters.accept],
565
- serializer
614
+ serializer,
566
615
  };
567
616
  const regenerateAuthKeysOperationSpec = {
568
617
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/regenerateAuthKeys",
569
618
  httpMethod: "POST",
570
619
  responses: {
571
620
  200: {
572
- bodyMapper: Mappers.RegenAuthKeys
621
+ bodyMapper: Mappers.RegenAuthKeys,
573
622
  },
574
- default: {}
623
+ default: {},
575
624
  },
576
- requestBody: Parameters.parameters5,
625
+ requestBody: Parameters.parameters9,
577
626
  queryParameters: [Parameters.apiVersion],
578
627
  urlParameters: [
579
628
  Parameters.$host,
580
629
  Parameters.resourceGroupName,
581
630
  Parameters.subscriptionId,
582
- Parameters.sqlMigrationServiceName
631
+ Parameters.sqlMigrationServiceName,
583
632
  ],
584
633
  headerParameters: [Parameters.accept, Parameters.contentType],
585
634
  mediaType: "json",
586
- serializer
635
+ serializer,
587
636
  };
588
637
  const deleteNodeOperationSpec = {
589
638
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/deleteNode",
590
639
  httpMethod: "POST",
591
640
  responses: {
592
641
  200: {
593
- bodyMapper: Mappers.DeleteNode
642
+ bodyMapper: Mappers.DeleteNode,
594
643
  },
595
- default: {}
644
+ default: {},
596
645
  },
597
- requestBody: Parameters.parameters6,
646
+ requestBody: Parameters.parameters10,
598
647
  queryParameters: [Parameters.apiVersion],
599
648
  urlParameters: [
600
649
  Parameters.$host,
601
650
  Parameters.resourceGroupName,
602
651
  Parameters.subscriptionId,
603
- Parameters.sqlMigrationServiceName
652
+ Parameters.sqlMigrationServiceName,
604
653
  ],
605
654
  headerParameters: [Parameters.accept, Parameters.contentType],
606
655
  mediaType: "json",
607
- serializer
656
+ serializer,
608
657
  };
609
658
  const listMigrationsOperationSpec = {
610
659
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMigrations",
611
660
  httpMethod: "GET",
612
661
  responses: {
613
662
  200: {
614
- bodyMapper: Mappers.DatabaseMigrationListResult
663
+ bodyMapper: Mappers.DatabaseMigrationListResult,
615
664
  },
616
- default: {}
665
+ default: {},
617
666
  },
618
667
  queryParameters: [Parameters.apiVersion],
619
668
  urlParameters: [
620
669
  Parameters.$host,
621
670
  Parameters.resourceGroupName,
622
671
  Parameters.subscriptionId,
623
- Parameters.sqlMigrationServiceName
672
+ Parameters.sqlMigrationServiceName,
624
673
  ],
625
674
  headerParameters: [Parameters.accept],
626
- serializer
675
+ serializer,
627
676
  };
628
677
  const listMonitoringDataOperationSpec = {
629
678
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMonitoringData",
630
679
  httpMethod: "POST",
631
680
  responses: {
632
681
  200: {
633
- bodyMapper: Mappers.IntegrationRuntimeMonitoringData
682
+ bodyMapper: Mappers.IntegrationRuntimeMonitoringData,
634
683
  },
635
- default: {}
684
+ default: {},
636
685
  },
637
686
  queryParameters: [Parameters.apiVersion],
638
687
  urlParameters: [
639
688
  Parameters.$host,
640
689
  Parameters.resourceGroupName,
641
690
  Parameters.subscriptionId,
642
- Parameters.sqlMigrationServiceName
691
+ Parameters.sqlMigrationServiceName,
643
692
  ],
644
693
  headerParameters: [Parameters.accept],
645
- serializer
694
+ serializer,
646
695
  };
647
696
  const listBySubscriptionOperationSpec = {
648
697
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices",
649
698
  httpMethod: "GET",
650
699
  responses: {
651
700
  200: {
652
- bodyMapper: Mappers.SqlMigrationListResult
701
+ bodyMapper: Mappers.SqlMigrationListResult,
653
702
  },
654
- default: {}
703
+ default: {},
655
704
  },
656
705
  queryParameters: [Parameters.apiVersion],
657
706
  urlParameters: [Parameters.$host, Parameters.subscriptionId],
658
707
  headerParameters: [Parameters.accept],
659
- serializer
708
+ serializer,
660
709
  };
661
710
  const listByResourceGroupNextOperationSpec = {
662
711
  path: "{nextLink}",
663
712
  httpMethod: "GET",
664
713
  responses: {
665
714
  200: {
666
- bodyMapper: Mappers.SqlMigrationListResult
715
+ bodyMapper: Mappers.SqlMigrationListResult,
667
716
  },
668
- default: {}
717
+ default: {},
669
718
  },
670
- queryParameters: [Parameters.apiVersion],
671
719
  urlParameters: [
672
720
  Parameters.$host,
673
721
  Parameters.resourceGroupName,
674
722
  Parameters.subscriptionId,
675
- Parameters.nextLink
723
+ Parameters.nextLink,
676
724
  ],
677
725
  headerParameters: [Parameters.accept],
678
- serializer
726
+ serializer,
679
727
  };
680
728
  const listMigrationsNextOperationSpec = {
681
729
  path: "{nextLink}",
682
730
  httpMethod: "GET",
683
731
  responses: {
684
732
  200: {
685
- bodyMapper: Mappers.DatabaseMigrationListResult
733
+ bodyMapper: Mappers.DatabaseMigrationListResult,
686
734
  },
687
- default: {}
735
+ default: {},
688
736
  },
689
- queryParameters: [Parameters.apiVersion],
690
737
  urlParameters: [
691
738
  Parameters.$host,
692
739
  Parameters.resourceGroupName,
693
740
  Parameters.subscriptionId,
694
741
  Parameters.nextLink,
695
- Parameters.sqlMigrationServiceName
742
+ Parameters.sqlMigrationServiceName,
696
743
  ],
697
744
  headerParameters: [Parameters.accept],
698
- serializer
745
+ serializer,
699
746
  };
700
747
  const listBySubscriptionNextOperationSpec = {
701
748
  path: "{nextLink}",
702
749
  httpMethod: "GET",
703
750
  responses: {
704
751
  200: {
705
- bodyMapper: Mappers.SqlMigrationListResult
752
+ bodyMapper: Mappers.SqlMigrationListResult,
706
753
  },
707
- default: {}
754
+ default: {},
708
755
  },
709
- queryParameters: [Parameters.apiVersion],
710
756
  urlParameters: [
711
757
  Parameters.$host,
712
758
  Parameters.subscriptionId,
713
- Parameters.nextLink
759
+ Parameters.nextLink,
714
760
  ],
715
761
  headerParameters: [Parameters.accept],
716
- serializer
762
+ serializer,
717
763
  };
718
764
  //# sourceMappingURL=sqlMigrationServices.js.map