@azure/arm-datamigration 3.0.0-beta.4 → 3.0.0

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 (507) hide show
  1. package/README.md +1 -1
  2. package/dist/browser/dataMigrationManagementClient.d.ts.map +1 -1
  3. package/dist/browser/dataMigrationManagementClient.js +34 -16
  4. package/dist/browser/dataMigrationManagementClient.js.map +1 -1
  5. package/dist/browser/index.d.ts.map +1 -1
  6. package/dist/browser/index.js +4 -7
  7. package/dist/browser/index.js.map +1 -1
  8. package/dist/browser/lroImpl.d.ts.map +1 -1
  9. package/dist/browser/lroImpl.js +9 -10
  10. package/dist/browser/lroImpl.js.map +1 -1
  11. package/dist/browser/models/index.d.ts +120 -155
  12. package/dist/browser/models/index.d.ts.map +1 -1
  13. package/dist/browser/models/index.js +2 -7
  14. package/dist/browser/models/index.js.map +1 -1
  15. package/dist/browser/models/mappers.d.ts +8 -12
  16. package/dist/browser/models/mappers.d.ts.map +1 -1
  17. package/dist/browser/models/mappers.js +1802 -1134
  18. package/dist/browser/models/mappers.js.map +1 -1
  19. package/dist/browser/models/parameters.d.ts +3 -0
  20. package/dist/browser/models/parameters.d.ts.map +1 -1
  21. package/dist/browser/models/parameters.js +33 -8
  22. package/dist/browser/models/parameters.js.map +1 -1
  23. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
  24. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +48 -60
  25. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
  26. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
  27. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +48 -60
  28. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
  29. package/dist/browser/operations/databaseMigrationsSqlDb.d.ts +21 -1
  30. package/dist/browser/operations/databaseMigrationsSqlDb.d.ts.map +1 -1
  31. package/dist/browser/operations/databaseMigrationsSqlDb.js +137 -31
  32. package/dist/browser/operations/databaseMigrationsSqlDb.js.map +1 -1
  33. package/dist/browser/operations/databaseMigrationsSqlMi.d.ts +19 -1
  34. package/dist/browser/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  35. package/dist/browser/operations/databaseMigrationsSqlMi.js +127 -31
  36. package/dist/browser/operations/databaseMigrationsSqlMi.js.map +1 -1
  37. package/dist/browser/operations/databaseMigrationsSqlVm.d.ts +19 -1
  38. package/dist/browser/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  39. package/dist/browser/operations/databaseMigrationsSqlVm.js +127 -31
  40. package/dist/browser/operations/databaseMigrationsSqlVm.js.map +1 -1
  41. package/dist/browser/operations/files.d.ts.map +1 -1
  42. package/dist/browser/operations/files.js +25 -47
  43. package/dist/browser/operations/files.js.map +1 -1
  44. package/dist/browser/operations/index.d.ts.map +1 -1
  45. package/dist/browser/operations/index.js +4 -7
  46. package/dist/browser/operations/index.js.map +1 -1
  47. package/dist/browser/operations/migrationServices.d.ts.map +1 -1
  48. package/dist/browser/operations/migrationServices.js +105 -154
  49. package/dist/browser/operations/migrationServices.js.map +1 -1
  50. package/dist/browser/operations/operations.d.ts.map +1 -1
  51. package/dist/browser/operations/operations.js +25 -47
  52. package/dist/browser/operations/operations.js.map +1 -1
  53. package/dist/browser/operations/projects.d.ts.map +1 -1
  54. package/dist/browser/operations/projects.js +25 -47
  55. package/dist/browser/operations/projects.js.map +1 -1
  56. package/dist/browser/operations/resourceSkus.d.ts.map +1 -1
  57. package/dist/browser/operations/resourceSkus.js +26 -52
  58. package/dist/browser/operations/resourceSkus.js.map +1 -1
  59. package/dist/browser/operations/serviceTasks.d.ts.map +1 -1
  60. package/dist/browser/operations/serviceTasks.js +25 -47
  61. package/dist/browser/operations/serviceTasks.js.map +1 -1
  62. package/dist/browser/operations/services.d.ts.map +1 -1
  63. package/dist/browser/operations/services.js +128 -171
  64. package/dist/browser/operations/services.js.map +1 -1
  65. package/dist/browser/operations/sqlMigrationServices.d.ts.map +1 -1
  66. package/dist/browser/operations/sqlMigrationServices.js +105 -154
  67. package/dist/browser/operations/sqlMigrationServices.js.map +1 -1
  68. package/dist/browser/operations/tasks.d.ts.map +1 -1
  69. package/dist/browser/operations/tasks.js +25 -47
  70. package/dist/browser/operations/tasks.js.map +1 -1
  71. package/dist/browser/operations/usages.d.ts.map +1 -1
  72. package/dist/browser/operations/usages.js +26 -52
  73. package/dist/browser/operations/usages.js.map +1 -1
  74. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
  75. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +2 -7
  76. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
  77. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
  78. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +2 -7
  79. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
  80. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts +21 -1
  81. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -1
  82. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js +2 -7
  83. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -1
  84. package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts +19 -1
  85. package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  86. package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.js +2 -7
  87. package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  88. package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts +19 -1
  89. package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  90. package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.js +2 -7
  91. package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  92. package/dist/browser/operationsInterfaces/files.d.ts.map +1 -1
  93. package/dist/browser/operationsInterfaces/files.js +2 -7
  94. package/dist/browser/operationsInterfaces/files.js.map +1 -1
  95. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  96. package/dist/browser/operationsInterfaces/index.js +4 -7
  97. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  98. package/dist/browser/operationsInterfaces/migrationServices.d.ts.map +1 -1
  99. package/dist/browser/operationsInterfaces/migrationServices.js +2 -7
  100. package/dist/browser/operationsInterfaces/migrationServices.js.map +1 -1
  101. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  102. package/dist/browser/operationsInterfaces/operations.js +2 -7
  103. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  104. package/dist/browser/operationsInterfaces/projects.d.ts.map +1 -1
  105. package/dist/browser/operationsInterfaces/projects.js +2 -7
  106. package/dist/browser/operationsInterfaces/projects.js.map +1 -1
  107. package/dist/browser/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  108. package/dist/browser/operationsInterfaces/resourceSkus.js +2 -7
  109. package/dist/browser/operationsInterfaces/resourceSkus.js.map +1 -1
  110. package/dist/browser/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  111. package/dist/browser/operationsInterfaces/serviceTasks.js +2 -7
  112. package/dist/browser/operationsInterfaces/serviceTasks.js.map +1 -1
  113. package/dist/browser/operationsInterfaces/services.d.ts.map +1 -1
  114. package/dist/browser/operationsInterfaces/services.js +2 -7
  115. package/dist/browser/operationsInterfaces/services.js.map +1 -1
  116. package/dist/browser/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  117. package/dist/browser/operationsInterfaces/sqlMigrationServices.js +2 -7
  118. package/dist/browser/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  119. package/dist/browser/operationsInterfaces/tasks.d.ts.map +1 -1
  120. package/dist/browser/operationsInterfaces/tasks.js +2 -7
  121. package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
  122. package/dist/browser/operationsInterfaces/usages.d.ts.map +1 -1
  123. package/dist/browser/operationsInterfaces/usages.js +2 -7
  124. package/dist/browser/operationsInterfaces/usages.js.map +1 -1
  125. package/dist/browser/pagingHelper.d.ts.map +1 -1
  126. package/dist/browser/pagingHelper.js +4 -11
  127. package/dist/browser/pagingHelper.js.map +1 -1
  128. package/dist/commonjs/dataMigrationManagementClient.d.ts.map +1 -1
  129. package/dist/commonjs/dataMigrationManagementClient.js +34 -16
  130. package/dist/commonjs/dataMigrationManagementClient.js.map +1 -1
  131. package/dist/commonjs/index.d.ts.map +1 -1
  132. package/dist/commonjs/index.js +4 -7
  133. package/dist/commonjs/index.js.map +1 -1
  134. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  135. package/dist/commonjs/lroImpl.js +9 -10
  136. package/dist/commonjs/lroImpl.js.map +1 -1
  137. package/dist/commonjs/models/index.d.ts +120 -155
  138. package/dist/commonjs/models/index.d.ts.map +1 -1
  139. package/dist/commonjs/models/index.js +2 -7
  140. package/dist/commonjs/models/index.js.map +1 -1
  141. package/dist/commonjs/models/mappers.d.ts +8 -12
  142. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  143. package/dist/commonjs/models/mappers.js +1809 -1141
  144. package/dist/commonjs/models/mappers.js.map +1 -1
  145. package/dist/commonjs/models/parameters.d.ts +3 -0
  146. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  147. package/dist/commonjs/models/parameters.js +34 -9
  148. package/dist/commonjs/models/parameters.js.map +1 -1
  149. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
  150. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +47 -58
  151. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
  152. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
  153. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +47 -58
  154. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
  155. package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts +21 -1
  156. package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts.map +1 -1
  157. package/dist/commonjs/operations/databaseMigrationsSqlDb.js +136 -30
  158. package/dist/commonjs/operations/databaseMigrationsSqlDb.js.map +1 -1
  159. package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts +19 -1
  160. package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  161. package/dist/commonjs/operations/databaseMigrationsSqlMi.js +126 -30
  162. package/dist/commonjs/operations/databaseMigrationsSqlMi.js.map +1 -1
  163. package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts +19 -1
  164. package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  165. package/dist/commonjs/operations/databaseMigrationsSqlVm.js +126 -30
  166. package/dist/commonjs/operations/databaseMigrationsSqlVm.js.map +1 -1
  167. package/dist/commonjs/operations/files.d.ts.map +1 -1
  168. package/dist/commonjs/operations/files.js +25 -46
  169. package/dist/commonjs/operations/files.js.map +1 -1
  170. package/dist/commonjs/operations/index.d.ts.map +1 -1
  171. package/dist/commonjs/operations/index.js +4 -7
  172. package/dist/commonjs/operations/index.js.map +1 -1
  173. package/dist/commonjs/operations/migrationServices.d.ts.map +1 -1
  174. package/dist/commonjs/operations/migrationServices.js +104 -152
  175. package/dist/commonjs/operations/migrationServices.js.map +1 -1
  176. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  177. package/dist/commonjs/operations/operations.js +25 -46
  178. package/dist/commonjs/operations/operations.js.map +1 -1
  179. package/dist/commonjs/operations/projects.d.ts.map +1 -1
  180. package/dist/commonjs/operations/projects.js +25 -46
  181. package/dist/commonjs/operations/projects.js.map +1 -1
  182. package/dist/commonjs/operations/resourceSkus.d.ts.map +1 -1
  183. package/dist/commonjs/operations/resourceSkus.js +26 -51
  184. package/dist/commonjs/operations/resourceSkus.js.map +1 -1
  185. package/dist/commonjs/operations/serviceTasks.d.ts.map +1 -1
  186. package/dist/commonjs/operations/serviceTasks.js +25 -46
  187. package/dist/commonjs/operations/serviceTasks.js.map +1 -1
  188. package/dist/commonjs/operations/services.d.ts.map +1 -1
  189. package/dist/commonjs/operations/services.js +127 -169
  190. package/dist/commonjs/operations/services.js.map +1 -1
  191. package/dist/commonjs/operations/sqlMigrationServices.d.ts.map +1 -1
  192. package/dist/commonjs/operations/sqlMigrationServices.js +104 -152
  193. package/dist/commonjs/operations/sqlMigrationServices.js.map +1 -1
  194. package/dist/commonjs/operations/tasks.d.ts.map +1 -1
  195. package/dist/commonjs/operations/tasks.js +25 -46
  196. package/dist/commonjs/operations/tasks.js.map +1 -1
  197. package/dist/commonjs/operations/usages.d.ts.map +1 -1
  198. package/dist/commonjs/operations/usages.js +26 -51
  199. package/dist/commonjs/operations/usages.js.map +1 -1
  200. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
  201. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +2 -7
  202. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
  203. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
  204. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +2 -7
  205. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
  206. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts +21 -1
  207. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -1
  208. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js +2 -7
  209. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -1
  210. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts +19 -1
  211. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  212. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.js +2 -7
  213. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  214. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts +19 -1
  215. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  216. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.js +2 -7
  217. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  218. package/dist/commonjs/operationsInterfaces/files.d.ts.map +1 -1
  219. package/dist/commonjs/operationsInterfaces/files.js +2 -7
  220. package/dist/commonjs/operationsInterfaces/files.js.map +1 -1
  221. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  222. package/dist/commonjs/operationsInterfaces/index.js +4 -7
  223. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  224. package/dist/commonjs/operationsInterfaces/migrationServices.d.ts.map +1 -1
  225. package/dist/commonjs/operationsInterfaces/migrationServices.js +2 -7
  226. package/dist/commonjs/operationsInterfaces/migrationServices.js.map +1 -1
  227. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  228. package/dist/commonjs/operationsInterfaces/operations.js +2 -7
  229. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  230. package/dist/commonjs/operationsInterfaces/projects.d.ts.map +1 -1
  231. package/dist/commonjs/operationsInterfaces/projects.js +2 -7
  232. package/dist/commonjs/operationsInterfaces/projects.js.map +1 -1
  233. package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  234. package/dist/commonjs/operationsInterfaces/resourceSkus.js +2 -7
  235. package/dist/commonjs/operationsInterfaces/resourceSkus.js.map +1 -1
  236. package/dist/commonjs/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  237. package/dist/commonjs/operationsInterfaces/serviceTasks.js +2 -7
  238. package/dist/commonjs/operationsInterfaces/serviceTasks.js.map +1 -1
  239. package/dist/commonjs/operationsInterfaces/services.d.ts.map +1 -1
  240. package/dist/commonjs/operationsInterfaces/services.js +2 -7
  241. package/dist/commonjs/operationsInterfaces/services.js.map +1 -1
  242. package/dist/commonjs/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  243. package/dist/commonjs/operationsInterfaces/sqlMigrationServices.js +2 -7
  244. package/dist/commonjs/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  245. package/dist/commonjs/operationsInterfaces/tasks.d.ts.map +1 -1
  246. package/dist/commonjs/operationsInterfaces/tasks.js +2 -7
  247. package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
  248. package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -1
  249. package/dist/commonjs/operationsInterfaces/usages.js +2 -7
  250. package/dist/commonjs/operationsInterfaces/usages.js.map +1 -1
  251. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  252. package/dist/commonjs/pagingHelper.js +4 -11
  253. package/dist/commonjs/pagingHelper.js.map +1 -1
  254. package/dist/commonjs/tsdoc-metadata.json +1 -1
  255. package/dist/esm/dataMigrationManagementClient.d.ts.map +1 -1
  256. package/dist/esm/dataMigrationManagementClient.js +34 -16
  257. package/dist/esm/dataMigrationManagementClient.js.map +1 -1
  258. package/dist/esm/index.d.ts.map +1 -1
  259. package/dist/esm/index.js +4 -7
  260. package/dist/esm/index.js.map +1 -1
  261. package/dist/esm/lroImpl.d.ts.map +1 -1
  262. package/dist/esm/lroImpl.js +9 -10
  263. package/dist/esm/lroImpl.js.map +1 -1
  264. package/dist/esm/models/index.d.ts +120 -155
  265. package/dist/esm/models/index.d.ts.map +1 -1
  266. package/dist/esm/models/index.js +2 -7
  267. package/dist/esm/models/index.js.map +1 -1
  268. package/dist/esm/models/mappers.d.ts +8 -12
  269. package/dist/esm/models/mappers.d.ts.map +1 -1
  270. package/dist/esm/models/mappers.js +1802 -1134
  271. package/dist/esm/models/mappers.js.map +1 -1
  272. package/dist/esm/models/parameters.d.ts +3 -0
  273. package/dist/esm/models/parameters.d.ts.map +1 -1
  274. package/dist/esm/models/parameters.js +33 -8
  275. package/dist/esm/models/parameters.js.map +1 -1
  276. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
  277. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +48 -60
  278. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
  279. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
  280. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +48 -60
  281. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
  282. package/dist/esm/operations/databaseMigrationsSqlDb.d.ts +21 -1
  283. package/dist/esm/operations/databaseMigrationsSqlDb.d.ts.map +1 -1
  284. package/dist/esm/operations/databaseMigrationsSqlDb.js +137 -31
  285. package/dist/esm/operations/databaseMigrationsSqlDb.js.map +1 -1
  286. package/dist/esm/operations/databaseMigrationsSqlMi.d.ts +19 -1
  287. package/dist/esm/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  288. package/dist/esm/operations/databaseMigrationsSqlMi.js +127 -31
  289. package/dist/esm/operations/databaseMigrationsSqlMi.js.map +1 -1
  290. package/dist/esm/operations/databaseMigrationsSqlVm.d.ts +19 -1
  291. package/dist/esm/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  292. package/dist/esm/operations/databaseMigrationsSqlVm.js +127 -31
  293. package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
  294. package/dist/esm/operations/files.d.ts.map +1 -1
  295. package/dist/esm/operations/files.js +25 -47
  296. package/dist/esm/operations/files.js.map +1 -1
  297. package/dist/esm/operations/index.d.ts.map +1 -1
  298. package/dist/esm/operations/index.js +4 -7
  299. package/dist/esm/operations/index.js.map +1 -1
  300. package/dist/esm/operations/migrationServices.d.ts.map +1 -1
  301. package/dist/esm/operations/migrationServices.js +105 -154
  302. package/dist/esm/operations/migrationServices.js.map +1 -1
  303. package/dist/esm/operations/operations.d.ts.map +1 -1
  304. package/dist/esm/operations/operations.js +25 -47
  305. package/dist/esm/operations/operations.js.map +1 -1
  306. package/dist/esm/operations/projects.d.ts.map +1 -1
  307. package/dist/esm/operations/projects.js +25 -47
  308. package/dist/esm/operations/projects.js.map +1 -1
  309. package/dist/esm/operations/resourceSkus.d.ts.map +1 -1
  310. package/dist/esm/operations/resourceSkus.js +26 -52
  311. package/dist/esm/operations/resourceSkus.js.map +1 -1
  312. package/dist/esm/operations/serviceTasks.d.ts.map +1 -1
  313. package/dist/esm/operations/serviceTasks.js +25 -47
  314. package/dist/esm/operations/serviceTasks.js.map +1 -1
  315. package/dist/esm/operations/services.d.ts.map +1 -1
  316. package/dist/esm/operations/services.js +128 -171
  317. package/dist/esm/operations/services.js.map +1 -1
  318. package/dist/esm/operations/sqlMigrationServices.d.ts.map +1 -1
  319. package/dist/esm/operations/sqlMigrationServices.js +105 -154
  320. package/dist/esm/operations/sqlMigrationServices.js.map +1 -1
  321. package/dist/esm/operations/tasks.d.ts.map +1 -1
  322. package/dist/esm/operations/tasks.js +25 -47
  323. package/dist/esm/operations/tasks.js.map +1 -1
  324. package/dist/esm/operations/usages.d.ts.map +1 -1
  325. package/dist/esm/operations/usages.js +26 -52
  326. package/dist/esm/operations/usages.js.map +1 -1
  327. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
  328. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +2 -7
  329. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
  330. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
  331. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +2 -7
  332. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
  333. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts +21 -1
  334. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -1
  335. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js +2 -7
  336. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -1
  337. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts +19 -1
  338. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  339. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.js +2 -7
  340. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  341. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts +19 -1
  342. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  343. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.js +2 -7
  344. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  345. package/dist/esm/operationsInterfaces/files.d.ts.map +1 -1
  346. package/dist/esm/operationsInterfaces/files.js +2 -7
  347. package/dist/esm/operationsInterfaces/files.js.map +1 -1
  348. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  349. package/dist/esm/operationsInterfaces/index.js +4 -7
  350. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  351. package/dist/esm/operationsInterfaces/migrationServices.d.ts.map +1 -1
  352. package/dist/esm/operationsInterfaces/migrationServices.js +2 -7
  353. package/dist/esm/operationsInterfaces/migrationServices.js.map +1 -1
  354. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  355. package/dist/esm/operationsInterfaces/operations.js +2 -7
  356. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  357. package/dist/esm/operationsInterfaces/projects.d.ts.map +1 -1
  358. package/dist/esm/operationsInterfaces/projects.js +2 -7
  359. package/dist/esm/operationsInterfaces/projects.js.map +1 -1
  360. package/dist/esm/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  361. package/dist/esm/operationsInterfaces/resourceSkus.js +2 -7
  362. package/dist/esm/operationsInterfaces/resourceSkus.js.map +1 -1
  363. package/dist/esm/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  364. package/dist/esm/operationsInterfaces/serviceTasks.js +2 -7
  365. package/dist/esm/operationsInterfaces/serviceTasks.js.map +1 -1
  366. package/dist/esm/operationsInterfaces/services.d.ts.map +1 -1
  367. package/dist/esm/operationsInterfaces/services.js +2 -7
  368. package/dist/esm/operationsInterfaces/services.js.map +1 -1
  369. package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  370. package/dist/esm/operationsInterfaces/sqlMigrationServices.js +2 -7
  371. package/dist/esm/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  372. package/dist/esm/operationsInterfaces/tasks.d.ts.map +1 -1
  373. package/dist/esm/operationsInterfaces/tasks.js +2 -7
  374. package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
  375. package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -1
  376. package/dist/esm/operationsInterfaces/usages.js +2 -7
  377. package/dist/esm/operationsInterfaces/usages.js.map +1 -1
  378. package/dist/esm/pagingHelper.d.ts.map +1 -1
  379. package/dist/esm/pagingHelper.js +4 -11
  380. package/dist/esm/pagingHelper.js.map +1 -1
  381. package/dist/react-native/dataMigrationManagementClient.d.ts.map +1 -1
  382. package/dist/react-native/dataMigrationManagementClient.js +34 -16
  383. package/dist/react-native/dataMigrationManagementClient.js.map +1 -1
  384. package/dist/react-native/index.d.ts.map +1 -1
  385. package/dist/react-native/index.js +4 -7
  386. package/dist/react-native/index.js.map +1 -1
  387. package/dist/react-native/lroImpl.d.ts.map +1 -1
  388. package/dist/react-native/lroImpl.js +9 -10
  389. package/dist/react-native/lroImpl.js.map +1 -1
  390. package/dist/react-native/models/index.d.ts +120 -155
  391. package/dist/react-native/models/index.d.ts.map +1 -1
  392. package/dist/react-native/models/index.js +2 -7
  393. package/dist/react-native/models/index.js.map +1 -1
  394. package/dist/react-native/models/mappers.d.ts +8 -12
  395. package/dist/react-native/models/mappers.d.ts.map +1 -1
  396. package/dist/react-native/models/mappers.js +1802 -1134
  397. package/dist/react-native/models/mappers.js.map +1 -1
  398. package/dist/react-native/models/parameters.d.ts +3 -0
  399. package/dist/react-native/models/parameters.d.ts.map +1 -1
  400. package/dist/react-native/models/parameters.js +33 -8
  401. package/dist/react-native/models/parameters.js.map +1 -1
  402. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
  403. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +48 -60
  404. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
  405. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
  406. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +48 -60
  407. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
  408. package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts +21 -1
  409. package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts.map +1 -1
  410. package/dist/react-native/operations/databaseMigrationsSqlDb.js +137 -31
  411. package/dist/react-native/operations/databaseMigrationsSqlDb.js.map +1 -1
  412. package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts +19 -1
  413. package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  414. package/dist/react-native/operations/databaseMigrationsSqlMi.js +127 -31
  415. package/dist/react-native/operations/databaseMigrationsSqlMi.js.map +1 -1
  416. package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts +19 -1
  417. package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  418. package/dist/react-native/operations/databaseMigrationsSqlVm.js +127 -31
  419. package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
  420. package/dist/react-native/operations/files.d.ts.map +1 -1
  421. package/dist/react-native/operations/files.js +25 -47
  422. package/dist/react-native/operations/files.js.map +1 -1
  423. package/dist/react-native/operations/index.d.ts.map +1 -1
  424. package/dist/react-native/operations/index.js +4 -7
  425. package/dist/react-native/operations/index.js.map +1 -1
  426. package/dist/react-native/operations/migrationServices.d.ts.map +1 -1
  427. package/dist/react-native/operations/migrationServices.js +105 -154
  428. package/dist/react-native/operations/migrationServices.js.map +1 -1
  429. package/dist/react-native/operations/operations.d.ts.map +1 -1
  430. package/dist/react-native/operations/operations.js +25 -47
  431. package/dist/react-native/operations/operations.js.map +1 -1
  432. package/dist/react-native/operations/projects.d.ts.map +1 -1
  433. package/dist/react-native/operations/projects.js +25 -47
  434. package/dist/react-native/operations/projects.js.map +1 -1
  435. package/dist/react-native/operations/resourceSkus.d.ts.map +1 -1
  436. package/dist/react-native/operations/resourceSkus.js +26 -52
  437. package/dist/react-native/operations/resourceSkus.js.map +1 -1
  438. package/dist/react-native/operations/serviceTasks.d.ts.map +1 -1
  439. package/dist/react-native/operations/serviceTasks.js +25 -47
  440. package/dist/react-native/operations/serviceTasks.js.map +1 -1
  441. package/dist/react-native/operations/services.d.ts.map +1 -1
  442. package/dist/react-native/operations/services.js +128 -171
  443. package/dist/react-native/operations/services.js.map +1 -1
  444. package/dist/react-native/operations/sqlMigrationServices.d.ts.map +1 -1
  445. package/dist/react-native/operations/sqlMigrationServices.js +105 -154
  446. package/dist/react-native/operations/sqlMigrationServices.js.map +1 -1
  447. package/dist/react-native/operations/tasks.d.ts.map +1 -1
  448. package/dist/react-native/operations/tasks.js +25 -47
  449. package/dist/react-native/operations/tasks.js.map +1 -1
  450. package/dist/react-native/operations/usages.d.ts.map +1 -1
  451. package/dist/react-native/operations/usages.js +26 -52
  452. package/dist/react-native/operations/usages.js.map +1 -1
  453. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
  454. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +2 -7
  455. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
  456. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
  457. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +2 -7
  458. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
  459. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts +21 -1
  460. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -1
  461. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js +2 -7
  462. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -1
  463. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts +19 -1
  464. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  465. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.js +2 -7
  466. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  467. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts +19 -1
  468. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  469. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.js +2 -7
  470. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  471. package/dist/react-native/operationsInterfaces/files.d.ts.map +1 -1
  472. package/dist/react-native/operationsInterfaces/files.js +2 -7
  473. package/dist/react-native/operationsInterfaces/files.js.map +1 -1
  474. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  475. package/dist/react-native/operationsInterfaces/index.js +4 -7
  476. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  477. package/dist/react-native/operationsInterfaces/migrationServices.d.ts.map +1 -1
  478. package/dist/react-native/operationsInterfaces/migrationServices.js +2 -7
  479. package/dist/react-native/operationsInterfaces/migrationServices.js.map +1 -1
  480. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  481. package/dist/react-native/operationsInterfaces/operations.js +2 -7
  482. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  483. package/dist/react-native/operationsInterfaces/projects.d.ts.map +1 -1
  484. package/dist/react-native/operationsInterfaces/projects.js +2 -7
  485. package/dist/react-native/operationsInterfaces/projects.js.map +1 -1
  486. package/dist/react-native/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  487. package/dist/react-native/operationsInterfaces/resourceSkus.js +2 -7
  488. package/dist/react-native/operationsInterfaces/resourceSkus.js.map +1 -1
  489. package/dist/react-native/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  490. package/dist/react-native/operationsInterfaces/serviceTasks.js +2 -7
  491. package/dist/react-native/operationsInterfaces/serviceTasks.js.map +1 -1
  492. package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -1
  493. package/dist/react-native/operationsInterfaces/services.js +2 -7
  494. package/dist/react-native/operationsInterfaces/services.js.map +1 -1
  495. package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  496. package/dist/react-native/operationsInterfaces/sqlMigrationServices.js +2 -7
  497. package/dist/react-native/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  498. package/dist/react-native/operationsInterfaces/tasks.d.ts.map +1 -1
  499. package/dist/react-native/operationsInterfaces/tasks.js +2 -7
  500. package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
  501. package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -1
  502. package/dist/react-native/operationsInterfaces/usages.js +2 -7
  503. package/dist/react-native/operationsInterfaces/usages.js.map +1 -1
  504. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  505. package/dist/react-native/pagingHelper.js +4 -11
  506. package/dist/react-native/pagingHelper.js.map +1 -1
  507. package/package.json +23 -24
