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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (502) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +0 -3
  3. package/dist/browser/dataMigrationManagementClient.d.ts +5 -1
  4. package/dist/browser/dataMigrationManagementClient.d.ts.map +1 -1
  5. package/dist/browser/dataMigrationManagementClient.js +19 -9
  6. package/dist/browser/dataMigrationManagementClient.js.map +1 -1
  7. package/dist/browser/lroImpl.d.ts +6 -11
  8. package/dist/browser/lroImpl.d.ts.map +1 -1
  9. package/dist/browser/lroImpl.js +16 -24
  10. package/dist/browser/lroImpl.js.map +1 -1
  11. package/dist/browser/models/index.d.ts +968 -216
  12. package/dist/browser/models/index.d.ts.map +1 -1
  13. package/dist/browser/models/index.js +52 -8
  14. package/dist/browser/models/index.js.map +1 -1
  15. package/dist/browser/models/mappers.d.ts +47 -14
  16. package/dist/browser/models/mappers.d.ts.map +1 -1
  17. package/dist/browser/models/mappers.js +5228 -4055
  18. package/dist/browser/models/mappers.js.map +1 -1
  19. package/dist/browser/models/parameters.d.ts +21 -12
  20. package/dist/browser/models/parameters.d.ts.map +1 -1
  21. package/dist/browser/models/parameters.js +184 -110
  22. package/dist/browser/models/parameters.js.map +1 -1
  23. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  24. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  25. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +363 -0
  26. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  27. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  28. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  29. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +363 -0
  30. package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  31. package/dist/browser/operations/databaseMigrationsSqlDb.d.ts +81 -0
  32. package/dist/browser/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  33. package/dist/browser/operations/databaseMigrationsSqlDb.js +319 -0
  34. package/dist/browser/operations/databaseMigrationsSqlDb.js.map +1 -0
  35. package/dist/browser/operations/databaseMigrationsSqlMi.d.ts +11 -11
  36. package/dist/browser/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  37. package/dist/browser/operations/databaseMigrationsSqlMi.js +89 -77
  38. package/dist/browser/operations/databaseMigrationsSqlMi.js.map +1 -1
  39. package/dist/browser/operations/databaseMigrationsSqlVm.d.ts +11 -11
  40. package/dist/browser/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  41. package/dist/browser/operations/databaseMigrationsSqlVm.js +89 -77
  42. package/dist/browser/operations/databaseMigrationsSqlVm.js.map +1 -1
  43. package/dist/browser/operations/files.js +43 -44
  44. package/dist/browser/operations/files.js.map +1 -1
  45. package/dist/browser/operations/index.d.ts +4 -0
  46. package/dist/browser/operations/index.d.ts.map +1 -1
  47. package/dist/browser/operations/index.js +4 -0
  48. package/dist/browser/operations/index.js.map +1 -1
  49. package/dist/browser/operations/migrationServices.d.ts +144 -0
  50. package/dist/browser/operations/migrationServices.d.ts.map +1 -0
  51. package/dist/browser/operations/migrationServices.js +640 -0
  52. package/dist/browser/operations/migrationServices.js.map +1 -0
  53. package/dist/browser/operations/operations.js +7 -8
  54. package/dist/browser/operations/operations.js.map +1 -1
  55. package/dist/browser/operations/projects.js +33 -34
  56. package/dist/browser/operations/projects.js.map +1 -1
  57. package/dist/browser/operations/resourceSkus.d.ts +2 -2
  58. package/dist/browser/operations/resourceSkus.js +12 -13
  59. package/dist/browser/operations/resourceSkus.js.map +1 -1
  60. package/dist/browser/operations/serviceTasks.d.ts +16 -13
  61. package/dist/browser/operations/serviceTasks.d.ts.map +1 -1
  62. package/dist/browser/operations/serviceTasks.js +55 -53
  63. package/dist/browser/operations/serviceTasks.js.map +1 -1
  64. package/dist/browser/operations/services.d.ts +59 -58
  65. package/dist/browser/operations/services.d.ts.map +1 -1
  66. package/dist/browser/operations/services.js +204 -186
  67. package/dist/browser/operations/services.js.map +1 -1
  68. package/dist/browser/operations/sqlMigrationServices.d.ts +13 -12
  69. package/dist/browser/operations/sqlMigrationServices.d.ts.map +1 -1
  70. package/dist/browser/operations/sqlMigrationServices.js +116 -106
  71. package/dist/browser/operations/sqlMigrationServices.js.map +1 -1
  72. package/dist/browser/operations/tasks.d.ts +20 -20
  73. package/dist/browser/operations/tasks.js +65 -66
  74. package/dist/browser/operations/tasks.js.map +1 -1
  75. package/dist/browser/operations/usages.d.ts +4 -4
  76. package/dist/browser/operations/usages.js +15 -16
  77. package/dist/browser/operations/usages.js.map +1 -1
  78. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  79. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  80. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
  81. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  82. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  83. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  84. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
  85. package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  86. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  87. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  88. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
  89. package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  90. package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  91. package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  92. package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  93. package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  94. package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  95. package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  96. package/dist/browser/operationsInterfaces/files.js.map +1 -1
  97. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  98. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  99. package/dist/browser/operationsInterfaces/index.js +4 -0
  100. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  101. package/dist/browser/operationsInterfaces/migrationServices.d.ts +87 -0
  102. package/dist/browser/operationsInterfaces/migrationServices.d.ts.map +1 -0
  103. package/dist/browser/operationsInterfaces/migrationServices.js +9 -0
  104. package/dist/browser/operationsInterfaces/migrationServices.js.map +1 -0
  105. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  106. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  107. package/dist/browser/operationsInterfaces/projects.js.map +1 -1
  108. package/dist/browser/operationsInterfaces/resourceSkus.d.ts +1 -1
  109. package/dist/browser/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  110. package/dist/browser/operationsInterfaces/resourceSkus.js.map +1 -1
  111. package/dist/browser/operationsInterfaces/serviceTasks.d.ts +12 -10
  112. package/dist/browser/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  113. package/dist/browser/operationsInterfaces/serviceTasks.js.map +1 -1
  114. package/dist/browser/operationsInterfaces/services.d.ts +53 -52
  115. package/dist/browser/operationsInterfaces/services.d.ts.map +1 -1
  116. package/dist/browser/operationsInterfaces/services.js.map +1 -1
  117. package/dist/browser/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  118. package/dist/browser/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  119. package/dist/browser/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  120. package/dist/browser/operationsInterfaces/tasks.d.ts +17 -17
  121. package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
  122. package/dist/browser/operationsInterfaces/usages.d.ts +2 -2
  123. package/dist/browser/operationsInterfaces/usages.js.map +1 -1
  124. package/dist/browser/pagingHelper.d.ts +4 -4
  125. package/dist/browser/pagingHelper.js +4 -4
  126. package/dist/browser/pagingHelper.js.map +1 -1
  127. package/dist/commonjs/dataMigrationManagementClient.d.ts +5 -1
  128. package/dist/commonjs/dataMigrationManagementClient.d.ts.map +1 -1
  129. package/dist/commonjs/dataMigrationManagementClient.js +18 -8
  130. package/dist/commonjs/dataMigrationManagementClient.js.map +1 -1
  131. package/dist/commonjs/lroImpl.d.ts +6 -11
  132. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  133. package/dist/commonjs/lroImpl.js +17 -26
  134. package/dist/commonjs/lroImpl.js.map +1 -1
  135. package/dist/commonjs/models/index.d.ts +968 -216
  136. package/dist/commonjs/models/index.d.ts.map +1 -1
  137. package/dist/commonjs/models/index.js +54 -10
  138. package/dist/commonjs/models/index.js.map +1 -1
  139. package/dist/commonjs/models/mappers.d.ts +47 -14
  140. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  141. package/dist/commonjs/models/mappers.js +5235 -4062
  142. package/dist/commonjs/models/mappers.js.map +1 -1
  143. package/dist/commonjs/models/parameters.d.ts +21 -12
  144. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  145. package/dist/commonjs/models/parameters.js +184 -110
  146. package/dist/commonjs/models/parameters.js.map +1 -1
  147. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  148. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  149. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +368 -0
  150. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  151. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  152. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  153. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +368 -0
  154. package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  155. package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts +81 -0
  156. package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  157. package/dist/commonjs/operations/databaseMigrationsSqlDb.js +324 -0
  158. package/dist/commonjs/operations/databaseMigrationsSqlDb.js.map +1 -0
  159. package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts +11 -11
  160. package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  161. package/dist/commonjs/operations/databaseMigrationsSqlMi.js +87 -75
  162. package/dist/commonjs/operations/databaseMigrationsSqlMi.js.map +1 -1
  163. package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts +11 -11
  164. package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  165. package/dist/commonjs/operations/databaseMigrationsSqlVm.js +87 -75
  166. package/dist/commonjs/operations/databaseMigrationsSqlVm.js.map +1 -1
  167. package/dist/commonjs/operations/files.js +43 -44
  168. package/dist/commonjs/operations/files.js.map +1 -1
  169. package/dist/commonjs/operations/index.d.ts +4 -0
  170. package/dist/commonjs/operations/index.d.ts.map +1 -1
  171. package/dist/commonjs/operations/index.js +4 -0
  172. package/dist/commonjs/operations/index.js.map +1 -1
  173. package/dist/commonjs/operations/migrationServices.d.ts +144 -0
  174. package/dist/commonjs/operations/migrationServices.d.ts.map +1 -0
  175. package/dist/commonjs/operations/migrationServices.js +645 -0
  176. package/dist/commonjs/operations/migrationServices.js.map +1 -0
  177. package/dist/commonjs/operations/operations.js +7 -8
  178. package/dist/commonjs/operations/operations.js.map +1 -1
  179. package/dist/commonjs/operations/projects.js +33 -34
  180. package/dist/commonjs/operations/projects.js.map +1 -1
  181. package/dist/commonjs/operations/resourceSkus.d.ts +2 -2
  182. package/dist/commonjs/operations/resourceSkus.js +12 -13
  183. package/dist/commonjs/operations/resourceSkus.js.map +1 -1
  184. package/dist/commonjs/operations/serviceTasks.d.ts +16 -13
  185. package/dist/commonjs/operations/serviceTasks.d.ts.map +1 -1
  186. package/dist/commonjs/operations/serviceTasks.js +55 -53
  187. package/dist/commonjs/operations/serviceTasks.js.map +1 -1
  188. package/dist/commonjs/operations/services.d.ts +59 -58
  189. package/dist/commonjs/operations/services.d.ts.map +1 -1
  190. package/dist/commonjs/operations/services.js +202 -184
  191. package/dist/commonjs/operations/services.js.map +1 -1
  192. package/dist/commonjs/operations/sqlMigrationServices.d.ts +13 -12
  193. package/dist/commonjs/operations/sqlMigrationServices.d.ts.map +1 -1
  194. package/dist/commonjs/operations/sqlMigrationServices.js +114 -104
  195. package/dist/commonjs/operations/sqlMigrationServices.js.map +1 -1
  196. package/dist/commonjs/operations/tasks.d.ts +20 -20
  197. package/dist/commonjs/operations/tasks.js +65 -66
  198. package/dist/commonjs/operations/tasks.js.map +1 -1
  199. package/dist/commonjs/operations/usages.d.ts +4 -4
  200. package/dist/commonjs/operations/usages.js +15 -16
  201. package/dist/commonjs/operations/usages.js.map +1 -1
  202. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  203. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  204. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +10 -0
  205. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  206. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  207. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  208. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +10 -0
  209. package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  210. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  211. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  212. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js +10 -0
  213. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  214. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  215. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  216. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  217. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  218. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  219. package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  220. package/dist/commonjs/operationsInterfaces/files.js.map +1 -1
  221. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
  222. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  223. package/dist/commonjs/operationsInterfaces/index.js +4 -0
  224. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  225. package/dist/commonjs/operationsInterfaces/migrationServices.d.ts +87 -0
  226. package/dist/commonjs/operationsInterfaces/migrationServices.d.ts.map +1 -0
  227. package/dist/commonjs/operationsInterfaces/migrationServices.js +10 -0
  228. package/dist/commonjs/operationsInterfaces/migrationServices.js.map +1 -0
  229. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  230. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  231. package/dist/commonjs/operationsInterfaces/projects.js.map +1 -1
  232. package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts +1 -1
  233. package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  234. package/dist/commonjs/operationsInterfaces/resourceSkus.js.map +1 -1
  235. package/dist/commonjs/operationsInterfaces/serviceTasks.d.ts +12 -10
  236. package/dist/commonjs/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  237. package/dist/commonjs/operationsInterfaces/serviceTasks.js.map +1 -1
  238. package/dist/commonjs/operationsInterfaces/services.d.ts +53 -52
  239. package/dist/commonjs/operationsInterfaces/services.d.ts.map +1 -1
  240. package/dist/commonjs/operationsInterfaces/services.js.map +1 -1
  241. package/dist/commonjs/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  242. package/dist/commonjs/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  243. package/dist/commonjs/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  244. package/dist/commonjs/operationsInterfaces/tasks.d.ts +17 -17
  245. package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
  246. package/dist/commonjs/operationsInterfaces/usages.d.ts +2 -2
  247. package/dist/commonjs/operationsInterfaces/usages.js.map +1 -1
  248. package/dist/commonjs/pagingHelper.d.ts +4 -4
  249. package/dist/commonjs/pagingHelper.js +4 -4
  250. package/dist/commonjs/pagingHelper.js.map +1 -1
  251. package/dist/commonjs/tsdoc-metadata.json +1 -1
  252. package/dist/esm/dataMigrationManagementClient.d.ts +5 -1
  253. package/dist/esm/dataMigrationManagementClient.d.ts.map +1 -1
  254. package/dist/esm/dataMigrationManagementClient.js +19 -9
  255. package/dist/esm/dataMigrationManagementClient.js.map +1 -1
  256. package/dist/esm/lroImpl.d.ts +6 -11
  257. package/dist/esm/lroImpl.d.ts.map +1 -1
  258. package/dist/esm/lroImpl.js +16 -24
  259. package/dist/esm/lroImpl.js.map +1 -1
  260. package/dist/esm/models/index.d.ts +968 -216
  261. package/dist/esm/models/index.d.ts.map +1 -1
  262. package/dist/esm/models/index.js +52 -8
  263. package/dist/esm/models/index.js.map +1 -1
  264. package/dist/esm/models/mappers.d.ts +47 -14
  265. package/dist/esm/models/mappers.d.ts.map +1 -1
  266. package/dist/esm/models/mappers.js +5228 -4055
  267. package/dist/esm/models/mappers.js.map +1 -1
  268. package/dist/esm/models/parameters.d.ts +21 -12
  269. package/dist/esm/models/parameters.d.ts.map +1 -1
  270. package/dist/esm/models/parameters.js +184 -110
  271. package/dist/esm/models/parameters.js.map +1 -1
  272. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  273. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  274. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +363 -0
  275. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  276. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  277. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  278. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +363 -0
  279. package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  280. package/dist/esm/operations/databaseMigrationsSqlDb.d.ts +81 -0
  281. package/dist/esm/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  282. package/dist/esm/operations/databaseMigrationsSqlDb.js +319 -0
  283. package/dist/esm/operations/databaseMigrationsSqlDb.js.map +1 -0
  284. package/dist/esm/operations/databaseMigrationsSqlMi.d.ts +11 -11
  285. package/dist/esm/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  286. package/dist/esm/operations/databaseMigrationsSqlMi.js +89 -77
  287. package/dist/esm/operations/databaseMigrationsSqlMi.js.map +1 -1
  288. package/dist/esm/operations/databaseMigrationsSqlVm.d.ts +11 -11
  289. package/dist/esm/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  290. package/dist/esm/operations/databaseMigrationsSqlVm.js +89 -77
  291. package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
  292. package/dist/esm/operations/files.js +43 -44
  293. package/dist/esm/operations/files.js.map +1 -1
  294. package/dist/esm/operations/index.d.ts +4 -0
  295. package/dist/esm/operations/index.d.ts.map +1 -1
  296. package/dist/esm/operations/index.js +4 -0
  297. package/dist/esm/operations/index.js.map +1 -1
  298. package/dist/esm/operations/migrationServices.d.ts +144 -0
  299. package/dist/esm/operations/migrationServices.d.ts.map +1 -0
  300. package/dist/esm/operations/migrationServices.js +640 -0
  301. package/dist/esm/operations/migrationServices.js.map +1 -0
  302. package/dist/esm/operations/operations.js +7 -8
  303. package/dist/esm/operations/operations.js.map +1 -1
  304. package/dist/esm/operations/projects.js +33 -34
  305. package/dist/esm/operations/projects.js.map +1 -1
  306. package/dist/esm/operations/resourceSkus.d.ts +2 -2
  307. package/dist/esm/operations/resourceSkus.js +12 -13
  308. package/dist/esm/operations/resourceSkus.js.map +1 -1
  309. package/dist/esm/operations/serviceTasks.d.ts +16 -13
  310. package/dist/esm/operations/serviceTasks.d.ts.map +1 -1
  311. package/dist/esm/operations/serviceTasks.js +55 -53
  312. package/dist/esm/operations/serviceTasks.js.map +1 -1
  313. package/dist/esm/operations/services.d.ts +59 -58
  314. package/dist/esm/operations/services.d.ts.map +1 -1
  315. package/dist/esm/operations/services.js +204 -186
  316. package/dist/esm/operations/services.js.map +1 -1
  317. package/dist/esm/operations/sqlMigrationServices.d.ts +13 -12
  318. package/dist/esm/operations/sqlMigrationServices.d.ts.map +1 -1
  319. package/dist/esm/operations/sqlMigrationServices.js +116 -106
  320. package/dist/esm/operations/sqlMigrationServices.js.map +1 -1
  321. package/dist/esm/operations/tasks.d.ts +20 -20
  322. package/dist/esm/operations/tasks.js +65 -66
  323. package/dist/esm/operations/tasks.js.map +1 -1
  324. package/dist/esm/operations/usages.d.ts +4 -4
  325. package/dist/esm/operations/usages.js +15 -16
  326. package/dist/esm/operations/usages.js.map +1 -1
  327. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  328. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  329. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
  330. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  331. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  332. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  333. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
  334. package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  335. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  336. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  337. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
  338. package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  339. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  340. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  341. package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  342. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  343. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  344. package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  345. package/dist/esm/operationsInterfaces/files.js.map +1 -1
  346. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  347. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  348. package/dist/esm/operationsInterfaces/index.js +4 -0
  349. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  350. package/dist/esm/operationsInterfaces/migrationServices.d.ts +87 -0
  351. package/dist/esm/operationsInterfaces/migrationServices.d.ts.map +1 -0
  352. package/dist/esm/operationsInterfaces/migrationServices.js +9 -0
  353. package/dist/esm/operationsInterfaces/migrationServices.js.map +1 -0
  354. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  355. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  356. package/dist/esm/operationsInterfaces/projects.js.map +1 -1
  357. package/dist/esm/operationsInterfaces/resourceSkus.d.ts +1 -1
  358. package/dist/esm/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  359. package/dist/esm/operationsInterfaces/resourceSkus.js.map +1 -1
  360. package/dist/esm/operationsInterfaces/serviceTasks.d.ts +12 -10
  361. package/dist/esm/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  362. package/dist/esm/operationsInterfaces/serviceTasks.js.map +1 -1
  363. package/dist/esm/operationsInterfaces/services.d.ts +53 -52
  364. package/dist/esm/operationsInterfaces/services.d.ts.map +1 -1
  365. package/dist/esm/operationsInterfaces/services.js.map +1 -1
  366. package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  367. package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  368. package/dist/esm/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  369. package/dist/esm/operationsInterfaces/tasks.d.ts +17 -17
  370. package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
  371. package/dist/esm/operationsInterfaces/usages.d.ts +2 -2
  372. package/dist/esm/operationsInterfaces/usages.js.map +1 -1
  373. package/dist/esm/pagingHelper.d.ts +4 -4
  374. package/dist/esm/pagingHelper.js +4 -4
  375. package/dist/esm/pagingHelper.js.map +1 -1
  376. package/dist/react-native/dataMigrationManagementClient.d.ts +5 -1
  377. package/dist/react-native/dataMigrationManagementClient.d.ts.map +1 -1
  378. package/dist/react-native/dataMigrationManagementClient.js +19 -9
  379. package/dist/react-native/dataMigrationManagementClient.js.map +1 -1
  380. package/dist/react-native/lroImpl.d.ts +6 -11
  381. package/dist/react-native/lroImpl.d.ts.map +1 -1
  382. package/dist/react-native/lroImpl.js +16 -24
  383. package/dist/react-native/lroImpl.js.map +1 -1
  384. package/dist/react-native/models/index.d.ts +968 -216
  385. package/dist/react-native/models/index.d.ts.map +1 -1
  386. package/dist/react-native/models/index.js +52 -8
  387. package/dist/react-native/models/index.js.map +1 -1
  388. package/dist/react-native/models/mappers.d.ts +47 -14
  389. package/dist/react-native/models/mappers.d.ts.map +1 -1
  390. package/dist/react-native/models/mappers.js +5228 -4055
  391. package/dist/react-native/models/mappers.js.map +1 -1
  392. package/dist/react-native/models/parameters.d.ts +21 -12
  393. package/dist/react-native/models/parameters.d.ts.map +1 -1
  394. package/dist/react-native/models/parameters.js +184 -110
  395. package/dist/react-native/models/parameters.js.map +1 -1
  396. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
  397. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  398. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +363 -0
  399. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  400. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
  401. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  402. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +363 -0
  403. package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  404. package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts +81 -0
  405. package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
  406. package/dist/react-native/operations/databaseMigrationsSqlDb.js +319 -0
  407. package/dist/react-native/operations/databaseMigrationsSqlDb.js.map +1 -0
  408. package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts +11 -11
  409. package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  410. package/dist/react-native/operations/databaseMigrationsSqlMi.js +89 -77
  411. package/dist/react-native/operations/databaseMigrationsSqlMi.js.map +1 -1
  412. package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts +11 -11
  413. package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  414. package/dist/react-native/operations/databaseMigrationsSqlVm.js +89 -77
  415. package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
  416. package/dist/react-native/operations/files.js +43 -44
  417. package/dist/react-native/operations/files.js.map +1 -1
  418. package/dist/react-native/operations/index.d.ts +4 -0
  419. package/dist/react-native/operations/index.d.ts.map +1 -1
  420. package/dist/react-native/operations/index.js +4 -0
  421. package/dist/react-native/operations/index.js.map +1 -1
  422. package/dist/react-native/operations/migrationServices.d.ts +144 -0
  423. package/dist/react-native/operations/migrationServices.d.ts.map +1 -0
  424. package/dist/react-native/operations/migrationServices.js +640 -0
  425. package/dist/react-native/operations/migrationServices.js.map +1 -0
  426. package/dist/react-native/operations/operations.js +7 -8
  427. package/dist/react-native/operations/operations.js.map +1 -1
  428. package/dist/react-native/operations/projects.js +33 -34
  429. package/dist/react-native/operations/projects.js.map +1 -1
  430. package/dist/react-native/operations/resourceSkus.d.ts +2 -2
  431. package/dist/react-native/operations/resourceSkus.js +12 -13
  432. package/dist/react-native/operations/resourceSkus.js.map +1 -1
  433. package/dist/react-native/operations/serviceTasks.d.ts +16 -13
  434. package/dist/react-native/operations/serviceTasks.d.ts.map +1 -1
  435. package/dist/react-native/operations/serviceTasks.js +55 -53
  436. package/dist/react-native/operations/serviceTasks.js.map +1 -1
  437. package/dist/react-native/operations/services.d.ts +59 -58
  438. package/dist/react-native/operations/services.d.ts.map +1 -1
  439. package/dist/react-native/operations/services.js +204 -186
  440. package/dist/react-native/operations/services.js.map +1 -1
  441. package/dist/react-native/operations/sqlMigrationServices.d.ts +13 -12
  442. package/dist/react-native/operations/sqlMigrationServices.d.ts.map +1 -1
  443. package/dist/react-native/operations/sqlMigrationServices.js +116 -106
  444. package/dist/react-native/operations/sqlMigrationServices.js.map +1 -1
  445. package/dist/react-native/operations/tasks.d.ts +20 -20
  446. package/dist/react-native/operations/tasks.js +65 -66
  447. package/dist/react-native/operations/tasks.js.map +1 -1
  448. package/dist/react-native/operations/usages.d.ts +4 -4
  449. package/dist/react-native/operations/usages.js +15 -16
  450. package/dist/react-native/operations/usages.js.map +1 -1
  451. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
  452. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
  453. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
  454. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
  455. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
  456. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
  457. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
  458. package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
  459. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
  460. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
  461. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
  462. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
  463. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
  464. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
  465. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
  466. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
  467. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
  468. package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
  469. package/dist/react-native/operationsInterfaces/files.js.map +1 -1
  470. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  471. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  472. package/dist/react-native/operationsInterfaces/index.js +4 -0
  473. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  474. package/dist/react-native/operationsInterfaces/migrationServices.d.ts +87 -0
  475. package/dist/react-native/operationsInterfaces/migrationServices.d.ts.map +1 -0
  476. package/dist/react-native/operationsInterfaces/migrationServices.js +9 -0
  477. package/dist/react-native/operationsInterfaces/migrationServices.js.map +1 -0
  478. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  479. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  480. package/dist/react-native/operationsInterfaces/projects.js.map +1 -1
  481. package/dist/react-native/operationsInterfaces/resourceSkus.d.ts +1 -1
  482. package/dist/react-native/operationsInterfaces/resourceSkus.d.ts.map +1 -1
  483. package/dist/react-native/operationsInterfaces/resourceSkus.js.map +1 -1
  484. package/dist/react-native/operationsInterfaces/serviceTasks.d.ts +12 -10
  485. package/dist/react-native/operationsInterfaces/serviceTasks.d.ts.map +1 -1
  486. package/dist/react-native/operationsInterfaces/serviceTasks.js.map +1 -1
  487. package/dist/react-native/operationsInterfaces/services.d.ts +53 -52
  488. package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -1
  489. package/dist/react-native/operationsInterfaces/services.js.map +1 -1
  490. package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
  491. package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
  492. package/dist/react-native/operationsInterfaces/sqlMigrationServices.js.map +1 -1
  493. package/dist/react-native/operationsInterfaces/tasks.d.ts +17 -17
  494. package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
  495. package/dist/react-native/operationsInterfaces/usages.d.ts +2 -2
  496. package/dist/react-native/operationsInterfaces/usages.js.map +1 -1
  497. package/dist/react-native/pagingHelper.d.ts +4 -4
  498. package/dist/react-native/pagingHelper.js +4 -4
  499. package/dist/react-native/pagingHelper.js.map +1 -1
  500. package/package.json +26 -27
  501. package/CHANGELOG.md +0 -21
  502. package/review/arm-datamigration-node.api.md +0 -4103
