@azure/arm-datamigration 3.0.0-alpha.20250718.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 +14 -8
  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 +11 -15
  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 +4993 -3891
  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 +83 -71
  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 +83 -71
  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 +676 -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 +194 -176
  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 +110 -100
  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 +13 -7
  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 +12 -17
  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 +5000 -3898
  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 +81 -69
  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 +81 -69
  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 +680 -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 +192 -174
  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 +108 -98
  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/esm/dataMigrationManagementClient.d.ts +5 -1
  252. package/dist/esm/dataMigrationManagementClient.d.ts.map +1 -1
  253. package/dist/esm/dataMigrationManagementClient.js +14 -8
  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 +11 -15
  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 +4993 -3891
  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 +83 -71
  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 +83 -71
  290. package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
  291. package/dist/esm/operations/files.js +43 -44
  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 +7 -8
  302. package/dist/esm/operations/operations.js.map +1 -1
  303. package/dist/esm/operations/projects.js +33 -34
  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 +12 -13
  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 +55 -53
  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 +194 -176
  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 +110 -100
  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 +65 -66
  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 +15 -16
  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 +4 -4
  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 +14 -8
  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 +11 -15
  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 +4993 -3891
  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 +83 -71
  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 +83 -71
  414. package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
  415. package/dist/react-native/operations/files.js +43 -44
  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 +7 -8
  426. package/dist/react-native/operations/operations.js.map +1 -1
  427. package/dist/react-native/operations/projects.js +33 -34
  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 +12 -13
  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 +55 -53
  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 +194 -176
  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 +110 -100
  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 +65 -66
  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 +15 -16
  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 +4 -4
  498. package/dist/react-native/pagingHelper.js.map +1 -1
  499. package/package.json +25 -26
  500. package/CHANGELOG.md +0 -21
  501. package/review/arm-datamigration-node.api.md +0 -4103
@@ -10,8 +10,8 @@ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
11
  import * as Mappers from "../models/mappers.js";
12
12
  import * as Parameters from "../models/parameters.js";
13
- import { LroEngine } from "@azure/core-lro";
14
- import { LroImpl } from "../lroImpl.js";
13
+ import { createHttpPoller, } from "@azure/core-lro";
14
+ import { createLroSpec } from "../lroImpl.js";
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing Services operations. */
17
17
  export class ServicesImpl {
@@ -23,8 +23,8 @@ export class ServicesImpl {
23
23
  this.client = client;
24
24
  }
25
25
  /**
26
- * The services resource is the top-level resource that represents the Database Migration Service. The
27
- * skus action returns the list of SKUs that a service resource can be updated to.
26
+ * The services resource is the top-level resource that represents the Database Migration Service
27
+ * (classic). The skus action returns the list of SKUs that a service resource can be updated to.
28
28
  * @param groupName Name of the resource group
29
29
  * @param serviceName Name of the service
30
30
  * @param options The options parameters.
@@ -43,7 +43,7 @@ export class ServicesImpl {
43
43
  throw new Error("maxPageSize is not supported by this operation.");
44
44
  }
45
45
  return this.listSkusPagingPage(groupName, serviceName, options, settings);
46
- }
46
+ },
47
47
  };
48
48
  }
49
49
  listSkusPagingPage(groupName, serviceName, options, settings) {
@@ -87,8 +87,8 @@ export class ServicesImpl {
87
87
  });
88
88
  }
89
89
  /**
90
- * The Services resource is the top-level resource that represents the Database Migration Service. This
91
- * method returns a list of service resources in a resource group.
90
+ * The Services resource is the top-level resource that represents the Azure Database Migration Service
91
+ * (classic). This method returns a list of service resources in a resource group.
92
92
  * @param groupName Name of the resource group
93
93
  * @param options The options parameters.
94
94
  */
@@ -106,7 +106,7 @@ export class ServicesImpl {
106
106
  throw new Error("maxPageSize is not supported by this operation.");
107
107
  }
108
108
  return this.listByResourceGroupPagingPage(groupName, options, settings);
109
- }
109
+ },
110
110
  };
111
111
  }
112
112
  listByResourceGroupPagingPage(groupName, options, settings) {
@@ -150,8 +150,8 @@ export class ServicesImpl {
150
150
  });
151
151
  }
