@azure/arm-datamigration 3.0.0-alpha.20250718.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 +14 -8
  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 +11 -15
  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 +4993 -3891
  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 +83 -71
  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 +83 -71
  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 +676 -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 +194 -176
  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 +110 -100
  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 +13 -7
  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 +12 -17
  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 +5000 -3898
  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 +81 -69
  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 +81 -69
  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 +680 -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 +192 -174
  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 +108 -98
  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/esm/dataMigrationManagementClient.d.ts +5 -1
  252. package/dist/esm/dataMigrationManagementClient.d.ts.map +1 -1
  253. package/dist/esm/dataMigrationManagementClient.js +14 -8
  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 +11 -15
  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 +4993 -3891
  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 +83 -71
  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 +83 -71
  290. package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
  291. package/dist/esm/operations/files.js +43 -44
  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 +7 -8
  302. package/dist/esm/operations/operations.js.map +1 -1
  303. package/dist/esm/operations/projects.js +33 -34
  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 +12 -13
  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 +55 -53
  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 +194 -176
  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 +110 -100
  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 +65 -66
  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 +15 -16
  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 +4 -4
  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 +14 -8
  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 +11 -15
  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 +4993 -3891
  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 +83 -71
  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 +83 -71
  414. package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
  415. package/dist/react-native/operations/files.js +43 -44
  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 +7 -8
  426. package/dist/react-native/operations/operations.js.map +1 -1
  427. package/dist/react-native/operations/projects.js +33 -34
  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 +12 -13
  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 +55 -53
  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 +194 -176
  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 +110 -100
  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 +65 -66
  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 +15 -16
  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 +4 -4
  498. package/dist/react-native/pagingHelper.js.map +1 -1
  499. package/package.json +25 -26
  500. package/CHANGELOG.md +0 -21
  501. package/review/arm-datamigration-node.api.md +0 -4103
@@ -45,7 +45,7 @@ class SqlMigrationServicesImpl {
45
45
  throw new Error("maxPageSize is not supported by this operation.");
46
46
  }
47
47
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
48
- }
48
+ },
49
49
  };
50
50
  }
51
51
  listByResourceGroupPagingPage(resourceGroupName, options, settings) {
@@ -109,7 +109,7 @@ class SqlMigrationServicesImpl {
109
109
  throw new Error("maxPageSize is not supported by this operation.");
110
110
  }
111
111
  return this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings);
112
- }
112
+ },
113
113
  };
114
114
  }
115
115
  listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings) {
@@ -170,7 +170,7 @@ class SqlMigrationServicesImpl {
170
170
  throw new Error("maxPageSize is not supported by this operation.");
171
171
  }
172
172
  return this.listBySubscriptionPagingPage(options, settings);
173
- }
173
+ },
174
174
  };
175
175
  }
176
176
  listBySubscriptionPagingPage(options, settings) {
@@ -214,7 +214,7 @@ class SqlMigrationServicesImpl {
214
214
  });
215
215
  }
