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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (501) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +0 -3
  3. package/dist/browser/dataMigrationManagementClient.d.ts +5 -1
  4. package/dist/browser/dataMigrationManagementClient.d.ts.map +1 -1
  5. package/dist/browser/dataMigrationManagementClient.js +19 -32
  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 +12 -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 +5531 -5222
  18. package/dist/browser/models/mappers.js.map +1 -1
  19. package/dist/browser/models/parameters.d.ts +21 -12
  20. package/dist/browser/models/parameters.d.ts.map +1 -1
  21. package/dist/browser/models/parameters.js +184 -110
  22. package/dist/browser/models/parameters.js.map +1 -1
  23. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  24. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  25. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +370 -0
  26. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  27. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  28. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  29. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +370 -0
  30. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  31. package/dist/browser/operations/databaseMigrationsSqlDb.d.ts +81 -0
  32. package/dist/browser/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  33. package/dist/browser/operations/databaseMigrationsSqlDb.js +303 -0
  34. package/dist/browser/operations/databaseMigrationsSqlDb.js.map +1 -0
  35. package/dist/browser/operations/databaseMigrationsSqlMi.d.ts +11 -11
  36. package/dist/browser/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  37. package/dist/browser/operations/databaseMigrationsSqlMi.js +95 -99
  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 +95 -99
  42. package/dist/browser/operations/databaseMigrationsSqlVm.js.map +1 -1
  43. package/dist/browser/operations/files.js +83 -67
  44. package/dist/browser/operations/files.js.map +1 -1
  45. package/dist/browser/operations/index.d.ts +4 -0
  46. package/dist/browser/operations/index.d.ts.map +1 -1
  47. package/dist/browser/operations/index.js +4 -0
  48. package/dist/browser/operations/index.js.map +1 -1
  49. package/dist/browser/operations/migrationServices.d.ts +144 -0
  50. package/dist/browser/operations/migrationServices.d.ts.map +1 -0
  51. package/dist/browser/operations/migrationServices.js +676 -0
  52. package/dist/browser/operations/migrationServices.js.map +1 -0
  53. package/dist/browser/operations/operations.js +47 -31
  54. package/dist/browser/operations/operations.js.map +1 -1
  55. package/dist/browser/operations/projects.js +73 -57
  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 +52 -36
  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 +95 -76
  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 +332 -288
  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 +240 -194
  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 +105 -89
  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 +55 -39
  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 +8 -6
  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 -31
  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 +13 -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 +5538 -5229
  142. package/dist/commonjs/models/mappers.js.map +1 -1
  143. package/dist/commonjs/models/parameters.d.ts +21 -12
  144. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  145. package/dist/commonjs/models/parameters.js +184 -110
  146. package/dist/commonjs/models/parameters.js.map +1 -1
  147. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  148. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  149. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +374 -0
  150. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  151. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  152. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  153. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +374 -0
  154. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  155. package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts +81 -0
  156. package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  157. package/dist/commonjs/operations/databaseMigrationsSqlDb.js +308 -0
  158. package/dist/commonjs/operations/databaseMigrationsSqlDb.js.map +1 -0
  159. package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts +11 -11
  160. package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  161. package/dist/commonjs/operations/databaseMigrationsSqlMi.js +93 -97
  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 +93 -97
  166. package/dist/commonjs/operations/databaseMigrationsSqlVm.js.map +1 -1
  167. package/dist/commonjs/operations/files.js +82 -67
  168. package/dist/commonjs/operations/files.js.map +1 -1
  169. package/dist/commonjs/operations/index.d.ts +4 -0
  170. package/dist/commonjs/operations/index.d.ts.map +1 -1
  171. package/dist/commonjs/operations/index.js +4 -0
  172. package/dist/commonjs/operations/index.js.map +1 -1
  173. package/dist/commonjs/operations/migrationServices.d.ts +144 -0
  174. package/dist/commonjs/operations/migrationServices.d.ts.map +1 -0
  175. package/dist/commonjs/operations/migrationServices.js +680 -0
  176. package/dist/commonjs/operations/migrationServices.js.map +1 -0
  177. package/dist/commonjs/operations/operations.js +46 -31
  178. package/dist/commonjs/operations/operations.js.map +1 -1
  179. package/dist/commonjs/operations/projects.js +72 -57
  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 +51 -36
  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 +94 -76
  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 +329 -286
  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 +237 -192
  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 +104 -89
  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 +54 -39
  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 +8 -6
  250. package/dist/commonjs/pagingHelper.js.map +1 -1
  251. package/dist/esm/dataMigrationManagementClient.d.ts +5 -1
  252. package/dist/esm/dataMigrationManagementClient.d.ts.map +1 -1
  253. package/dist/esm/dataMigrationManagementClient.js +19 -32
  254. package/dist/esm/dataMigrationManagementClient.js.map +1 -1
  255. package/dist/esm/lroImpl.d.ts +6 -11
  256. package/dist/esm/lroImpl.d.ts.map +1 -1
  257. package/dist/esm/lroImpl.js +12 -24
  258. package/dist/esm/lroImpl.js.map +1 -1
  259. package/dist/esm/models/index.d.ts +968 -216
  260. package/dist/esm/models/index.d.ts.map +1 -1
  261. package/dist/esm/models/index.js +52 -8
  262. package/dist/esm/models/index.js.map +1 -1
  263. package/dist/esm/models/mappers.d.ts +47 -14
  264. package/dist/esm/models/mappers.d.ts.map +1 -1
  265. package/dist/esm/models/mappers.js +5531 -5222
  266. package/dist/esm/models/mappers.js.map +1 -1
  267. package/dist/esm/models/parameters.d.ts +21 -12
  268. package/dist/esm/models/parameters.d.ts.map +1 -1
  269. package/dist/esm/models/parameters.js +184 -110
  270. package/dist/esm/models/parameters.js.map +1 -1
  271. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  272. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  273. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +370 -0
  274. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  275. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  276. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  277. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +370 -0
  278. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  279. package/dist/esm/operations/databaseMigrationsSqlDb.d.ts +81 -0
  280. package/dist/esm/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  281. package/dist/esm/operations/databaseMigrationsSqlDb.js +303 -0
  282. package/dist/esm/operations/databaseMigrationsSqlDb.js.map +1 -0
  283. package/dist/esm/operations/databaseMigrationsSqlMi.d.ts +11 -11
  284. package/dist/esm/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  285. package/dist/esm/operations/databaseMigrationsSqlMi.js +95 -99
  286. package/dist/esm/operations/databaseMigrationsSqlMi.js.map +1 -1
  287. package/dist/esm/operations/databaseMigrationsSqlVm.d.ts +11 -11
  288. package/dist/esm/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  289. package/dist/esm/operations/databaseMigrationsSqlVm.js +95 -99
  290. package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
  291. package/dist/esm/operations/files.js +83 -67
  292. package/dist/esm/operations/files.js.map +1 -1
  293. package/dist/esm/operations/index.d.ts +4 -0
  294. package/dist/esm/operations/index.d.ts.map +1 -1
  295. package/dist/esm/operations/index.js +4 -0
  296. package/dist/esm/operations/index.js.map +1 -1
  297. package/dist/esm/operations/migrationServices.d.ts +144 -0
  298. package/dist/esm/operations/migrationServices.d.ts.map +1 -0
  299. package/dist/esm/operations/migrationServices.js +676 -0
  300. package/dist/esm/operations/migrationServices.js.map +1 -0
  301. package/dist/esm/operations/operations.js +47 -31
  302. package/dist/esm/operations/operations.js.map +1 -1
  303. package/dist/esm/operations/projects.js +73 -57
  304. package/dist/esm/operations/projects.js.map +1 -1
  305. package/dist/esm/operations/resourceSkus.d.ts +2 -2
  306. package/dist/esm/operations/resourceSkus.js +52 -36
  307. package/dist/esm/operations/resourceSkus.js.map +1 -1
  308. package/dist/esm/operations/serviceTasks.d.ts +16 -13
  309. package/dist/esm/operations/serviceTasks.d.ts.map +1 -1
  310. package/dist/esm/operations/serviceTasks.js +95 -76
  311. package/dist/esm/operations/serviceTasks.js.map +1 -1
  312. package/dist/esm/operations/services.d.ts +59 -58
  313. package/dist/esm/operations/services.d.ts.map +1 -1
  314. package/dist/esm/operations/services.js +332 -288
  315. package/dist/esm/operations/services.js.map +1 -1
  316. package/dist/esm/operations/sqlMigrationServices.d.ts +13 -12
  317. package/dist/esm/operations/sqlMigrationServices.d.ts.map +1 -1
  318. package/dist/esm/operations/sqlMigrationServices.js +240 -194
  319. package/dist/esm/operations/sqlMigrationServices.js.map +1 -1
  320. package/dist/esm/operations/tasks.d.ts +20 -20
  321. package/dist/esm/operations/tasks.js +105 -89
  322. package/dist/esm/operations/tasks.js.map +1 -1
  323. package/dist/esm/operations/usages.d.ts +4 -4
  324. package/dist/esm/operations/usages.js +55 -39
  325. package/dist/esm/operations/usages.js.map +1 -1
  326. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  327. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  328. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
  329. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  330. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  331. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  332. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
  333. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  334. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  335. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  336. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
  337. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  338. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  339. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  340. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  341. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  342. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  343. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  344. package/dist/esm/operationsInterfaces/files.js.map +1 -1
  345. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  346. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  347. package/dist/esm/operationsInterfaces/index.js +4 -0
  348. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  349. package/dist/esm/operationsInterfaces/migrationServices.d.ts +87 -0
  350. package/dist/esm/operationsInterfaces/migrationServices.d.ts.map +1 -0
  351. package/dist/esm/operationsInterfaces/migrationServices.js +9 -0
  352. package/dist/esm/operationsInterfaces/migrationServices.js.map +1 -0
  353. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  354. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  355. package/dist/esm/operationsInterfaces/projects.js.map +1 -1
  356. package/dist/esm/operationsInterfaces/resourceSkus.d.ts +1 -1
  357. package/dist/esm/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  358. package/dist/esm/operationsInterfaces/resourceSkus.js.map +1 -1
  359. package/dist/esm/operationsInterfaces/serviceTasks.d.ts +12 -10
  360. package/dist/esm/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  361. package/dist/esm/operationsInterfaces/serviceTasks.js.map +1 -1
  362. package/dist/esm/operationsInterfaces/services.d.ts +53 -52
  363. package/dist/esm/operationsInterfaces/services.d.ts.map +1 -1
  364. package/dist/esm/operationsInterfaces/services.js.map +1 -1
  365. package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  366. package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  367. package/dist/esm/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  368. package/dist/esm/operationsInterfaces/tasks.d.ts +17 -17
  369. package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
  370. package/dist/esm/operationsInterfaces/usages.d.ts +2 -2
  371. package/dist/esm/operationsInterfaces/usages.js.map +1 -1
  372. package/dist/esm/pagingHelper.d.ts +4 -4
  373. package/dist/esm/pagingHelper.js +8 -6
  374. package/dist/esm/pagingHelper.js.map +1 -1
  375. package/dist/react-native/dataMigrationManagementClient.d.ts +5 -1
  376. package/dist/react-native/dataMigrationManagementClient.d.ts.map +1 -1
  377. package/dist/react-native/dataMigrationManagementClient.js +19 -32
  378. package/dist/react-native/dataMigrationManagementClient.js.map +1 -1
  379. package/dist/react-native/lroImpl.d.ts +6 -11
  380. package/dist/react-native/lroImpl.d.ts.map +1 -1
  381. package/dist/react-native/lroImpl.js +12 -24
  382. package/dist/react-native/lroImpl.js.map +1 -1
  383. package/dist/react-native/models/index.d.ts +968 -216
  384. package/dist/react-native/models/index.d.ts.map +1 -1
  385. package/dist/react-native/models/index.js +52 -8
  386. package/dist/react-native/models/index.js.map +1 -1
  387. package/dist/react-native/models/mappers.d.ts +47 -14
  388. package/dist/react-native/models/mappers.d.ts.map +1 -1
  389. package/dist/react-native/models/mappers.js +5531 -5222
  390. package/dist/react-native/models/mappers.js.map +1 -1
  391. package/dist/react-native/models/parameters.d.ts +21 -12
  392. package/dist/react-native/models/parameters.d.ts.map +1 -1
  393. package/dist/react-native/models/parameters.js +184 -110
  394. package/dist/react-native/models/parameters.js.map +1 -1
  395. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  396. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  397. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +370 -0
  398. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  399. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  400. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  401. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +370 -0
  402. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  403. package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts +81 -0
  404. package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  405. package/dist/react-native/operations/databaseMigrationsSqlDb.js +303 -0
  406. package/dist/react-native/operations/databaseMigrationsSqlDb.js.map +1 -0
  407. package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts +11 -11
  408. package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  409. package/dist/react-native/operations/databaseMigrationsSqlMi.js +95 -99
  410. package/dist/react-native/operations/databaseMigrationsSqlMi.js.map +1 -1
  411. package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts +11 -11
  412. package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  413. package/dist/react-native/operations/databaseMigrationsSqlVm.js +95 -99
  414. package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
  415. package/dist/react-native/operations/files.js +83 -67
  416. package/dist/react-native/operations/files.js.map +1 -1
  417. package/dist/react-native/operations/index.d.ts +4 -0
  418. package/dist/react-native/operations/index.d.ts.map +1 -1
  419. package/dist/react-native/operations/index.js +4 -0
  420. package/dist/react-native/operations/index.js.map +1 -1
  421. package/dist/react-native/operations/migrationServices.d.ts +144 -0
  422. package/dist/react-native/operations/migrationServices.d.ts.map +1 -0
  423. package/dist/react-native/operations/migrationServices.js +676 -0
  424. package/dist/react-native/operations/migrationServices.js.map +1 -0
  425. package/dist/react-native/operations/operations.js +47 -31
  426. package/dist/react-native/operations/operations.js.map +1 -1
  427. package/dist/react-native/operations/projects.js +73 -57
  428. package/dist/react-native/operations/projects.js.map +1 -1
  429. package/dist/react-native/operations/resourceSkus.d.ts +2 -2
  430. package/dist/react-native/operations/resourceSkus.js +52 -36
  431. package/dist/react-native/operations/resourceSkus.js.map +1 -1
  432. package/dist/react-native/operations/serviceTasks.d.ts +16 -13
  433. package/dist/react-native/operations/serviceTasks.d.ts.map +1 -1
  434. package/dist/react-native/operations/serviceTasks.js +95 -76
  435. package/dist/react-native/operations/serviceTasks.js.map +1 -1
  436. package/dist/react-native/operations/services.d.ts +59 -58
  437. package/dist/react-native/operations/services.d.ts.map +1 -1
  438. package/dist/react-native/operations/services.js +332 -288
  439. package/dist/react-native/operations/services.js.map +1 -1
  440. package/dist/react-native/operations/sqlMigrationServices.d.ts +13 -12
  441. package/dist/react-native/operations/sqlMigrationServices.d.ts.map +1 -1
  442. package/dist/react-native/operations/sqlMigrationServices.js +240 -194
  443. package/dist/react-native/operations/sqlMigrationServices.js.map +1 -1
  444. package/dist/react-native/operations/tasks.d.ts +20 -20
  445. package/dist/react-native/operations/tasks.js +105 -89
  446. package/dist/react-native/operations/tasks.js.map +1 -1
  447. package/dist/react-native/operations/usages.d.ts +4 -4
  448. package/dist/react-native/operations/usages.js +55 -39
  449. package/dist/react-native/operations/usages.js.map +1 -1
  450. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  451. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  452. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
  453. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  454. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  455. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  456. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
  457. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  458. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  459. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  460. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
  461. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  462. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  463. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  464. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  465. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  466. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  467. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  468. package/dist/react-native/operationsInterfaces/files.js.map +1 -1
  469. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  470. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  471. package/dist/react-native/operationsInterfaces/index.js +4 -0
  472. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  473. package/dist/react-native/operationsInterfaces/migrationServices.d.ts +87 -0
  474. package/dist/react-native/operationsInterfaces/migrationServices.d.ts.map +1 -0
  475. package/dist/react-native/operationsInterfaces/migrationServices.js +9 -0
  476. package/dist/react-native/operationsInterfaces/migrationServices.js.map +1 -0
  477. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  478. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  479. package/dist/react-native/operationsInterfaces/projects.js.map +1 -1
  480. package/dist/react-native/operationsInterfaces/resourceSkus.d.ts +1 -1
  481. package/dist/react-native/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  482. package/dist/react-native/operationsInterfaces/resourceSkus.js.map +1 -1
  483. package/dist/react-native/operationsInterfaces/serviceTasks.d.ts +12 -10
  484. package/dist/react-native/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  485. package/dist/react-native/operationsInterfaces/serviceTasks.js.map +1 -1
  486. package/dist/react-native/operationsInterfaces/services.d.ts +53 -52
  487. package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -1
  488. package/dist/react-native/operationsInterfaces/services.js.map +1 -1
  489. package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  490. package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  491. package/dist/react-native/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  492. package/dist/react-native/operationsInterfaces/tasks.d.ts +17 -17
  493. package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
  494. package/dist/react-native/operationsInterfaces/usages.d.ts +2 -2
  495. package/dist/react-native/operationsInterfaces/usages.js.map +1 -1
  496. package/dist/react-native/pagingHelper.d.ts +4 -4
  497. package/dist/react-native/pagingHelper.js +8 -6
  498. package/dist/react-native/pagingHelper.js.map +1 -1
  499. package/package.json +26 -27
  500. package/CHANGELOG.md +0 -21
  501. package/review/arm-datamigration-node.api.md +0 -4103
