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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (502) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +0 -3
  3. package/dist/browser/dataMigrationManagementClient.d.ts +5 -1
  4. package/dist/browser/dataMigrationManagementClient.d.ts.map +1 -1
  5. package/dist/browser/dataMigrationManagementClient.js +19 -9
  6. package/dist/browser/dataMigrationManagementClient.js.map +1 -1
  7. package/dist/browser/lroImpl.d.ts +6 -11
  8. package/dist/browser/lroImpl.d.ts.map +1 -1
  9. package/dist/browser/lroImpl.js +16 -24
  10. package/dist/browser/lroImpl.js.map +1 -1
  11. package/dist/browser/models/index.d.ts +968 -216
  12. package/dist/browser/models/index.d.ts.map +1 -1
  13. package/dist/browser/models/index.js +52 -8
  14. package/dist/browser/models/index.js.map +1 -1
  15. package/dist/browser/models/mappers.d.ts +47 -14
  16. package/dist/browser/models/mappers.d.ts.map +1 -1
  17. package/dist/browser/models/mappers.js +5228 -4055
  18. package/dist/browser/models/mappers.js.map +1 -1
  19. package/dist/browser/models/parameters.d.ts +21 -12
  20. package/dist/browser/models/parameters.d.ts.map +1 -1
  21. package/dist/browser/models/parameters.js +184 -110
  22. package/dist/browser/models/parameters.js.map +1 -1
  23. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  24. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  25. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +363 -0
  26. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  27. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  28. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  29. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +363 -0
  30. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  31. package/dist/browser/operations/databaseMigrationsSqlDb.d.ts +81 -0
  32. package/dist/browser/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  33. package/dist/browser/operations/databaseMigrationsSqlDb.js +319 -0
  34. package/dist/browser/operations/databaseMigrationsSqlDb.js.map +1 -0
  35. package/dist/browser/operations/databaseMigrationsSqlMi.d.ts +11 -11
  36. package/dist/browser/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  37. package/dist/browser/operations/databaseMigrationsSqlMi.js +89 -77
  38. package/dist/browser/operations/databaseMigrationsSqlMi.js.map +1 -1
  39. package/dist/browser/operations/databaseMigrationsSqlVm.d.ts +11 -11
  40. package/dist/browser/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  41. package/dist/browser/operations/databaseMigrationsSqlVm.js +89 -77
  42. package/dist/browser/operations/databaseMigrationsSqlVm.js.map +1 -1
  43. package/dist/browser/operations/files.js +43 -44
  44. package/dist/browser/operations/files.js.map +1 -1
  45. package/dist/browser/operations/index.d.ts +4 -0
  46. package/dist/browser/operations/index.d.ts.map +1 -1
  47. package/dist/browser/operations/index.js +4 -0
  48. package/dist/browser/operations/index.js.map +1 -1
  49. package/dist/browser/operations/migrationServices.d.ts +144 -0
  50. package/dist/browser/operations/migrationServices.d.ts.map +1 -0
  51. package/dist/browser/operations/migrationServices.js +640 -0
  52. package/dist/browser/operations/migrationServices.js.map +1 -0
  53. package/dist/browser/operations/operations.js +7 -8
  54. package/dist/browser/operations/operations.js.map +1 -1
  55. package/dist/browser/operations/projects.js +33 -34
  56. package/dist/browser/operations/projects.js.map +1 -1
  57. package/dist/browser/operations/resourceSkus.d.ts +2 -2
  58. package/dist/browser/operations/resourceSkus.js +12 -13
  59. package/dist/browser/operations/resourceSkus.js.map +1 -1
  60. package/dist/browser/operations/serviceTasks.d.ts +16 -13
  61. package/dist/browser/operations/serviceTasks.d.ts.map +1 -1
  62. package/dist/browser/operations/serviceTasks.js +55 -53
  63. package/dist/browser/operations/serviceTasks.js.map +1 -1
  64. package/dist/browser/operations/services.d.ts +59 -58
  65. package/dist/browser/operations/services.d.ts.map +1 -1
  66. package/dist/browser/operations/services.js +204 -186
  67. package/dist/browser/operations/services.js.map +1 -1
  68. package/dist/browser/operations/sqlMigrationServices.d.ts +13 -12
  69. package/dist/browser/operations/sqlMigrationServices.d.ts.map +1 -1
  70. package/dist/browser/operations/sqlMigrationServices.js +116 -106
  71. package/dist/browser/operations/sqlMigrationServices.js.map +1 -1
  72. package/dist/browser/operations/tasks.d.ts +20 -20
  73. package/dist/browser/operations/tasks.js +65 -66
  74. package/dist/browser/operations/tasks.js.map +1 -1
  75. package/dist/browser/operations/usages.d.ts +4 -4
  76. package/dist/browser/operations/usages.js +15 -16
  77. package/dist/browser/operations/usages.js.map +1 -1
  78. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  79. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  80. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
  81. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  82. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  83. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  84. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
  85. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  86. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  87. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  88. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
  89. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  90. package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  91. package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  92. package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  93. package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  94. package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  95. package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  96. package/dist/browser/operationsInterfaces/files.js.map +1 -1
  97. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  98. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  99. package/dist/browser/operationsInterfaces/index.js +4 -0
  100. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  101. package/dist/browser/operationsInterfaces/migrationServices.d.ts +87 -0
  102. package/dist/browser/operationsInterfaces/migrationServices.d.ts.map +1 -0
  103. package/dist/browser/operationsInterfaces/migrationServices.js +9 -0
  104. package/dist/browser/operationsInterfaces/migrationServices.js.map +1 -0
  105. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  106. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  107. package/dist/browser/operationsInterfaces/projects.js.map +1 -1
  108. package/dist/browser/operationsInterfaces/resourceSkus.d.ts +1 -1
  109. package/dist/browser/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  110. package/dist/browser/operationsInterfaces/resourceSkus.js.map +1 -1
  111. package/dist/browser/operationsInterfaces/serviceTasks.d.ts +12 -10
  112. package/dist/browser/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  113. package/dist/browser/operationsInterfaces/serviceTasks.js.map +1 -1
  114. package/dist/browser/operationsInterfaces/services.d.ts +53 -52
  115. package/dist/browser/operationsInterfaces/services.d.ts.map +1 -1
  116. package/dist/browser/operationsInterfaces/services.js.map +1 -1
  117. package/dist/browser/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  118. package/dist/browser/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  119. package/dist/browser/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  120. package/dist/browser/operationsInterfaces/tasks.d.ts +17 -17
  121. package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
  122. package/dist/browser/operationsInterfaces/usages.d.ts +2 -2
  123. package/dist/browser/operationsInterfaces/usages.js.map +1 -1
  124. package/dist/browser/pagingHelper.d.ts +4 -4
  125. package/dist/browser/pagingHelper.js +4 -4
  126. package/dist/browser/pagingHelper.js.map +1 -1
  127. package/dist/commonjs/dataMigrationManagementClient.d.ts +5 -1
  128. package/dist/commonjs/dataMigrationManagementClient.d.ts.map +1 -1
  129. package/dist/commonjs/dataMigrationManagementClient.js +18 -8
  130. package/dist/commonjs/dataMigrationManagementClient.js.map +1 -1
  131. package/dist/commonjs/lroImpl.d.ts +6 -11
  132. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  133. package/dist/commonjs/lroImpl.js +17 -26
  134. package/dist/commonjs/lroImpl.js.map +1 -1
  135. package/dist/commonjs/models/index.d.ts +968 -216
  136. package/dist/commonjs/models/index.d.ts.map +1 -1
  137. package/dist/commonjs/models/index.js +54 -10
  138. package/dist/commonjs/models/index.js.map +1 -1
  139. package/dist/commonjs/models/mappers.d.ts +47 -14
  140. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  141. package/dist/commonjs/models/mappers.js +5235 -4062
  142. package/dist/commonjs/models/mappers.js.map +1 -1
  143. package/dist/commonjs/models/parameters.d.ts +21 -12
  144. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  145. package/dist/commonjs/models/parameters.js +184 -110
  146. package/dist/commonjs/models/parameters.js.map +1 -1
  147. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  148. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  149. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +368 -0
  150. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  151. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  152. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  153. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +368 -0
  154. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  155. package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts +81 -0
  156. package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  157. package/dist/commonjs/operations/databaseMigrationsSqlDb.js +324 -0
  158. package/dist/commonjs/operations/databaseMigrationsSqlDb.js.map +1 -0
  159. package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts +11 -11
  160. package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  161. package/dist/commonjs/operations/databaseMigrationsSqlMi.js +87 -75
  162. package/dist/commonjs/operations/databaseMigrationsSqlMi.js.map +1 -1
  163. package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts +11 -11
  164. package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  165. package/dist/commonjs/operations/databaseMigrationsSqlVm.js +87 -75
  166. package/dist/commonjs/operations/databaseMigrationsSqlVm.js.map +1 -1
  167. package/dist/commonjs/operations/files.js +43 -44
  168. package/dist/commonjs/operations/files.js.map +1 -1
  169. package/dist/commonjs/operations/index.d.ts +4 -0
  170. package/dist/commonjs/operations/index.d.ts.map +1 -1
  171. package/dist/commonjs/operations/index.js +4 -0
  172. package/dist/commonjs/operations/index.js.map +1 -1
  173. package/dist/commonjs/operations/migrationServices.d.ts +144 -0
  174. package/dist/commonjs/operations/migrationServices.d.ts.map +1 -0
  175. package/dist/commonjs/operations/migrationServices.js +645 -0
  176. package/dist/commonjs/operations/migrationServices.js.map +1 -0
  177. package/dist/commonjs/operations/operations.js +7 -8
  178. package/dist/commonjs/operations/operations.js.map +1 -1
  179. package/dist/commonjs/operations/projects.js +33 -34
  180. package/dist/commonjs/operations/projects.js.map +1 -1
  181. package/dist/commonjs/operations/resourceSkus.d.ts +2 -2
  182. package/dist/commonjs/operations/resourceSkus.js +12 -13
  183. package/dist/commonjs/operations/resourceSkus.js.map +1 -1
  184. package/dist/commonjs/operations/serviceTasks.d.ts +16 -13
  185. package/dist/commonjs/operations/serviceTasks.d.ts.map +1 -1
  186. package/dist/commonjs/operations/serviceTasks.js +55 -53
  187. package/dist/commonjs/operations/serviceTasks.js.map +1 -1
  188. package/dist/commonjs/operations/services.d.ts +59 -58
  189. package/dist/commonjs/operations/services.d.ts.map +1 -1
  190. package/dist/commonjs/operations/services.js +202 -184
  191. package/dist/commonjs/operations/services.js.map +1 -1
  192. package/dist/commonjs/operations/sqlMigrationServices.d.ts +13 -12
  193. package/dist/commonjs/operations/sqlMigrationServices.d.ts.map +1 -1
  194. package/dist/commonjs/operations/sqlMigrationServices.js +114 -104
  195. package/dist/commonjs/operations/sqlMigrationServices.js.map +1 -1
  196. package/dist/commonjs/operations/tasks.d.ts +20 -20
  197. package/dist/commonjs/operations/tasks.js +65 -66
  198. package/dist/commonjs/operations/tasks.js.map +1 -1
  199. package/dist/commonjs/operations/usages.d.ts +4 -4
  200. package/dist/commonjs/operations/usages.js +15 -16
  201. package/dist/commonjs/operations/usages.js.map +1 -1
  202. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  203. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  204. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +10 -0
  205. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  206. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  207. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  208. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +10 -0
  209. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  210. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  211. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  212. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js +10 -0
  213. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  214. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  215. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  216. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  217. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  218. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  219. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  220. package/dist/commonjs/operationsInterfaces/files.js.map +1 -1
  221. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
  222. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  223. package/dist/commonjs/operationsInterfaces/index.js +4 -0
  224. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  225. package/dist/commonjs/operationsInterfaces/migrationServices.d.ts +87 -0
  226. package/dist/commonjs/operationsInterfaces/migrationServices.d.ts.map +1 -0
  227. package/dist/commonjs/operationsInterfaces/migrationServices.js +10 -0
  228. package/dist/commonjs/operationsInterfaces/migrationServices.js.map +1 -0
  229. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  230. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  231. package/dist/commonjs/operationsInterfaces/projects.js.map +1 -1
  232. package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts +1 -1
  233. package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  234. package/dist/commonjs/operationsInterfaces/resourceSkus.js.map +1 -1
  235. package/dist/commonjs/operationsInterfaces/serviceTasks.d.ts +12 -10
  236. package/dist/commonjs/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  237. package/dist/commonjs/operationsInterfaces/serviceTasks.js.map +1 -1
  238. package/dist/commonjs/operationsInterfaces/services.d.ts +53 -52
  239. package/dist/commonjs/operationsInterfaces/services.d.ts.map +1 -1
  240. package/dist/commonjs/operationsInterfaces/services.js.map +1 -1
  241. package/dist/commonjs/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  242. package/dist/commonjs/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  243. package/dist/commonjs/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  244. package/dist/commonjs/operationsInterfaces/tasks.d.ts +17 -17
  245. package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
  246. package/dist/commonjs/operationsInterfaces/usages.d.ts +2 -2
  247. package/dist/commonjs/operationsInterfaces/usages.js.map +1 -1
  248. package/dist/commonjs/pagingHelper.d.ts +4 -4
  249. package/dist/commonjs/pagingHelper.js +4 -4
  250. package/dist/commonjs/pagingHelper.js.map +1 -1
  251. package/dist/commonjs/tsdoc-metadata.json +1 -1
  252. package/dist/esm/dataMigrationManagementClient.d.ts +5 -1
  253. package/dist/esm/dataMigrationManagementClient.d.ts.map +1 -1
  254. package/dist/esm/dataMigrationManagementClient.js +19 -9
  255. package/dist/esm/dataMigrationManagementClient.js.map +1 -1
  256. package/dist/esm/lroImpl.d.ts +6 -11
  257. package/dist/esm/lroImpl.d.ts.map +1 -1
  258. package/dist/esm/lroImpl.js +16 -24
  259. package/dist/esm/lroImpl.js.map +1 -1
  260. package/dist/esm/models/index.d.ts +968 -216
  261. package/dist/esm/models/index.d.ts.map +1 -1
  262. package/dist/esm/models/index.js +52 -8
  263. package/dist/esm/models/index.js.map +1 -1
  264. package/dist/esm/models/mappers.d.ts +47 -14
  265. package/dist/esm/models/mappers.d.ts.map +1 -1
  266. package/dist/esm/models/mappers.js +5228 -4055
  267. package/dist/esm/models/mappers.js.map +1 -1
  268. package/dist/esm/models/parameters.d.ts +21 -12
  269. package/dist/esm/models/parameters.d.ts.map +1 -1
  270. package/dist/esm/models/parameters.js +184 -110
  271. package/dist/esm/models/parameters.js.map +1 -1
  272. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  273. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  274. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +363 -0
  275. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  276. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  277. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  278. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +363 -0
  279. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  280. package/dist/esm/operations/databaseMigrationsSqlDb.d.ts +81 -0
  281. package/dist/esm/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  282. package/dist/esm/operations/databaseMigrationsSqlDb.js +319 -0
  283. package/dist/esm/operations/databaseMigrationsSqlDb.js.map +1 -0
  284. package/dist/esm/operations/databaseMigrationsSqlMi.d.ts +11 -11
  285. package/dist/esm/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  286. package/dist/esm/operations/databaseMigrationsSqlMi.js +89 -77
  287. package/dist/esm/operations/databaseMigrationsSqlMi.js.map +1 -1
  288. package/dist/esm/operations/databaseMigrationsSqlVm.d.ts +11 -11
  289. package/dist/esm/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  290. package/dist/esm/operations/databaseMigrationsSqlVm.js +89 -77
  291. package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
  292. package/dist/esm/operations/files.js +43 -44
  293. package/dist/esm/operations/files.js.map +1 -1
  294. package/dist/esm/operations/index.d.ts +4 -0
  295. package/dist/esm/operations/index.d.ts.map +1 -1
  296. package/dist/esm/operations/index.js +4 -0
  297. package/dist/esm/operations/index.js.map +1 -1
  298. package/dist/esm/operations/migrationServices.d.ts +144 -0
  299. package/dist/esm/operations/migrationServices.d.ts.map +1 -0
  300. package/dist/esm/operations/migrationServices.js +640 -0
  301. package/dist/esm/operations/migrationServices.js.map +1 -0
  302. package/dist/esm/operations/operations.js +7 -8
  303. package/dist/esm/operations/operations.js.map +1 -1
  304. package/dist/esm/operations/projects.js +33 -34
  305. package/dist/esm/operations/projects.js.map +1 -1
  306. package/dist/esm/operations/resourceSkus.d.ts +2 -2
  307. package/dist/esm/operations/resourceSkus.js +12 -13
  308. package/dist/esm/operations/resourceSkus.js.map +1 -1
  309. package/dist/esm/operations/serviceTasks.d.ts +16 -13
  310. package/dist/esm/operations/serviceTasks.d.ts.map +1 -1
  311. package/dist/esm/operations/serviceTasks.js +55 -53
  312. package/dist/esm/operations/serviceTasks.js.map +1 -1
  313. package/dist/esm/operations/services.d.ts +59 -58
  314. package/dist/esm/operations/services.d.ts.map +1 -1
  315. package/dist/esm/operations/services.js +204 -186
  316. package/dist/esm/operations/services.js.map +1 -1
  317. package/dist/esm/operations/sqlMigrationServices.d.ts +13 -12
  318. package/dist/esm/operations/sqlMigrationServices.d.ts.map +1 -1
  319. package/dist/esm/operations/sqlMigrationServices.js +116 -106
  320. package/dist/esm/operations/sqlMigrationServices.js.map +1 -1
  321. package/dist/esm/operations/tasks.d.ts +20 -20
  322. package/dist/esm/operations/tasks.js +65 -66
  323. package/dist/esm/operations/tasks.js.map +1 -1
  324. package/dist/esm/operations/usages.d.ts +4 -4
  325. package/dist/esm/operations/usages.js +15 -16
  326. package/dist/esm/operations/usages.js.map +1 -1
  327. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  328. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  329. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
  330. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  331. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  332. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  333. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
  334. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  335. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  336. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  337. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
  338. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  339. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  340. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  341. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  342. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  343. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  344. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  345. package/dist/esm/operationsInterfaces/files.js.map +1 -1
  346. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  347. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  348. package/dist/esm/operationsInterfaces/index.js +4 -0
  349. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  350. package/dist/esm/operationsInterfaces/migrationServices.d.ts +87 -0
  351. package/dist/esm/operationsInterfaces/migrationServices.d.ts.map +1 -0
  352. package/dist/esm/operationsInterfaces/migrationServices.js +9 -0
  353. package/dist/esm/operationsInterfaces/migrationServices.js.map +1 -0
  354. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  355. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  356. package/dist/esm/operationsInterfaces/projects.js.map +1 -1
  357. package/dist/esm/operationsInterfaces/resourceSkus.d.ts +1 -1
  358. package/dist/esm/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  359. package/dist/esm/operationsInterfaces/resourceSkus.js.map +1 -1
  360. package/dist/esm/operationsInterfaces/serviceTasks.d.ts +12 -10
  361. package/dist/esm/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  362. package/dist/esm/operationsInterfaces/serviceTasks.js.map +1 -1
  363. package/dist/esm/operationsInterfaces/services.d.ts +53 -52
  364. package/dist/esm/operationsInterfaces/services.d.ts.map +1 -1
  365. package/dist/esm/operationsInterfaces/services.js.map +1 -1
  366. package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  367. package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  368. package/dist/esm/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  369. package/dist/esm/operationsInterfaces/tasks.d.ts +17 -17
  370. package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
  371. package/dist/esm/operationsInterfaces/usages.d.ts +2 -2
  372. package/dist/esm/operationsInterfaces/usages.js.map +1 -1
  373. package/dist/esm/pagingHelper.d.ts +4 -4
  374. package/dist/esm/pagingHelper.js +4 -4
  375. package/dist/esm/pagingHelper.js.map +1 -1
  376. package/dist/react-native/dataMigrationManagementClient.d.ts +5 -1
  377. package/dist/react-native/dataMigrationManagementClient.d.ts.map +1 -1
  378. package/dist/react-native/dataMigrationManagementClient.js +19 -9
  379. package/dist/react-native/dataMigrationManagementClient.js.map +1 -1
  380. package/dist/react-native/lroImpl.d.ts +6 -11
  381. package/dist/react-native/lroImpl.d.ts.map +1 -1
  382. package/dist/react-native/lroImpl.js +16 -24
  383. package/dist/react-native/lroImpl.js.map +1 -1
  384. package/dist/react-native/models/index.d.ts +968 -216
  385. package/dist/react-native/models/index.d.ts.map +1 -1
  386. package/dist/react-native/models/index.js +52 -8
  387. package/dist/react-native/models/index.js.map +1 -1
  388. package/dist/react-native/models/mappers.d.ts +47 -14
  389. package/dist/react-native/models/mappers.d.ts.map +1 -1
  390. package/dist/react-native/models/mappers.js +5228 -4055
  391. package/dist/react-native/models/mappers.js.map +1 -1
  392. package/dist/react-native/models/parameters.d.ts +21 -12
  393. package/dist/react-native/models/parameters.d.ts.map +1 -1
  394. package/dist/react-native/models/parameters.js +184 -110
  395. package/dist/react-native/models/parameters.js.map +1 -1
  396. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  397. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  398. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +363 -0
  399. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  400. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  401. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  402. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +363 -0
  403. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  404. package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts +81 -0
  405. package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  406. package/dist/react-native/operations/databaseMigrationsSqlDb.js +319 -0
  407. package/dist/react-native/operations/databaseMigrationsSqlDb.js.map +1 -0
  408. package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts +11 -11
  409. package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  410. package/dist/react-native/operations/databaseMigrationsSqlMi.js +89 -77
  411. package/dist/react-native/operations/databaseMigrationsSqlMi.js.map +1 -1
  412. package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts +11 -11
  413. package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  414. package/dist/react-native/operations/databaseMigrationsSqlVm.js +89 -77
  415. package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
  416. package/dist/react-native/operations/files.js +43 -44
  417. package/dist/react-native/operations/files.js.map +1 -1
  418. package/dist/react-native/operations/index.d.ts +4 -0
  419. package/dist/react-native/operations/index.d.ts.map +1 -1
  420. package/dist/react-native/operations/index.js +4 -0
  421. package/dist/react-native/operations/index.js.map +1 -1
  422. package/dist/react-native/operations/migrationServices.d.ts +144 -0
  423. package/dist/react-native/operations/migrationServices.d.ts.map +1 -0
  424. package/dist/react-native/operations/migrationServices.js +640 -0
  425. package/dist/react-native/operations/migrationServices.js.map +1 -0
  426. package/dist/react-native/operations/operations.js +7 -8
  427. package/dist/react-native/operations/operations.js.map +1 -1
  428. package/dist/react-native/operations/projects.js +33 -34
  429. package/dist/react-native/operations/projects.js.map +1 -1
  430. package/dist/react-native/operations/resourceSkus.d.ts +2 -2
  431. package/dist/react-native/operations/resourceSkus.js +12 -13
  432. package/dist/react-native/operations/resourceSkus.js.map +1 -1
  433. package/dist/react-native/operations/serviceTasks.d.ts +16 -13
  434. package/dist/react-native/operations/serviceTasks.d.ts.map +1 -1
  435. package/dist/react-native/operations/serviceTasks.js +55 -53
  436. package/dist/react-native/operations/serviceTasks.js.map +1 -1
  437. package/dist/react-native/operations/services.d.ts +59 -58
  438. package/dist/react-native/operations/services.d.ts.map +1 -1
  439. package/dist/react-native/operations/services.js +204 -186
  440. package/dist/react-native/operations/services.js.map +1 -1
  441. package/dist/react-native/operations/sqlMigrationServices.d.ts +13 -12
  442. package/dist/react-native/operations/sqlMigrationServices.d.ts.map +1 -1
  443. package/dist/react-native/operations/sqlMigrationServices.js +116 -106
  444. package/dist/react-native/operations/sqlMigrationServices.js.map +1 -1
  445. package/dist/react-native/operations/tasks.d.ts +20 -20
  446. package/dist/react-native/operations/tasks.js +65 -66
  447. package/dist/react-native/operations/tasks.js.map +1 -1
  448. package/dist/react-native/operations/usages.d.ts +4 -4
  449. package/dist/react-native/operations/usages.js +15 -16
  450. package/dist/react-native/operations/usages.js.map +1 -1
  451. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  452. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  453. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
  454. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  455. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  456. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  457. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
  458. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  459. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  460. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  461. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
  462. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  463. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  464. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  465. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  466. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  467. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  468. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  469. package/dist/react-native/operationsInterfaces/files.js.map +1 -1
  470. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  471. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  472. package/dist/react-native/operationsInterfaces/index.js +4 -0
  473. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  474. package/dist/react-native/operationsInterfaces/migrationServices.d.ts +87 -0
  475. package/dist/react-native/operationsInterfaces/migrationServices.d.ts.map +1 -0
  476. package/dist/react-native/operationsInterfaces/migrationServices.js +9 -0
  477. package/dist/react-native/operationsInterfaces/migrationServices.js.map +1 -0
  478. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  479. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  480. package/dist/react-native/operationsInterfaces/projects.js.map +1 -1
  481. package/dist/react-native/operationsInterfaces/resourceSkus.d.ts +1 -1
  482. package/dist/react-native/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  483. package/dist/react-native/operationsInterfaces/resourceSkus.js.map +1 -1
  484. package/dist/react-native/operationsInterfaces/serviceTasks.d.ts +12 -10
  485. package/dist/react-native/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  486. package/dist/react-native/operationsInterfaces/serviceTasks.js.map +1 -1
  487. package/dist/react-native/operationsInterfaces/services.d.ts +53 -52
  488. package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -1
  489. package/dist/react-native/operationsInterfaces/services.js.map +1 -1
  490. package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  491. package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  492. package/dist/react-native/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  493. package/dist/react-native/operationsInterfaces/tasks.d.ts +17 -17
  494. package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
  495. package/dist/react-native/operationsInterfaces/usages.d.ts +2 -2
  496. package/dist/react-native/operationsInterfaces/usages.js.map +1 -1
  497. package/dist/react-native/pagingHelper.d.ts +4 -4
  498. package/dist/react-native/pagingHelper.js +4 -4
  499. package/dist/react-native/pagingHelper.js.map +1 -1
  500. package/package.json +26 -27
  501. package/CHANGELOG.md +0 -21
  502. package/review/arm-datamigration-node.api.md +0 -4103
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PollerLike, PollOperationState } from "@azure/core-lro";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
3
  import { SqlMigrationService, SqlMigrationServicesListByResourceGroupOptionalParams, DatabaseMigration, SqlMigrationServicesListMigrationsOptionalParams, SqlMigrationServicesListBySubscriptionOptionalParams, SqlMigrationServicesGetOptionalParams, SqlMigrationServicesGetResponse, SqlMigrationServicesCreateOrUpdateOptionalParams, SqlMigrationServicesCreateOrUpdateResponse, SqlMigrationServicesDeleteOptionalParams, SqlMigrationServiceUpdate, SqlMigrationServicesUpdateOptionalParams, SqlMigrationServicesUpdateResponse, SqlMigrationServicesListAuthKeysOptionalParams, SqlMigrationServicesListAuthKeysResponse, RegenAuthKeys, SqlMigrationServicesRegenerateAuthKeysOptionalParams, SqlMigrationServicesRegenerateAuthKeysResponse, DeleteNode, SqlMigrationServicesDeleteNodeOptionalParams, SqlMigrationServicesDeleteNodeResponse, SqlMigrationServicesListMonitoringDataOptionalParams, SqlMigrationServicesListMonitoringDataResponse } from "../models/index.js";