@@ -27,8 +27,8 @@ class ServicesImpl {
27
27
  this.client = client;
28
28
  }
29
29
  /**
30
- * The services resource is the top-level resource that represents the Database Migration Service. The
31
- * skus action returns the list of SKUs that a service resource can be updated to.
30
+ * The services resource is the top-level resource that represents the Database Migration Service
31
+ * (classic). The skus action returns the list of SKUs that a service resource can be updated to.
32
32
  * @param groupName Name of the resource group
33
33
  * @param serviceName Name of the service
34
34
  * @param options The options parameters.
@@ -47,7 +47,7 @@ class ServicesImpl {
47
47
  throw new Error("maxPageSize is not supported by this operation.");
48
48
  }
49
49
  return this.listSkusPagingPage(groupName, serviceName, options, settings);
50
- }
50
+ },
51
51
  };
52
52
  }
53
53
  async *listSkusPagingPage(groupName, serviceName, options, settings) {
@@ -74,8 +74,8 @@ class ServicesImpl {
74
74
  }
75
75
  }
76
76
  /**
77
- * The Services resource is the top-level resource that represents the Database Migration Service. This
78
- * method returns a list of service resources in a resource group.
77
+ * The Services resource is the top-level resource that represents the Azure Database Migration Service
78
+ * (classic). This method returns a list of service resources in a resource group.
79
79
  * @param groupName Name of the resource group
80
80
  * @param options The options parameters.
81
81
  */