@@ -16,7 +16,6 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
16
  /// <reference lib="esnext.asynciterable" />
17
17
  /** Class containing Usages operations. */
18
18
  class UsagesImpl {
19
- client;
20
19
  /**
21
20
  * Initialize a new instance of the class Usages class.
22
21
  * @param client Reference to the service client
@@ -25,8 +24,8 @@ class UsagesImpl {
25
24
  this.client = client;
26
25
  }
27
26
  /**
28
- * This method returns region-specific quotas and resource usage information for the Database Migration
29
- * Service.
27
+ * This method returns region-specific quotas and resource usage information for the Azure Database
28
+ * Migration Service (classic).
30
29
  * @param location The Azure region of the operation
31
30
  * @param options The options parameters.
32
31
  */
@@ -40,39 +39,56 @@ class UsagesImpl {
40
39
  return this;
41
40
  },
42
41
  byPage: (settings) => {
43
- if (settings?.maxPageSize) {
42
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
44
43
  throw new Error("maxPageSize is not supported by this operation.");
45
44
  }
46
45
  return this.listPagingPage(location, options, settings);
47
- }
46
+ },
48
47
  };
49
48
  }
50
- async *listPagingPage(location, options, settings) {
51
- let result;
52
- let continuationToken = settings?.continuationToken;
53
- if (!continuationToken) {
54
- result = await this._list(location, options);
55
- let page = result.value || [];
56
- continuationToken = result.nextLink;
57
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
58
- yield page;
59
- }
60
- while (continuationToken) {
61
- result = await this._listNext(location, continuationToken, options);
62
- continuationToken = result.nextLink;
63
- let page = result.value || [];
64
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
65
- yield page;
66
- }
49
+ listPagingPage(location, options, settings) {
50
+ return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
51
+ let result;
52
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
53
+ if (!continuationToken) {
54
+ result = yield tslib_1.__await(this._list(location, options));
55
+ let page = result.value || [];
56
+ continuationToken = result.nextLink;
57
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
58
+ yield yield tslib_1.__await(page);
59
+ }
60
+ while (continuationToken) {
61
+ result = yield tslib_1.__await(this._listNext(location, continuationToken, options));
62
+ continuationToken = result.nextLink;
63
+ let page = result.value || [];
64
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
65
+ yield yield tslib_1.__await(page);
66
+ }
67
+ });
67
68
  }