4
4
  /** Interface representing a SqlMigrationServices. */
5
5
  export interface SqlMigrationServices {
@@ -24,7 +24,7 @@ export interface SqlMigrationServices {
24
24
  */
25
25
  listBySubscription(options?: SqlMigrationServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SqlMigrationService>;
26
26
  /**
27
- * Retrieve the Migration Service.
27
+ * Retrieve the Database Migration Service
28
28
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
29
29
  * value from the Azure Resource Manager API or the portal.
30
30
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -32,16 +32,16 @@ export interface SqlMigrationServices {
32
32
  */
33
33
  get(resourceGroupName: string, sqlMigrationServiceName: string, options?: SqlMigrationServicesGetOptionalParams): Promise<SqlMigrationServicesGetResponse>;
34
34
  /**
35
- * Create or Update SQL Migration Service.
35
+ * Create or Update Database Migration Service.
36
36
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
37
37
  * value from the Azure Resource Manager API or the portal.
38
38
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
39
39
  * @param parameters Details of SqlMigrationService resource.
40
40
  * @param options The options parameters.
41
41
  */
42
- beginCreateOrUpdate(resourceGroupName: string, sqlMigrationServiceName: string, parameters: SqlMigrationService, options?: SqlMigrationServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<SqlMigrationServicesCreateOrUpdateResponse>, SqlMigrationServicesCreateOrUpdateResponse>>;
42
+ beginCreateOrUpdate(resourceGroupName: string, sqlMigrationServiceName: string, parameters: SqlMigrationService, options?: SqlMigrationServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SqlMigrationServicesCreateOrUpdateResponse>, SqlMigrationServicesCreateOrUpdateResponse>>;
43
43
  /**
44
- * Create or Update SQL Migration Service.
44
+ * Create or Update Database Migration Service.
45
45
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
46
46
  * value from the Azure Resource Manager API or the portal.
47
47
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -50,15 +50,15 @@ export interface SqlMigrationServices {
50
50
  */
51
51
  beginCreateOrUpdateAndWait(resourceGroupName: string, sqlMigrationServiceName: string, parameters: SqlMigrationService, options?: SqlMigrationServicesCreateOrUpdateOptionalParams): Promise<SqlMigrationServicesCreateOrUpdateResponse>;
52
52
  /**
53
- * Delete SQL Migration Service.
53
+ * Delete Database Migration Service.
54
54
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
55
55
  * value from the Azure Resource Manager API or the portal.
56
56
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
57
57
  * @param options The options parameters.
58
58
  */
59
- beginDelete(resourceGroupName: string, sqlMigrationServiceName: string, options?: SqlMigrationServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
59
+ beginDelete(resourceGroupName: string, sqlMigrationServiceName: string, options?: SqlMigrationServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
60
60
  /**
61
- * Delete SQL Migration Service.
61
+ * Delete Database Migration Service.
62
62
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
63
63
  * value from the Azure Resource Manager API or the portal.
64
64
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -66,16 +66,16 @@ export interface SqlMigrationServices {
66
66
  */
67
67
  beginDeleteAndWait(resourceGroupName: string, sqlMigrationServiceName: string, options?: SqlMigrationServicesDeleteOptionalParams): Promise<void>;
68
68
  /**
69
- * Update SQL Migration Service.
69
+ * Update Database Migration Service.
70
70
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
71
71
  * value from the Azure Resource Manager API or the portal.
72
72
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
73
73
  * @param parameters Details of SqlMigrationService resource.
74
74
  * @param options The options parameters.
75
75
  */
76
- beginUpdate(resourceGroupName: string, sqlMigrationServiceName: string, parameters: SqlMigrationServiceUpdate, options?: SqlMigrationServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<SqlMigrationServicesUpdateResponse>, SqlMigrationServicesUpdateResponse>>;
76
+ beginUpdate(resourceGroupName: string, sqlMigrationServiceName: string, parameters: SqlMigrationServiceUpdate, options?: SqlMigrationServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SqlMigrationServicesUpdateResponse>, SqlMigrationServicesUpdateResponse>>;
77
77
  /**
78
- * Update SQL Migration Service.
78
+ * Update Database Migration Service.
79
79
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
80
80
  * value from the Azure Resource Manager API or the portal.
81
81
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -110,7 +110,8 @@ export interface SqlMigrationServices {
110
110
  */
111
111
  deleteNode(resourceGroupName: string, sqlMigrationServiceName: string, parameters: DeleteNode, options?: SqlMigrationServicesDeleteNodeOptionalParams): Promise<SqlMigrationServicesDeleteNodeResponse>;
112
112
  /**
113
- * Retrieve the Monitoring Data.
113
+ * Retrieve the registered Integration Runtime nodes and their monitoring data for a given Database
114
+ * Migration Service.
114
115
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
115
116
  * value from the Azure Resource Manager API or the portal.
116
117
  * @param sqlMigrationServiceName Name of the SQL Migration Service.
@@ -1 +1 @@
1
- {"version":3,"file":"sqlMigrationServices.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/sqlMigrationServices.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,mBAAmB,EACnB,qDAAqD,EACrD,iBAAiB,EACjB,gDAAgD,EAChD,oDAAoD,EACpD,qCAAqC,EACrC,+BAA+B,EAC/B,gDAAgD,EAChD,0CAA0C,EAC1C,wCAAwC,EACxC,yBAAyB,EACzB,wCAAwC,EACxC,kCAAkC,EAClC,8CAA8C,EAC9C,wCAAwC,EACxC,aAAa,EACb,oDAAoD,EACpD,8CAA8C,EAC9C,UAAU,EACV,4CAA4C,EAC5C,sCAAsC,EACtC,oDAAoD,EACpD,8CAA8C,EAC/C,MAAM,oBAAoB,CAAC;AAG5B,qDAAqD;AACrD,MA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,wCAAwC,CAAC,CAAC;IACrD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,uBAAuB,EAAE,MAAM,EAC/B,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,8CAA8C,CAAC,CAAC;IAC3D;;;;;;;OAOG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,uBAAuB,EAAE,MAAM,EAC/B,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,8CAA8C,CAAC,CAAC;CAC5D"}
@@ -1 +1 @@
1
- {"version":3,"file":"sqlMigrationServices.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/sqlMigrationServices.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n SqlMigrationService,\n SqlMigrationServicesListByResourceGroupOptionalParams,\n DatabaseMigration,\n SqlMigrationServicesListMigrationsOptionalParams,\n SqlMigrationServicesListBySubscriptionOptionalParams,\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} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a SqlMigrationServices. */\nexport interface SqlMigrationServices {\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 listByResourceGroup(\n resourceGroupName: string,\n options?: SqlMigrationServicesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<SqlMigrationService>;\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 listMigrations(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMigrationsOptionalParams\n ): PagedAsyncIterableIterator<DatabaseMigration>;\n /**\n * Retrieve all SQL migration services in the subscriptions.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: SqlMigrationServicesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<SqlMigrationService>;\n /**\n * Retrieve the 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 /**\n * Create or Update SQL 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 beginCreateOrUpdate(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationService,\n options?: SqlMigrationServicesCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SqlMigrationServicesCreateOrUpdateResponse>,\n SqlMigrationServicesCreateOrUpdateResponse\n >\n >;\n /**\n * Create or Update SQL 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 beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationService,\n options?: SqlMigrationServicesCreateOrUpdateOptionalParams\n ): Promise<SqlMigrationServicesCreateOrUpdateResponse>;\n /**\n * Delete SQL 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 beginDelete(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * Delete SQL 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 beginDeleteAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesDeleteOptionalParams\n ): Promise<void>;\n /**\n * Update SQL 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 beginUpdate(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationServiceUpdate,\n options?: SqlMigrationServicesUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SqlMigrationServicesUpdateResponse>,\n SqlMigrationServicesUpdateResponse\n >\n >;\n /**\n * Update SQL 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 beginUpdateAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationServiceUpdate,\n options?: SqlMigrationServicesUpdateOptionalParams\n ): Promise<SqlMigrationServicesUpdateResponse>;\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 /**\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 /**\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 /**\n * Retrieve the Monitoring Data.\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}\n"]}
1
+ {"version":3,"file":"sqlMigrationServices.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/sqlMigrationServices.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n SqlMigrationService,\n SqlMigrationServicesListByResourceGroupOptionalParams,\n DatabaseMigration,\n SqlMigrationServicesListMigrationsOptionalParams,\n SqlMigrationServicesListBySubscriptionOptionalParams,\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} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a SqlMigrationServices. */\nexport interface SqlMigrationServices {\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 listByResourceGroup(\n resourceGroupName: string,\n options?: SqlMigrationServicesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<SqlMigrationService>;\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 listMigrations(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMigrationsOptionalParams,\n ): PagedAsyncIterableIterator<DatabaseMigration>;\n /**\n * Retrieve all SQL migration services in the subscriptions.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: SqlMigrationServicesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<SqlMigrationService>;\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 /**\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 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 /**\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 beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationService,\n options?: SqlMigrationServicesCreateOrUpdateOptionalParams,\n ): Promise<SqlMigrationServicesCreateOrUpdateResponse>;\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 beginDelete(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\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 beginDeleteAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesDeleteOptionalParams,\n ): Promise<void>;\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 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 /**\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 beginUpdateAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationServiceUpdate,\n options?: SqlMigrationServicesUpdateOptionalParams,\n ): Promise<SqlMigrationServicesUpdateResponse>;\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 /**\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 /**\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 /**\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}\n"]}
@@ -3,9 +3,9 @@ import { ProjectTask, TasksListOptionalParams, TasksCreateOrUpdateOptionalParams
3
3
  /** Interface representing a Tasks. */
4
4
  export interface Tasks {
5
5
  /**
6
- * The services resource is the top-level resource that represents the Database Migration Service. This
7
- * method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown,
8
- * which indicates that an error occurred while querying the status of that task.
6
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
7
+ * (classic). This method returns a list of tasks owned by a service resource. Some tasks may have a
8
+ * status of Unknown, which indicates that an error occurred while querying the status of that task.
9
9
  * @param groupName Name of the resource group
10
10
  * @param serviceName Name of the service
11
11
  * @param projectName Name of the project
@@ -13,9 +13,9 @@ export interface Tasks {
13
13
  */
14
14
  list(groupName: string, serviceName: string, projectName: string, options?: TasksListOptionalParams): PagedAsyncIterableIterator<ProjectTask>;
15
15
  /**
16
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
17
- * The PUT method creates a new task or updates an existing one, although since tasks have no mutable
18
- * custom properties, there is little reason to update an existing one.
16
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)
17
+ * instance. The PUT method creates a new task or updates an existing one, although since tasks have no
18
+ * mutable custom properties, there is little reason to update an existing one.
19
19
  * @param groupName Name of the resource group
20
20
  * @param serviceName Name of the service
21
21
  * @param projectName Name of the project
@@ -25,8 +25,8 @@ export interface Tasks {
25
25
  */
26
26
  createOrUpdate(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: ProjectTask, options?: TasksCreateOrUpdateOptionalParams): Promise<TasksCreateOrUpdateResponse>;
27
27
  /**
28
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
29
- * The GET method retrieves information about a task.
28
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)
29
+ * instance. The GET method retrieves information about a task.
30
30
  * @param groupName Name of the resource group
31
31
  * @param serviceName Name of the service
32
32
  * @param projectName Name of the project
@@ -35,8 +35,8 @@ export interface Tasks {
35
35
  */
36
36
  get(groupName: string, serviceName: string, projectName: string, taskName: string, options?: TasksGetOptionalParams): Promise<TasksGetResponse>;
37
37
  /**
38
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
39
- * The DELETE method deletes a task, canceling it first if it's running.
38
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)
39
+ * instance. The DELETE method deletes a task, canceling it first if it's running.
40
40
  * @param groupName Name of the resource group
41
41
  * @param serviceName Name of the service
42
42
  * @param projectName Name of the project
@@ -45,9 +45,9 @@ export interface Tasks {
45
45
  */
46
46
  delete(groupName: string, serviceName: string, projectName: string, taskName: string, options?: TasksDeleteOptionalParams): Promise<void>;
47
47
  /**
48
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
49
- * The PATCH method updates an existing task, but since tasks have no mutable custom properties, there
50
- * is little reason to do so.
48
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)
49
+ * instance. The PATCH method updates an existing task, but since tasks have no mutable custom
50
+ * properties, there is little reason to do so.
51
51
  * @param groupName Name of the resource group
52
52
  * @param serviceName Name of the service
53
53
  * @param projectName Name of the project
@@ -57,8 +57,8 @@ export interface Tasks {
57
57
  */
58
58
  update(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: ProjectTask, options?: TasksUpdateOptionalParams): Promise<TasksUpdateResponse>;
59
59
  /**
60
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
61
- * This method cancels a task if it's currently queued or running.
60
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)
61
+ * instance. This method cancels a task if it's currently queued or running.
62
62
  * @param groupName Name of the resource group
63
63
  * @param serviceName Name of the service
64
64
  * @param projectName Name of the project
@@ -67,8 +67,8 @@ export interface Tasks {
67
67
  */
68
68
  cancel(groupName: string, serviceName: string, projectName: string, taskName: string, options?: TasksCancelOptionalParams): Promise<TasksCancelResponse>;
69
69
  /**
70
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
71
- * This method executes a command on a running task.
70
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)
71
+ * instance. This method executes a command on a running task.
72
72
  * @param groupName Name of the resource group
73
73
  * @param serviceName Name of the service
74
74
  * @param projectName Name of the project
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/tasks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n ProjectTask,\n TasksListOptionalParams,\n TasksCreateOrUpdateOptionalParams,\n TasksCreateOrUpdateResponse,\n TasksGetOptionalParams,\n TasksGetResponse,\n TasksDeleteOptionalParams,\n TasksUpdateOptionalParams,\n TasksUpdateResponse,\n TasksCancelOptionalParams,\n TasksCancelResponse,\n CommandPropertiesUnion,\n TasksCommandOptionalParams,\n TasksCommandResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Tasks. */\nexport interface Tasks {\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown,\n * which indicates that an error occurred while querying the status of that task.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param options The options parameters.\n */\n list(\n groupName: string,\n serviceName: string,\n projectName: string,\n options?: TasksListOptionalParams\n ): PagedAsyncIterableIterator<ProjectTask>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.\n * The PUT method creates a new task or updates an existing one, although since tasks have no mutable\n * custom properties, there is little reason to update an existing one.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param parameters Information about the task\n * @param options The options parameters.\n */\n createOrUpdate(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n parameters: ProjectTask,\n options?: TasksCreateOrUpdateOptionalParams\n ): Promise<TasksCreateOrUpdateResponse>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.\n * The GET method retrieves information about a task.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param options The options parameters.\n */\n get(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n options?: TasksGetOptionalParams\n ): Promise<TasksGetResponse>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.\n * The DELETE method deletes a task, canceling it first if it's running.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param options The options parameters.\n */\n delete(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n options?: TasksDeleteOptionalParams\n ): Promise<void>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.\n * The PATCH method updates an existing task, but since tasks have no mutable custom properties, there\n * is little reason to do so.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param parameters Information about the task\n * @param options The options parameters.\n */\n update(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n parameters: ProjectTask,\n options?: TasksUpdateOptionalParams\n ): Promise<TasksUpdateResponse>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.\n * This method cancels a task if it's currently queued or running.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param options The options parameters.\n */\n cancel(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n options?: TasksCancelOptionalParams\n ): Promise<TasksCancelResponse>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.\n * This method executes a command on a running task.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param parameters Command to execute\n * @param options The options parameters.\n */\n command(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n parameters: CommandPropertiesUnion,\n options?: TasksCommandOptionalParams\n ): Promise<TasksCommandResponse>;\n}\n"]}
1
+ {"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/tasks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n ProjectTask,\n TasksListOptionalParams,\n TasksCreateOrUpdateOptionalParams,\n TasksCreateOrUpdateResponse,\n TasksGetOptionalParams,\n TasksGetResponse,\n TasksDeleteOptionalParams,\n TasksUpdateOptionalParams,\n TasksUpdateResponse,\n TasksCancelOptionalParams,\n TasksCancelResponse,\n CommandPropertiesUnion,\n TasksCommandOptionalParams,\n TasksCommandResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Tasks. */\nexport interface Tasks {\n /**\n * The services resource is the top-level resource that represents the Azure Database Migration Service\n * (classic). This method returns a list of tasks owned by a service resource. Some tasks may have a\n * status of Unknown, which indicates that an error occurred while querying the status of that task.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param options The options parameters.\n */\n list(\n groupName: string,\n serviceName: string,\n projectName: string,\n options?: TasksListOptionalParams,\n ): PagedAsyncIterableIterator<ProjectTask>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)\n * instance. The PUT method creates a new task or updates an existing one, although since tasks have no\n * mutable custom properties, there is little reason to update an existing one.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param parameters Information about the task\n * @param options The options parameters.\n */\n createOrUpdate(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n parameters: ProjectTask,\n options?: TasksCreateOrUpdateOptionalParams,\n ): Promise<TasksCreateOrUpdateResponse>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)\n * instance. The GET method retrieves information about a task.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param options The options parameters.\n */\n get(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n options?: TasksGetOptionalParams,\n ): Promise<TasksGetResponse>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)\n * instance. The DELETE method deletes a task, canceling it first if it's running.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param options The options parameters.\n */\n delete(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n options?: TasksDeleteOptionalParams,\n ): Promise<void>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)\n * instance. The PATCH method updates an existing task, but since tasks have no mutable custom\n * properties, there is little reason to do so.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param parameters Information about the task\n * @param options The options parameters.\n */\n update(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n parameters: ProjectTask,\n options?: TasksUpdateOptionalParams,\n ): Promise<TasksUpdateResponse>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)\n * instance. This method cancels a task if it's currently queued or running.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param options The options parameters.\n */\n cancel(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n options?: TasksCancelOptionalParams,\n ): Promise<TasksCancelResponse>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)\n * instance. This method executes a command on a running task.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param parameters Command to execute\n * @param options The options parameters.\n */\n command(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n parameters: CommandPropertiesUnion,\n options?: TasksCommandOptionalParams,\n ): Promise<TasksCommandResponse>;\n}\n"]}
@@ -3,8 +3,8 @@ import { Quota, UsagesListOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a Usages. */
4
4
  export interface Usages {
5
5
  /**
6
- * This method returns region-specific quotas and resource usage information for the Database Migration
7
- * Service.
6
+ * This method returns region-specific quotas and resource usage information for the Azure Database
7
+ * Migration Service (classic).
8
8
  * @param location The Azure region of the operation
9
9
  * @param options The options parameters.
10
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"usages.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/usages.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { Quota, UsagesListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Usages. */\nexport interface Usages {\n /**\n * This method returns region-specific quotas and resource usage information for the Database Migration\n * Service.\n * @param location The Azure region of the operation\n * @param options The options parameters.\n */\n list(\n location: string,\n options?: UsagesListOptionalParams\n ): PagedAsyncIterableIterator<Quota>;\n}\n"]}
1
+ {"version":3,"file":"usages.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/usages.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { Quota, UsagesListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Usages. */\nexport interface Usages {\n /**\n * This method returns region-specific quotas and resource usage information for the Azure Database\n * Migration Service (classic).\n * @param location The Azure region of the operation\n * @param options The options parameters.\n */\n list(\n location: string,\n options?: UsagesListOptionalParams,\n ): PagedAsyncIterableIterator<Quota>;\n}\n"]}
@@ -2,11 +2,11 @@ export interface PageInfo {
2
2
  continuationToken?: string;
3
3
  }
4
4
  /**
5
- * Given a result page from a pageable operation, returns a
6
- * continuation token that can be used to begin paging from
5
+ * Given the last `.value` produced by the `byPage` iterator,
6
+ * returns a continuation token that can be used to begin paging from
7
7
  * that point later.
8
- * @param page A result object from calling .byPage() on a paged operation.
9
- * @returns The continuation token that can be passed into byPage().
8
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
9
+ * @returns The continuation token that can be passed into byPage() during future calls.
10
10
  */
11
11
  export declare function getContinuationToken(page: unknown): string | undefined;
12
12
  export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
@@ -7,11 +7,11 @@
7
7
  */
8
8
  const pageMap = new WeakMap();
9
9
  /**
10
- * Given a result page from a pageable operation, returns a
11
- * continuation token that can be used to begin paging from
10
+ * Given the last `.value` produced by the `byPage` iterator,
11
+ * returns a continuation token that can be used to begin paging from
12
12
  * that point later.
13
- * @param page A result object from calling .byPage() on a paged operation.
14
- * @returns The continuation token that can be passed into byPage().
13
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
14
+ * @returns The continuation token that can be passed into byPage() during future calls.
15
15
  */
16
16
  export function getContinuationToken(page) {
17
17
  if (typeof page !== "object" || page === null) {
@@ -1 +1 @@
1
- {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { DatabaseMigrationsSqlMi, DatabaseMigrationsSqlVm, Operations, SqlMigrationServices, ResourceSkus, Services, Tasks, ServiceTasks, Projects, Usages, Files } from "./operationsInterfaces/index.js";
3
+ import { DatabaseMigrationsMongoToCosmosDbRUMongo, DatabaseMigrationsMongoToCosmosDbvCoreMongo, DatabaseMigrationsSqlDb, DatabaseMigrationsSqlMi, DatabaseMigrationsSqlVm, Operations, MigrationServices, SqlMigrationServices, ResourceSkus, Services, Tasks, ServiceTasks, Projects, Usages, Files } from "./operationsInterfaces/index.js";
4
4
  import { DataMigrationManagementClientOptionalParams } from "./models/index.js";
5
5
  export declare class DataMigrationManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
@@ -15,9 +15,13 @@ export declare class DataMigrationManagementClient extends coreClient.ServiceCli
15
15
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataMigrationManagementClientOptionalParams);
16
16
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
17
  private addCustomApiVersionPolicy;
18
+ databaseMigrationsMongoToCosmosDbRUMongo: DatabaseMigrationsMongoToCosmosDbRUMongo;
19
+ databaseMigrationsMongoToCosmosDbvCoreMongo: DatabaseMigrationsMongoToCosmosDbvCoreMongo;
20
+ databaseMigrationsSqlDb: DatabaseMigrationsSqlDb;
18
21
  databaseMigrationsSqlMi: DatabaseMigrationsSqlMi;
19
22
  databaseMigrationsSqlVm: DatabaseMigrationsSqlVm;
20
23
  operations: Operations;
24
+ migrationServices: MigrationServices;
21
25
  sqlMigrationServices: SqlMigrationServices;
22
26
  resourceSkus: ResourceSkus;
23
27
  services: Services;
@@ -1 +1 @@
1
- {"version":3,"file":"dataMigrationManagementClient.d.ts","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAc7C,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,UAAU,EACV,oBAAoB,EACpB,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,KAAK,EACN,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,2CAA2C,EAAE,MAAM,mBAAmB,CAAC;AAEhF,qBAAa,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,2CAA2C;IAsFvD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,UAAU,EAAE,UAAU,CAAC;IACvB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CACd"}
1
+ {"version":3,"file":"dataMigrationManagementClient.d.ts","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAkB7C,OAAO,EACL,wCAAwC,EACxC,2CAA2C,EAC3C,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,KAAK,EACN,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,2CAA2C,EAAE,MAAM,mBAAmB,CAAC;AAEhF,qBAAa,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,2CAA2C;IA6FvD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,wCAAwC,EAAE,wCAAwC,CAAC;IACnF,2CAA2C,EAAE,2CAA2C,CAAC;IACzF,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,UAAU,EAAE,UAAU,CAAC;IACvB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CACd"}
@@ -35,7 +35,7 @@ class DataMigrationManagementClient extends coreClient.ServiceClient {
35
35
  }
36
36
  const defaults = {
37
37
  requestContentType: "application/json; charset=utf-8",
38
- credential: credentials
38
+ credential: credentials,
39
39
  };
40
40
  const packageDetails = `azsdk-js-arm-datamigration/3.0.0-beta.4`;
41
41
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
@@ -45,9 +45,9 @@ class DataMigrationManagementClient extends coreClient.ServiceClient {
45
45
  ...defaults,
46
46
  ...options,
47
47
  userAgentOptions: {
48
- userAgentPrefix
48
+ userAgentPrefix,
49
49
  },
50
- endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
50
+ endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
51
51
  };
52
52
  super(optionsWithDefaults);
53
53
  let bearerTokenAuthenticationPolicyFound = false;
@@ -61,25 +61,31 @@ class DataMigrationManagementClient extends coreClient.ServiceClient {
61
61
  options.pipeline.getOrderedPolicies().length == 0 ||
62
62
  !bearerTokenAuthenticationPolicyFound) {
63
63
  this.pipeline.removePolicy({
64
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName
64
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
65
65
  });
66
66
  this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
67
67
  credential: credentials,
68
68
  scopes: optionsWithDefaults.credentialScopes ??
69
69
  `${optionsWithDefaults.endpoint}/.default`,
70
70
  challengeCallbacks: {
71
- authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
72
- }
71
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
72
+ },
73
73
  }));
74
74
  }
75
75
  // Parameter assignments
76
76
  this.subscriptionId = subscriptionId;
77
77
  // Assigning values to Constant parameters
78
78
  this.$host = options.$host || "https://management.azure.com";
79
- this.apiVersion = options.apiVersion || "2021-10-30-preview";
79
+ this.apiVersion = options.apiVersion || "2025-03-15-preview";
80
+ this.databaseMigrationsMongoToCosmosDbRUMongo =
81
+ new index_js_1.DatabaseMigrationsMongoToCosmosDbRUMongoImpl(this);
82
+ this.databaseMigrationsMongoToCosmosDbvCoreMongo =
83
+ new index_js_1.DatabaseMigrationsMongoToCosmosDbvCoreMongoImpl(this);
84
+ this.databaseMigrationsSqlDb = new index_js_1.DatabaseMigrationsSqlDbImpl(this);
80
85
  this.databaseMigrationsSqlMi = new index_js_1.DatabaseMigrationsSqlMiImpl(this);
81
86
  this.databaseMigrationsSqlVm = new index_js_1.DatabaseMigrationsSqlVmImpl(this);
82
87
  this.operations = new index_js_1.OperationsImpl(this);
88
+ this.migrationServices = new index_js_1.MigrationServicesImpl(this);
83
89
  this.sqlMigrationServices = new index_js_1.SqlMigrationServicesImpl(this);
84
90
  this.resourceSkus = new index_js_1.ResourceSkusImpl(this);
85
91
  this.services = new index_js_1.ServicesImpl(this);
@@ -111,13 +117,17 @@ class DataMigrationManagementClient extends coreClient.ServiceClient {
111
117
  request.url = param[0] + "?" + newParams.join("&");
112
118
  }
113
119
  return next(request);
114
- }
120
+ },
115
121
  };
116
122
  this.pipeline.addPolicy(apiVersionPolicy);
117
123
  }
124
+ databaseMigrationsMongoToCosmosDbRUMongo;
125
+ databaseMigrationsMongoToCosmosDbvCoreMongo;
126
+ databaseMigrationsSqlDb;
118
127
  databaseMigrationsSqlMi;
119
128
  databaseMigrationsSqlVm;
120
129
  operations;
130
+ migrationServices;
121
131
  sqlMigrationServices;
122
132
  resourceSkus;
123
133
  services;
@@ -1 +1 @@
1
- {"version":3,"file":"dataMigrationManagementClient.js","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAY+B;AAgB/B,MAAa,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IACzE,KAAK,CAAS;IACd,cAAc,CAAS;IACvB,UAAU,CAAS;IAEnB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAqD;QAErD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAgD;YAC5D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,yCAAyC,CAAC;QACjE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,GAAG;YAC1B,GAAG,QAAQ;YACX,GAAG,OAAO;YACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB;YACD,QAAQ,EACN,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,OAAO,IAAI,8BAA8B;SACxE,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAE3B,IAAI,oCAAoC,GA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AC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,uBAAuB,CAA0B;IACjD,uBAAuB,CAA0B;IACjD,UAAU,CAAa;IACvB,oBAAoB,CAAuB;IAC3C,YAAY,CAAe;IAC3B,QAAQ,CAAW;IACnB,KAAK,CAAQ;IACb,YAAY,CAAe;IAC3B,QAAQ,CAAW;IACnB,MAAM,CAAS;IACf,KAAK,CAAQ;CACd;AA3ID,sEA2IC","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n DatabaseMigrationsSqlMiImpl,\n DatabaseMigrationsSqlVmImpl,\n OperationsImpl,\n SqlMigrationServicesImpl,\n ResourceSkusImpl,\n ServicesImpl,\n TasksImpl,\n ServiceTasksImpl,\n ProjectsImpl,\n UsagesImpl,\n FilesImpl\n} from \"./operations/index.js\";\nimport {\n DatabaseMigrationsSqlMi,\n DatabaseMigrationsSqlVm,\n Operations,\n SqlMigrationServices,\n ResourceSkus,\n Services,\n Tasks,\n ServiceTasks,\n Projects,\n Usages,\n Files\n} from \"./operationsInterfaces/index.js\";\nimport { DataMigrationManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class DataMigrationManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the DataMigrationManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Subscription ID that identifies an Azure subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: DataMigrationManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: DataMigrationManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-datamigration/3.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-10-30-preview\";\n this.databaseMigrationsSqlMi = new DatabaseMigrationsSqlMiImpl(this);\n this.databaseMigrationsSqlVm = new DatabaseMigrationsSqlVmImpl(this);\n this.operations = new OperationsImpl(this);\n this.sqlMigrationServices = new SqlMigrationServicesImpl(this);\n this.resourceSkus = new ResourceSkusImpl(this);\n this.services = new ServicesImpl(this);\n this.tasks = new TasksImpl(this);\n this.serviceTasks = new ServiceTasksImpl(this);\n this.projects = new ProjectsImpl(this);\n this.usages = new UsagesImpl(this);\n this.files = new FilesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n databaseMigrationsSqlMi: DatabaseMigrationsSqlMi;\n databaseMigrationsSqlVm: DatabaseMigrationsSqlVm;\n operations: Operations;\n sqlMigrationServices: SqlMigrationServices;\n resourceSkus: ResourceSkus;\n services: Services;\n tasks: Tasks;\n serviceTasks: ServiceTasks;\n projects: Projects;\n usages: Usages;\n files: Files;\n}\n"]}
1
+ {"version":3,"file":"dataMigrationManagementClient.js","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAgB+B;AAoB/B,MAAa,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IACzE,KAAK,CAAS;IACd,cAAc,CAAS;IACvB,UAAU,CAAS;IAEnB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAqD;QAErD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAgD;YAC5D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,yCAAyC,CAAC;QACjE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,GAAG;YAC1B,GAAG,QAAQ;YACX,GAAG,OAAO;YACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB;YACD,QAAQ,EACN,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,OAAO,IAAI,8BAA8B;SACxE,C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CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,wCAAwC,CAA2C;IACnF,2CAA2C,CAA8C;IACzF,uBAAuB,CAA0B;IACjD,uBAAuB,CAA0B;IACjD,uBAAuB,CAA0B;IACjD,UAAU,CAAa;IACvB,iBAAiB,CAAoB;IACrC,oBAAoB,CAAuB;IAC3C,YAAY,CAAe;IAC3B,QAAQ,CAAW;IACnB,KAAK,CAAQ;IACb,YAAY,CAAe;IAC3B,QAAQ,CAAW;IACnB,MAAM,CAAS;IACf,KAAK,CAAQ;CACd;AAtJD,sEAsJC","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n DatabaseMigrationsMongoToCosmosDbRUMongoImpl,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoImpl,\n DatabaseMigrationsSqlDbImpl,\n DatabaseMigrationsSqlMiImpl,\n DatabaseMigrationsSqlVmImpl,\n OperationsImpl,\n MigrationServicesImpl,\n SqlMigrationServicesImpl,\n ResourceSkusImpl,\n ServicesImpl,\n TasksImpl,\n ServiceTasksImpl,\n ProjectsImpl,\n UsagesImpl,\n FilesImpl,\n} from \"./operations/index.js\";\nimport {\n DatabaseMigrationsMongoToCosmosDbRUMongo,\n DatabaseMigrationsMongoToCosmosDbvCoreMongo,\n DatabaseMigrationsSqlDb,\n DatabaseMigrationsSqlMi,\n DatabaseMigrationsSqlVm,\n Operations,\n MigrationServices,\n SqlMigrationServices,\n ResourceSkus,\n Services,\n Tasks,\n ServiceTasks,\n Projects,\n Usages,\n Files,\n} from \"./operationsInterfaces/index.js\";\nimport { DataMigrationManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class DataMigrationManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the DataMigrationManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Subscription ID that identifies an Azure subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: DataMigrationManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: DataMigrationManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-datamigration/3.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-03-15-preview\";\n this.databaseMigrationsMongoToCosmosDbRUMongo =\n new DatabaseMigrationsMongoToCosmosDbRUMongoImpl(this);\n this.databaseMigrationsMongoToCosmosDbvCoreMongo =\n new DatabaseMigrationsMongoToCosmosDbvCoreMongoImpl(this);\n this.databaseMigrationsSqlDb = new DatabaseMigrationsSqlDbImpl(this);\n this.databaseMigrationsSqlMi = new DatabaseMigrationsSqlMiImpl(this);\n this.databaseMigrationsSqlVm = new DatabaseMigrationsSqlVmImpl(this);\n this.operations = new OperationsImpl(this);\n this.migrationServices = new MigrationServicesImpl(this);\n this.sqlMigrationServices = new SqlMigrationServicesImpl(this);\n this.resourceSkus = new ResourceSkusImpl(this);\n this.services = new ServicesImpl(this);\n this.tasks = new TasksImpl(this);\n this.serviceTasks = new ServiceTasksImpl(this);\n this.projects = new ProjectsImpl(this);\n this.usages = new UsagesImpl(this);\n this.files = new FilesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n databaseMigrationsMongoToCosmosDbRUMongo: DatabaseMigrationsMongoToCosmosDbRUMongo;\n databaseMigrationsMongoToCosmosDbvCoreMongo: DatabaseMigrationsMongoToCosmosDbvCoreMongo;\n databaseMigrationsSqlDb: DatabaseMigrationsSqlDb;\n databaseMigrationsSqlMi: DatabaseMigrationsSqlMi;\n databaseMigrationsSqlVm: DatabaseMigrationsSqlVm;\n operations: Operations;\n migrationServices: MigrationServices;\n sqlMigrationServices: SqlMigrationServices;\n resourceSkus: ResourceSkus;\n services: Services;\n tasks: Tasks;\n serviceTasks: ServiceTasks;\n projects: Projects;\n usages: Usages;\n files: Files;\n}\n"]}
@@ -1,16 +1,11 @@
1
1
  import { LongRunningOperation, LroResponse } from "@azure/core-lro";
2
- export declare class LroImpl<T> implements LongRunningOperation<T> {
3
- private sendOperationFn;
4
- private args;
5
- private spec;
6
- requestPath: string;
7
- requestMethod: string;
8
- constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
2
+ export declare function createLroSpec<T>(inputs: {
3
+ sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
4
+ args: Record<string, unknown>;
5
+ spec: {
9
6
  readonly requestBody?: unknown;
10
7
  readonly path?: string;
11
8
  readonly httpMethod: string;
12
- } & Record<string, any>, requestPath?: string, requestMethod?: string);
13
- sendInitialRequest(): Promise<LroResponse<T>>;
14
- sendPollRequest(path: string): Promise<LroResponse<T>>;
15
- }
9
+ } & Record<string, any>;
10
+ }): LongRunningOperation<T>;
16
11
  //# sourceMappingURL=lroImpl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,qBAAa,OAAO,CAAC,CAAC,CAAE,YAAW,oBAAoB,CAAC,CAAC,CAAC;IAEtD,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,IAAI;IAKL,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,MAAM;gBARpB,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAClE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,IAAI,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAChB,WAAW,GAAE,MAAmB,EAChC,aAAa,GAAE,MAAwB;IAEnC,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAG7C,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAQpE"}
1
+ {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
@@ -7,31 +7,22 @@
7
7
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.LroImpl = void 0;
11
- class LroImpl {
12
- sendOperationFn;
13
- args;
14
- spec;
15
- requestPath;
16
- requestMethod;
17
- constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
18
- this.sendOperationFn = sendOperationFn;
19
- this.args = args;
20
- this.spec = spec;
21
- this.requestPath = requestPath;
22
- this.requestMethod = requestMethod;
23
- }
24
- async sendInitialRequest() {
25
- return this.sendOperationFn(this.args, this.spec);
26
- }
27
- async sendPollRequest(path) {
28
- const { requestBody, ...restSpec } = this.spec;
29
- return this.sendOperationFn(this.args, {
30
- ...restSpec,
31
- path,
32
- httpMethod: "GET"
33
- });
34
- }
10
+ exports.createLroSpec = createLroSpec;
11
+ function createLroSpec(inputs) {
12
+ const { args, spec, sendOperationFn } = inputs;
13
+ return {
14
+ requestMethod: spec.httpMethod,
15
+ requestPath: spec.path,
16
+ sendInitialRequest: () => sendOperationFn(args, spec),
17
+ sendPollRequest: (path, options) => {
18
+ const { requestBody, ...restSpec } = spec;
19
+ return sendOperationFn(args, {
20
+ ...restSpec,
21
+ httpMethod: "GET",
22
+ path,
23
+ abortSignal: options?.abortSignal,
24
+ });
25
+ },
26
+ };
35
27
  }
36
- exports.LroImpl = LroImpl;
37
28
  //# sourceMappingURL=lroImpl.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIH,MAAa,OAAO;IAER;IACA;IACA;IAKD;IACA;IATT,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE;YACrC,GAAG,QAAQ;YACX,IAAI;YACJ,UAAU,EAAE,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF;AAvBD,0BAuBC","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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAKH,sCA2BC;AA3BD,SAAgB,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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 { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}