@@ -93,7 +93,7 @@ class ServicesImpl {
93
93
  throw new Error("maxPageSize is not supported by this operation.");
94
94
  }
95
95
  return this.listByResourceGroupPagingPage(groupName, options, settings);
96
- }
96
+ },
97
97
  };
98
98
  }
99
99
  async *listByResourceGroupPagingPage(groupName, options, settings) {
@@ -120,8 +120,8 @@ class ServicesImpl {
120
120
  }
121
121
  }
122
122
  /**
123
- * The services resource is the top-level resource that represents the Database Migration Service. This
124
- * method returns a list of service resources in a subscription.
123
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
124
+ * (classic). This method returns a list of service resources in a subscription.
125
125
  * @param options The options parameters.
126
126
  */
127
127
  list(options) {
@@ -138,7 +138,7 @@ class ServicesImpl {
138
138
  throw new Error("maxPageSize is not supported by this operation.");
139
139
  }
140
140
  return this.listPagingPage(options, settings);
141
- }
141
+ },
142
142
  };
143
143
  }
144
144
  async *listPagingPage(options, settings) {
@@ -165,13 +165,13 @@ class ServicesImpl {
165
165
  }
166
166
  }
167
167
  /**
168
- * The services resource is the top-level resource that represents the Database Migration Service. The
169
- * PUT method creates a new service or updates an existing one. When a service is updated, existing
170
- * child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which
171
- * refers to a VM-based service, although other kinds may be added in the future. This method can
172
- * change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the
173
- * service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply
174
- * when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
168
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
169
+ * (classic). The PUT method creates a new service or updates an existing one. When a service is
170
+ * updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single
171
+ * kind, "vm", which refers to a VM-based service, although other kinds may be added in the future.
172
+ * This method can change the kind, SKU, and network of the service, but if tasks are currently running
173
+ * (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will
174
+ * reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
175
175
  * property.
176
176
  * @param groupName Name of the resource group
177
177
  * @param serviceName Name of the service
@@ -182,7 +182,7 @@ class ServicesImpl {
182
182
  const directSendOperation = async (args, spec) => {
183
183
  return this.client.sendOperationRequest(args, spec);
184
184
  };
185
- const sendOperation = async (args, spec) => {
185
+ const sendOperationFn = async (args, spec) => {
186
186
  let currentRawResponse = undefined;
187
187
  const providedCallback = args.options?.onResponse;
188
188
  const callback = (rawResponse, flatResponse) => {
@@ -193,8 +193,8 @@ class ServicesImpl {
193
193
  ...args,
194
194
  options: {
195
195
  ...args.options,
196
- onResponse: callback
197
- }
196
+ onResponse: callback,
197
+ },
198
198
  };
199
199
  const flatResponse = await directSendOperation(updatedArgs, spec);
200
200
  return {
@@ -202,26 +202,30 @@ class ServicesImpl {
202
202
  rawResponse: {
203
203
  statusCode: currentRawResponse.status,
204
204
  body: currentRawResponse.parsedBody,
205
- headers: currentRawResponse.headers.toJSON()
206
- }
205
+ headers: currentRawResponse.headers.toJSON(),
206
+ },
207
207
  };
208
208
  };
209
- const lro = new lroImpl_js_1.LroImpl(sendOperation, { groupName, serviceName, parameters, options }, createOrUpdateOperationSpec);
210
- const poller = new core_lro_1.LroEngine(lro, {
211
- resumeFrom: options?.resumeFrom,
212
- intervalInMs: options?.updateIntervalInMs
209
+ const lro = (0, lroImpl_js_1.createLroSpec)({
210
+ sendOperationFn,
211
+ args: { groupName, serviceName, parameters, options },
212
+ spec: createOrUpdateOperationSpec,
213
+ });
214
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
215
+ restoreFrom: options?.resumeFrom,
216
+ intervalInMs: options?.updateIntervalInMs,
213
217
  });
214
218
  await poller.poll();
215
219
  return poller;
216
220
  }
217
221
  /**
218
- * The services resource is the top-level resource that represents the Database Migration Service. The
219
- * PUT method creates a new service or updates an existing one. When a service is updated, existing
220
- * child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which
221
- * refers to a VM-based service, although other kinds may be added in the future. This method can
222
- * change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the
223
- * service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply
224
- * when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
222
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
223
+ * (classic). The PUT method creates a new service or updates an existing one. When a service is
224
+ * updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single
225
+ * kind, "vm", which refers to a VM-based service, although other kinds may be added in the future.
226
+ * This method can change the kind, SKU, and network of the service, but if tasks are currently running
227
+ * (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will
228
+ * reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
225
229
  * property.
226
230
  * @param groupName Name of the resource group
227
231
  * @param serviceName Name of the service
@@ -233,8 +237,8 @@ class ServicesImpl {
233
237
  return poller.pollUntilDone();
234
238
  }
235
239
  /**
236
- * The services resource is the top-level resource that represents the Database Migration Service. The
237
- * GET method retrieves information about a service instance.
240
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
241
+ * (classic). The GET method retrieves information about a service instance.
238
242
  * @param groupName Name of the resource group
239
243
  * @param serviceName Name of the service
240
244
  * @param options The options parameters.
@@ -243,8 +247,8 @@ class ServicesImpl {
243
247
  return this.client.sendOperationRequest({ groupName, serviceName, options }, getOperationSpec);
244
248
  }
245
249
  /**
246
- * The services resource is the top-level resource that represents the Database Migration Service. The
247
- * DELETE method deletes a service. Any running tasks will be canceled.
250
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
251
+ * (classic). The DELETE method deletes a service. Any running tasks will be canceled.
248
252
  * @param groupName Name of the resource group
249
253
  * @param serviceName Name of the service
250
254
  * @param options The options parameters.
@@ -253,7 +257,7 @@ class ServicesImpl {
253
257
  const directSendOperation = async (args, spec) => {
254
258
  return this.client.sendOperationRequest(args, spec);
255
259
  };
256
- const sendOperation = async (args, spec) => {
260
+ const sendOperationFn = async (args, spec) => {
257
261
  let currentRawResponse = undefined;
258
262
  const providedCallback = args.options?.onResponse;
259
263
  const callback = (rawResponse, flatResponse) => {
@@ -264,8 +268,8 @@ class ServicesImpl {
264
268
  ...args,
265
269
  options: {
266
270
  ...args.options,
267
- onResponse: callback
268
- }
271
+ onResponse: callback,
272
+ },
269
273
  };
270
274
  const flatResponse = await directSendOperation(updatedArgs, spec);
271
275
  return {
@@ -273,21 +277,25 @@ class ServicesImpl {
273
277
  rawResponse: {
274
278
  statusCode: currentRawResponse.status,
275
279
  body: currentRawResponse.parsedBody,
276
- headers: currentRawResponse.headers.toJSON()
277
- }
280
+ headers: currentRawResponse.headers.toJSON(),
281
+ },
278
282
  };
279
283
  };
280
- const lro = new lroImpl_js_1.LroImpl(sendOperation, { groupName, serviceName, options }, deleteOperationSpec);
281
- const poller = new core_lro_1.LroEngine(lro, {
282
- resumeFrom: options?.resumeFrom,
283
- intervalInMs: options?.updateIntervalInMs
284
+ const lro = (0, lroImpl_js_1.createLroSpec)({
285
+ sendOperationFn,
286
+ args: { groupName, serviceName, options },
287
+ spec: deleteOperationSpec,
288
+ });
289
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
290
+ restoreFrom: options?.resumeFrom,
291
+ intervalInMs: options?.updateIntervalInMs,
284
292
  });
285
293
  await poller.poll();
286
294
  return poller;
287
295
  }
288
296
  /**
289
- * The services resource is the top-level resource that represents the Database Migration Service. The
290
- * DELETE method deletes a service. Any running tasks will be canceled.
297
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
298
+ * (classic). The DELETE method deletes a service. Any running tasks will be canceled.
291
299
  * @param groupName Name of the resource group
292
300
  * @param serviceName Name of the service
293
301
  * @param options The options parameters.
@@ -297,10 +305,10 @@ class ServicesImpl {
297
305
  return poller.pollUntilDone();
298
306
  }
299
307
  /**
300
- * The services resource is the top-level resource that represents the Database Migration Service. The
301
- * PATCH method updates an existing service. This method can change the kind, SKU, and network of the
302
- * service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad
303
- * Request ("ServiceIsBusy").
308
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
309
+ * (classic). The PATCH method updates an existing service. This method can change the kind, SKU, and
310
+ * network of the service, but if tasks are currently running (i.e. the service is busy), this will
311
+ * fail with 400 Bad Request ("ServiceIsBusy").
304
312
  * @param groupName Name of the resource group
305
313
  * @param serviceName Name of the service
306
314
  * @param parameters Information about the service
@@ -310,7 +318,7 @@ class ServicesImpl {
310
318
  const directSendOperation = async (args, spec) => {
311
319
  return this.client.sendOperationRequest(args, spec);
312
320
  };
313
- const sendOperation = async (args, spec) => {
321
+ const sendOperationFn = async (args, spec) => {
314
322
  let currentRawResponse = undefined;
315
323
  const providedCallback = args.options?.onResponse;
316
324
  const callback = (rawResponse, flatResponse) => {
@@ -321,8 +329,8 @@ class ServicesImpl {
321
329
  ...args,
322
330
  options: {
323
331
  ...args.options,
324
- onResponse: callback
325
- }
332
+ onResponse: callback,
333
+ },
326
334
  };
327
335
  const flatResponse = await directSendOperation(updatedArgs, spec);
328
336
  return {
@@ -330,23 +338,27 @@ class ServicesImpl {
330
338
  rawResponse: {
331
339
  statusCode: currentRawResponse.status,
332
340
  body: currentRawResponse.parsedBody,
333
- headers: currentRawResponse.headers.toJSON()
334
- }
341
+ headers: currentRawResponse.headers.toJSON(),
342
+ },
335
343
  };
336
344
  };
337
- const lro = new lroImpl_js_1.LroImpl(sendOperation, { groupName, serviceName, parameters, options }, updateOperationSpec);
338
- const poller = new core_lro_1.LroEngine(lro, {
339
- resumeFrom: options?.resumeFrom,
340
- intervalInMs: options?.updateIntervalInMs
345
+ const lro = (0, lroImpl_js_1.createLroSpec)({
346
+ sendOperationFn,
347
+ args: { groupName, serviceName, parameters, options },
348
+ spec: updateOperationSpec,
349
+ });
350
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
351
+ restoreFrom: options?.resumeFrom,
352
+ intervalInMs: options?.updateIntervalInMs,
341
353
  });
342
354
  await poller.poll();
343
355
  return poller;
344
356
  }
345
357
  /**
346
- * The services resource is the top-level resource that represents the Database Migration Service. The
347
- * PATCH method updates an existing service. This method can change the kind, SKU, and network of the
348
- * service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad
349
- * Request ("ServiceIsBusy").
358
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
359
+ * (classic). The PATCH method updates an existing service. This method can change the kind, SKU, and
360
+ * network of the service, but if tasks are currently running (i.e. the service is busy), this will
361
+ * fail with 400 Bad Request ("ServiceIsBusy").
350
362
  * @param groupName Name of the resource group
351
363
  * @param serviceName Name of the service
352
364
  * @param parameters Information about the service
@@ -357,8 +369,9 @@ class ServicesImpl {
357
369
  return poller.pollUntilDone();
358
370
  }
359
371
  /**
360
- * The services resource is the top-level resource that represents the Database Migration Service. This
361
- * action performs a health check and returns the status of the service and virtual machine size.
372
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
373
+ * (classic). This action performs a health check and returns the status of the service and virtual
374
+ * machine size.
362
375
  * @param groupName Name of the resource group
363
376
  * @param serviceName Name of the service
364
377
  * @param options The options parameters.
@@ -367,8 +380,8 @@ class ServicesImpl {
367
380
  return this.client.sendOperationRequest({ groupName, serviceName, options }, checkStatusOperationSpec);
368
381
  }
369
382
  /**
370
- * The services resource is the top-level resource that represents the Database Migration Service. This
371
- * action starts the service and the service can be used for data migration.
383
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
384
+ * (classic). This action starts the service and the service can be used for data migration.
372
385
  * @param groupName Name of the resource group
373
386
  * @param serviceName Name of the service
374
387
  * @param options The options parameters.
@@ -377,7 +390,7 @@ class ServicesImpl {
377
390
  const directSendOperation = async (args, spec) => {
378
391
  return this.client.sendOperationRequest(args, spec);
379
392
  };
380
- const sendOperation = async (args, spec) => {
393
+ const sendOperationFn = async (args, spec) => {
381
394
  let currentRawResponse = undefined;
382
395
  const providedCallback = args.options?.onResponse;
383
396
  const callback = (rawResponse, flatResponse) => {
@@ -388,8 +401,8 @@ class ServicesImpl {
388
401
  ...args,
389
402
  options: {
390
403
  ...args.options,
391
- onResponse: callback
392
- }
404
+ onResponse: callback,
405
+ },
393
406
  };
394
407
  const flatResponse = await directSendOperation(updatedArgs, spec);
395
408
  return {
@@ -397,21 +410,25 @@ class ServicesImpl {
397
410
  rawResponse: {
398
411
  statusCode: currentRawResponse.status,
399
412
  body: currentRawResponse.parsedBody,
400
- headers: currentRawResponse.headers.toJSON()
401
- }
413
+ headers: currentRawResponse.headers.toJSON(),
414
+ },
402
415
  };
403
416
  };
404
- const lro = new lroImpl_js_1.LroImpl(sendOperation, { groupName, serviceName, options }, startOperationSpec);
405
- const poller = new core_lro_1.LroEngine(lro, {
406
- resumeFrom: options?.resumeFrom,
407
- intervalInMs: options?.updateIntervalInMs
417
+ const lro = (0, lroImpl_js_1.createLroSpec)({
418
+ sendOperationFn,
419
+ args: { groupName, serviceName, options },
420
+ spec: startOperationSpec,
421
+ });
422
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
423
+ restoreFrom: options?.resumeFrom,
424
+ intervalInMs: options?.updateIntervalInMs,
408
425
  });
409
426
  await poller.poll();
410
427
  return poller;
411
428
  }
412
429
  /**
413
- * The services resource is the top-level resource that represents the Database Migration Service. This
414
- * action starts the service and the service can be used for data migration.
430
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
431
+ * (classic). This action starts the service and the service can be used for data migration.
415
432
  * @param groupName Name of the resource group
416
433
  * @param serviceName Name of the service
417
434
  * @param options The options parameters.
@@ -421,9 +438,9 @@ class ServicesImpl {
421
438
  return poller.pollUntilDone();
422
439
  }
423
440
  /**
424
- * The services resource is the top-level resource that represents the Database Migration Service. This
425
- * action stops the service and the service cannot be used for data migration. The service owner won't
426
- * be billed when the service is stopped.
441
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
442
+ * (classic). This action stops the service and the service cannot be used for data migration. The
443
+ * service owner won't be billed when the service is stopped.
427
444
  * @param groupName Name of the resource group
428
445
  * @param serviceName Name of the service
429
446
  * @param options The options parameters.
@@ -432,7 +449,7 @@ class ServicesImpl {
432
449
  const directSendOperation = async (args, spec) => {
433
450
  return this.client.sendOperationRequest(args, spec);
434
451
  };
435
- const sendOperation = async (args, spec) => {
452
+ const sendOperationFn = async (args, spec) => {
436
453
  let currentRawResponse = undefined;
437
454
  const providedCallback = args.options?.onResponse;
438
455
  const callback = (rawResponse, flatResponse) => {
@@ -443,8 +460,8 @@ class ServicesImpl {
443
460
  ...args,
444
461
  options: {
445
462
  ...args.options,
446
- onResponse: callback
447
- }
463
+ onResponse: callback,
464
+ },
448
465
  };
449
466
  const flatResponse = await directSendOperation(updatedArgs, spec);
450
467
  return {
@@ -452,22 +469,26 @@ class ServicesImpl {
452
469
  rawResponse: {
453
470
  statusCode: currentRawResponse.status,
454
471
  body: currentRawResponse.parsedBody,
455
- headers: currentRawResponse.headers.toJSON()
456
- }
472
+ headers: currentRawResponse.headers.toJSON(),
473
+ },
457
474
  };
458
475
  };
459
- const lro = new lroImpl_js_1.LroImpl(sendOperation, { groupName, serviceName, options }, stopOperationSpec);
460
- const poller = new core_lro_1.LroEngine(lro, {
461
- resumeFrom: options?.resumeFrom,
462
- intervalInMs: options?.updateIntervalInMs
476
+ const lro = (0, lroImpl_js_1.createLroSpec)({
477
+ sendOperationFn,
478
+ args: { groupName, serviceName, options },
479
+ spec: stopOperationSpec,
480
+ });
481
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
482
+ restoreFrom: options?.resumeFrom,
483
+ intervalInMs: options?.updateIntervalInMs,
463
484
  });
464
485
  await poller.poll();
465
486
  return poller;
466
487
  }
467
488
  /**
468
- * The services resource is the top-level resource that represents the Database Migration Service. This
469
- * action stops the service and the service cannot be used for data migration. The service owner won't
470
- * be billed when the service is stopped.
489
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
490
+ * (classic). This action stops the service and the service cannot be used for data migration. The
491
+ * service owner won't be billed when the service is stopped.
471
492
  * @param groupName Name of the resource group
472
493
  * @param serviceName Name of the service
473
494
  * @param options The options parameters.
@@ -477,8 +498,8 @@ class ServicesImpl {
477
498
  return poller.pollUntilDone();
478
499
  }
479
500
  /**
480
- * The services resource is the top-level resource that represents the Database Migration Service. The
481
- * skus action returns the list of SKUs that a service resource can be updated to.
501
+ * The services resource is the top-level resource that represents the Database Migration Service
502
+ * (classic). The skus action returns the list of SKUs that a service resource can be updated to.
482
503
  * @param groupName Name of the resource group
483
504
  * @param serviceName Name of the service
484
505
  * @param options The options parameters.
@@ -497,8 +518,8 @@ class ServicesImpl {
497
518
  return this.client.sendOperationRequest({ groupName, serviceName, parameters, options }, checkChildrenNameAvailabilityOperationSpec);
498
519
  }
499
520
  /**
500
- * The Services resource is the top-level resource that represents the Database Migration Service. This
501
- * method returns a list of service resources in a resource group.
521
+ * The Services resource is the top-level resource that represents the Azure Database Migration Service
522
+ * (classic). This method returns a list of service resources in a resource group.
502
523
  * @param groupName Name of the resource group
503
524
  * @param options The options parameters.
504
525
  */