152
152
  /**
153
- * The services resource is the top-level resource that represents the Database Migration Service. This
154
- * method returns a list of service resources in a subscription.
153
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
154
+ * (classic). This method returns a list of service resources in a subscription.
155
155
  * @param options The options parameters.
156
156
  */
157
157
  list(options) {
@@ -168,7 +168,7 @@ export class ServicesImpl {
168
168
  throw new Error("maxPageSize is not supported by this operation.");
169
169
  }
170
170
  return this.listPagingPage(options, settings);
171
- }
171
+ },
172
172
  };
173
173
  }
174
174
  listPagingPage(options, settings) {
@@ -212,13 +212,13 @@ export class ServicesImpl {
212
212
  });
213
213
  }
214
214
  /**
215
- * The services resource is the top-level resource that represents the Database Migration Service. The
216
- * PUT method creates a new service or updates an existing one. When a service is updated, existing
217
- * child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which
218
- * refers to a VM-based service, although other kinds may be added in the future. This method can
219
- * change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the
220
- * service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply
221
- * when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
215
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
216
+ * (classic). The PUT method creates a new service or updates an existing one. When a service is
217
+ * updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single
218
+ * kind, "vm", which refers to a VM-based service, although other kinds may be added in the future.
219
+ * This method can change the kind, SKU, and network of the service, but if tasks are currently running
220
+ * (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will
221
+ * reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
222
222
  * property.
223
223
  * @param groupName Name of the resource group
224
224
  * @param serviceName Name of the service
@@ -229,7 +229,7 @@ export class ServicesImpl {
229
229
  const directSendOperation = async (args, spec) => {
230
230
  return this.client.sendOperationRequest(args, spec);
231
231
  };
232
- const sendOperation = async (args, spec) => {
232
+ const sendOperationFn = async (args, spec) => {
233
233
  var _a;
234
234
  let currentRawResponse = undefined;
235
235
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -244,26 +244,30 @@ export class ServicesImpl {
244
244
  rawResponse: {
245
245
  statusCode: currentRawResponse.status,
246
246
  body: currentRawResponse.parsedBody,
247
- headers: currentRawResponse.headers.toJSON()
248
- }
247
+ headers: currentRawResponse.headers.toJSON(),
248
+ },
249
249
  };
250
250
  };
251
- const lro = new LroImpl(sendOperation, { groupName, serviceName, parameters, options }, createOrUpdateOperationSpec);
252
- const poller = new LroEngine(lro, {
253
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
254
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
251
+ const lro = createLroSpec({
252
+ sendOperationFn,
253
+ args: { groupName, serviceName, parameters, options },
254
+ spec: createOrUpdateOperationSpec,
255
+ });
256
+ const poller = await createHttpPoller(lro, {
257
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
258
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
255
259
  });
256
260
  await poller.poll();
257
261
  return poller;
258
262
  }
259
263
  /**
260
- * The services resource is the top-level resource that represents the Database Migration Service. The
261
- * PUT method creates a new service or updates an existing one. When a service is updated, existing
262
- * child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which
263
- * refers to a VM-based service, although other kinds may be added in the future. This method can
264
- * change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the
265
- * service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply
266
- * when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
264
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
265
+ * (classic). The PUT method creates a new service or updates an existing one. When a service is
266
+ * updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single
267
+ * kind, "vm", which refers to a VM-based service, although other kinds may be added in the future.
268
+ * This method can change the kind, SKU, and network of the service, but if tasks are currently running
269
+ * (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will
270
+ * reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
267
271
  * property.
268
272
  * @param groupName Name of the resource group
269
273
  * @param serviceName Name of the service
@@ -275,8 +279,8 @@ export class ServicesImpl {
275
279
  return poller.pollUntilDone();
276
280
  }
277
281
  /**
278
- * The services resource is the top-level resource that represents the Database Migration Service. The
279
- * GET method retrieves information about a service instance.
282
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
283
+ * (classic). The GET method retrieves information about a service instance.
280
284
  * @param groupName Name of the resource group
281
285
  * @param serviceName Name of the service
282
286
  * @param options The options parameters.
@@ -285,8 +289,8 @@ export class ServicesImpl {
285
289
  return this.client.sendOperationRequest({ groupName, serviceName, options }, getOperationSpec);
286
290
  }
287
291
  /**
288
- * The services resource is the top-level resource that represents the Database Migration Service. The
289
- * DELETE method deletes a service. Any running tasks will be canceled.
292
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
293
+ * (classic). The DELETE method deletes a service. Any running tasks will be canceled.
290
294
  * @param groupName Name of the resource group
291
295
  * @param serviceName Name of the service
292
296
  * @param options The options parameters.
@@ -295,7 +299,7 @@ export class ServicesImpl {
295
299
  const directSendOperation = async (args, spec) => {
296
300
  return this.client.sendOperationRequest(args, spec);
297
301
  };
298
- const sendOperation = async (args, spec) => {
302
+ const sendOperationFn = async (args, spec) => {
299
303
  var _a;
300
304
  let currentRawResponse = undefined;
301
305
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -310,21 +314,25 @@ export class ServicesImpl {
310
314
  rawResponse: {
311
315
  statusCode: currentRawResponse.status,
312
316
  body: currentRawResponse.parsedBody,
313
- headers: currentRawResponse.headers.toJSON()
314
- }
317
+ headers: currentRawResponse.headers.toJSON(),
318
+ },
315
319
  };
316
320
  };
317
- const lro = new LroImpl(sendOperation, { groupName, serviceName, options }, deleteOperationSpec);
318
- const poller = new LroEngine(lro, {
319
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
320
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
321
+ const lro = createLroSpec({
322
+ sendOperationFn,
323
+ args: { groupName, serviceName, options },
324
+ spec: deleteOperationSpec,
325
+ });
326
+ const poller = await createHttpPoller(lro, {
327
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
328
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
321
329
  });
322
330
  await poller.poll();
323
331
  return poller;
324
332
  }
325
333
  /**
326
- * The services resource is the top-level resource that represents the Database Migration Service. The
327
- * DELETE method deletes a service. Any running tasks will be canceled.
334
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
335
+ * (classic). The DELETE method deletes a service. Any running tasks will be canceled.
328
336
  * @param groupName Name of the resource group
329
337
  * @param serviceName Name of the service
330
338
  * @param options The options parameters.
@@ -334,10 +342,10 @@ export class ServicesImpl {
334
342
  return poller.pollUntilDone();
335
343
  }
336
344
  /**
337
- * The services resource is the top-level resource that represents the Database Migration Service. The
338
- * PATCH method updates an existing service. This method can change the kind, SKU, and network of the
339
- * service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad
340
- * Request ("ServiceIsBusy").
345
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
346
+ * (classic). The PATCH method updates an existing service. This method can change the kind, SKU, and
347
+ * network of the service, but if tasks are currently running (i.e. the service is busy), this will
348
+ * fail with 400 Bad Request ("ServiceIsBusy").
341
349
  * @param groupName Name of the resource group
342
350
  * @param serviceName Name of the service
343
351
  * @param parameters Information about the service
@@ -347,7 +355,7 @@ export class ServicesImpl {
347
355
  const directSendOperation = async (args, spec) => {
348
356
  return this.client.sendOperationRequest(args, spec);
349
357
  };
350
- const sendOperation = async (args, spec) => {
358
+ const sendOperationFn = async (args, spec) => {
351
359
  var _a;
352
360
  let currentRawResponse = undefined;
353
361
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -362,23 +370,27 @@ export class ServicesImpl {
362
370
  rawResponse: {
363
371
  statusCode: currentRawResponse.status,
364
372
  body: currentRawResponse.parsedBody,
365
- headers: currentRawResponse.headers.toJSON()
366
- }
373
+ headers: currentRawResponse.headers.toJSON(),
374
+ },
367
375
  };
368
376
  };
369
- const lro = new LroImpl(sendOperation, { groupName, serviceName, parameters, options }, updateOperationSpec);
370
- const poller = new LroEngine(lro, {
371
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
372
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
377
+ const lro = createLroSpec({
378
+ sendOperationFn,
379
+ args: { groupName, serviceName, parameters, options },
380
+ spec: updateOperationSpec,
381
+ });
382
+ const poller = await createHttpPoller(lro, {
383
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
384
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
373
385
  });
374
386
  await poller.poll();
375
387
  return poller;
376
388
  }
377
389
  /**
378
- * The services resource is the top-level resource that represents the Database Migration Service. The
379
- * PATCH method updates an existing service. This method can change the kind, SKU, and network of the
380
- * service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad
381
- * Request ("ServiceIsBusy").
390
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
391
+ * (classic). The PATCH method updates an existing service. This method can change the kind, SKU, and
392
+ * network of the service, but if tasks are currently running (i.e. the service is busy), this will
393
+ * fail with 400 Bad Request ("ServiceIsBusy").
382
394
  * @param groupName Name of the resource group
383
395
  * @param serviceName Name of the service
384
396
  * @param parameters Information about the service
@@ -389,8 +401,9 @@ export class ServicesImpl {
389
401
  return poller.pollUntilDone();
390
402
  }
391
403
  /**
392
- * The services resource is the top-level resource that represents the Database Migration Service. This
393
- * action performs a health check and returns the status of the service and virtual machine size.
404
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
405
+ * (classic). This action performs a health check and returns the status of the service and virtual
406
+ * machine size.
394
407
  * @param groupName Name of the resource group
395
408
  * @param serviceName Name of the service
396
409
  * @param options The options parameters.
@@ -399,8 +412,8 @@ export class ServicesImpl {
399
412
  return this.client.sendOperationRequest({ groupName, serviceName, options }, checkStatusOperationSpec);
400
413
  }
401
414
  /**
402
- * The services resource is the top-level resource that represents the Database Migration Service. This
403
- * action starts the service and the service can be used for data migration.
415
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
416
+ * (classic). This action starts the service and the service can be used for data migration.
404
417
  * @param groupName Name of the resource group
405
418
  * @param serviceName Name of the service
406
419
  * @param options The options parameters.
@@ -409,7 +422,7 @@ export class ServicesImpl {
409
422
  const directSendOperation = async (args, spec) => {
410
423
  return this.client.sendOperationRequest(args, spec);
411
424
  };
412
- const sendOperation = async (args, spec) => {
425
+ const sendOperationFn = async (args, spec) => {
413
426
  var _a;
414
427
  let currentRawResponse = undefined;
415
428
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -424,21 +437,25 @@ export class ServicesImpl {
424
437
  rawResponse: {
425
438
  statusCode: currentRawResponse.status,
426
439
  body: currentRawResponse.parsedBody,
427
- headers: currentRawResponse.headers.toJSON()
428
- }
440
+ headers: currentRawResponse.headers.toJSON(),
441
+ },
429
442
  };
430
443
  };
431
- const lro = new LroImpl(sendOperation, { groupName, serviceName, options }, startOperationSpec);
432
- const poller = new LroEngine(lro, {
433
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
434
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
444
+ const lro = createLroSpec({
445
+ sendOperationFn,
446
+ args: { groupName, serviceName, options },
447
+ spec: startOperationSpec,
448
+ });
449
+ const poller = await createHttpPoller(lro, {
450
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
451
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
435
452
  });
436
453
  await poller.poll();
437
454
  return poller;
438
455
  }
439
456
  /**
440
- * The services resource is the top-level resource that represents the Database Migration Service. This
441
- * action starts the service and the service can be used for data migration.
457
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
458
+ * (classic). This action starts the service and the service can be used for data migration.
442
459
  * @param groupName Name of the resource group
443
460
  * @param serviceName Name of the service
444
461
  * @param options The options parameters.
@@ -448,9 +465,9 @@ export class ServicesImpl {
448
465
  return poller.pollUntilDone();
449
466
  }
450
467
  /**
451
- * The services resource is the top-level resource that represents the Database Migration Service. This
452
- * action stops the service and the service cannot be used for data migration. The service owner won't
453
- * be billed when the service is stopped.
468
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
469
+ * (classic). This action stops the service and the service cannot be used for data migration. The
470
+ * service owner won't be billed when the service is stopped.
454
471
  * @param groupName Name of the resource group
455
472
  * @param serviceName Name of the service
456
473
  * @param options The options parameters.
@@ -459,7 +476,7 @@ export class ServicesImpl {
459
476
  const directSendOperation = async (args, spec) => {
460
477
  return this.client.sendOperationRequest(args, spec);
461
478
  };
462
- const sendOperation = async (args, spec) => {
479
+ const sendOperationFn = async (args, spec) => {
463
480
  var _a;
464
481
  let currentRawResponse = undefined;
465
482
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -474,22 +491,26 @@ export class ServicesImpl {
474
491
  rawResponse: {
475
492
  statusCode: currentRawResponse.status,
476
493
  body: currentRawResponse.parsedBody,
477
- headers: currentRawResponse.headers.toJSON()
478
- }
494
+ headers: currentRawResponse.headers.toJSON(),
495
+ },
479
496
  };
480
497
  };
481
- const lro = new LroImpl(sendOperation, { groupName, serviceName, options }, stopOperationSpec);
482
- const poller = new LroEngine(lro, {
483
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
484
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
498
+ const lro = createLroSpec({
499
+ sendOperationFn,
500
+ args: { groupName, serviceName, options },
501
+ spec: stopOperationSpec,
502
+ });
503
+ const poller = await createHttpPoller(lro, {
504
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
505
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
485
506
  });
486
507
  await poller.poll();
487
508
  return poller;
488
509
  }
489
510
  /**
490
- * The services resource is the top-level resource that represents the Database Migration Service. This
491
- * action stops the service and the service cannot be used for data migration. The service owner won't
492
- * be billed when the service is stopped.
511
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
512
+ * (classic). This action stops the service and the service cannot be used for data migration. The
513
+ * service owner won't be billed when the service is stopped.
493
514
  * @param groupName Name of the resource group
494
515
  * @param serviceName Name of the service
495
516
  * @param options The options parameters.
@@ -499,8 +520,8 @@ export class ServicesImpl {
499
520
  return poller.pollUntilDone();
500
521
  }
501
522
  /**
502
- * The services resource is the top-level resource that represents the Database Migration Service. The
503
- * skus action returns the list of SKUs that a service resource can be updated to.
523
+ * The services resource is the top-level resource that represents the Database Migration Service
524
+ * (classic). The skus action returns the list of SKUs that a service resource can be updated to.
504
525
  * @param groupName Name of the resource group
505
526
  * @param serviceName Name of the service
506
527
  * @param options The options parameters.
@@ -519,8 +540,8 @@ export class ServicesImpl {
519
540
  return this.client.sendOperationRequest({ groupName, serviceName, parameters, options }, checkChildrenNameAvailabilityOperationSpec);
520
541
  }
521
542
  /**
522
- * The Services resource is the top-level resource that represents the Database Migration Service. This
523
- * method returns a list of service resources in a resource group.
543
+ * The Services resource is the top-level resource that represents the Azure Database Migration Service
544
+ * (classic). This method returns a list of service resources in a resource group.
524
545
  * @param groupName Name of the resource group
525
546
  * @param options The options parameters.
526
547
  */