@@ -1,20 +1,15 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
9
3
  import { setContinuationToken } from "../pagingHelper.js";
10
4
  import * as coreClient from "@azure/core-client";
11
5
  import * as Mappers from "../models/mappers.js";
12
6
  import * as Parameters from "../models/parameters.js";
13
- import { createHttpPoller, } from "@azure/core-lro";
7
+ import { createHttpPoller } from "@azure/core-lro";
14
8
  import { createLroSpec } from "../lroImpl.js";
15
9
  /// <reference lib="esnext.asynciterable" />
16
10
  /** Class containing SqlMigrationServices operations. */
17
11
  export class SqlMigrationServicesImpl {
12
+ client;
18
13
  /**
19
14
  * Initialize a new instance of the class SqlMigrationServices class.
20
15
  * @param client Reference to the service client
@@ -38,52 +33,35 @@ export class SqlMigrationServicesImpl {
38
33
  return this;
39
34
  },
40
35
  byPage: (settings) => {
41
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
36
+ if (settings?.maxPageSize) {
42
37
  throw new Error("maxPageSize is not supported by this operation.");
43
38
  }
44
39
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
45
40
  },
46
41
  };
47
42
  }
48
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
49
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
50
- let result;
51
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
52
- if (!continuationToken) {
53
- result = yield __await(this._listByResourceGroup(resourceGroupName, options));
54
- let page = result.value || [];
55
- continuationToken = result.nextLink;
56
- setContinuationToken(page, continuationToken);
57
- yield yield __await(page);
58
- }
59
- while (continuationToken) {
60
- result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
61
- continuationToken = result.nextLink;
62
- let page = result.value || [];
63
- setContinuationToken(page, continuationToken);
64
- yield yield __await(page);
65
- }
66
- });
43
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
44
+ let result;
45
+ let continuationToken = settings?.continuationToken;
46
+ if (!continuationToken) {
47
+ result = await this._listByResourceGroup(resourceGroupName, options);
48
+ let page = result.value || [];
49
+ continuationToken = result.nextLink;
50
+ setContinuationToken(page, continuationToken);
51
+ yield page;
52
+ }
53
+ while (continuationToken) {
54
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
55
+ continuationToken = result.nextLink;
56
+ let page = result.value || [];
57
+ setContinuationToken(page, continuationToken);
58
+ yield page;
59
+ }
67
60
  }
68
- listByResourceGroupPagingAll(resourceGroupName, options) {
69
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
70
- var _a, e_1, _b, _c;
71
- try {
72
- for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
73
- _c = _f.value;
74
- _d = false;
75
- const page = _c;
76
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
77
- }
78
- }
79
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
80
- finally {
81
- try {
82
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
83
- }
84
- finally { if (e_1) throw e_1.error; }
85
- }
86
- });
61
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
62
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
63
+ yield* page;
64
+ }
87
65
  }
88
66
  /**
89
67
  * Retrieve the List of database migrations attached to the service.
@@ -102,52 +80,35 @@ export class SqlMigrationServicesImpl {
102
80
  return this;
103
81
  },
104
82
  byPage: (settings) => {
105
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
83
+ if (settings?.maxPageSize) {
106
84
  throw new Error("maxPageSize is not supported by this operation.");
107
85
  }
108
86
  return this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings);
109
87
  },
110
88
  };
111
89
  }
112
- listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings) {
113
- return __asyncGenerator(this, arguments, function* listMigrationsPagingPage_1() {
114
- let result;
115
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
116
- if (!continuationToken) {
117
- result = yield __await(this._listMigrations(resourceGroupName, sqlMigrationServiceName, options));
118
- let page = result.value || [];
119
- continuationToken = result.nextLink;
120
- setContinuationToken(page, continuationToken);
121
- yield yield __await(page);
122
- }
123
- while (continuationToken) {
124
- result = yield __await(this._listMigrationsNext(resourceGroupName, sqlMigrationServiceName, continuationToken, options));
125
- continuationToken = result.nextLink;
126
- let page = result.value || [];
127
- setContinuationToken(page, continuationToken);
128
- yield yield __await(page);
129
- }
130
- });
90
+ async *listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings) {
91
+ let result;
92
+ let continuationToken = settings?.continuationToken;
93
+ if (!continuationToken) {
94
+ result = await this._listMigrations(resourceGroupName, sqlMigrationServiceName, options);
95
+ let page = result.value || [];
96
+ continuationToken = result.nextLink;
97
+ setContinuationToken(page, continuationToken);
98
+ yield page;
99
+ }
100
+ while (continuationToken) {
101
+ result = await this._listMigrationsNext(resourceGroupName, sqlMigrationServiceName, continuationToken, options);
102
+ continuationToken = result.nextLink;
103
+ let page = result.value || [];
104
+ setContinuationToken(page, continuationToken);
105
+ yield page;
106
+ }
131
107
  }
132
- listMigrationsPagingAll(resourceGroupName, sqlMigrationServiceName, options) {
133
- return __asyncGenerator(this, arguments, function* listMigrationsPagingAll_1() {
134
- var _a, e_2, _b, _c;
135
- try {
136
- for (var _d = true, _e = __asyncValues(this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
137
- _c = _f.value;
138
- _d = false;
139
- const page = _c;
140
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
141
- }
142
- }
143
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
144
- finally {
145
- try {
146
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
147
- }
148
- finally { if (e_2) throw e_2.error; }
149
- }
150
- });
108
+ async *listMigrationsPagingAll(resourceGroupName, sqlMigrationServiceName, options) {
109
+ for await (const page of this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options)) {
110
+ yield* page;
111
+ }
151
112
  }
152
113
  /**
153
114
  * Retrieve all SQL migration services in the subscriptions.
@@ -163,52 +124,35 @@ export class SqlMigrationServicesImpl {
163
124
  return this;
164
125
  },
165
126
  byPage: (settings) => {
166
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
127
+ if (settings?.maxPageSize) {
167
128
  throw new Error("maxPageSize is not supported by this operation.");
168
129
  }
169
130
  return this.listBySubscriptionPagingPage(options, settings);
170
131
  },
171
132
  };
172
133
  }
173
- listBySubscriptionPagingPage(options, settings) {
174
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
175
- let result;
176
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
177
- if (!continuationToken) {
178
- result = yield __await(this._listBySubscription(options));
179
- let page = result.value || [];
180
- continuationToken = result.nextLink;
181
- setContinuationToken(page, continuationToken);
182
- yield yield __await(page);
183
- }
184
- while (continuationToken) {
185
- result = yield __await(this._listBySubscriptionNext(continuationToken, options));
186
- continuationToken = result.nextLink;
187
- let page = result.value || [];
188
- setContinuationToken(page, continuationToken);
189
- yield yield __await(page);
190
- }
191
- });
134
+ async *listBySubscriptionPagingPage(options, settings) {
135
+ let result;
136
+ let continuationToken = settings?.continuationToken;
137
+ if (!continuationToken) {
138
+ result = await this._listBySubscription(options);
139
+ let page = result.value || [];
140
+ continuationToken = result.nextLink;
141
+ setContinuationToken(page, continuationToken);
142
+ yield page;
143
+ }
144
+ while (continuationToken) {
145
+ result = await this._listBySubscriptionNext(continuationToken, options);
146
+ continuationToken = result.nextLink;
147
+ let page = result.value || [];
148
+ setContinuationToken(page, continuationToken);
149
+ yield page;
150
+ }
192
151
  }
193
- listBySubscriptionPagingAll(options) {
194
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
195
- var _a, e_3, _b, _c;
196
- try {
197
- for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
198
- _c = _f.value;
199
- _d = false;
200
- const page = _c;
201
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
202
- }
203
- }
204
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
205
- finally {
206
- try {
207
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
208
- }
209
- finally { if (e_3) throw e_3.error; }
210
- }
211
- });
152
+ async *listBySubscriptionPagingAll(options) {
153
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
154
+ yield* page;
155
+ }
212
156
  }
213
157
  /**
214
158
  * Retrieve the Database Migration Service
@@ -233,14 +177,19 @@ export class SqlMigrationServicesImpl {
233
177
  return this.client.sendOperationRequest(args, spec);
234
178
  };
235
179
  const sendOperationFn = async (args, spec) => {
236
- var _a;
237
180
  let currentRawResponse = undefined;
238
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
181
+ const providedCallback = args.options?.onResponse;
239
182
  const callback = (rawResponse, flatResponse) => {
240
183
  currentRawResponse = rawResponse;
241
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
184
+ providedCallback?.(rawResponse, flatResponse);
185
+ };
186
+ const updatedArgs = {
187
+ ...args,
188
+ options: {
189
+ ...args.options,
190
+ onResponse: callback,
191
+ },
242
192
  };
243
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
244
193
  const flatResponse = await directSendOperation(updatedArgs, spec);
245
194
  return {
246
195
  flatResponse,
@@ -257,8 +206,8 @@ export class SqlMigrationServicesImpl {
257
206
  spec: createOrUpdateOperationSpec,
258
207
  });
259
208
  const poller = await createHttpPoller(lro, {
260
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
261
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
209
+ restoreFrom: options?.resumeFrom,
210
+ intervalInMs: options?.updateIntervalInMs,
262
211
  });
263
212
  await poller.poll();
264
213
  return poller;
@@ -287,14 +236,19 @@ export class SqlMigrationServicesImpl {
287
236
  return this.client.sendOperationRequest(args, spec);
288
237
  };
289
238
  const sendOperationFn = async (args, spec) => {
290
- var _a;
291
239
  let currentRawResponse = undefined;
292
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
240
+ const providedCallback = args.options?.onResponse;
293
241
  const callback = (rawResponse, flatResponse) => {
294
242
  currentRawResponse = rawResponse;
295
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
243
+ providedCallback?.(rawResponse, flatResponse);
244
+ };
245
+ const updatedArgs = {
246
+ ...args,
247
+ options: {
248
+ ...args.options,
249
+ onResponse: callback,
250
+ },
296
251
  };
297
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
298
252
  const flatResponse = await directSendOperation(updatedArgs, spec);
299
253
  return {
300
254
  flatResponse,
@@ -311,8 +265,8 @@ export class SqlMigrationServicesImpl {
311
265
  spec: deleteOperationSpec,
312
266
  });
313
267
  const poller = await createHttpPoller(lro, {
314
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
315
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
268
+ restoreFrom: options?.resumeFrom,
269
+ intervalInMs: options?.updateIntervalInMs,
316
270
  });
317
271
  await poller.poll();
318
272
  return poller;
@@ -341,14 +295,19 @@ export class SqlMigrationServicesImpl {
341
295
  return this.client.sendOperationRequest(args, spec);
342
296
  };
343
297
  const sendOperationFn = async (args, spec) => {
344
- var _a;
345
298
  let currentRawResponse = undefined;
346
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
299
+ const providedCallback = args.options?.onResponse;
347
300
  const callback = (rawResponse, flatResponse) => {
348
301
  currentRawResponse = rawResponse;
349
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
302
+ providedCallback?.(rawResponse, flatResponse);
303
+ };
304
+ const updatedArgs = {
305
+ ...args,
306
+ options: {
307
+ ...args.options,
308
+ onResponse: callback,
309
+ },
350
310
  };
351
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
352
311
  const flatResponse = await directSendOperation(updatedArgs, spec);
353
312
  return {
354
313
  flatResponse,
@@ -365,8 +324,8 @@ export class SqlMigrationServicesImpl {
365
324
  spec: updateOperationSpec,
366
325
  });
367
326
  const poller = await createHttpPoller(lro, {
368
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
369
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
327
+ restoreFrom: options?.resumeFrom,
328
+ intervalInMs: options?.updateIntervalInMs,
370
329
  });
371
330
  await poller.poll();
372
331
  return poller;
@@ -586,11 +545,7 @@ const listByResourceGroupOperationSpec = {
586
545
  default: {},
587
546
  },
588
547
  queryParameters: [Parameters.apiVersion],
589
- urlParameters: [
590
- Parameters.$host,
591
- Parameters.resourceGroupName,
592
- Parameters.subscriptionId,
593
- ],
548
+ urlParameters: [Parameters.$host, Parameters.resourceGroupName, Parameters.subscriptionId],
594
549
  headerParameters: [Parameters.accept],
595
550
  serializer,
596
551
  };
@@ -753,11 +708,7 @@ const listBySubscriptionNextOperationSpec = {
753
708
  },
754
709
  default: {},
755
710
  },
756
- urlParameters: [
757
- Parameters.$host,
758
- Parameters.subscriptionId,
759
- Parameters.nextLink,
760
- ],
711
+ urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],
761
712
  headerParameters: [Parameters.accept],
762
713
  serializer,
763
714
  };
@@ -1 +1 @@
1
- {"version":3,"file":"sqlMigrationServices.js","sourceRoot":"","sources":["../../../src/operations/sqlMigrationServices.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAoC9C,4CAA4C;AAC5C,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAA+D;QAE/D,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KA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AAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,uBAAuB;KACnC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE,EAAE;KACZ;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { SqlMigrationServices } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataMigrationManagementClient } from \"../dataMigrationManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n SqlMigrationService,\n SqlMigrationServicesListByResourceGroupNextOptionalParams,\n SqlMigrationServicesListByResourceGroupOptionalParams,\n SqlMigrationServicesListByResourceGroupResponse,\n DatabaseMigration,\n SqlMigrationServicesListMigrationsNextOptionalParams,\n SqlMigrationServicesListMigrationsOptionalParams,\n SqlMigrationServicesListMigrationsResponse,\n SqlMigrationServicesListBySubscriptionNextOptionalParams,\n SqlMigrationServicesListBySubscriptionOptionalParams,\n SqlMigrationServicesListBySubscriptionResponse,\n SqlMigrationServicesGetOptionalParams,\n SqlMigrationServicesGetResponse,\n SqlMigrationServicesCreateOrUpdateOptionalParams,\n SqlMigrationServicesCreateOrUpdateResponse,\n SqlMigrationServicesDeleteOptionalParams,\n SqlMigrationServiceUpdate,\n SqlMigrationServicesUpdateOptionalParams,\n SqlMigrationServicesUpdateResponse,\n SqlMigrationServicesListAuthKeysOptionalParams,\n SqlMigrationServicesListAuthKeysResponse,\n RegenAuthKeys,\n SqlMigrationServicesRegenerateAuthKeysOptionalParams,\n SqlMigrationServicesRegenerateAuthKeysResponse,\n DeleteNode,\n SqlMigrationServicesDeleteNodeOptionalParams,\n SqlMigrationServicesDeleteNodeResponse,\n SqlMigrationServicesListMonitoringDataOptionalParams,\n SqlMigrationServicesListMonitoringDataResponse,\n SqlMigrationServicesListByResourceGroupNextResponse,\n SqlMigrationServicesListMigrationsNextResponse,\n SqlMigrationServicesListBySubscriptionNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SqlMigrationServices operations. */\nexport class SqlMigrationServicesImpl implements SqlMigrationServices {\n private readonly client: DataMigrationManagementClient;\n\n /**\n * Initialize a new instance of the class SqlMigrationServices class.\n * @param client Reference to the service client\n */\n constructor(client: DataMigrationManagementClient) {\n this.client = client;\n }\n\n /**\n * Retrieve all SQL migration services in the resource group.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: SqlMigrationServicesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<SqlMigrationService> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: SqlMigrationServicesListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SqlMigrationService[]> {\n let result: SqlMigrationServicesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: SqlMigrationServicesListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<SqlMigrationService> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Retrieve the List of database migrations attached to the service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n public listMigrations(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMigrationsOptionalParams,\n ): PagedAsyncIterableIterator<DatabaseMigration> {\n const iter = this.listMigrationsPagingAll(\n resourceGroupName,\n sqlMigrationServiceName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listMigrationsPagingPage(\n resourceGroupName,\n sqlMigrationServiceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listMigrationsPagingPage(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMigrationsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DatabaseMigration[]> {\n let result: SqlMigrationServicesListMigrationsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listMigrations(\n resourceGroupName,\n sqlMigrationServiceName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listMigrationsNext(\n resourceGroupName,\n sqlMigrationServiceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listMigrationsPagingAll(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMigrationsOptionalParams,\n ): AsyncIterableIterator<DatabaseMigration> {\n for await (const page of this.listMigrationsPagingPage(\n resourceGroupName,\n sqlMigrationServiceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Retrieve all SQL migration services in the subscriptions.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: SqlMigrationServicesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<SqlMigrationService> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: SqlMigrationServicesListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SqlMigrationService[]> {\n let result: SqlMigrationServicesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: SqlMigrationServicesListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<SqlMigrationService> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Retrieve the Database Migration Service\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesGetOptionalParams,\n ): Promise<SqlMigrationServicesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlMigrationServiceName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or Update Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationService,\n options?: SqlMigrationServicesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<SqlMigrationServicesCreateOrUpdateResponse>,\n SqlMigrationServicesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<SqlMigrationServicesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, sqlMigrationServiceName, parameters, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n SqlMigrationServicesCreateOrUpdateResponse,\n OperationState<SqlMigrationServicesCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or Update Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationService,\n options?: SqlMigrationServicesCreateOrUpdateOptionalParams,\n ): Promise<SqlMigrationServicesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n sqlMigrationServiceName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, sqlMigrationServiceName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n sqlMigrationServiceName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationServiceUpdate,\n options?: SqlMigrationServicesUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<SqlMigrationServicesUpdateResponse>,\n SqlMigrationServicesUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<SqlMigrationServicesUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, sqlMigrationServiceName, parameters, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n SqlMigrationServicesUpdateResponse,\n OperationState<SqlMigrationServicesUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationServiceUpdate,\n options?: SqlMigrationServicesUpdateOptionalParams,\n ): Promise<SqlMigrationServicesUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n sqlMigrationServiceName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Retrieve all SQL migration services in the resource group.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: SqlMigrationServicesListByResourceGroupOptionalParams,\n ): Promise<SqlMigrationServicesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Retrieve the List of Authentication Keys for Self Hosted Integration Runtime.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n listAuthKeys(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListAuthKeysOptionalParams,\n ): Promise<SqlMigrationServicesListAuthKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlMigrationServiceName, options },\n listAuthKeysOperationSpec,\n );\n }\n\n /**\n * Regenerate a new set of Authentication Keys for Self Hosted Integration Runtime.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n regenerateAuthKeys(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: RegenAuthKeys,\n options?: SqlMigrationServicesRegenerateAuthKeysOptionalParams,\n ): Promise<SqlMigrationServicesRegenerateAuthKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlMigrationServiceName, parameters, options },\n regenerateAuthKeysOperationSpec,\n );\n }\n\n /**\n * Delete the integration runtime node.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n deleteNode(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: DeleteNode,\n options?: SqlMigrationServicesDeleteNodeOptionalParams,\n ): Promise<SqlMigrationServicesDeleteNodeResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlMigrationServiceName, parameters, options },\n deleteNodeOperationSpec,\n );\n }\n\n /**\n * Retrieve the List of database migrations attached to the service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n private _listMigrations(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMigrationsOptionalParams,\n ): Promise<SqlMigrationServicesListMigrationsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlMigrationServiceName, options },\n listMigrationsOperationSpec,\n );\n }\n\n /**\n * Retrieve the registered Integration Runtime nodes and their monitoring data for a given Database\n * Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n listMonitoringData(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMonitoringDataOptionalParams,\n ): Promise<SqlMigrationServicesListMonitoringDataResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlMigrationServiceName, options },\n listMonitoringDataOperationSpec,\n );\n }\n\n /**\n * Retrieve all SQL migration services in the subscriptions.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: SqlMigrationServicesListBySubscriptionOptionalParams,\n ): Promise<SqlMigrationServicesListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: SqlMigrationServicesListByResourceGroupNextOptionalParams,\n ): Promise<SqlMigrationServicesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListMigrationsNext\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param nextLink The nextLink from the previous successful call to the ListMigrations method.\n * @param options The options parameters.\n */\n private _listMigrationsNext(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n nextLink: string,\n options?: SqlMigrationServicesListMigrationsNextOptionalParams,\n ): Promise<SqlMigrationServicesListMigrationsNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlMigrationServiceName, nextLink, options },\n listMigrationsNextOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: SqlMigrationServicesListBySubscriptionNextOptionalParams,\n ): Promise<SqlMigrationServicesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n 201: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n 202: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n 204: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n default: {},\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n 201: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n 202: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n 204: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n default: {},\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SqlMigrationListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAuthKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listAuthKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AuthenticationKeys,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst regenerateAuthKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/regenerateAuthKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegenAuthKeys,\n },\n default: {},\n },\n requestBody: Parameters.parameters9,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteNodeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/deleteNode\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeleteNode,\n },\n default: {},\n },\n requestBody: Parameters.parameters10,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listMigrationsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMigrations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DatabaseMigrationListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listMonitoringDataOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMonitoringData\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeMonitoringData,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SqlMigrationListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SqlMigrationListResult,\n },\n default: {},\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listMigrationsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DatabaseMigrationListResult,\n },\n default: {},\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SqlMigrationListResult,\n },\n default: {},\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"sqlMigrationServices.js","sourceRoot":"","sources":["../../../src/operations/sqlMigrationServices.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAA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c;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,uBAAuB;KACnC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE,EAAE;KACZ;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,QAAQ,CAAC;IACjF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { SqlMigrationServices } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataMigrationManagementClient } from \"../dataMigrationManagementClient.js\";\nimport { SimplePollerLike, OperationState, createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n SqlMigrationService,\n SqlMigrationServicesListByResourceGroupNextOptionalParams,\n SqlMigrationServicesListByResourceGroupOptionalParams,\n SqlMigrationServicesListByResourceGroupResponse,\n DatabaseMigration,\n SqlMigrationServicesListMigrationsNextOptionalParams,\n SqlMigrationServicesListMigrationsOptionalParams,\n SqlMigrationServicesListMigrationsResponse,\n SqlMigrationServicesListBySubscriptionNextOptionalParams,\n SqlMigrationServicesListBySubscriptionOptionalParams,\n SqlMigrationServicesListBySubscriptionResponse,\n SqlMigrationServicesGetOptionalParams,\n SqlMigrationServicesGetResponse,\n SqlMigrationServicesCreateOrUpdateOptionalParams,\n SqlMigrationServicesCreateOrUpdateResponse,\n SqlMigrationServicesDeleteOptionalParams,\n SqlMigrationServiceUpdate,\n SqlMigrationServicesUpdateOptionalParams,\n SqlMigrationServicesUpdateResponse,\n SqlMigrationServicesListAuthKeysOptionalParams,\n SqlMigrationServicesListAuthKeysResponse,\n RegenAuthKeys,\n SqlMigrationServicesRegenerateAuthKeysOptionalParams,\n SqlMigrationServicesRegenerateAuthKeysResponse,\n DeleteNode,\n SqlMigrationServicesDeleteNodeOptionalParams,\n SqlMigrationServicesDeleteNodeResponse,\n SqlMigrationServicesListMonitoringDataOptionalParams,\n SqlMigrationServicesListMonitoringDataResponse,\n SqlMigrationServicesListByResourceGroupNextResponse,\n SqlMigrationServicesListMigrationsNextResponse,\n SqlMigrationServicesListBySubscriptionNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SqlMigrationServices operations. */\nexport class SqlMigrationServicesImpl implements SqlMigrationServices {\n private readonly client: DataMigrationManagementClient;\n\n /**\n * Initialize a new instance of the class SqlMigrationServices class.\n * @param client Reference to the service client\n */\n constructor(client: DataMigrationManagementClient) {\n this.client = client;\n }\n\n /**\n * Retrieve all SQL migration services in the resource group.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: SqlMigrationServicesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<SqlMigrationService> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: SqlMigrationServicesListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SqlMigrationService[]> {\n let result: SqlMigrationServicesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: SqlMigrationServicesListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<SqlMigrationService> {\n for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Retrieve the List of database migrations attached to the service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n public listMigrations(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMigrationsOptionalParams,\n ): PagedAsyncIterableIterator<DatabaseMigration> {\n const iter = this.listMigrationsPagingAll(resourceGroupName, sqlMigrationServiceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listMigrationsPagingPage(\n resourceGroupName,\n sqlMigrationServiceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listMigrationsPagingPage(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMigrationsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DatabaseMigration[]> {\n let result: SqlMigrationServicesListMigrationsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listMigrations(resourceGroupName, sqlMigrationServiceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listMigrationsNext(\n resourceGroupName,\n sqlMigrationServiceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listMigrationsPagingAll(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMigrationsOptionalParams,\n ): AsyncIterableIterator<DatabaseMigration> {\n for await (const page of this.listMigrationsPagingPage(\n resourceGroupName,\n sqlMigrationServiceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Retrieve all SQL migration services in the subscriptions.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: SqlMigrationServicesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<SqlMigrationService> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: SqlMigrationServicesListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SqlMigrationService[]> {\n let result: SqlMigrationServicesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: SqlMigrationServicesListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<SqlMigrationService> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Retrieve the Database Migration Service\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesGetOptionalParams,\n ): Promise<SqlMigrationServicesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlMigrationServiceName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or Update Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationService,\n options?: SqlMigrationServicesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<SqlMigrationServicesCreateOrUpdateResponse>,\n SqlMigrationServicesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<SqlMigrationServicesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, sqlMigrationServiceName, parameters, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n SqlMigrationServicesCreateOrUpdateResponse,\n OperationState<SqlMigrationServicesCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or Update Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationService,\n options?: SqlMigrationServicesCreateOrUpdateOptionalParams,\n ): Promise<SqlMigrationServicesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n sqlMigrationServiceName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, sqlMigrationServiceName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, sqlMigrationServiceName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Update Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationServiceUpdate,\n options?: SqlMigrationServicesUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<SqlMigrationServicesUpdateResponse>,\n SqlMigrationServicesUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<SqlMigrationServicesUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, sqlMigrationServiceName, parameters, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n SqlMigrationServicesUpdateResponse,\n OperationState<SqlMigrationServicesUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationServiceUpdate,\n options?: SqlMigrationServicesUpdateOptionalParams,\n ): Promise<SqlMigrationServicesUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n sqlMigrationServiceName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Retrieve all SQL migration services in the resource group.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: SqlMigrationServicesListByResourceGroupOptionalParams,\n ): Promise<SqlMigrationServicesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Retrieve the List of Authentication Keys for Self Hosted Integration Runtime.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n listAuthKeys(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListAuthKeysOptionalParams,\n ): Promise<SqlMigrationServicesListAuthKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlMigrationServiceName, options },\n listAuthKeysOperationSpec,\n );\n }\n\n /**\n * Regenerate a new set of Authentication Keys for Self Hosted Integration Runtime.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n regenerateAuthKeys(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: RegenAuthKeys,\n options?: SqlMigrationServicesRegenerateAuthKeysOptionalParams,\n ): Promise<SqlMigrationServicesRegenerateAuthKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlMigrationServiceName, parameters, options },\n regenerateAuthKeysOperationSpec,\n );\n }\n\n /**\n * Delete the integration runtime node.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n deleteNode(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: DeleteNode,\n options?: SqlMigrationServicesDeleteNodeOptionalParams,\n ): Promise<SqlMigrationServicesDeleteNodeResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlMigrationServiceName, parameters, options },\n deleteNodeOperationSpec,\n );\n }\n\n /**\n * Retrieve the List of database migrations attached to the service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n private _listMigrations(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMigrationsOptionalParams,\n ): Promise<SqlMigrationServicesListMigrationsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlMigrationServiceName, options },\n listMigrationsOperationSpec,\n );\n }\n\n /**\n * Retrieve the registered Integration Runtime nodes and their monitoring data for a given Database\n * Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n listMonitoringData(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMonitoringDataOptionalParams,\n ): Promise<SqlMigrationServicesListMonitoringDataResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlMigrationServiceName, options },\n listMonitoringDataOperationSpec,\n );\n }\n\n /**\n * Retrieve all SQL migration services in the subscriptions.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: SqlMigrationServicesListBySubscriptionOptionalParams,\n ): Promise<SqlMigrationServicesListBySubscriptionResponse> {\n return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: SqlMigrationServicesListByResourceGroupNextOptionalParams,\n ): Promise<SqlMigrationServicesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListMigrationsNext\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param nextLink The nextLink from the previous successful call to the ListMigrations method.\n * @param options The options parameters.\n */\n private _listMigrationsNext(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n nextLink: string,\n options?: SqlMigrationServicesListMigrationsNextOptionalParams,\n ): Promise<SqlMigrationServicesListMigrationsNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sqlMigrationServiceName, nextLink, options },\n listMigrationsNextOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: SqlMigrationServicesListBySubscriptionNextOptionalParams,\n ): Promise<SqlMigrationServicesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n 201: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n 202: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n 204: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n default: {},\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n 201: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n 202: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n 204: {\n bodyMapper: Mappers.SqlMigrationService,\n },\n default: {},\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SqlMigrationListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.resourceGroupName, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAuthKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listAuthKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AuthenticationKeys,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst regenerateAuthKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/regenerateAuthKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegenAuthKeys,\n },\n default: {},\n },\n requestBody: Parameters.parameters9,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteNodeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/deleteNode\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeleteNode,\n },\n default: {},\n },\n requestBody: Parameters.parameters10,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listMigrationsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMigrations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DatabaseMigrationListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listMonitoringDataOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMonitoringData\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeMonitoringData,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SqlMigrationListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SqlMigrationListResult,\n },\n default: {},\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listMigrationsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DatabaseMigrationListResult,\n },\n default: {},\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.sqlMigrationServiceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SqlMigrationListResult,\n },\n default: {},\n },\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}