@@ -506,8 +527,8 @@ class ServicesImpl {
506
527
  return this.client.sendOperationRequest({ groupName, options }, listByResourceGroupOperationSpec);
507
528
  }
508
529
  /**
509
- * The services resource is the top-level resource that represents the Database Migration Service. This
510
- * method returns a list of service resources in a subscription.
530
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
531
+ * (classic). This method returns a list of service resources in a subscription.
511
532
  * @param options The options parameters.
512
533
  */
513
534
  _list(options) {
@@ -558,53 +579,53 @@ const createOrUpdateOperationSpec = {
558
579
  httpMethod: "PUT",
559
580
  responses: {
560
581
  200: {
561
- bodyMapper: Mappers.DataMigrationService
582
+ bodyMapper: Mappers.DataMigrationService,
562
583
  },
563
584
  201: {
564
- bodyMapper: Mappers.DataMigrationService
585
+ bodyMapper: Mappers.DataMigrationService,
565
586
  },
566
587
  202: {
567
- bodyMapper: Mappers.DataMigrationService
588
+ bodyMapper: Mappers.DataMigrationService,
568
589
  },
569
590
  204: {
570
- bodyMapper: Mappers.DataMigrationService
591
+ bodyMapper: Mappers.DataMigrationService,
571
592
  },
572
593
  default: {
573
- bodyMapper: Mappers.ApiError
574
- }
594
+ bodyMapper: Mappers.ApiError,
595
+ },
575
596
  },
576
- requestBody: Parameters.parameters7,
597
+ requestBody: Parameters.parameters11,
577
598
  queryParameters: [Parameters.apiVersion],
578
599
  urlParameters: [
579
600
  Parameters.$host,
580
601
  Parameters.subscriptionId,
581
602
  Parameters.groupName,
582
- Parameters.serviceName
603
+ Parameters.serviceName,
583
604
  ],
584
605
  headerParameters: [Parameters.accept, Parameters.contentType],
585
606
  mediaType: "json",
586
- serializer
607
+ serializer,
587
608
  };