68
- async *listPagingAll(location, options) {
69
- for await (const page of this.listPagingPage(location, options)) {
70
- yield* page;
71
- }
69
+ listPagingAll(location, options) {
70
+ return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
71
+ var _a, e_1, _b, _c;
72
+ try {
73
+ for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(location, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
74
+ _c = _f.value;
75
+ _d = false;
76
+ const page = _c;
77
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
78
+ }
79
+ }
80
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
81
+ finally {
82
+ try {
83
+ if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
84
+ }
85
+ finally { if (e_1) throw e_1.error; }
86
+ }
87
+ });
72
88
  }
73
89
  /**
74
- * This method returns region-specific quotas and resource usage information for the Database Migration
75
- * Service.
90
+ * This method returns region-specific quotas and resource usage information for the Azure Database
91
+ * Migration Service (classic).
76
92
  * @param location The Azure region of the operation
77
93
  * @param options The options parameters.
78
94
  */
@@ -97,40 +113,39 @@ const listOperationSpec = {
97
113
  httpMethod: "GET",
98
114
  responses: {
99
115
  200: {
100
- bodyMapper: Mappers.QuotaList
116
+ bodyMapper: Mappers.QuotaList,
101
117
  },
102
118
  default: {
103
- bodyMapper: Mappers.ApiError
104
- }
119
+ bodyMapper: Mappers.ApiError,
120
+ },
105
121
  },