@@ -528,8 +549,8 @@ export class ServicesImpl {
528
549
  return this.client.sendOperationRequest({ groupName, options }, listByResourceGroupOperationSpec);
529
550
  }
530
551
  /**
531
- * The services resource is the top-level resource that represents the Database Migration Service. This
532
- * method returns a list of service resources in a subscription.
552
+ * The services resource is the top-level resource that represents the Azure Database Migration Service
553
+ * (classic). This method returns a list of service resources in a subscription.
533
554
  * @param options The options parameters.
534
555
  */
535
556
  _list(options) {
@@ -579,53 +600,53 @@ const createOrUpdateOperationSpec = {
579
600
  httpMethod: "PUT",
580
601
  responses: {
581
602
  200: {
582
- bodyMapper: Mappers.DataMigrationService
603
+ bodyMapper: Mappers.DataMigrationService,
583
604
  },
584
605
  201: {
585
- bodyMapper: Mappers.DataMigrationService
606
+ bodyMapper: Mappers.DataMigrationService,
586
607
  },
587
608
  202: {
588
- bodyMapper: Mappers.DataMigrationService
609
+ bodyMapper: Mappers.DataMigrationService,
589
610
  },
590
611
  204: {
591
- bodyMapper: Mappers.DataMigrationService
612
+ bodyMapper: Mappers.DataMigrationService,
592
613
  },
593
614
  default: {
594
- bodyMapper: Mappers.ApiError
595
- }
615
+ bodyMapper: Mappers.ApiError,
616
+ },
596
617
  },
597
- requestBody: Parameters.parameters7,
618
+ requestBody: Parameters.parameters11,
598
619
  queryParameters: [Parameters.apiVersion],
599
620
  urlParameters: [
600
621
  Parameters.$host,
601
622
  Parameters.subscriptionId,
602
623
  Parameters.groupName,
603
- Parameters.serviceName
624
+ Parameters.serviceName,
604
625
  ],
605
626
  headerParameters: [Parameters.accept, Parameters.contentType],
606
627
  mediaType: "json",
607
- serializer
628
+ serializer,
608
629
  };
