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

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 (502) 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 -9
  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 +16 -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 +5228 -4055
  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 +363 -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 +363 -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 +319 -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 +89 -77
  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 +89 -77
  42. package/dist/browser/operations/databaseMigrationsSqlVm.js.map +1 -1
  43. package/dist/browser/operations/files.js +43 -44
  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 +640 -0
  52. package/dist/browser/operations/migrationServices.js.map +1 -0
  53. package/dist/browser/operations/operations.js +7 -8
  54. package/dist/browser/operations/operations.js.map +1 -1
  55. package/dist/browser/operations/projects.js +33 -34
  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 +12 -13
  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 +55 -53
  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 +204 -186
  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 +116 -106
  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 +65 -66
  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 +15 -16
  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 +4 -4
  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 -8
  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 +17 -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 +5235 -4062
  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 +368 -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 +368 -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 +324 -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 +87 -75
  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 +87 -75
  166. package/dist/commonjs/operations/databaseMigrationsSqlVm.js.map +1 -1
  167. package/dist/commonjs/operations/files.js +43 -44
  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 +645 -0
  176. package/dist/commonjs/operations/migrationServices.js.map +1 -0
  177. package/dist/commonjs/operations/operations.js +7 -8
  178. package/dist/commonjs/operations/operations.js.map +1 -1
  179. package/dist/commonjs/operations/projects.js +33 -34
  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 +12 -13
  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 +55 -53
  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 +202 -184
  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 +114 -104
  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 +65 -66
  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 +15 -16
  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 +4 -4
  250. package/dist/commonjs/pagingHelper.js.map +1 -1
  251. package/dist/commonjs/tsdoc-metadata.json +1 -1
  252. package/dist/esm/dataMigrationManagementClient.d.ts +5 -1
  253. package/dist/esm/dataMigrationManagementClient.d.ts.map +1 -1
  254. package/dist/esm/dataMigrationManagementClient.js +19 -9
  255. package/dist/esm/dataMigrationManagementClient.js.map +1 -1
  256. package/dist/esm/lroImpl.d.ts +6 -11
  257. package/dist/esm/lroImpl.d.ts.map +1 -1
  258. package/dist/esm/lroImpl.js +16 -24
  259. package/dist/esm/lroImpl.js.map +1 -1
  260. package/dist/esm/models/index.d.ts +968 -216
  261. package/dist/esm/models/index.d.ts.map +1 -1
  262. package/dist/esm/models/index.js +52 -8
  263. package/dist/esm/models/index.js.map +1 -1
  264. package/dist/esm/models/mappers.d.ts +47 -14
  265. package/dist/esm/models/mappers.d.ts.map +1 -1
  266. package/dist/esm/models/mappers.js +5228 -4055
  267. package/dist/esm/models/mappers.js.map +1 -1
  268. package/dist/esm/models/parameters.d.ts +21 -12
  269. package/dist/esm/models/parameters.d.ts.map +1 -1
  270. package/dist/esm/models/parameters.js +184 -110
  271. package/dist/esm/models/parameters.js.map +1 -1
  272. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  273. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  274. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +363 -0
  275. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  276. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  277. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  278. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +363 -0
  279. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  280. package/dist/esm/operations/databaseMigrationsSqlDb.d.ts +81 -0
  281. package/dist/esm/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  282. package/dist/esm/operations/databaseMigrationsSqlDb.js +319 -0
  283. package/dist/esm/operations/databaseMigrationsSqlDb.js.map +1 -0
  284. package/dist/esm/operations/databaseMigrationsSqlMi.d.ts +11 -11
  285. package/dist/esm/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  286. package/dist/esm/operations/databaseMigrationsSqlMi.js +89 -77
  287. package/dist/esm/operations/databaseMigrationsSqlMi.js.map +1 -1
  288. package/dist/esm/operations/databaseMigrationsSqlVm.d.ts +11 -11
  289. package/dist/esm/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  290. package/dist/esm/operations/databaseMigrationsSqlVm.js +89 -77
  291. package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
  292. package/dist/esm/operations/files.js +43 -44
  293. package/dist/esm/operations/files.js.map +1 -1
  294. package/dist/esm/operations/index.d.ts +4 -0
  295. package/dist/esm/operations/index.d.ts.map +1 -1
  296. package/dist/esm/operations/index.js +4 -0
  297. package/dist/esm/operations/index.js.map +1 -1
  298. package/dist/esm/operations/migrationServices.d.ts +144 -0
  299. package/dist/esm/operations/migrationServices.d.ts.map +1 -0
  300. package/dist/esm/operations/migrationServices.js +640 -0
  301. package/dist/esm/operations/migrationServices.js.map +1 -0
  302. package/dist/esm/operations/operations.js +7 -8
  303. package/dist/esm/operations/operations.js.map +1 -1
  304. package/dist/esm/operations/projects.js +33 -34
  305. package/dist/esm/operations/projects.js.map +1 -1
  306. package/dist/esm/operations/resourceSkus.d.ts +2 -2
  307. package/dist/esm/operations/resourceSkus.js +12 -13
  308. package/dist/esm/operations/resourceSkus.js.map +1 -1
  309. package/dist/esm/operations/serviceTasks.d.ts +16 -13
  310. package/dist/esm/operations/serviceTasks.d.ts.map +1 -1
  311. package/dist/esm/operations/serviceTasks.js +55 -53
  312. package/dist/esm/operations/serviceTasks.js.map +1 -1
  313. package/dist/esm/operations/services.d.ts +59 -58
  314. package/dist/esm/operations/services.d.ts.map +1 -1
  315. package/dist/esm/operations/services.js +204 -186
  316. package/dist/esm/operations/services.js.map +1 -1
  317. package/dist/esm/operations/sqlMigrationServices.d.ts +13 -12
  318. package/dist/esm/operations/sqlMigrationServices.d.ts.map +1 -1
  319. package/dist/esm/operations/sqlMigrationServices.js +116 -106
  320. package/dist/esm/operations/sqlMigrationServices.js.map +1 -1
  321. package/dist/esm/operations/tasks.d.ts +20 -20
  322. package/dist/esm/operations/tasks.js +65 -66
  323. package/dist/esm/operations/tasks.js.map +1 -1
  324. package/dist/esm/operations/usages.d.ts +4 -4
  325. package/dist/esm/operations/usages.js +15 -16
  326. package/dist/esm/operations/usages.js.map +1 -1
  327. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  328. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  329. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
  330. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  331. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  332. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  333. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
  334. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  335. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  336. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  337. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
  338. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  339. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  340. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  341. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  342. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  343. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  344. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  345. package/dist/esm/operationsInterfaces/files.js.map +1 -1
  346. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  347. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  348. package/dist/esm/operationsInterfaces/index.js +4 -0
  349. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  350. package/dist/esm/operationsInterfaces/migrationServices.d.ts +87 -0
  351. package/dist/esm/operationsInterfaces/migrationServices.d.ts.map +1 -0
  352. package/dist/esm/operationsInterfaces/migrationServices.js +9 -0
  353. package/dist/esm/operationsInterfaces/migrationServices.js.map +1 -0
  354. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  355. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  356. package/dist/esm/operationsInterfaces/projects.js.map +1 -1
  357. package/dist/esm/operationsInterfaces/resourceSkus.d.ts +1 -1
  358. package/dist/esm/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  359. package/dist/esm/operationsInterfaces/resourceSkus.js.map +1 -1
  360. package/dist/esm/operationsInterfaces/serviceTasks.d.ts +12 -10
  361. package/dist/esm/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  362. package/dist/esm/operationsInterfaces/serviceTasks.js.map +1 -1
  363. package/dist/esm/operationsInterfaces/services.d.ts +53 -52
  364. package/dist/esm/operationsInterfaces/services.d.ts.map +1 -1
  365. package/dist/esm/operationsInterfaces/services.js.map +1 -1
  366. package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  367. package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  368. package/dist/esm/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  369. package/dist/esm/operationsInterfaces/tasks.d.ts +17 -17
  370. package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
  371. package/dist/esm/operationsInterfaces/usages.d.ts +2 -2
  372. package/dist/esm/operationsInterfaces/usages.js.map +1 -1
  373. package/dist/esm/pagingHelper.d.ts +4 -4
  374. package/dist/esm/pagingHelper.js +4 -4
  375. package/dist/esm/pagingHelper.js.map +1 -1
  376. package/dist/react-native/dataMigrationManagementClient.d.ts +5 -1
  377. package/dist/react-native/dataMigrationManagementClient.d.ts.map +1 -1
  378. package/dist/react-native/dataMigrationManagementClient.js +19 -9
  379. package/dist/react-native/dataMigrationManagementClient.js.map +1 -1
  380. package/dist/react-native/lroImpl.d.ts +6 -11
  381. package/dist/react-native/lroImpl.d.ts.map +1 -1
  382. package/dist/react-native/lroImpl.js +16 -24
  383. package/dist/react-native/lroImpl.js.map +1 -1
  384. package/dist/react-native/models/index.d.ts +968 -216
  385. package/dist/react-native/models/index.d.ts.map +1 -1
  386. package/dist/react-native/models/index.js +52 -8
  387. package/dist/react-native/models/index.js.map +1 -1
  388. package/dist/react-native/models/mappers.d.ts +47 -14
  389. package/dist/react-native/models/mappers.d.ts.map +1 -1
  390. package/dist/react-native/models/mappers.js +5228 -4055
  391. package/dist/react-native/models/mappers.js.map +1 -1
  392. package/dist/react-native/models/parameters.d.ts +21 -12
  393. package/dist/react-native/models/parameters.d.ts.map +1 -1
  394. package/dist/react-native/models/parameters.js +184 -110
  395. package/dist/react-native/models/parameters.js.map +1 -1
  396. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  397. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  398. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +363 -0
  399. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  400. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  401. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  402. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +363 -0
  403. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  404. package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts +81 -0
  405. package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  406. package/dist/react-native/operations/databaseMigrationsSqlDb.js +319 -0
  407. package/dist/react-native/operations/databaseMigrationsSqlDb.js.map +1 -0
  408. package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts +11 -11
  409. package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  410. package/dist/react-native/operations/databaseMigrationsSqlMi.js +89 -77
  411. package/dist/react-native/operations/databaseMigrationsSqlMi.js.map +1 -1
  412. package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts +11 -11
  413. package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  414. package/dist/react-native/operations/databaseMigrationsSqlVm.js +89 -77
  415. package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
  416. package/dist/react-native/operations/files.js +43 -44
  417. package/dist/react-native/operations/files.js.map +1 -1
  418. package/dist/react-native/operations/index.d.ts +4 -0
  419. package/dist/react-native/operations/index.d.ts.map +1 -1
  420. package/dist/react-native/operations/index.js +4 -0
  421. package/dist/react-native/operations/index.js.map +1 -1
  422. package/dist/react-native/operations/migrationServices.d.ts +144 -0
  423. package/dist/react-native/operations/migrationServices.d.ts.map +1 -0
  424. package/dist/react-native/operations/migrationServices.js +640 -0
  425. package/dist/react-native/operations/migrationServices.js.map +1 -0
  426. package/dist/react-native/operations/operations.js +7 -8
  427. package/dist/react-native/operations/operations.js.map +1 -1
  428. package/dist/react-native/operations/projects.js +33 -34
  429. package/dist/react-native/operations/projects.js.map +1 -1
  430. package/dist/react-native/operations/resourceSkus.d.ts +2 -2
  431. package/dist/react-native/operations/resourceSkus.js +12 -13
  432. package/dist/react-native/operations/resourceSkus.js.map +1 -1
  433. package/dist/react-native/operations/serviceTasks.d.ts +16 -13
  434. package/dist/react-native/operations/serviceTasks.d.ts.map +1 -1
  435. package/dist/react-native/operations/serviceTasks.js +55 -53
  436. package/dist/react-native/operations/serviceTasks.js.map +1 -1
  437. package/dist/react-native/operations/services.d.ts +59 -58
  438. package/dist/react-native/operations/services.d.ts.map +1 -1
  439. package/dist/react-native/operations/services.js +204 -186
  440. package/dist/react-native/operations/services.js.map +1 -1
  441. package/dist/react-native/operations/sqlMigrationServices.d.ts +13 -12
  442. package/dist/react-native/operations/sqlMigrationServices.d.ts.map +1 -1
  443. package/dist/react-native/operations/sqlMigrationServices.js +116 -106
  444. package/dist/react-native/operations/sqlMigrationServices.js.map +1 -1
  445. package/dist/react-native/operations/tasks.d.ts +20 -20
  446. package/dist/react-native/operations/tasks.js +65 -66
  447. package/dist/react-native/operations/tasks.js.map +1 -1
  448. package/dist/react-native/operations/usages.d.ts +4 -4
  449. package/dist/react-native/operations/usages.js +15 -16
  450. package/dist/react-native/operations/usages.js.map +1 -1
  451. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  452. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  453. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
  454. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  455. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  456. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  457. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
  458. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  459. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  460. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  461. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
  462. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  463. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  464. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  465. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  466. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  467. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  468. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  469. package/dist/react-native/operationsInterfaces/files.js.map +1 -1
  470. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  471. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  472. package/dist/react-native/operationsInterfaces/index.js +4 -0
  473. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  474. package/dist/react-native/operationsInterfaces/migrationServices.d.ts +87 -0
  475. package/dist/react-native/operationsInterfaces/migrationServices.d.ts.map +1 -0
  476. package/dist/react-native/operationsInterfaces/migrationServices.js +9 -0
  477. package/dist/react-native/operationsInterfaces/migrationServices.js.map +1 -0
  478. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  479. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  480. package/dist/react-native/operationsInterfaces/projects.js.map +1 -1
  481. package/dist/react-native/operationsInterfaces/resourceSkus.d.ts +1 -1
  482. package/dist/react-native/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  483. package/dist/react-native/operationsInterfaces/resourceSkus.js.map +1 -1
  484. package/dist/react-native/operationsInterfaces/serviceTasks.d.ts +12 -10
  485. package/dist/react-native/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  486. package/dist/react-native/operationsInterfaces/serviceTasks.js.map +1 -1
  487. package/dist/react-native/operationsInterfaces/services.d.ts +53 -52
  488. package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -1
  489. package/dist/react-native/operationsInterfaces/services.js.map +1 -1
  490. package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  491. package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  492. package/dist/react-native/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  493. package/dist/react-native/operationsInterfaces/tasks.d.ts +17 -17
  494. package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
  495. package/dist/react-native/operationsInterfaces/usages.d.ts +2 -2
  496. package/dist/react-native/operationsInterfaces/usages.js.map +1 -1
  497. package/dist/react-native/pagingHelper.d.ts +4 -4
  498. package/dist/react-native/pagingHelper.js +4 -4
  499. package/dist/react-native/pagingHelper.js.map +1 -1
  500. package/package.json +26 -27
  501. package/CHANGELOG.md +0 -21
  502. package/review/arm-datamigration-node.api.md +0 -4103