588
609
  const getOperationSpec = {
589
610
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
590
611
  httpMethod: "GET",
591
612
  responses: {
592
613
  200: {
593
- bodyMapper: Mappers.DataMigrationService
614
+ bodyMapper: Mappers.DataMigrationService,
594
615
  },
595
616
  default: {
596
- bodyMapper: Mappers.ApiError
597
- }
617
+ bodyMapper: Mappers.ApiError,
618
+ },
598
619
  },
599
620
  queryParameters: [Parameters.apiVersion],
600
621
  urlParameters: [
601
622
  Parameters.$host,
602
623
  Parameters.subscriptionId,
603
624
  Parameters.groupName,
604
- Parameters.serviceName
625
+ Parameters.serviceName,
605
626
  ],
606
627
  headerParameters: [Parameters.accept],
607
- serializer
628
+ serializer,
608
629
  };
609
630
  const deleteOperationSpec = {
610
631
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
@@ -615,71 +636,71 @@ const deleteOperationSpec = {
615
636
  202: {},
616
637
  204: {},
617
638
  default: {
618
- bodyMapper: Mappers.ApiError
619
- }
639
+ bodyMapper: Mappers.ApiError,
640
+ },
620
641
  },
621
642
  queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],
622
643
  urlParameters: [
623
644
  Parameters.$host,
624
645
  Parameters.subscriptionId,
625
646
  Parameters.groupName,
626
- Parameters.serviceName
647
+ Parameters.serviceName,
627
648
  ],