609
630
  const getOperationSpec = {
610
631
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
611
632
  httpMethod: "GET",
612
633
  responses: {
613
634
  200: {
614
- bodyMapper: Mappers.DataMigrationService
635
+ bodyMapper: Mappers.DataMigrationService,
615
636
  },
616
637
  default: {
617
- bodyMapper: Mappers.ApiError
618
- }
638
+ bodyMapper: Mappers.ApiError,
639
+ },
619
640
  },
620
641
  queryParameters: [Parameters.apiVersion],
621
642
  urlParameters: [
622
643
  Parameters.$host,
623
644
  Parameters.subscriptionId,
624
645
  Parameters.groupName,
625
- Parameters.serviceName
646
+ Parameters.serviceName,
626
647
  ],
627
648
  headerParameters: [Parameters.accept],
628
- serializer
649
+ serializer,
629
650
  };
630
651
  const deleteOperationSpec = {
631
652
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
@@ -636,71 +657,71 @@ const deleteOperationSpec = {
636
657
  202: {},
637
658
  204: {},
638
659
  default: {
639
- bodyMapper: Mappers.ApiError
640
- }
660
+ bodyMapper: Mappers.ApiError,
661
+ },
641
662
  },
642
663
  queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],
643
664
  urlParameters: [
644
665
  Parameters.$host,
645
666
  Parameters.subscriptionId,
646
667
  Parameters.groupName,
647
- Parameters.serviceName
668
+ Parameters.serviceName,
648
669
  ],