@@ -46,7 +46,7 @@ class SqlMigrationServicesImpl {
46
46
  throw new Error("maxPageSize is not supported by this operation.");
47
47
  }
48
48
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
49
- }
49
+ },
50
50
  };
51
51
  }
52
52
  async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
@@ -93,7 +93,7 @@ class SqlMigrationServicesImpl {
93
93
  throw new Error("maxPageSize is not supported by this operation.");
94
94
  }
95
95
  return this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings);
96
- }
96
+ },
97
97
  };
98
98
  }
99
99
  async *listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings) {
@@ -137,7 +137,7 @@ class SqlMigrationServicesImpl {
137
137
  throw new Error("maxPageSize is not supported by this operation.");
138
138
  }
139
139
  return this.listBySubscriptionPagingPage(options, settings);
140
- }
140
+ },
141
141
  };
142
142
  }
143
143
  async *listBySubscriptionPagingPage(options, settings) {
@@ -164,7 +164,7 @@ class SqlMigrationServicesImpl {
164
164
  }
165
165
  }
166
166
  /**
167
- * Retrieve the Migration Service.
167
+ * Retrieve the Database Migration Service
168
168
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
169
169
  * value from the Azure Resource Manager API or the portal.
170
170
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -174,7 +174,7 @@ class SqlMigrationServicesImpl {
174
174
  return this.client.sendOperationRequest({ resourceGroupName, sqlMigrationServiceName, options }, getOperationSpec);
175
175
  }
176
176
  /**
177
- * Create or Update SQL Migration Service.
177
+ * Create or Update Database Migration Service.
178
178
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
179
179
  * value from the Azure Resource Manager API or the portal.
180
180
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -185,7 +185,7 @@ class SqlMigrationServicesImpl {
185
185
  const directSendOperation = async (args, spec) => {
186
186
  return this.client.sendOperationRequest(args, spec);
187
187
  };
188
- const sendOperation = async (args, spec) => {
188
+ const sendOperationFn = async (args, spec) => {
189
189
  let currentRawResponse = undefined;
190
190
  const providedCallback = args.options?.onResponse;
191
191
  const callback = (rawResponse, flatResponse) => {
@@ -196,8 +196,8 @@ class SqlMigrationServicesImpl {
196
196
  ...args,
197
197
  options: {
198
198
  ...args.options,
199
- onResponse: callback
200
- }
199
+ onResponse: callback,
200
+ },
201
201
  };
202
202
  const flatResponse = await directSendOperation(updatedArgs, spec);
203
203
  return {
@@ -205,20 +205,24 @@ class SqlMigrationServicesImpl {
205
205
  rawResponse: {
206
206
  statusCode: currentRawResponse.status,
207
207
  body: currentRawResponse.parsedBody,
208
- headers: currentRawResponse.headers.toJSON()
209
- }
208
+ headers: currentRawResponse.headers.toJSON(),
209
+ },
210
210
  };
211
211
  };
212
- const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, parameters, options }, createOrUpdateOperationSpec);
213
- const poller = new core_lro_1.LroEngine(lro, {
214
- resumeFrom: options?.resumeFrom,
215
- intervalInMs: options?.updateIntervalInMs
212
+ const lro = (0, lroImpl_js_1.createLroSpec)({
213
+ sendOperationFn,
214
+ args: { resourceGroupName, sqlMigrationServiceName, parameters, options },
215
+ spec: createOrUpdateOperationSpec,
216
+ });
217
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
218
+ restoreFrom: options?.resumeFrom,
219
+ intervalInMs: options?.updateIntervalInMs,
216
220
  });
217
221
  await poller.poll();
218
222
  return poller;
219
223
  }
220
224
  /**
221
- * Create or Update SQL Migration Service.
225
+ * Create or Update Database Migration Service.
222
226
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
223
227
  * value from the Azure Resource Manager API or the portal.
224
228
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -230,7 +234,7 @@ class SqlMigrationServicesImpl {
230
234
  return poller.pollUntilDone();
231
235
  }
232
236
  /**
233
- * Delete SQL Migration Service.
237
+ * Delete Database Migration Service.
234
238
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
235
239
  * value from the Azure Resource Manager API or the portal.
236
240
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -240,7 +244,7 @@ class SqlMigrationServicesImpl {
240
244
  const directSendOperation = async (args, spec) => {
241
245
  return this.client.sendOperationRequest(args, spec);
242
246
  };
243
- const sendOperation = async (args, spec) => {
247
+ const sendOperationFn = async (args, spec) => {
244
248
  let currentRawResponse = undefined;
245
249
  const providedCallback = args.options?.onResponse;
246
250
  const callback = (rawResponse, flatResponse) => {
@@ -251,8 +255,8 @@ class SqlMigrationServicesImpl {
251
255
  ...args,
252
256
  options: {
253
257
  ...args.options,
254
- onResponse: callback
255
- }
258
+ onResponse: callback,
259
+ },
256
260
  };
257
261
  const flatResponse = await directSendOperation(updatedArgs, spec);
258
262
  return {
@@ -260,20 +264,24 @@ class SqlMigrationServicesImpl {
260
264
  rawResponse: {
261
265
  statusCode: currentRawResponse.status,
262
266
  body: currentRawResponse.parsedBody,
263
- headers: currentRawResponse.headers.toJSON()
264
- }
267
+ headers: currentRawResponse.headers.toJSON(),
268
+ },
265
269
  };
266
270
  };
267
- const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, options }, deleteOperationSpec);
268
- const poller = new core_lro_1.LroEngine(lro, {
269
- resumeFrom: options?.resumeFrom,
270
- intervalInMs: options?.updateIntervalInMs
271
+ const lro = (0, lroImpl_js_1.createLroSpec)({
272
+ sendOperationFn,
273
+ args: { resourceGroupName, sqlMigrationServiceName, options },
274
+ spec: deleteOperationSpec,
275
+ });
276
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
277
+ restoreFrom: options?.resumeFrom,
278
+ intervalInMs: options?.updateIntervalInMs,
271
279
  });
272
280
  await poller.poll();
273
281
  return poller;
274
282
  }
275
283
  /**
276
- * Delete SQL Migration Service.
284
+ * Delete Database Migration Service.
277
285
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
278
286
  * value from the Azure Resource Manager API or the portal.
279
287
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -284,7 +292,7 @@ class SqlMigrationServicesImpl {
284
292
  return poller.pollUntilDone();
285
293
  }
286
294
  /**
287
- * Update SQL Migration Service.
295
+ * Update Database Migration Service.
288
296
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
289
297
  * value from the Azure Resource Manager API or the portal.
290
298
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -295,7 +303,7 @@ class SqlMigrationServicesImpl {
295
303
  const directSendOperation = async (args, spec) => {
296
304
  return this.client.sendOperationRequest(args, spec);
297
305
  };
298
- const sendOperation = async (args, spec) => {
306
+ const sendOperationFn = async (args, spec) => {
299
307
  let currentRawResponse = undefined;
300
308
  const providedCallback = args.options?.onResponse;
301
309
  const callback = (rawResponse, flatResponse) => {
@@ -306,8 +314,8 @@ class SqlMigrationServicesImpl {
306
314
  ...args,
307
315
  options: {
308
316
  ...args.options,
309
- onResponse: callback
310
- }
317
+ onResponse: callback,
318
+ },
311
319
  };
312
320
  const flatResponse = await directSendOperation(updatedArgs, spec);
313
321
  return {
@@ -315,20 +323,24 @@ class SqlMigrationServicesImpl {
315
323
  rawResponse: {
316
324
  statusCode: currentRawResponse.status,
317
325
  body: currentRawResponse.parsedBody,
318
- headers: currentRawResponse.headers.toJSON()
319
- }
326
+ headers: currentRawResponse.headers.toJSON(),
327
+ },
320
328
  };
321
329
  };
322
- const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, parameters, options }, updateOperationSpec);
323
- const poller = new core_lro_1.LroEngine(lro, {
324
- resumeFrom: options?.resumeFrom,
325
- intervalInMs: options?.updateIntervalInMs
330
+ const lro = (0, lroImpl_js_1.createLroSpec)({
331
+ sendOperationFn,
332
+ args: { resourceGroupName, sqlMigrationServiceName, parameters, options },
333
+ spec: updateOperationSpec,
334
+ });
335
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
336
+ restoreFrom: options?.resumeFrom,
337
+ intervalInMs: options?.updateIntervalInMs,
326
338
  });
327
339
  await poller.poll();
328
340
  return poller;
329
341
  }
330
342
  /**
331
- * Update SQL Migration Service.
343
+ * Update Database Migration Service.
332
344
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
333
345
  * value from the Azure Resource Manager API or the portal.
334
346
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -391,7 +403,8 @@ class SqlMigrationServicesImpl {
391
403
  return this.client.sendOperationRequest({ resourceGroupName, sqlMigrationServiceName, options }, listMigrationsOperationSpec);
392
404
  }
393
405
  /**
394
- * Retrieve the Monitoring Data.
406
+ * Retrieve the registered Integration Runtime nodes and their monitoring data for a given Database
407
+ * Migration Service.
395
408
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
396
409
  * value from the Azure Resource Manager API or the portal.
397
410
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -445,49 +458,49 @@ const getOperationSpec = {
445
458
  httpMethod: "GET",
446
459
  responses: {
447
460
  200: {
448
- bodyMapper: Mappers.SqlMigrationService
461
+ bodyMapper: Mappers.SqlMigrationService,
449
462
  },
450
- default: {}
463
+ default: {},
451
464
  },
452
465
  queryParameters: [Parameters.apiVersion],
453
466
  urlParameters: [
454
467
  Parameters.$host,
455
468
  Parameters.resourceGroupName,
456
469
  Parameters.subscriptionId,
457
- Parameters.sqlMigrationServiceName
470
+ Parameters.sqlMigrationServiceName,
458
471
  ],
459
472
  headerParameters: [Parameters.accept],
460
- serializer
473
+ serializer,
461
474
  };
462
475
  const createOrUpdateOperationSpec = {
463
476
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
464
477
  httpMethod: "PUT",
465
478
  responses: {
466
479
  200: {
467
- bodyMapper: Mappers.SqlMigrationService
480
+ bodyMapper: Mappers.SqlMigrationService,
468
481
  },
469
482
  201: {
470
- bodyMapper: Mappers.SqlMigrationService
483
+ bodyMapper: Mappers.SqlMigrationService,
471
484
  },
472
485
  202: {
473
- bodyMapper: Mappers.SqlMigrationService
486
+ bodyMapper: Mappers.SqlMigrationService,
474
487
  },
475
488
  204: {
476
- bodyMapper: Mappers.SqlMigrationService
489
+ bodyMapper: Mappers.SqlMigrationService,
477
490
  },
478
- default: {}
491
+ default: {},
479
492
  },
480
- requestBody: Parameters.parameters3,
493
+ requestBody: Parameters.parameters7,
481
494
  queryParameters: [Parameters.apiVersion],
482
495
  urlParameters: [
483
496
  Parameters.$host,
484
497
  Parameters.resourceGroupName,
485
498
  Parameters.subscriptionId,
486
- Parameters.sqlMigrationServiceName
499
+ Parameters.sqlMigrationServiceName,
487
500
  ],
488
501
  headerParameters: [Parameters.accept, Parameters.contentType],
489
502
  mediaType: "json",
490
- serializer
503
+ serializer,
491
504
  };
492
505
  const deleteOperationSpec = {
493
506
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
@@ -498,226 +511,223 @@ const deleteOperationSpec = {
498
511
  Parameters.$host,
499
512
  Parameters.resourceGroupName,
500
513
  Parameters.subscriptionId,
501
- Parameters.sqlMigrationServiceName
514
+ Parameters.sqlMigrationServiceName,
502
515
  ],
503
- serializer
516
+ serializer,
504
517
  };
505
518
  const updateOperationSpec = {
506
519
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
507
520
  httpMethod: "PATCH",
508
521
  responses: {
509
522
  200: {
510
- bodyMapper: Mappers.SqlMigrationService
523
+ bodyMapper: Mappers.SqlMigrationService,
511
524
  },
512
525
  201: {
513
- bodyMapper: Mappers.SqlMigrationService
526
+ bodyMapper: Mappers.SqlMigrationService,
514
527
  },
515
528
  202: {
516
- bodyMapper: Mappers.SqlMigrationService
529
+ bodyMapper: Mappers.SqlMigrationService,
517
530
  },
518
531
  204: {
519
- bodyMapper: Mappers.SqlMigrationService
532
+ bodyMapper: Mappers.SqlMigrationService,
520
533
  },
521
- default: {}
534
+ default: {},
522
535
  },
523
- requestBody: Parameters.parameters4,
536
+ requestBody: Parameters.parameters8,
524
537
  queryParameters: [Parameters.apiVersion],
525
538
  urlParameters: [
526
539
  Parameters.$host,
527
540
  Parameters.resourceGroupName,
528
541
  Parameters.subscriptionId,
529
- Parameters.sqlMigrationServiceName
542
+ Parameters.sqlMigrationServiceName,
530
543
  ],
531
544
  headerParameters: [Parameters.accept, Parameters.contentType],
532
545
  mediaType: "json",
533
- serializer
546
+ serializer,
534
547
  };
535
548
  const listByResourceGroupOperationSpec = {
536
549
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices",
537
550
  httpMethod: "GET",
538
551
  responses: {
539
552
  200: {
540
- bodyMapper: Mappers.SqlMigrationListResult
553
+ bodyMapper: Mappers.SqlMigrationListResult,
541
554
  },
542
- default: {}
555
+ default: {},
543
556
  },
544
557
  queryParameters: [Parameters.apiVersion],
545
558
  urlParameters: [
546
559
  Parameters.$host,
547
560
  Parameters.resourceGroupName,
548
- Parameters.subscriptionId
561
+ Parameters.subscriptionId,
549
562
  ],
550
563
  headerParameters: [Parameters.accept],
551
- serializer
564
+ serializer,
552
565
  };
553
566
  const listAuthKeysOperationSpec = {
554
567
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listAuthKeys",
555
568
  httpMethod: "POST",
556
569
  responses: {
557
570
  200: {
558
- bodyMapper: Mappers.AuthenticationKeys
571
+ bodyMapper: Mappers.AuthenticationKeys,
559
572
  },
560
- default: {}
573
+ default: {},
561
574
  },
562
575
  queryParameters: [Parameters.apiVersion],
563
576
  urlParameters: [
564
577
  Parameters.$host,
565
578
  Parameters.resourceGroupName,
566
579
  Parameters.subscriptionId,
567
- Parameters.sqlMigrationServiceName
580
+ Parameters.sqlMigrationServiceName,
568
581
  ],
569
582
  headerParameters: [Parameters.accept],
570
- serializer
583
+ serializer,
571
584
  };
572
585
  const regenerateAuthKeysOperationSpec = {
573
586
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/regenerateAuthKeys",
574
587
  httpMethod: "POST",
575
588
  responses: {
576
589
  200: {
577
- bodyMapper: Mappers.RegenAuthKeys
590
+ bodyMapper: Mappers.RegenAuthKeys,
578
591
  },
579
- default: {}
592
+ default: {},
580
593
  },
581
- requestBody: Parameters.parameters5,
594
+ requestBody: Parameters.parameters9,
582
595
  queryParameters: [Parameters.apiVersion],
583
596
  urlParameters: [
584
597
  Parameters.$host,
585
598
  Parameters.resourceGroupName,
586
599
  Parameters.subscriptionId,
587
- Parameters.sqlMigrationServiceName
600
+ Parameters.sqlMigrationServiceName,
588
601
  ],
589
602
  headerParameters: [Parameters.accept, Parameters.contentType],
590
603
  mediaType: "json",
591
- serializer
604
+ serializer,
592
605
  };
593
606
  const deleteNodeOperationSpec = {
594
607
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/deleteNode",
595
608
  httpMethod: "POST",
596
609
  responses: {
597
610
  200: {
598
- bodyMapper: Mappers.DeleteNode
611
+ bodyMapper: Mappers.DeleteNode,
599
612
  },
600
- default: {}
613
+ default: {},
601
614
  },
602
- requestBody: Parameters.parameters6,
615
+ requestBody: Parameters.parameters10,
603
616
  queryParameters: [Parameters.apiVersion],
604
617
  urlParameters: [
605
618
  Parameters.$host,
606
619
  Parameters.resourceGroupName,
607
620
  Parameters.subscriptionId,
608
- Parameters.sqlMigrationServiceName
621
+ Parameters.sqlMigrationServiceName,
609
622
  ],
610
623
  headerParameters: [Parameters.accept, Parameters.contentType],
611
624
  mediaType: "json",
612
- serializer
625
+ serializer,
613
626
  };
614
627
  const listMigrationsOperationSpec = {
615
628
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMigrations",
616
629
  httpMethod: "GET",
617
630
  responses: {
618
631
  200: {
619
- bodyMapper: Mappers.DatabaseMigrationListResult
632
+ bodyMapper: Mappers.DatabaseMigrationListResult,
620
633
  },
621
- default: {}
634
+ default: {},
622
635
  },
623
636
  queryParameters: [Parameters.apiVersion],
624
637
  urlParameters: [
625
638
  Parameters.$host,
626
639
  Parameters.resourceGroupName,
627
640
  Parameters.subscriptionId,
628
- Parameters.sqlMigrationServiceName
641
+ Parameters.sqlMigrationServiceName,
629
642
  ],
630
643
  headerParameters: [Parameters.accept],
631
- serializer
644
+ serializer,
632
645
  };
633
646
  const listMonitoringDataOperationSpec = {
634
647
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMonitoringData",
635
648
  httpMethod: "POST",
636
649
  responses: {
637
650
  200: {
638
- bodyMapper: Mappers.IntegrationRuntimeMonitoringData
651
+ bodyMapper: Mappers.IntegrationRuntimeMonitoringData,
639
652
  },
640
- default: {}
653
+ default: {},
641
654
  },
642
655
  queryParameters: [Parameters.apiVersion],
643
656
  urlParameters: [
644
657
  Parameters.$host,
645
658
  Parameters.resourceGroupName,
646
659
  Parameters.subscriptionId,
647
- Parameters.sqlMigrationServiceName
660
+ Parameters.sqlMigrationServiceName,
648
661
  ],
649
662
  headerParameters: [Parameters.accept],
650
- serializer
663
+ serializer,
651
664
  };
652
665
  const listBySubscriptionOperationSpec = {
653
666
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices",
654
667
  httpMethod: "GET",
655
668
  responses: {
656
669
  200: {
657
- bodyMapper: Mappers.SqlMigrationListResult
670
+ bodyMapper: Mappers.SqlMigrationListResult,
658
671
  },
659
- default: {}
672
+ default: {},
660
673
  },
661
674
  queryParameters: [Parameters.apiVersion],
662
675
  urlParameters: [Parameters.$host, Parameters.subscriptionId],
663
676
  headerParameters: [Parameters.accept],
664
- serializer
677
+ serializer,
665
678
  };
666
679
  const listByResourceGroupNextOperationSpec = {
667
680
  path: "{nextLink}",
668
681
  httpMethod: "GET",
669
682
  responses: {
670
683
  200: {
671
- bodyMapper: Mappers.SqlMigrationListResult
684
+ bodyMapper: Mappers.SqlMigrationListResult,
672
685
  },
673
- default: {}
686
+ default: {},
674
687
  },
675
- queryParameters: [Parameters.apiVersion],
676
688
  urlParameters: [
677
689
  Parameters.$host,
678
690
  Parameters.resourceGroupName,
679
691
  Parameters.subscriptionId,
680
- Parameters.nextLink
692
+ Parameters.nextLink,
681
693
  ],
682
694
  headerParameters: [Parameters.accept],
683
- serializer
695
+ serializer,
684
696
  };
685
697
  const listMigrationsNextOperationSpec = {
686
698
  path: "{nextLink}",
687
699
  httpMethod: "GET",
688
700
  responses: {
689
701
  200: {
690
- bodyMapper: Mappers.DatabaseMigrationListResult
702
+ bodyMapper: Mappers.DatabaseMigrationListResult,
691
703
  },
692
- default: {}
704
+ default: {},
693
705
  },
694
- queryParameters: [Parameters.apiVersion],
695
706
  urlParameters: [
696
707
  Parameters.$host,
697
708
  Parameters.resourceGroupName,
698
709
  Parameters.subscriptionId,
699
710
  Parameters.nextLink,
700
- Parameters.sqlMigrationServiceName
711
+ Parameters.sqlMigrationServiceName,
701
712
  ],
702
713
  headerParameters: [Parameters.accept],
703
- serializer
714
+ serializer,
704
715
  };
705
716
  const listBySubscriptionNextOperationSpec = {
706
717
  path: "{nextLink}",
707
718
  httpMethod: "GET",
708
719
  responses: {
709
720
  200: {
710
- bodyMapper: Mappers.SqlMigrationListResult
721
+ bodyMapper: Mappers.SqlMigrationListResult,
711
722
  },
712
- default: {}
723
+ default: {},
713
724
  },
714
- queryParameters: [Parameters.apiVersion],
715
725
  urlParameters: [
716
726
  Parameters.$host,
717
727
  Parameters.subscriptionId,
718
- Parameters.nextLink
728
+ Parameters.nextLink,
719
729
  ],
720
730
  headerParameters: [Parameters.accept],
721
- serializer
731
+ serializer,
722
732
  };
723
733
  //# sourceMappingURL=sqlMigrationServices.js.map