628
649
  headerParameters: [Parameters.accept],
629
- serializer
650
+ serializer,
630
651
  };
631
652
  const updateOperationSpec = {
632
653
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
633
654
  httpMethod: "PATCH",
634
655
  responses: {
635
656
  200: {
636
- bodyMapper: Mappers.DataMigrationService
657
+ bodyMapper: Mappers.DataMigrationService,
637
658
  },
638
659
  201: {
639
- bodyMapper: Mappers.DataMigrationService
660
+ bodyMapper: Mappers.DataMigrationService,
640
661
  },
641
662
  202: {
642
- bodyMapper: Mappers.DataMigrationService
663
+ bodyMapper: Mappers.DataMigrationService,
643
664
  },
644
665
  204: {
645
- bodyMapper: Mappers.DataMigrationService
666
+ bodyMapper: Mappers.DataMigrationService,
646
667
  },
647
668
  default: {
648
- bodyMapper: Mappers.ApiError
649
- }
669
+ bodyMapper: Mappers.ApiError,
670
+ },
650
671
  },
651
- requestBody: Parameters.parameters7,
672
+ requestBody: Parameters.parameters11,
652
673
  queryParameters: [Parameters.apiVersion],
653
674
  urlParameters: [
654
675
  Parameters.$host,
655
676
  Parameters.subscriptionId,
656
677
  Parameters.groupName,
657
- Parameters.serviceName
678
+ Parameters.serviceName,
658
679
  ],
