@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,11 +1,6 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  exports.SqlMigrationServicesImpl = void 0;
11
6
  const tslib_1 = require("tslib");
@@ -18,6 +13,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
18
13
  /// <reference lib="esnext.asynciterable" />
19
14
  /** Class containing SqlMigrationServices operations. */
20
15
  class SqlMigrationServicesImpl {
16
+ client;
21
17
  /**
22
18
  * Initialize a new instance of the class SqlMigrationServices class.
23
19
  * @param client Reference to the service client
@@ -41,52 +37,35 @@ class SqlMigrationServicesImpl {
41
37
  return this;
42
38
  },
43
39
  byPage: (settings) => {
44
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
+ if (settings?.maxPageSize) {
45
41
  throw new Error("maxPageSize is not supported by this operation.");
46
42
  }
47
43
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
48
44
  },
49
45
  };
50
46
  }
51
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
52
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
53
- let result;
54
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
55
- if (!continuationToken) {
56
- result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
57
- let page = result.value || [];
58
- continuationToken = result.nextLink;
59
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
60
- yield yield tslib_1.__await(page);
61
- }
62
- while (continuationToken) {
63
- result = yield tslib_1.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
64
- continuationToken = result.nextLink;
65
- let page = result.value || [];
66
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
67
- yield yield tslib_1.__await(page);
68
- }
69
- });
47
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
48
+ let result;
49
+ let continuationToken = settings?.continuationToken;
50
+ if (!continuationToken) {
51
+ result = await this._listByResourceGroup(resourceGroupName, options);
52
+ let page = result.value || [];
53
+ continuationToken = result.nextLink;
54
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
55
+ yield page;
56
+ }
57
+ while (continuationToken) {
58
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
59
+ continuationToken = result.nextLink;
60
+ let page = result.value || [];
61
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
62
+ yield page;
63
+ }
70
64
  }
71
- listByResourceGroupPagingAll(resourceGroupName, options) {
72
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
73
- var _a, e_1, _b, _c;
74
- try {
75
- for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
76
- _c = _f.value;
77
- _d = false;
78
- const page = _c;
79
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
80
- }
81
- }
82
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
83
- finally {
84
- try {
85
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
86
- }
87
- finally { if (e_1) throw e_1.error; }
88
- }
89
- });
65
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
66
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
67
+ yield* page;
68
+ }
90
69
  }
91
70
  /**
92
71
  * Retrieve the List of database migrations attached to the service.
@@ -105,52 +84,35 @@ class SqlMigrationServicesImpl {
105
84
  return this;
106
85
  },
107
86
  byPage: (settings) => {
108
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
87
+ if (settings?.maxPageSize) {
109
88
  throw new Error("maxPageSize is not supported by this operation.");
110
89
  }
111
90
  return this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings);
112
91
  },
113
92
  };
114
93
  }
115
- listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings) {
116
- return tslib_1.__asyncGenerator(this, arguments, function* listMigrationsPagingPage_1() {
117
- let result;
118
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
119
- if (!continuationToken) {
120
- result = yield tslib_1.__await(this._listMigrations(resourceGroupName, sqlMigrationServiceName, options));
121
- let page = result.value || [];
122
- continuationToken = result.nextLink;
123
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
124
- yield yield tslib_1.__await(page);
125
- }
126
- while (continuationToken) {
127
- result = yield tslib_1.__await(this._listMigrationsNext(resourceGroupName, sqlMigrationServiceName, continuationToken, options));
128
- continuationToken = result.nextLink;
129
- let page = result.value || [];
130
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
131
- yield yield tslib_1.__await(page);
132
- }
133
- });
94
+ async *listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings) {
95
+ let result;
96
+ let continuationToken = settings?.continuationToken;
97
+ if (!continuationToken) {
98
+ result = await this._listMigrations(resourceGroupName, sqlMigrationServiceName, options);
99
+ let page = result.value || [];
100
+ continuationToken = result.nextLink;
101
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
102
+ yield page;
103
+ }
104
+ while (continuationToken) {
105
+ result = await this._listMigrationsNext(resourceGroupName, sqlMigrationServiceName, continuationToken, options);
106
+ continuationToken = result.nextLink;
107
+ let page = result.value || [];
108
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
109
+ yield page;
110
+ }
134
111
  }
135
- listMigrationsPagingAll(resourceGroupName, sqlMigrationServiceName, options) {
136
- return tslib_1.__asyncGenerator(this, arguments, function* listMigrationsPagingAll_1() {
137
- var _a, e_2, _b, _c;
138
- try {
139
- for (var _d = true, _e = tslib_1.__asyncValues(this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
140
- _c = _f.value;
141
- _d = false;
142
- const page = _c;
143
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
144
- }
145
- }
146
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
147
- finally {
148
- try {
149
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
150
- }
151
- finally { if (e_2) throw e_2.error; }
152
- }
153
- });
112
+ async *listMigrationsPagingAll(resourceGroupName, sqlMigrationServiceName, options) {
113
+ for await (const page of this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options)) {
114
+ yield* page;
115
+ }
154
116
  }
155
117
  /**
156
118
  * Retrieve all SQL migration services in the subscriptions.
@@ -166,52 +128,35 @@ class SqlMigrationServicesImpl {
166
128
  return this;
167
129
  },
168
130
  byPage: (settings) => {
169
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
131
+ if (settings?.maxPageSize) {
170
132
  throw new Error("maxPageSize is not supported by this operation.");
171
133
  }
172
134
  return this.listBySubscriptionPagingPage(options, settings);
173
135
  },
174
136
  };
175
137
  }
176
- listBySubscriptionPagingPage(options, settings) {
177
- return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
178
- let result;
179
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
180
- if (!continuationToken) {
181
- result = yield tslib_1.__await(this._listBySubscription(options));
182
- let page = result.value || [];
183
- continuationToken = result.nextLink;
184
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
185
- yield yield tslib_1.__await(page);
186
- }
187
- while (continuationToken) {
188
- result = yield tslib_1.__await(this._listBySubscriptionNext(continuationToken, options));
189
- continuationToken = result.nextLink;
190
- let page = result.value || [];
191
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
192
- yield yield tslib_1.__await(page);
193
- }
194
- });
138
+ async *listBySubscriptionPagingPage(options, settings) {
139
+ let result;
140
+ let continuationToken = settings?.continuationToken;
141
+ if (!continuationToken) {
142
+ result = await this._listBySubscription(options);
143
+ let page = result.value || [];
144
+ continuationToken = result.nextLink;
145
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
146
+ yield page;
147
+ }
148
+ while (continuationToken) {
149
+ result = await this._listBySubscriptionNext(continuationToken, options);
150
+ continuationToken = result.nextLink;
151
+ let page = result.value || [];
152
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
153
+ yield page;
154
+ }
195
155
  }
196
- listBySubscriptionPagingAll(options) {
197
- return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
198
- var _a, e_3, _b, _c;
199
- try {
200
- for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
201
- _c = _f.value;
202
- _d = false;
203
- const page = _c;
204
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
205
- }
206
- }
207
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
208
- finally {
209
- try {
210
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
211
- }
212
- finally { if (e_3) throw e_3.error; }
213
- }
214
- });
156
+ async *listBySubscriptionPagingAll(options) {
157
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
158
+ yield* page;
159
+ }
215
160
  }
216
161
  /**
217
162
  * Retrieve the Database Migration Service
@@ -236,14 +181,19 @@ class SqlMigrationServicesImpl {
236
181
  return this.client.sendOperationRequest(args, spec);
237
182
  };
238
183
  const sendOperationFn = async (args, spec) => {
239
- var _a;
240
184
  let currentRawResponse = undefined;
241
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
185
+ const providedCallback = args.options?.onResponse;
242
186
  const callback = (rawResponse, flatResponse) => {
243
187
  currentRawResponse = rawResponse;
244
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
188
+ providedCallback?.(rawResponse, flatResponse);
189
+ };
190
+ const updatedArgs = {
191
+ ...args,
192
+ options: {
193
+ ...args.options,
194
+ onResponse: callback,
195
+ },
245
196
  };
246
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
247
197
  const flatResponse = await directSendOperation(updatedArgs, spec);
248
198
  return {
249
199
  flatResponse,
@@ -260,8 +210,8 @@ class SqlMigrationServicesImpl {
260
210
  spec: createOrUpdateOperationSpec,
261
211
  });
262
212
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
263
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
264
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
213
+ restoreFrom: options?.resumeFrom,
214
+ intervalInMs: options?.updateIntervalInMs,
265
215
  });
266
216
  await poller.poll();
267
217
  return poller;
@@ -290,14 +240,19 @@ class SqlMigrationServicesImpl {
290
240
  return this.client.sendOperationRequest(args, spec);
291
241
  };
292
242
  const sendOperationFn = async (args, spec) => {
293
- var _a;
294
243
  let currentRawResponse = undefined;
295
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
244
+ const providedCallback = args.options?.onResponse;
296
245
  const callback = (rawResponse, flatResponse) => {
297
246
  currentRawResponse = rawResponse;
298
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
247
+ providedCallback?.(rawResponse, flatResponse);
248
+ };
249
+ const updatedArgs = {
250
+ ...args,
251
+ options: {
252
+ ...args.options,
253
+ onResponse: callback,
254
+ },
299
255
  };
300
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
301
256
  const flatResponse = await directSendOperation(updatedArgs, spec);
302
257
  return {
303
258
  flatResponse,
@@ -314,8 +269,8 @@ class SqlMigrationServicesImpl {
314
269
  spec: deleteOperationSpec,
315
270
  });
316
271
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
317
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
318
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
272
+ restoreFrom: options?.resumeFrom,
273
+ intervalInMs: options?.updateIntervalInMs,
319
274
  });
320
275
  await poller.poll();
321
276
  return poller;
@@ -344,14 +299,19 @@ class SqlMigrationServicesImpl {
344
299
  return this.client.sendOperationRequest(args, spec);
345
300
  };
346
301
  const sendOperationFn = async (args, spec) => {
347
- var _a;
348
302
  let currentRawResponse = undefined;
349
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
303
+ const providedCallback = args.options?.onResponse;
350
304
  const callback = (rawResponse, flatResponse) => {
351
305
  currentRawResponse = rawResponse;
352
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
306
+ providedCallback?.(rawResponse, flatResponse);
307
+ };
308
+ const updatedArgs = {
309
+ ...args,
310
+ options: {
311
+ ...args.options,
312
+ onResponse: callback,
313
+ },
353
314
  };
354
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
355
315
  const flatResponse = await directSendOperation(updatedArgs, spec);
356
316
  return {
357
317
  flatResponse,
@@ -368,8 +328,8 @@ class SqlMigrationServicesImpl {
368
328
  spec: updateOperationSpec,
369
329
  });
370
330
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
371
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
372
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
331
+ restoreFrom: options?.resumeFrom,
332
+ intervalInMs: options?.updateIntervalInMs,
373
333
  });
374
334
  await poller.poll();
375
335
  return poller;
@@ -590,11 +550,7 @@ const listByResourceGroupOperationSpec = {
590
550
  default: {},
591
551
  },
592
552
  queryParameters: [Parameters.apiVersion],
593
- urlParameters: [
594
- Parameters.$host,
595
- Parameters.resourceGroupName,
596
- Parameters.subscriptionId,
597
- ],
553
+ urlParameters: [Parameters.$host, Parameters.resourceGroupName, Parameters.subscriptionId],
598
554
  headerParameters: [Parameters.accept],
599
555
  serializer,
600
556
  };
@@ -757,11 +713,7 @@ const listBySubscriptionNextOperationSpec = {
757
713
  },
758
714
  default: {},
759
715
  },
760
- urlParameters: [
761
- Parameters.$host,
762
- Parameters.subscriptionId,
763
- Parameters.nextLink,
764
- ],
716
+ urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],
765
717
  headerParameters: [Parameters.accept],
766
718
  serializer,
767
719
  };
@@ -1 +1 @@
1
- {"version":3,"file":"sqlMigrationServices.js","sourceRoot":"","sources":["../../../src/operations/sqlMigrationServices.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAoC9C,4CAA4C;AAC5C,wDAAwD;AACxD,MAAa,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,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AAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2BAA2B;SAChD;QACD,OAAO,EAAE,EAAE;KACZ;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,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,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAAqF;AACrF,8CAA8C;AAoC9C,4CAA4C;AAC5C,wDAAwD;AACxD,MAAa,wBAAwB;IAClB,MAAM,CAAgC;IAEvD;;;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,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,6BAA6B,CAAC,iBAAiB,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YAClF,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,6BAA6B,CAC1C,iBAAyB,EACzB,OAA+D,EAC/D,QAAuB;QAEvB,IAAI,MAAuD,CAAC;QAC5D,IAAI,iBAAiB,GAAG,QAAQ,EAAE,iBAAiB,CAAC;QACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACvB,MAAM,GAAG,MAAM,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;YACrE,IAAI,IAAI,GA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AAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2BAA2B;SAChD;QACD,OAAO,EAAE,EAAE;KACZ;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,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,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"]}