649
670
  headerParameters: [Parameters.accept],
650
- serializer
671
+ serializer,
651
672
  };
652
673
  const updateOperationSpec = {
653
674
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
654
675
  httpMethod: "PATCH",
655
676
  responses: {
656
677
  200: {
657
- bodyMapper: Mappers.DataMigrationService
678
+ bodyMapper: Mappers.DataMigrationService,
658
679
  },
659
680
  201: {
660
- bodyMapper: Mappers.DataMigrationService
681
+ bodyMapper: Mappers.DataMigrationService,
661
682
  },
662
683
  202: {
663
- bodyMapper: Mappers.DataMigrationService
684
+ bodyMapper: Mappers.DataMigrationService,
664
685
  },
665
686
  204: {
666
- bodyMapper: Mappers.DataMigrationService
687
+ bodyMapper: Mappers.DataMigrationService,
667
688
  },
668
689
  default: {
669
- bodyMapper: Mappers.ApiError
670
- }
690
+ bodyMapper: Mappers.ApiError,
691
+ },
671
692
  },
672
- requestBody: Parameters.parameters7,
693
+ requestBody: Parameters.parameters11,
673
694
  queryParameters: [Parameters.apiVersion],
674
695
  urlParameters: [
675
696
  Parameters.$host,
676
697
  Parameters.subscriptionId,
677
698
  Parameters.groupName,
678
- Parameters.serviceName
699
+ Parameters.serviceName,
679
700
  ],