659
680
  headerParameters: [Parameters.accept, Parameters.contentType],
660
681
  mediaType: "json",
661
- serializer
682
+ serializer,
662
683
  };
663
684
  const checkStatusOperationSpec = {
664
685
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus",
665
686
  httpMethod: "POST",
666
687
  responses: {
667
688
  200: {
668
- bodyMapper: Mappers.DataMigrationServiceStatusResponse
689
+ bodyMapper: Mappers.DataMigrationServiceStatusResponse,
669
690
  },
670
691
  default: {
671
- bodyMapper: Mappers.ApiError
672
- }
692
+ bodyMapper: Mappers.ApiError,
693
+ },
673
694
  },
674
695
  queryParameters: [Parameters.apiVersion],
675
696
  urlParameters: [
676
697
  Parameters.$host,
677
698
  Parameters.subscriptionId,
678
699
  Parameters.groupName,
679
- Parameters.serviceName
700
+ Parameters.serviceName,
680
701
  ],
681
702
  headerParameters: [Parameters.accept],
682
- serializer
703
+ serializer,
683
704
  };
684
705
  const startOperationSpec = {
685
706
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start",
@@ -690,18 +711,18 @@ const startOperationSpec = {
690
711
  202: {},
691
712
  204: {},
692
713
  default: {
693
- bodyMapper: Mappers.ApiError
694
- }
714
+ bodyMapper: Mappers.ApiError,
715
+ },
695
716
  },
696
717
  queryParameters: [Parameters.apiVersion],
697
718
  urlParameters: [
698
719
  Parameters.$host,
699
720
  Parameters.subscriptionId,
700
721
  Parameters.groupName,
701
- Parameters.serviceName
722
+ Parameters.serviceName,
702
723
  ],
703
724
  headerParameters: [Parameters.accept],
704
- serializer
725
+ serializer,
705
726
  };
706
727
  const stopOperationSpec = {
707
728
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop",
@@ -712,182 +733,179 @@ const stopOperationSpec = {
712
733
  202: {},
713
734
  204: {},
714
735
  default: {
715
- bodyMapper: Mappers.ApiError
716
- }
736
+ bodyMapper: Mappers.ApiError,
737
+ },
717
738
  },