106
122
  queryParameters: [Parameters.apiVersion],
107
123
  urlParameters: [
108
124
  Parameters.$host,
109
125
  Parameters.subscriptionId,
110
- Parameters.location
126
+ Parameters.location,
111
127
  ],
112
128
  headerParameters: [Parameters.accept],
113
- serializer
129
+ serializer,
114
130
  };
115
131
  const listNextOperationSpec = {
116
132
  path: "{nextLink}",
117
133
  httpMethod: "GET",
118
134
  responses: {
119
135
  200: {
120
- bodyMapper: Mappers.QuotaList
136
+ bodyMapper: Mappers.QuotaList,
121
137
  },
122
138
  default: {
123
- bodyMapper: Mappers.ApiError
124
- }
139
+ bodyMapper: Mappers.ApiError,
140
+ },
125
141
  },
126
- queryParameters: [Parameters.apiVersion],
127
142
  urlParameters: [
128
143
  Parameters.$host,
129
144
  Parameters.subscriptionId,
130
145
  Parameters.nextLink,
131
- Parameters.location
146
+ Parameters.location,
132
147
  ],
133
148
  headerParameters: [Parameters.accept],
134
- serializer
149
+ serializer,
135
150
  };
136
151
  //# sourceMappingURL=usages.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"usages.js","sourceRoot":"","sources":["../../../src/operations/usages.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,0CAA0C;AAC1C,MAAa,UAAU;IACJ,MAAM,CAAgC;IAEvD;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,C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AE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,SAAS;SAC9B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Usages } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataMigrationManagementClient } from \"../dataMigrationManagementClient.js\";\nimport {\n Quota,\n UsagesListNextOptionalParams,\n UsagesListOptionalParams,\n UsagesListResponse,\n UsagesListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Usages operations. */\nexport class UsagesImpl implements Usages {\n private readonly client: DataMigrationManagementClient;\n\n /**\n * Initialize a new instance of the class Usages class.\n * @param client Reference to the service client\n */\n constructor(client: DataMigrationManagementClient) {\n this.client = client;\n }\n\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 public list(\n location: string,\n options?: UsagesListOptionalParams\n ): PagedAsyncIterableIterator<Quota> {\n const iter = this.listPagingAll(location, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(location, options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n location: string,\n options?: UsagesListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Quota[]> {\n let result: UsagesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(location, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(location, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n location: string,\n options?: UsagesListOptionalParams\n ): AsyncIterableIterator<Quota> {\n for await (const page of this.listPagingPage(location, options)) {\n yield* page;\n }\n }\n\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 private _list(\n location: string,\n options?: UsagesListOptionalParams\n ): Promise<UsagesListResponse> {\n return this.client.sendOperationRequest(\n { location, options },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param location The Azure region of the operation\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n location: string,\n nextLink: string,\n options?: UsagesListNextOptionalParams\n ): Promise<UsagesListNextResponse> {\n return this.client.sendOperationRequest(\n { location, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.location\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"usages.js","sourceRoot":"","sources":["../../../src/operations/usages.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,0CAA0C;AAC1C,MAAa,UAAU;IAGrB;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,QAAgB,EAChB,OAAkC;QAElC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACnD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,O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ACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Usages } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataMigrationManagementClient } from \"../dataMigrationManagementClient.js\";\nimport {\n Quota,\n UsagesListNextOptionalParams,\n UsagesListOptionalParams,\n UsagesListResponse,\n UsagesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Usages operations. */\nexport class UsagesImpl implements Usages {\n private readonly client: DataMigrationManagementClient;\n\n /**\n * Initialize a new instance of the class Usages class.\n * @param client Reference to the service client\n */\n constructor(client: DataMigrationManagementClient) {\n this.client = client;\n }\n\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 public list(\n location: string,\n options?: UsagesListOptionalParams,\n ): PagedAsyncIterableIterator<Quota> {\n const iter = this.listPagingAll(location, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(location, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n location: string,\n options?: UsagesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Quota[]> {\n let result: UsagesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(location, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(location, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n location: string,\n options?: UsagesListOptionalParams,\n ): AsyncIterableIterator<Quota> {\n for await (const page of this.listPagingPage(location, options)) {\n yield* page;\n }\n }\n\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 private _list(\n location: string,\n options?: UsagesListOptionalParams,\n ): Promise<UsagesListResponse> {\n return this.client.sendOperationRequest(\n { location, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param location The Azure region of the operation\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n location: string,\n nextLink: string,\n options?: UsagesListNextOptionalParams,\n ): Promise<UsagesListNextResponse> {\n return this.client.sendOperationRequest(\n { location, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaList,\n },\n default: {\n bodyMapper: Mappers.ApiError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaList,\n },\n default: {\n bodyMapper: Mappers.ApiError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.location,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,62 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { DatabaseMigrationCosmosDbMongo, DatabaseMigrationsMongoToCosmosDbRUMongoGetForScopeOptionalParams, DatabaseMigrationsMongoToCosmosDbRUMongoGetOptionalParams, DatabaseMigrationsMongoToCosmosDbRUMongoGetResponse, DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams, DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse, DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams, DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse } from "../models/index.js";