680
701
  headerParameters: [Parameters.accept, Parameters.contentType],
681
702
  mediaType: "json",
682
- serializer
703
+ serializer,
683
704
  };
684
705
  const checkStatusOperationSpec = {
685
706
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus",
686
707
  httpMethod: "POST",
687
708
  responses: {
688
709
  200: {
689
- bodyMapper: Mappers.DataMigrationServiceStatusResponse
710
+ bodyMapper: Mappers.DataMigrationServiceStatusResponse,
690
711
  },
691
712
  default: {
692
- bodyMapper: Mappers.ApiError
693
- }
713
+ bodyMapper: Mappers.ApiError,
714
+ },
694
715
  },
695
716
  queryParameters: [Parameters.apiVersion],
696
717
  urlParameters: [
697
718
  Parameters.$host,
698
719
  Parameters.subscriptionId,
699
720
  Parameters.groupName,
700
- Parameters.serviceName
721
+ Parameters.serviceName,
701
722
  ],
702
723
  headerParameters: [Parameters.accept],
703
- serializer
724
+ serializer,
704
725
  };
705
726
  const startOperationSpec = {
706
727
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start",
@@ -711,18 +732,18 @@ const startOperationSpec = {
711
732
  202: {},
712
733
  204: {},
713
734
  default: {
714
- bodyMapper: Mappers.ApiError
715
- }
735
+ bodyMapper: Mappers.ApiError,
736
+ },
716
737
  },