718
739
  queryParameters: [Parameters.apiVersion],
719
740
  urlParameters: [
720
741
  Parameters.$host,
721
742
  Parameters.subscriptionId,
722
743
  Parameters.groupName,
723
- Parameters.serviceName
744
+ Parameters.serviceName,
724
745
  ],
725
746
  headerParameters: [Parameters.accept],
726
- serializer
747
+ serializer,
727
748
  };
728
749
  const listSkusOperationSpec = {
729
750
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus",
730
751
  httpMethod: "GET",
731
752
  responses: {
732
753
  200: {
733
- bodyMapper: Mappers.ServiceSkuList
754
+ bodyMapper: Mappers.ServiceSkuList,
734
755
  },
735
756
  default: {
736
- bodyMapper: Mappers.ApiError
737
- }
757
+ bodyMapper: Mappers.ApiError,
758
+ },
738
759
  },
739
760
  queryParameters: [Parameters.apiVersion],
740
761
  urlParameters: [
741
762
  Parameters.$host,
742
763
  Parameters.subscriptionId,
743
764
  Parameters.groupName,
744
- Parameters.serviceName
765
+ Parameters.serviceName,
745
766
  ],
746
767
  headerParameters: [Parameters.accept],
747
- serializer
768
+ serializer,
748
769
  };
749
770
  const checkChildrenNameAvailabilityOperationSpec = {
750
771
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability",
751
772
  httpMethod: "POST",
752
773
  responses: {
753
774
  200: {
754
- bodyMapper: Mappers.NameAvailabilityResponse
775
+ bodyMapper: Mappers.NameAvailabilityResponse,
755
776
  },
756
777
  default: {
757
- bodyMapper: Mappers.ApiError
758
- }
778
+ bodyMapper: Mappers.ApiError,
779
+ },
759
780
  },
760
- requestBody: Parameters.parameters8,
781
+ requestBody: Parameters.parameters12,
761
782
  queryParameters: [Parameters.apiVersion],
762
783
  urlParameters: [
763
784
  Parameters.$host,
764
785
  Parameters.subscriptionId,
765
786
  Parameters.groupName,
766
- Parameters.serviceName
787
+ Parameters.serviceName,
767
788
  ],
768
789
  headerParameters: [Parameters.accept, Parameters.contentType],
769
790
  mediaType: "json",
770
- serializer
791
+ serializer,
771
792
  };
772
793
  const listByResourceGroupOperationSpec = {
773
794
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services",
774
795
  httpMethod: "GET",
775
796
  responses: {
776
797
  200: {
777
- bodyMapper: Mappers.DataMigrationServiceList
798
+ bodyMapper: Mappers.DataMigrationServiceList,
778
799
  },
779
800
  default: {
780
- bodyMapper: Mappers.ApiError
781
- }
801
+ bodyMapper: Mappers.ApiError,
802
+ },
782
803
  },
783
804
  queryParameters: [Parameters.apiVersion],
784
805
  urlParameters: [
785
806
  Parameters.$host,
786
807
  Parameters.subscriptionId,
787
- Parameters.groupName
808
+ Parameters.groupName,
788
809
  ],
789
810
  headerParameters: [Parameters.accept],
790
- serializer
811
+ serializer,
791
812
  };
792
813
  const listOperationSpec = {
793
814
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services",
794
815
  httpMethod: "GET",
795
816
  responses: {
796
817
  200: {
797
- bodyMapper: Mappers.DataMigrationServiceList
818
+ bodyMapper: Mappers.DataMigrationServiceList,
798
819
  },
799
820
  default: {
800
- bodyMapper: Mappers.ApiError
801
- }
821
+ bodyMapper: Mappers.ApiError,
822
+ },
802
823
  },
803
824
  queryParameters: [Parameters.apiVersion],
804
825
  urlParameters: [Parameters.$host, Parameters.subscriptionId],
805
826
  headerParameters: [Parameters.accept],
806
- serializer
827
+ serializer,
807
828
  };
808
829
  const checkNameAvailabilityOperationSpec = {
809
830
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability",
810
831
  httpMethod: "POST",
811
832
  responses: {
812
833
  200: {
813
- bodyMapper: Mappers.NameAvailabilityResponse
834
+ bodyMapper: Mappers.NameAvailabilityResponse,
814
835
  },
815
836
  default: {
816
- bodyMapper: Mappers.ApiError
817
- }
837
+ bodyMapper: Mappers.ApiError,
838
+ },
818
839
  },
819
- requestBody: Parameters.parameters8,
840
+ requestBody: Parameters.parameters12,
820
841
  queryParameters: [Parameters.apiVersion],
821
842
  urlParameters: [
822
843
  Parameters.$host,
823
844
  Parameters.subscriptionId,
824
- Parameters.location
845
+ Parameters.location,
825
846
  ],
826
847
  headerParameters: [Parameters.accept, Parameters.contentType],
827
848
  mediaType: "json",
828
- serializer
849
+ serializer,
829
850
  };
830
851
  const listSkusNextOperationSpec = {
831
852
  path: "{nextLink}",
832
853
  httpMethod: "GET",
833
854
  responses: {
834
855
  200: {
835
- bodyMapper: Mappers.ServiceSkuList
856
+ bodyMapper: Mappers.ServiceSkuList,
836
857
  },
837
858
  default: {
838
- bodyMapper: Mappers.ApiError
839
- }
859
+ bodyMapper: Mappers.ApiError,
860
+ },
840
861
  },
841
- queryParameters: [Parameters.apiVersion],
842
862
  urlParameters: [
843
863
  Parameters.$host,
844
864
  Parameters.subscriptionId,
845
865
  Parameters.nextLink,
846
866
  Parameters.groupName,
847
- Parameters.serviceName
867
+ Parameters.serviceName,
848
868
  ],
849
869
  headerParameters: [Parameters.accept],
850
- serializer
870
+ serializer,
851
871
  };
852
872
  const listByResourceGroupNextOperationSpec = {
853
873
  path: "{nextLink}",
854
874
  httpMethod: "GET",
855
875
  responses: {
856
876
  200: {
857
- bodyMapper: Mappers.DataMigrationServiceList
877
+ bodyMapper: Mappers.DataMigrationServiceList,
858
878
  },
859
879
  default: {
860
- bodyMapper: Mappers.ApiError
861
- }
880
+ bodyMapper: Mappers.ApiError,
881
+ },
862
882
  },
863
- queryParameters: [Parameters.apiVersion],
864
883
  urlParameters: [
865
884
  Parameters.$host,
866
885
  Parameters.subscriptionId,
867
886
  Parameters.nextLink,
868
- Parameters.groupName
887
+ Parameters.groupName,
869
888
  ],
870
889
  headerParameters: [Parameters.accept],
871
- serializer
890
+ serializer,
872
891
  };
873
892
  const listNextOperationSpec = {
874
893
  path: "{nextLink}",
875
894
  httpMethod: "GET",
876
895
  responses: {
877
896
  200: {
878
- bodyMapper: Mappers.DataMigrationServiceList
897
+ bodyMapper: Mappers.DataMigrationServiceList,
879
898
  },
880
899
  default: {
881
- bodyMapper: Mappers.ApiError
882
- }
900
+ bodyMapper: Mappers.ApiError,
901
+ },
883
902
  },
884
- queryParameters: [Parameters.apiVersion],
885
903
  urlParameters: [
886
904
  Parameters.$host,
887
905
  Parameters.subscriptionId,
888
- Parameters.nextLink
906
+ Parameters.nextLink,
889
907
  ],
890
908
  headerParameters: [Parameters.accept],
891
- serializer
909
+ serializer,
892
910
  };
893
911
  //# sourceMappingURL=services.js.map