4
+ /** Interface representing a DatabaseMigrationsMongoToCosmosDbRUMongo. */
5
+ export interface DatabaseMigrationsMongoToCosmosDbRUMongo {
6
+ /**
7
+ * Get Database Migration resources for the scope.
8
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
9
+ * value from the Azure Resource Manager API or the portal.
10
+ * @param targetResourceName The name of the target resource/account.
11
+ * @param options The options parameters.
12
+ */
13
+ listForScope(resourceGroupName: string, targetResourceName: string, options?: DatabaseMigrationsMongoToCosmosDbRUMongoGetForScopeOptionalParams): PagedAsyncIterableIterator<DatabaseMigrationCosmosDbMongo>;
14
+ /**
15
+ * Get Database Migration resource.
16
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
17
+ * value from the Azure Resource Manager API or the portal.
18
+ * @param targetResourceName The name of the target resource/account.
19
+ * @param migrationName Name of the migration.
20
+ * @param options The options parameters.
21
+ */
22
+ get(resourceGroupName: string, targetResourceName: string, migrationName: string, options?: DatabaseMigrationsMongoToCosmosDbRUMongoGetOptionalParams): Promise<DatabaseMigrationsMongoToCosmosDbRUMongoGetResponse>;
23
+ /**
24
+ * Create or Update Database Migration resource.
25
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
26
+ * value from the Azure Resource Manager API or the portal.
27
+ * @param targetResourceName The name of the target resource/account.
28
+ * @param migrationName Name of the migration.
29
+ * @param parameters Details of CosmosDB for Mongo API Migration resource.
30
+ * @param options The options parameters.
31
+ */
32
+ beginCreate(resourceGroupName: string, targetResourceName: string, migrationName: string, parameters: DatabaseMigrationCosmosDbMongo, options?: DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse>, DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse>>;
33
+ /**
34
+ * Create or Update Database Migration resource.
35
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
36
+ * value from the Azure Resource Manager API or the portal.
37
+ * @param targetResourceName The name of the target resource/account.
38
+ * @param migrationName Name of the migration.
39
+ * @param parameters Details of CosmosDB for Mongo API Migration resource.
40
+ * @param options The options parameters.
41
+ */
42
+ beginCreateAndWait(resourceGroupName: string, targetResourceName: string, migrationName: string, parameters: DatabaseMigrationCosmosDbMongo, options?: DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams): Promise<DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse>;
43
+ /**
44
+ * Delete Database Migration resource.
45
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
46
+ * value from the Azure Resource Manager API or the portal.
47
+ * @param targetResourceName The name of the target resource/account.
48
+ * @param migrationName Name of the migration.
49
+ * @param options The options parameters.
50
+ */
51
+ beginDelete(resourceGroupName: string, targetResourceName: string, migrationName: string, options?: DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse>, DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse>>;
52
+ /**
53
+ * Delete Database Migration resource.
54
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
55
+ * value from the Azure Resource Manager API or the portal.
56
+ * @param targetResourceName The name of the target resource/account.
57
+ * @param migrationName Name of the migration.
58
+ * @param options The options parameters.
59
+ */
60
+ beginDeleteAndWait(resourceGroupName: string, targetResourceName: string, migrationName: string, options?: DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams): Promise<DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse>;
61
+ }
62
+ //# sourceMappingURL=databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databaseMigrationsMongoToCosmosDbRUMongo.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,8BAA8B,EAC9B,iEAAiE,EACjE,yDAAyD,EACzD,mDAAmD,EACnD,4DAA4D,EAC5D,sDAAsD,EACtD,4DAA4D,EAC5D,sDAAsD,EACvD,MAAM,oBAAoB,CAAC;AAG5B,yEAAyE;AACzE,MAAM,WAAW,wCAAwC;IACvD;;;;;;OAMG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,iEAAiE,GAC1E,0BAA0B,CAAC,8BAA8B,CAAC,CAAC;IAC9D;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,yDAAyD,GAClE,OAAO,CAAC,mDAAmD,CAAC,CAAC;IAChE;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,8BAA8B,EAC1C,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,sDAAsD,CAAC,EACtE,sDAAsD,CACvD,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,8BAA8B,EAC1C,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CAAC,sDAAsD,CAAC,CAAC;IACnE;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,sDAAsD,CAAC,EACtE,sDAAsD,CACvD,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CAAC,sDAAsD,CAAC,CAAC;CACpE"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=databaseMigrationsMongoToCosmosDbRUMongo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databaseMigrationsMongoToCosmosDbRUMongo.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.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 DatabaseMigrationCosmosDbMongo,\n DatabaseMigrationsMongoToCosmosDbRUMongoGetForScopeOptionalParams,\n DatabaseMigrationsMongoToCosmosDbRUMongoGetOptionalParams,\n DatabaseMigrationsMongoToCosmosDbRUMongoGetResponse,\n DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams,\n DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse,\n DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams,\n DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a DatabaseMigrationsMongoToCosmosDbRUMongo. */\nexport interface DatabaseMigrationsMongoToCosmosDbRUMongo {\n /**\n * Get Database Migration resources for the scope.\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 targetResourceName The name of the target resource/account.\n * @param options The options parameters.\n */\n listForScope(\n resourceGroupName: string,\n targetResourceName: string,\n options?: DatabaseMigrationsMongoToCosmosDbRUMongoGetForScopeOptionalParams,\n ): PagedAsyncIterableIterator<DatabaseMigrationCosmosDbMongo>;\n /**\n * Get Database Migration resource.\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 targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n options?: DatabaseMigrationsMongoToCosmosDbRUMongoGetOptionalParams,\n ): Promise<DatabaseMigrationsMongoToCosmosDbRUMongoGetResponse>;\n /**\n * Create or Update Database Migration resource.\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 targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param parameters Details of CosmosDB for Mongo API Migration resource.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n parameters: DatabaseMigrationCosmosDbMongo,\n options?: DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse>,\n DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse\n >\n >;\n /**\n * Create or Update Database Migration resource.\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 targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param parameters Details of CosmosDB for Mongo API Migration resource.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n parameters: DatabaseMigrationCosmosDbMongo,\n options?: DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams,\n ): Promise<DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse>;\n /**\n * Delete Database Migration resource.\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 targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n options?: DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse>,\n DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse\n >\n >;\n /**\n * Delete Database Migration resource.\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 targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n options?: DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams,\n ): Promise<DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse>;\n}\n"]}
@@ -0,0 +1,62 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { DatabaseMigrationCosmosDbMongo, DatabaseMigrationsMongoToCosmosDbvCoreMongoGetForScopeOptionalParams, DatabaseMigrationsMongoToCosmosDbvCoreMongoGetOptionalParams, DatabaseMigrationsMongoToCosmosDbvCoreMongoGetResponse, DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateOptionalParams, DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse, DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteOptionalParams, DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse } from "../models/index.js";
4
+ /** Interface representing a DatabaseMigrationsMongoToCosmosDbvCoreMongo. */
5
+ export interface DatabaseMigrationsMongoToCosmosDbvCoreMongo {
6
+ /**
7
+ * Get Database Migration resources for the scope.
8
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
9
+ * value from the Azure Resource Manager API or the portal.
10
+ * @param targetResourceName The name of the target resource/account.
11
+ * @param options The options parameters.
12
+ */
13
+ listForScope(resourceGroupName: string, targetResourceName: string, options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoGetForScopeOptionalParams): PagedAsyncIterableIterator<DatabaseMigrationCosmosDbMongo>;
14
+ /**
15
+ * Get Database Migration resource.
16
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
17
+ * value from the Azure Resource Manager API or the portal.
18
+ * @param targetResourceName The name of the target resource/account.
19
+ * @param migrationName Name of the migration.
20
+ * @param options The options parameters.
21
+ */
22
+ get(resourceGroupName: string, targetResourceName: string, migrationName: string, options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoGetOptionalParams): Promise<DatabaseMigrationsMongoToCosmosDbvCoreMongoGetResponse>;
23
+ /**
24
+ * Create or Update Database Migration resource.
25
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
26
+ * value from the Azure Resource Manager API or the portal.
27
+ * @param targetResourceName The name of the target resource/account.
28
+ * @param migrationName Name of the migration.
29
+ * @param parameters Details of CosmosDB for Mongo API Migration resource.
30
+ * @param options The options parameters.
31
+ */
32
+ beginCreate(resourceGroupName: string, targetResourceName: string, migrationName: string, parameters: DatabaseMigrationCosmosDbMongo, options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse>, DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse>>;
33
+ /**
34
+ * Create or Update Database Migration resource.
35
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
36
+ * value from the Azure Resource Manager API or the portal.
37
+ * @param targetResourceName The name of the target resource/account.
38
+ * @param migrationName Name of the migration.
39
+ * @param parameters Details of CosmosDB for Mongo API Migration resource.
40
+ * @param options The options parameters.
41
+ */
42
+ beginCreateAndWait(resourceGroupName: string, targetResourceName: string, migrationName: string, parameters: DatabaseMigrationCosmosDbMongo, options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateOptionalParams): Promise<DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse>;
43
+ /**
44
+ * Delete Database Migration resource.
45
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
46
+ * value from the Azure Resource Manager API or the portal.
47
+ * @param targetResourceName The name of the target resource/account.
48
+ * @param migrationName Name of the migration.
49
+ * @param options The options parameters.
50
+ */
51
+ beginDelete(resourceGroupName: string, targetResourceName: string, migrationName: string, options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse>, DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse>>;
52
+ /**
53
+ * Delete Database Migration resource.
54
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
55
+ * value from the Azure Resource Manager API or the portal.
56
+ * @param targetResourceName The name of the target resource/account.
57
+ * @param migrationName Name of the migration.
58
+ * @param options The options parameters.
59
+ */
60
+ beginDeleteAndWait(resourceGroupName: string, targetResourceName: string, migrationName: string, options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteOptionalParams): Promise<DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse>;
61
+ }
62
+ //# sourceMappingURL=databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,8BAA8B,EAC9B,oEAAoE,EACpE,4DAA4D,EAC5D,sDAAsD,EACtD,+DAA+D,EAC/D,yDAAyD,EACzD,+DAA+D,EAC/D,yDAAyD,EAC1D,MAAM,oBAAoB,CAAC;AAG5B,4EAA4E;AAC5E,MAAM,WAAW,2CAA2C;IAC1D;;;;;;OAMG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,oEAAoE,GAC7E,0BAA0B,CAAC,8BAA8B,CAAC,CAAC;IAC9D;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CAAC,sDAAsD,CAAC,CAAC;IACnE;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,8BAA8B,EAC1C,OAAO,CAAC,EAAE,+DAA+D,GACxE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,yDAAyD,CAAC,EACzE,yDAAyD,CAC1D,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,8BAA8B,EAC1C,OAAO,CAAC,EAAE,+DAA+D,GACxE,OAAO,CAAC,yDAAyD,CAAC,CAAC;IACtE;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,+DAA+D,GACxE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,yDAAyD,CAAC,EACzE,yDAAyD,CAC1D,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,+DAA+D,GACxE,OAAO,CAAC,yDAAyD,CAAC,CAAC;CACvE"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=databaseMigrationsMongoToCosmosDbvCoreMongo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databaseMigrationsMongoToCosmosDbvCoreMongo.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.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 DatabaseMigrationCosmosDbMongo,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoGetForScopeOptionalParams,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoGetOptionalParams,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoGetResponse,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateOptionalParams,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteOptionalParams,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a DatabaseMigrationsMongoToCosmosDbvCoreMongo. */\nexport interface DatabaseMigrationsMongoToCosmosDbvCoreMongo {\n /**\n * Get Database Migration resources for the scope.\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 targetResourceName The name of the target resource/account.\n * @param options The options parameters.\n */\n listForScope(\n resourceGroupName: string,\n targetResourceName: string,\n options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoGetForScopeOptionalParams,\n ): PagedAsyncIterableIterator<DatabaseMigrationCosmosDbMongo>;\n /**\n * Get Database Migration resource.\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 targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoGetOptionalParams,\n ): Promise<DatabaseMigrationsMongoToCosmosDbvCoreMongoGetResponse>;\n /**\n * Create or Update Database Migration resource.\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 targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param parameters Details of CosmosDB for Mongo API Migration resource.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n parameters: DatabaseMigrationCosmosDbMongo,\n options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse>,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse\n >\n >;\n /**\n * Create or Update Database Migration resource.\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 targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param parameters Details of CosmosDB for Mongo API Migration resource.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n parameters: DatabaseMigrationCosmosDbMongo,\n options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateOptionalParams,\n ): Promise<DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse>;\n /**\n * Delete Database Migration resource.\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 targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse>,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse\n >\n >;\n /**\n * Delete Database Migration resource.\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 targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteOptionalParams,\n ): Promise<DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse>;\n}\n"]}
@@ -0,0 +1,73 @@
1
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
2
+ import { DatabaseMigrationsSqlDbGetOptionalParams, DatabaseMigrationsSqlDbGetResponse, DatabaseMigrationSqlDb, DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams, DatabaseMigrationsSqlDbCreateOrUpdateResponse, DatabaseMigrationsSqlDbDeleteOptionalParams, MigrationOperationInput, DatabaseMigrationsSqlDbCancelOptionalParams } from "../models/index.js";
3
+ /** Interface representing a DatabaseMigrationsSqlDb. */
4
+ export interface DatabaseMigrationsSqlDb {
5
+ /**
6
+ * Retrieve the Database Migration resource.
7
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
8
+ * value from the Azure Resource Manager API or the portal.
9
+ * @param sqlDbInstanceName
10
+ * @param targetDbName The name of the target database.
11
+ * @param options The options parameters.
12
+ */
13
+ get(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlDbGetOptionalParams): Promise<DatabaseMigrationsSqlDbGetResponse>;
14
+ /**
15
+ * Create or Update Database Migration resource.
16
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
17
+ * value from the Azure Resource Manager API or the portal.
18
+ * @param sqlDbInstanceName
19
+ * @param targetDbName The name of the target database.
20
+ * @param parameters Details of Sql Db migration resource.
21
+ * @param options The options parameters.
22
+ */
23
+ beginCreateOrUpdate(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlDb, options?: DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationsSqlDbCreateOrUpdateResponse>, DatabaseMigrationsSqlDbCreateOrUpdateResponse>>;
24
+ /**
25
+ * Create or Update Database Migration resource.
26
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
27
+ * value from the Azure Resource Manager API or the portal.
28
+ * @param sqlDbInstanceName
29
+ * @param targetDbName The name of the target database.
30
+ * @param parameters Details of Sql Db migration resource.
31
+ * @param options The options parameters.
32
+ */
33
+ beginCreateOrUpdateAndWait(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlDb, options?: DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams): Promise<DatabaseMigrationsSqlDbCreateOrUpdateResponse>;
34
+ /**
35
+ * Delete Database Migration resource.
36
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
37
+ * value from the Azure Resource Manager API or the portal.
38
+ * @param sqlDbInstanceName
39
+ * @param targetDbName The name of the target database.
40
+ * @param options The options parameters.
41
+ */
42
+ beginDelete(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlDbDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
43
+ /**
44
+ * Delete Database Migration resource.
45
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
46
+ * value from the Azure Resource Manager API or the portal.
47
+ * @param sqlDbInstanceName
48
+ * @param targetDbName The name of the target database.
49
+ * @param options The options parameters.
50
+ */
51
+ beginDeleteAndWait(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlDbDeleteOptionalParams): Promise<void>;
52
+ /**
53
+ * Stop on going migration for the database.
54
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
55
+ * value from the Azure Resource Manager API or the portal.
56
+ * @param sqlDbInstanceName
57
+ * @param targetDbName The name of the target database.
58
+ * @param parameters Required migration operation ID for which cancel will be initiated.
59
+ * @param options The options parameters.
60
+ */
61
+ beginCancel(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlDbCancelOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
62
+ /**
63
+ * Stop on going migration for the database.
64
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
65
+ * value from the Azure Resource Manager API or the portal.
66
+ * @param sqlDbInstanceName
67
+ * @param targetDbName The name of the target database.
68
+ * @param parameters Required migration operation ID for which cancel will be initiated.
69
+ * @param options The options parameters.
70
+ */
71
+ beginCancelAndWait(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlDbCancelOptionalParams): Promise<void>;
72
+ }
73
+ //# sourceMappingURL=databaseMigrationsSqlDb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databaseMigrationsSqlDb.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/databaseMigrationsSqlDb.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,wCAAwC,EACxC,kCAAkC,EAClC,sBAAsB,EACtB,mDAAmD,EACnD,6CAA6C,EAC7C,2CAA2C,EAC3C,uBAAuB,EACvB,2CAA2C,EAC5C,MAAM,oBAAoB,CAAC;AAE5B,wDAAwD;AACxD,MAAM,WAAW,uBAAuB;IACtC;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,wC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EACzB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=databaseMigrationsSqlDb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"databaseMigrationsSqlDb.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/databaseMigrationsSqlDb.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 { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n DatabaseMigrationsSqlDbGetOptionalParams,\n DatabaseMigrationsSqlDbGetResponse,\n DatabaseMigrationSqlDb,\n DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams,\n DatabaseMigrationsSqlDbCreateOrUpdateResponse,\n DatabaseMigrationsSqlDbDeleteOptionalParams,\n MigrationOperationInput,\n DatabaseMigrationsSqlDbCancelOptionalParams,\n} from \"../models/index.js\";\n\n/** Interface representing a DatabaseMigrationsSqlDb. */\nexport interface DatabaseMigrationsSqlDb {\n /**\n * Retrieve the Database Migration resource.\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 sqlDbInstanceName\n * @param targetDbName The name of the target database.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n sqlDbInstanceName: string,\n targetDbName: string,\n options?: DatabaseMigrationsSqlDbGetOptionalParams,\n ): Promise<DatabaseMigrationsSqlDbGetResponse>;\n /**\n * Create or Update Database Migration resource.\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 sqlDbInstanceName\n * @param targetDbName The name of the target database.\n * @param parameters Details of Sql Db migration resource.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n sqlDbInstanceName: string,\n targetDbName: string,\n parameters: DatabaseMigrationSqlDb,\n options?: DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DatabaseMigrationsSqlDbCreateOrUpdateResponse>,\n DatabaseMigrationsSqlDbCreateOrUpdateResponse\n >\n >;\n /**\n * Create or Update Database Migration resource.\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 sqlDbInstanceName\n * @param targetDbName The name of the target database.\n * @param parameters Details of Sql Db migration resource.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n sqlDbInstanceName: string,\n targetDbName: string,\n parameters: DatabaseMigrationSqlDb,\n options?: DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams,\n ): Promise<DatabaseMigrationsSqlDbCreateOrUpdateResponse>;\n /**\n * Delete Database Migration resource.\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 sqlDbInstanceName\n * @param targetDbName The name of the target database.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n sqlDbInstanceName: string,\n targetDbName: string,\n options?: DatabaseMigrationsSqlDbDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Delete Database Migration resource.\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 sqlDbInstanceName\n * @param targetDbName The name of the target database.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n sqlDbInstanceName: string,\n targetDbName: string,\n options?: DatabaseMigrationsSqlDbDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Stop on going migration for the database.\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 sqlDbInstanceName\n * @param targetDbName The name of the target database.\n * @param parameters Required migration operation ID for which cancel will be initiated.\n * @param options The options parameters.\n */\n beginCancel(\n resourceGroupName: string,\n sqlDbInstanceName: string,\n targetDbName: string,\n parameters: MigrationOperationInput,\n options?: DatabaseMigrationsSqlDbCancelOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Stop on going migration for the database.\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 sqlDbInstanceName\n * @param targetDbName The name of the target database.\n * @param parameters Required migration operation ID for which cancel will be initiated.\n * @param options The options parameters.\n */\n beginCancelAndWait(\n resourceGroupName: string,\n sqlDbInstanceName: string,\n targetDbName: string,\n parameters: MigrationOperationInput,\n options?: DatabaseMigrationsSqlDbCancelOptionalParams,\n ): Promise<void>;\n}\n"]}
@@ -1,9 +1,9 @@
1
- import { PollerLike, PollOperationState } from "@azure/core-lro";
1
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
2
2
  import { DatabaseMigrationsSqlMiGetOptionalParams, DatabaseMigrationsSqlMiGetResponse, DatabaseMigrationSqlMi, DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams, DatabaseMigrationsSqlMiCreateOrUpdateResponse, MigrationOperationInput, DatabaseMigrationsSqlMiCancelOptionalParams, DatabaseMigrationsSqlMiCutoverOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a DatabaseMigrationsSqlMi. */
4
4
  export interface DatabaseMigrationsSqlMi {
5
5
  /**
6
- * Retrieve the Database Migration resource.
6
+ * Retrieve the specified database migration for a given SQL Managed Instance.
7
7
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
8
8
  * value from the Azure Resource Manager API or the portal.
9
9
  * @param managedInstanceName
@@ -12,7 +12,7 @@ export interface DatabaseMigrationsSqlMi {
12
12
  */
13
13
  get(resourceGroupName: string, managedInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlMiGetOptionalParams): Promise<DatabaseMigrationsSqlMiGetResponse>;
14
14
  /**
15
- * Create or Update Database Migration resource.
15
+ * Create a new database migration to a given SQL Managed Instance.
16
16
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
17
17
  * value from the Azure Resource Manager API or the portal.
18
18
  * @param managedInstanceName
@@ -20,9 +20,9 @@ export interface DatabaseMigrationsSqlMi {
20
20
  * @param parameters Details of SqlMigrationService resource.
21
21
  * @param options The options parameters.
22
22
  */
23
- beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlMi, options?: DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DatabaseMigrationsSqlMiCreateOrUpdateResponse>, DatabaseMigrationsSqlMiCreateOrUpdateResponse>>;
23
+ beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlMi, options?: DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationsSqlMiCreateOrUpdateResponse>, DatabaseMigrationsSqlMiCreateOrUpdateResponse>>;
24
24
  /**
25
- * Create or Update Database Migration resource.
25
+ * Create a new database migration to a given SQL Managed Instance.
26
26
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
27
27
  * value from the Azure Resource Manager API or the portal.
28
28
  * @param managedInstanceName
@@ -32,7 +32,7 @@ export interface DatabaseMigrationsSqlMi {
32
32
  */
33
33
  beginCreateOrUpdateAndWait(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlMi, options?: DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams): Promise<DatabaseMigrationsSqlMiCreateOrUpdateResponse>;
34
34
  /**
35
- * Stop migrations in progress for the database
35
+ * Stop in-progress database migration to SQL Managed Instance.
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 managedInstanceName
@@ -40,9 +40,9 @@ export interface DatabaseMigrationsSqlMi {
40
40
  * @param parameters Required migration operation ID for which cancel will be initiated.
41
41
  * @param options The options parameters.
42
42
  */
43
- beginCancel(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCancelOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
43
+ beginCancel(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCancelOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
44
44
  /**
45
- * Stop migrations in progress for the database
45
+ * Stop in-progress database migration to SQL Managed Instance.
46
46
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
47
47
  * value from the Azure Resource Manager API or the portal.
48
48
  * @param managedInstanceName
@@ -52,7 +52,7 @@ export interface DatabaseMigrationsSqlMi {
52
52
  */
53
53
  beginCancelAndWait(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCancelOptionalParams): Promise<void>;
54
54
  /**
55
- * Initiate cutover for online migration in progress for the database.
55
+ * Initiate cutover for in-progress online database migration to SQL Managed Instance.
56
56
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
57
57
  * value from the Azure Resource Manager API or the portal.
58
58
  * @param managedInstanceName
@@ -60,9 +60,9 @@ export interface DatabaseMigrationsSqlMi {
60
60
  * @param parameters Required migration operation ID for which cutover will be initiated.
61
61
  * @param options The options parameters.
62
62
  */
63
- beginCutover(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCutoverOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
63
+ beginCutover(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCutoverOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
64
64
  /**
65
- * Initiate cutover for online migration in progress for the database.
65
+ * Initiate cutover for in-progress online database migration to SQL Managed Instance.
66
66
  * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
67
67
  * value from the Azure Resource Manager API or the portal.
68
68
  * @param managedInstanceName
@@ -1 +1 @@
1
- {"version":3,"file":"databaseMigrationsSqlMi.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/databaseMigrationsSqlMi.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,wCAAwC,EACxC,kCAAkC,EAClC,sBAAsB,EACtB,mDAAmD,EACnD,6CAA6C,EAC7C,uBAAuB,EACvB,2CAA2C,EAC3C,4CAA4C,EAC7C,MAAM,oBAAoB,CAAC;AAE5B,wDAAwD;AACxD,MAAM,WAAW,uBAAuB;IACtC;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC/C;;;;;;;;OAQG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,sBAAsB,EAClC,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,6CAA6C,CAAC,EACjE,6CAA6C,CAC9C,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,sBAAsB,EAClC,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC,CAAC;IAC1D;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;OAQG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;;;OAQG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
1
+ {"version":3,"file":"databaseMigrationsSqlMi.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/databaseMigrationsSqlMi.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,cAAc,E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