717
738
  queryParameters: [Parameters.apiVersion],
718
739
  urlParameters: [
719
740
  Parameters.$host,
720
741
  Parameters.subscriptionId,
721
742
  Parameters.groupName,
722
- Parameters.serviceName
743
+ Parameters.serviceName,
723
744
  ],
724
745
  headerParameters: [Parameters.accept],
725
- serializer
746
+ serializer,
726
747
  };
727
748
  const stopOperationSpec = {
728
749
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop",
@@ -733,182 +754,179 @@ const stopOperationSpec = {
733
754
  202: {},
734
755
  204: {},
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 listSkusOperationSpec = {
750
771
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus",
751
772
  httpMethod: "GET",
752
773
  responses: {
753
774
  200: {
754
- bodyMapper: Mappers.ServiceSkuList
775
+ bodyMapper: Mappers.ServiceSkuList,
755
776
  },
756
777
  default: {
757
- bodyMapper: Mappers.ApiError
758
- }
778
+ bodyMapper: Mappers.ApiError,
779
+ },
759
780
  },
760
781
  queryParameters: [Parameters.apiVersion],
761
782
  urlParameters: [
762
783
  Parameters.$host,
763
784
  Parameters.subscriptionId,
764
785
  Parameters.groupName,
765
- Parameters.serviceName
786
+ Parameters.serviceName,
766
787
  ],
767
788
  headerParameters: [Parameters.accept],
768
- serializer
789
+ serializer,
769
790
  };
770
791
  const checkChildrenNameAvailabilityOperationSpec = {
771
792
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability",
772
793
  httpMethod: "POST",
773
794
  responses: {
774
795
  200: {
775
- bodyMapper: Mappers.NameAvailabilityResponse
796
+ bodyMapper: Mappers.NameAvailabilityResponse,
776
797
  },
777
798
  default: {
778
- bodyMapper: Mappers.ApiError
779
- }
799
+ bodyMapper: Mappers.ApiError,
800
+ },
780
801
  },
781
- requestBody: Parameters.parameters8,
802
+ requestBody: Parameters.parameters12,
782
803
  queryParameters: [Parameters.apiVersion],
783
804
  urlParameters: [
784
805
  Parameters.$host,
785
806
  Parameters.subscriptionId,
786
807
  Parameters.groupName,
787
- Parameters.serviceName
808
+ Parameters.serviceName,
788
809
  ],
789
810
  headerParameters: [Parameters.accept, Parameters.contentType],
790
811
  mediaType: "json",
791
- serializer
812
+ serializer,
792
813
  };
793
814
  const listByResourceGroupOperationSpec = {
794
815
  path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services",
795
816
  httpMethod: "GET",
796
817
  responses: {
797
818
  200: {
798
- bodyMapper: Mappers.DataMigrationServiceList
819
+ bodyMapper: Mappers.DataMigrationServiceList,
799
820
  },
800
821
  default: {
801
- bodyMapper: Mappers.ApiError
802
- }
822
+ bodyMapper: Mappers.ApiError,
823
+ },
803
824
  },
804
825
  queryParameters: [Parameters.apiVersion],
805
826
  urlParameters: [
806
827
  Parameters.$host,
807
828
  Parameters.subscriptionId,
808
- Parameters.groupName
829
+ Parameters.groupName,
809
830
  ],
810
831
  headerParameters: [Parameters.accept],
811
- serializer
832
+ serializer,
812
833
  };
813
834
  const listOperationSpec = {
814
835
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services",
815
836
  httpMethod: "GET",
816
837
  responses: {
817
838
  200: {
818
- bodyMapper: Mappers.DataMigrationServiceList
839
+ bodyMapper: Mappers.DataMigrationServiceList,
819
840
  },
820
841
  default: {
821
- bodyMapper: Mappers.ApiError
822
- }
842
+ bodyMapper: Mappers.ApiError,
843
+ },
823
844
  },