216
216
  /**
217
- * Retrieve the Migration Service.
217
+ * Retrieve the Database Migration Service
218
218
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
219
219
  * value from the Azure Resource Manager API or the portal.
220
220
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -224,7 +224,7 @@ class SqlMigrationServicesImpl {
224
224
  return this.client.sendOperationRequest({ resourceGroupName, sqlMigrationServiceName, options }, getOperationSpec);
225
225
  }
226
226
  /**
227
- * Create or Update SQL Migration Service.
227
+ * Create or Update Database Migration Service.
228
228
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
229
229
  * value from the Azure Resource Manager API or the portal.
230
230
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -235,7 +235,7 @@ class SqlMigrationServicesImpl {
235
235
  const directSendOperation = async (args, spec) => {
236
236
  return this.client.sendOperationRequest(args, spec);
237
237
  };
238
- const sendOperation = async (args, spec) => {
238
+ const sendOperationFn = async (args, spec) => {
239
239
  var _a;
240
240
  let currentRawResponse = undefined;
241
241
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -250,20 +250,24 @@ class SqlMigrationServicesImpl {
250
250
  rawResponse: {
251
251
  statusCode: currentRawResponse.status,
252
252
  body: currentRawResponse.parsedBody,
253
- headers: currentRawResponse.headers.toJSON()
254
- }
253
+ headers: currentRawResponse.headers.toJSON(),
254
+ },
255
255
  };
256
256
  };
257
- const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, parameters, options }, createOrUpdateOperationSpec);
258
- const poller = new core_lro_1.LroEngine(lro, {
259
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
260
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
257
+ const lro = (0, lroImpl_js_1.createLroSpec)({
258
+ sendOperationFn,
259
+ args: { resourceGroupName, sqlMigrationServiceName, parameters, options },
260
+ spec: createOrUpdateOperationSpec,
261
+ });
262
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
263
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
264
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
261
265
  });
262
266
  await poller.poll();
263
267
  return poller;
264
268
  }
265
269
  /**
266
- * Create or Update SQL Migration Service.
270
+ * Create or Update Database Migration Service.
267
271
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
268
272
  * value from the Azure Resource Manager API or the portal.
269
273
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -275,7 +279,7 @@ class SqlMigrationServicesImpl {
275
279
  return poller.pollUntilDone();
276
280
  }
277
281
  /**
278
- * Delete SQL Migration Service.
282
+ * Delete Database Migration Service.
279
283
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
280
284
  * value from the Azure Resource Manager API or the portal.
281
285
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -285,7 +289,7 @@ class SqlMigrationServicesImpl {
285
289
  const directSendOperation = async (args, spec) => {
286
290
  return this.client.sendOperationRequest(args, spec);
287
291
  };
288
- const sendOperation = async (args, spec) => {
292
+ const sendOperationFn = async (args, spec) => {
289
293
  var _a;
290
294
  let currentRawResponse = undefined;
291
295
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -300,20 +304,24 @@ class SqlMigrationServicesImpl {
300
304
  rawResponse: {
301
305
  statusCode: currentRawResponse.status,
302
306
  body: currentRawResponse.parsedBody,
303
- headers: currentRawResponse.headers.toJSON()
304
- }
307
+ headers: currentRawResponse.headers.toJSON(),
308
+ },
305
309
  };
306
310
  };
307
- const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, options }, deleteOperationSpec);
308
- const poller = new core_lro_1.LroEngine(lro, {
309
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
310
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
311
+ const lro = (0, lroImpl_js_1.createLroSpec)({
312
+ sendOperationFn,
313
+ args: { resourceGroupName, sqlMigrationServiceName, options },
314
+ spec: deleteOperationSpec,
315
+ });
316
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
317
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
318
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
311
319
  });
312
320
  await poller.poll();
313
321
  return poller;
314
322
  }
315
323
  /**
316
- * Delete SQL Migration Service.
324
+ * Delete Database Migration Service.
317
325
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
318
326
  * value from the Azure Resource Manager API or the portal.
319
327
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -324,7 +332,7 @@ class SqlMigrationServicesImpl {
324
332
  return poller.pollUntilDone();
325
333
  }
326
334
  /**
327
- * Update SQL Migration Service.
335
+ * Update Database Migration Service.
328
336
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
329
337
  * value from the Azure Resource Manager API or the portal.
330
338
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -335,7 +343,7 @@ class SqlMigrationServicesImpl {
335
343
  const directSendOperation = async (args, spec) => {
336
344
  return this.client.sendOperationRequest(args, spec);
337
345
  };
338
- const sendOperation = async (args, spec) => {
346
+ const sendOperationFn = async (args, spec) => {
339
347
  var _a;
340
348
  let currentRawResponse = undefined;
341
349
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -350,20 +358,24 @@ class SqlMigrationServicesImpl {
350
358
  rawResponse: {
351
359
  statusCode: currentRawResponse.status,
352
360
  body: currentRawResponse.parsedBody,
353
- headers: currentRawResponse.headers.toJSON()
354
- }
361
+ headers: currentRawResponse.headers.toJSON(),
362
+ },
355
363
  };
356
364
  };
357
- const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, parameters, options }, updateOperationSpec);
358
- const poller = new core_lro_1.LroEngine(lro, {
359
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
360
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
365
+ const lro = (0, lroImpl_js_1.createLroSpec)({
366
+ sendOperationFn,
367
+ args: { resourceGroupName, sqlMigrationServiceName, parameters, options },
368
+ spec: updateOperationSpec,
369
+ });
370
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
371
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
372
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
361
373
  });
362
374
  await poller.poll();
363
375
  return poller;
364
376
  }
365
377
  /**
366
- * Update SQL Migration Service.
378
+ * Update Database Migration Service.
367
379
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
368
380
  * value from the Azure Resource Manager API or the portal.
369
381
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -426,7 +438,8 @@ class SqlMigrationServicesImpl {
426
438
  return this.client.sendOperationRequest({ resourceGroupName, sqlMigrationServiceName, options }, listMigrationsOperationSpec);
427
439
  }
428
440
  /**
429
- * Retrieve the Monitoring Data.
441
+ * Retrieve the registered Integration Runtime nodes and their monitoring data for a given Database
442
+ * Migration Service.
430
443
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
431
444
  * value from the Azure Resource Manager API or the portal.
432
445
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -480,49 +493,49 @@ const getOperationSpec = {
480
493
  httpMethod: "GET",
481
494
  responses: {
482
495
  200: {
483
- bodyMapper: Mappers.SqlMigrationService
496
+ bodyMapper: Mappers.SqlMigrationService,
484
497
  },
485
- default: {}
498
+ default: {},
486
499
  },
487
500
  queryParameters: [Parameters.apiVersion],
488
501
  urlParameters: [
489
502
  Parameters.$host,
490
503
  Parameters.resourceGroupName,
491
504
  Parameters.subscriptionId,
492
- Parameters.sqlMigrationServiceName
505
+ Parameters.sqlMigrationServiceName,
493
506
  ],
494
507
  headerParameters: [Parameters.accept],
495
- serializer
508
+ serializer,
496
509
  };
497
510
  const createOrUpdateOperationSpec = {
498
511
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
499
512
  httpMethod: "PUT",
500
513
  responses: {
501
514
  200: {
502
- bodyMapper: Mappers.SqlMigrationService
515
+ bodyMapper: Mappers.SqlMigrationService,
503
516
  },
504
517
  201: {
505
- bodyMapper: Mappers.SqlMigrationService
518
+ bodyMapper: Mappers.SqlMigrationService,
506
519
  },
507
520
  202: {
508
- bodyMapper: Mappers.SqlMigrationService
521
+ bodyMapper: Mappers.SqlMigrationService,
509
522
  },
510
523
  204: {
511
- bodyMapper: Mappers.SqlMigrationService
524
+ bodyMapper: Mappers.SqlMigrationService,
512
525
  },
513
- default: {}
526
+ default: {},
514
527
  },
515
- requestBody: Parameters.parameters3,
528
+ requestBody: Parameters.parameters7,
516
529
  queryParameters: [Parameters.apiVersion],
517
530
  urlParameters: [
518
531
  Parameters.$host,
519
532
  Parameters.resourceGroupName,
520
533
  Parameters.subscriptionId,
521
- Parameters.sqlMigrationServiceName
534
+ Parameters.sqlMigrationServiceName,
522
535
  ],
523
536
  headerParameters: [Parameters.accept, Parameters.contentType],
524
537
  mediaType: "json",
525
- serializer
538
+ serializer,
526
539
  };
527
540
  const deleteOperationSpec = {
528
541
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
@@ -533,226 +546,223 @@ const deleteOperationSpec = {
533
546
  Parameters.$host,
534
547
  Parameters.resourceGroupName,
535
548
  Parameters.subscriptionId,
536
- Parameters.sqlMigrationServiceName
549
+ Parameters.sqlMigrationServiceName,
537
550
  ],
538
- serializer
551
+ serializer,
539
552
  };
540
553
  const updateOperationSpec = {
541
554
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
542
555
  httpMethod: "PATCH",
543
556
  responses: {
544
557
  200: {
545
- bodyMapper: Mappers.SqlMigrationService
558
+ bodyMapper: Mappers.SqlMigrationService,
546
559
  },
547
560
  201: {
548
- bodyMapper: Mappers.SqlMigrationService
561
+ bodyMapper: Mappers.SqlMigrationService,
549
562
  },
550
563
  202: {
551
- bodyMapper: Mappers.SqlMigrationService
564
+ bodyMapper: Mappers.SqlMigrationService,
552
565
  },
553
566
  204: {
554
- bodyMapper: Mappers.SqlMigrationService
567
+ bodyMapper: Mappers.SqlMigrationService,
555
568
  },
556
- default: {}
569
+ default: {},
557
570
  },
558
- requestBody: Parameters.parameters4,
571
+ requestBody: Parameters.parameters8,
559
572
  queryParameters: [Parameters.apiVersion],
560
573
  urlParameters: [
561
574
  Parameters.$host,
562
575
  Parameters.resourceGroupName,
563
576
  Parameters.subscriptionId,
564
- Parameters.sqlMigrationServiceName
577
+ Parameters.sqlMigrationServiceName,
565
578
  ],
566
579
  headerParameters: [Parameters.accept, Parameters.contentType],
567
580
  mediaType: "json",
568
- serializer
581
+ serializer,
569
582
  };
570
583
  const listByResourceGroupOperationSpec = {
571
584
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices",
572
585
  httpMethod: "GET",
573
586
  responses: {
574
587
  200: {
575
- bodyMapper: Mappers.SqlMigrationListResult
588
+ bodyMapper: Mappers.SqlMigrationListResult,
576
589
  },
577
- default: {}
590
+ default: {},
578
591
  },
579
592
  queryParameters: [Parameters.apiVersion],
580
593
  urlParameters: [
581
594
  Parameters.$host,
582
595
  Parameters.resourceGroupName,
583
- Parameters.subscriptionId
596
+ Parameters.subscriptionId,
584
597
  ],
585
598
  headerParameters: [Parameters.accept],
586
- serializer
599
+ serializer,
587
600
  };
588
601
  const listAuthKeysOperationSpec = {
589
602
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listAuthKeys",
590
603
  httpMethod: "POST",
591
604
  responses: {
592
605
  200: {
593
- bodyMapper: Mappers.AuthenticationKeys
606
+ bodyMapper: Mappers.AuthenticationKeys,
594
607
  },
595
- default: {}
608
+ default: {},
596
609
  },
597
610
  queryParameters: [Parameters.apiVersion],
598
611
  urlParameters: [
599
612
  Parameters.$host,
600
613
  Parameters.resourceGroupName,
601
614
  Parameters.subscriptionId,
602
- Parameters.sqlMigrationServiceName
615
+ Parameters.sqlMigrationServiceName,
603
616
  ],
604
617
  headerParameters: [Parameters.accept],
605
- serializer
618
+ serializer,
606
619
  };
607
620
  const regenerateAuthKeysOperationSpec = {
608
621
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/regenerateAuthKeys",
609
622
  httpMethod: "POST",
610
623
  responses: {
611
624
  200: {
612
- bodyMapper: Mappers.RegenAuthKeys
625
+ bodyMapper: Mappers.RegenAuthKeys,
613
626
  },
614
- default: {}
627
+ default: {},
615
628
  },
616
- requestBody: Parameters.parameters5,
629
+ requestBody: Parameters.parameters9,
617
630
  queryParameters: [Parameters.apiVersion],
618
631
  urlParameters: [
619
632
  Parameters.$host,
620
633
  Parameters.resourceGroupName,
621
634
  Parameters.subscriptionId,
622
- Parameters.sqlMigrationServiceName
635
+ Parameters.sqlMigrationServiceName,
623
636
  ],
624
637
  headerParameters: [Parameters.accept, Parameters.contentType],
625
638
  mediaType: "json",
626
- serializer
639
+ serializer,
627
640
  };
628
641
  const deleteNodeOperationSpec = {
629
642
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/deleteNode",
630
643
  httpMethod: "POST",
631
644
  responses: {
632
645
  200: {
633
- bodyMapper: Mappers.DeleteNode
646
+ bodyMapper: Mappers.DeleteNode,
634
647
  },
635
- default: {}
648
+ default: {},
636
649
  },
637
- requestBody: Parameters.parameters6,
650
+ requestBody: Parameters.parameters10,
638
651
  queryParameters: [Parameters.apiVersion],
639
652
  urlParameters: [
640
653
  Parameters.$host,
641
654
  Parameters.resourceGroupName,
642
655
  Parameters.subscriptionId,
643
- Parameters.sqlMigrationServiceName
656
+ Parameters.sqlMigrationServiceName,
644
657
  ],
645
658
  headerParameters: [Parameters.accept, Parameters.contentType],
646
659
  mediaType: "json",
647
- serializer
660
+ serializer,
648
661
  };
649
662
  const listMigrationsOperationSpec = {
650
663
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMigrations",
651
664
  httpMethod: "GET",
652
665
  responses: {
653
666
  200: {
654
- bodyMapper: Mappers.DatabaseMigrationListResult
667
+ bodyMapper: Mappers.DatabaseMigrationListResult,
655
668
  },
656
- default: {}
669
+ default: {},
657
670
  },
658
671
  queryParameters: [Parameters.apiVersion],
659
672
  urlParameters: [
660
673
  Parameters.$host,
661
674
  Parameters.resourceGroupName,
662
675
  Parameters.subscriptionId,
663
- Parameters.sqlMigrationServiceName
676
+ Parameters.sqlMigrationServiceName,
664
677
  ],
665
678
  headerParameters: [Parameters.accept],
666
- serializer
679
+ serializer,
667
680
  };
668
681
  const listMonitoringDataOperationSpec = {
669
682
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMonitoringData",
670
683
  httpMethod: "POST",
671
684
  responses: {
672
685
  200: {
673
- bodyMapper: Mappers.IntegrationRuntimeMonitoringData
686
+ bodyMapper: Mappers.IntegrationRuntimeMonitoringData,
674
687
  },
675
- default: {}
688
+ default: {},
676
689
  },
677
690
  queryParameters: [Parameters.apiVersion],
678
691
  urlParameters: [
679
692
  Parameters.$host,
680
693
  Parameters.resourceGroupName,
681
694
  Parameters.subscriptionId,
682
- Parameters.sqlMigrationServiceName
695
+ Parameters.sqlMigrationServiceName,
683
696
  ],
684
697
  headerParameters: [Parameters.accept],
685
- serializer
698
+ serializer,
686
699
  };
687
700
  const listBySubscriptionOperationSpec = {
688
701
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices",
689
702
  httpMethod: "GET",
690
703
  responses: {
691
704
  200: {
692
- bodyMapper: Mappers.SqlMigrationListResult
705
+ bodyMapper: Mappers.SqlMigrationListResult,
693
706
  },
694
- default: {}
707
+ default: {},
695
708
  },
696
709
  queryParameters: [Parameters.apiVersion],
697
710
  urlParameters: [Parameters.$host, Parameters.subscriptionId],
698
711
  headerParameters: [Parameters.accept],
699
- serializer
712
+ serializer,
700
713
  };
701
714
  const listByResourceGroupNextOperationSpec = {
702
715
  path: "{nextLink}",
703
716
  httpMethod: "GET",
704
717
  responses: {
705
718
  200: {
706
- bodyMapper: Mappers.SqlMigrationListResult
719
+ bodyMapper: Mappers.SqlMigrationListResult,
707
720
  },
708
- default: {}
721
+ default: {},
709
722
  },
710
- queryParameters: [Parameters.apiVersion],
711
723
  urlParameters: [
712
724
  Parameters.$host,
713
725
  Parameters.resourceGroupName,
714
726
  Parameters.subscriptionId,
715
- Parameters.nextLink
727
+ Parameters.nextLink,
716
728
  ],
717
729
  headerParameters: [Parameters.accept],
718
- serializer
730
+ serializer,
719
731
  };
720
732
  const listMigrationsNextOperationSpec = {
721
733
  path: "{nextLink}",
722
734
  httpMethod: "GET",
723
735
  responses: {
724
736
  200: {
725
- bodyMapper: Mappers.DatabaseMigrationListResult
737
+ bodyMapper: Mappers.DatabaseMigrationListResult,
726
738
  },
727
- default: {}
739
+ default: {},
728
740
  },
729
- queryParameters: [Parameters.apiVersion],
730
741
  urlParameters: [
731
742
  Parameters.$host,
732
743
  Parameters.resourceGroupName,
733
744
  Parameters.subscriptionId,
734
745
  Parameters.nextLink,
735
- Parameters.sqlMigrationServiceName
746
+ Parameters.sqlMigrationServiceName,
736
747
  ],
737
748
  headerParameters: [Parameters.accept],
738
- serializer
749
+ serializer,
739
750
  };
740
751
  const listBySubscriptionNextOperationSpec = {
741
752
  path: "{nextLink}",
742
753
  httpMethod: "GET",
743
754
  responses: {
744
755
  200: {
745
- bodyMapper: Mappers.SqlMigrationListResult
756
+ bodyMapper: Mappers.SqlMigrationListResult,
746
757
  },
747
- default: {}
758
+ default: {},
748
759
  },
749
- queryParameters: [Parameters.apiVersion],
750
760
  urlParameters: [
751
761
  Parameters.$host,
752
762
  Parameters.subscriptionId,
753
- Parameters.nextLink
763
+ Parameters.nextLink,
754
764
  ],
755
765
  headerParameters: [Parameters.accept],
756
- serializer
766
+ serializer,
757
767
  };
758
768
  //# sourceMappingURL=sqlMigrationServices.js.map