824
845
  queryParameters: [Parameters.apiVersion],
825
846
  urlParameters: [Parameters.$host, Parameters.subscriptionId],
826
847
  headerParameters: [Parameters.accept],
827
- serializer
848
+ serializer,
828
849
  };
829
850
  const checkNameAvailabilityOperationSpec = {
830
851
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability",
831
852
  httpMethod: "POST",
832
853
  responses: {
833
854
  200: {
834
- bodyMapper: Mappers.NameAvailabilityResponse
855
+ bodyMapper: Mappers.NameAvailabilityResponse,
835
856
  },
836
857
  default: {
837
- bodyMapper: Mappers.ApiError
838
- }
858
+ bodyMapper: Mappers.ApiError,
859
+ },
839
860
  },
840
- requestBody: Parameters.parameters8,
861
+ requestBody: Parameters.parameters12,
841
862
  queryParameters: [Parameters.apiVersion],
842
863
  urlParameters: [
843
864
  Parameters.$host,
844
865
  Parameters.subscriptionId,
845
- Parameters.location
866
+ Parameters.location,
846
867
  ],
847
868
  headerParameters: [Parameters.accept, Parameters.contentType],
848
869
  mediaType: "json",
849
- serializer
870
+ serializer,
850
871
  };
851
872
  const listSkusNextOperationSpec = {
852
873
  path: "{nextLink}",
853
874
  httpMethod: "GET",
854
875
  responses: {
855
876
  200: {
856
- bodyMapper: Mappers.ServiceSkuList
877
+ bodyMapper: Mappers.ServiceSkuList,
857
878
  },
858
879
  default: {
859
- bodyMapper: Mappers.ApiError
860
- }
880
+ bodyMapper: Mappers.ApiError,
881
+ },
861
882
  },
862
- queryParameters: [Parameters.apiVersion],
863
883
  urlParameters: [
864
884
  Parameters.$host,
865
885
  Parameters.subscriptionId,
866
886
  Parameters.nextLink,
867
887
  Parameters.groupName,
868
- Parameters.serviceName
888
+ Parameters.serviceName,
869
889
  ],
870
890
  headerParameters: [Parameters.accept],
871
- serializer
891
+ serializer,
872
892
  };
873
893
  const listByResourceGroupNextOperationSpec = {
874
894
  path: "{nextLink}",
875
895
  httpMethod: "GET",
876
896
  responses: {
877
897
  200: {
878
- bodyMapper: Mappers.DataMigrationServiceList
898
+ bodyMapper: Mappers.DataMigrationServiceList,
879
899
  },
880
900
  default: {
881
- bodyMapper: Mappers.ApiError
882
- }
901
+ bodyMapper: Mappers.ApiError,
902
+ },
883
903
  },
884
- queryParameters: [Parameters.apiVersion],
885
904
  urlParameters: [
886
905
  Parameters.$host,
887
906
  Parameters.subscriptionId,
888
907
  Parameters.nextLink,
889
- Parameters.groupName
908
+ Parameters.groupName,
890
909
  ],
891
910
  headerParameters: [Parameters.accept],
892
- serializer
911
+ serializer,
893
912
  };
894
913
  const listNextOperationSpec = {
895
914
  path: "{nextLink}",
896
915
  httpMethod: "GET",
897
916
  responses: {
898
917
  200: {
899
- bodyMapper: Mappers.DataMigrationServiceList
918
+ bodyMapper: Mappers.DataMigrationServiceList,
900
919
  },
901
920
  default: {
902
- bodyMapper: Mappers.ApiError
903
- }
921
+ bodyMapper: Mappers.ApiError,
922
+ },
904
923
  },
905
- queryParameters: [Parameters.apiVersion],
906
924
  urlParameters: [
907
925
  Parameters.$host,
908
926
  Parameters.subscriptionId,
909
- Parameters.nextLink
927
+ Parameters.nextLink,
910
928
  ],
911
929
  headerParameters: [Parameters.accept],
912
- serializer
930
+ serializer,
913
931
  };
914
932
  //# sourceMappingURL=services.js.map