@azure/arm-datamigration 2.1.0 → 3.0.0-alpha.20220201.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (450) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +16801 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts +2 -0
  9. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js +65 -0
  11. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js.map +1 -0
  12. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts +2 -0
  13. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js +65 -0
  15. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js.map +1 -0
  16. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts +2 -0
  17. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js +32 -0
  19. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js.map +1 -0
  20. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts +2 -0
  21. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js +32 -0
  23. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js.map +1 -0
  24. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts +2 -0
  25. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js +35 -0
  27. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js.map +1 -0
  28. package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts +2 -0
  29. package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/deleteSqlMigrationService.js +31 -0
  31. package/dist-esm/samples-dev/deleteSqlMigrationService.js.map +1 -0
  32. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts +2 -0
  33. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js +35 -0
  35. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js.map +1 -0
  36. package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts +2 -0
  37. package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/filesCreateOrUpdate.js +36 -0
  39. package/dist-esm/samples-dev/filesCreateOrUpdate.js.map +1 -0
  40. package/dist-esm/samples-dev/filesDelete.d.ts +2 -0
  41. package/dist-esm/samples-dev/filesDelete.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/filesDelete.js +33 -0
  43. package/dist-esm/samples-dev/filesDelete.js.map +1 -0
  44. package/dist-esm/samples-dev/filesList.d.ts +2 -0
  45. package/dist-esm/samples-dev/filesList.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/filesList.js +33 -0
  47. package/dist-esm/samples-dev/filesList.js.map +1 -0
  48. package/dist-esm/samples-dev/filesUpdate.d.ts +2 -0
  49. package/dist-esm/samples-dev/filesUpdate.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/filesUpdate.js +36 -0
  51. package/dist-esm/samples-dev/filesUpdate.js.map +1 -0
  52. package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts +2 -0
  53. package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/getDatabaseMigrationResource.js +32 -0
  55. package/dist-esm/samples-dev/getDatabaseMigrationResource.js.map +1 -0
  56. package/dist-esm/samples-dev/getMigrationService.d.ts +2 -0
  57. package/dist-esm/samples-dev/getMigrationService.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/getMigrationService.js +31 -0
  59. package/dist-esm/samples-dev/getMigrationService.js.map +1 -0
  60. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts +2 -0
  61. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js +44 -0
  63. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js.map +1 -0
  64. package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts +2 -0
  65. package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/getServicesInTheSubscriptions.js +43 -0
  67. package/dist-esm/samples-dev/getServicesInTheSubscriptions.js.map +1 -0
  68. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts +2 -0
  69. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js +45 -0
  71. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js.map +1 -0
  72. package/dist-esm/samples-dev/listSkus.d.ts +2 -0
  73. package/dist-esm/samples-dev/listSkus.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/listSkus.js +43 -0
  75. package/dist-esm/samples-dev/listSkus.js.map +1 -0
  76. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts +2 -0
  77. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js +43 -0
  79. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js.map +1 -0
  80. package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts +2 -0
  81. package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/projectsCreateOrUpdate.js +37 -0
  83. package/dist-esm/samples-dev/projectsCreateOrUpdate.js.map +1 -0
  84. package/dist-esm/samples-dev/projectsDelete.d.ts +2 -0
  85. package/dist-esm/samples-dev/projectsDelete.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/projectsDelete.js +32 -0
  87. package/dist-esm/samples-dev/projectsDelete.js.map +1 -0
  88. package/dist-esm/samples-dev/projectsGet.d.ts +2 -0
  89. package/dist-esm/samples-dev/projectsGet.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/projectsGet.js +32 -0
  91. package/dist-esm/samples-dev/projectsGet.js.map +1 -0
  92. package/dist-esm/samples-dev/projectsList.d.ts +2 -0
  93. package/dist-esm/samples-dev/projectsList.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/projectsList.js +45 -0
  95. package/dist-esm/samples-dev/projectsList.js.map +1 -0
  96. package/dist-esm/samples-dev/projectsUpdate.d.ts +2 -0
  97. package/dist-esm/samples-dev/projectsUpdate.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/projectsUpdate.js +37 -0
  99. package/dist-esm/samples-dev/projectsUpdate.js.map +1 -0
  100. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts +2 -0
  101. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js +32 -0
  103. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js.map +1 -0
  104. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts +2 -0
  105. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js +31 -0
  107. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js.map +1 -0
  108. package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts +2 -0
  109. package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/retrieveTheMonitoringData.js +31 -0
  111. package/dist-esm/samples-dev/retrieveTheMonitoringData.js.map +1 -0
  112. package/dist-esm/samples-dev/serviceTasksList.d.ts +2 -0
  113. package/dist-esm/samples-dev/serviceTasksList.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/serviceTasksList.js +45 -0
  115. package/dist-esm/samples-dev/serviceTasksList.js.map +1 -0
  116. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts +2 -0
  117. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js +32 -0
  119. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js.map +1 -0
  120. package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts +2 -0
  121. package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/servicesCheckNameAvailability.js +34 -0
  123. package/dist-esm/samples-dev/servicesCheckNameAvailability.js.map +1 -0
  124. package/dist-esm/samples-dev/servicesCheckStatus.d.ts +2 -0
  125. package/dist-esm/samples-dev/servicesCheckStatus.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/servicesCheckStatus.js +31 -0
  127. package/dist-esm/samples-dev/servicesCheckStatus.js.map +1 -0
  128. package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts +2 -0
  129. package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts.map +1 -0
  130. package/dist-esm/samples-dev/servicesCreateOrUpdate.js +35 -0
  131. package/dist-esm/samples-dev/servicesCreateOrUpdate.js.map +1 -0
  132. package/dist-esm/samples-dev/servicesList.d.ts +2 -0
  133. package/dist-esm/samples-dev/servicesList.d.ts.map +1 -0
  134. package/dist-esm/samples-dev/servicesList.js +43 -0
  135. package/dist-esm/samples-dev/servicesList.js.map +1 -0
  136. package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts +2 -0
  137. package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts.map +1 -0
  138. package/dist-esm/samples-dev/servicesListByResourceGroup.js +44 -0
  139. package/dist-esm/samples-dev/servicesListByResourceGroup.js.map +1 -0
  140. package/dist-esm/samples-dev/servicesListSkus.d.ts +2 -0
  141. package/dist-esm/samples-dev/servicesListSkus.d.ts.map +1 -0
  142. package/dist-esm/samples-dev/servicesListSkus.js +45 -0
  143. package/dist-esm/samples-dev/servicesListSkus.js.map +1 -0
  144. package/dist-esm/samples-dev/servicesStart.d.ts +2 -0
  145. package/dist-esm/samples-dev/servicesStart.d.ts.map +1 -0
  146. package/dist-esm/samples-dev/servicesStart.js +31 -0
  147. package/dist-esm/samples-dev/servicesStart.js.map +1 -0
  148. package/dist-esm/samples-dev/servicesStop.d.ts +2 -0
  149. package/dist-esm/samples-dev/servicesStop.d.ts.map +1 -0
  150. package/dist-esm/samples-dev/servicesStop.js +31 -0
  151. package/dist-esm/samples-dev/servicesStop.js.map +1 -0
  152. package/dist-esm/samples-dev/servicesUsages.d.ts +2 -0
  153. package/dist-esm/samples-dev/servicesUsages.d.ts.map +1 -0
  154. package/dist-esm/samples-dev/servicesUsages.js +44 -0
  155. package/dist-esm/samples-dev/servicesUsages.js.map +1 -0
  156. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts +2 -0
  157. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts.map +1 -0
  158. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js +35 -0
  159. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js.map +1 -0
  160. package/dist-esm/samples-dev/tasksCancel.d.ts +2 -0
  161. package/dist-esm/samples-dev/tasksCancel.d.ts.map +1 -0
  162. package/dist-esm/samples-dev/tasksCancel.js +32 -0
  163. package/dist-esm/samples-dev/tasksCancel.js.map +1 -0
  164. package/dist-esm/samples-dev/tasksCommand.d.ts +2 -0
  165. package/dist-esm/samples-dev/tasksCommand.d.ts.map +1 -0
  166. package/dist-esm/samples-dev/tasksCommand.js +37 -0
  167. package/dist-esm/samples-dev/tasksCommand.js.map +1 -0
  168. package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts +2 -0
  169. package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts.map +1 -0
  170. package/dist-esm/samples-dev/tasksCreateOrUpdate.js +38 -0
  171. package/dist-esm/samples-dev/tasksCreateOrUpdate.js.map +1 -0
  172. package/dist-esm/samples-dev/tasksDelete.d.ts +2 -0
  173. package/dist-esm/samples-dev/tasksDelete.d.ts.map +1 -0
  174. package/dist-esm/samples-dev/tasksDelete.js +32 -0
  175. package/dist-esm/samples-dev/tasksDelete.js.map +1 -0
  176. package/dist-esm/samples-dev/tasksGet.d.ts +2 -0
  177. package/dist-esm/samples-dev/tasksGet.d.ts.map +1 -0
  178. package/dist-esm/samples-dev/tasksGet.js +32 -0
  179. package/dist-esm/samples-dev/tasksGet.js.map +1 -0
  180. package/dist-esm/samples-dev/tasksList.d.ts +2 -0
  181. package/dist-esm/samples-dev/tasksList.d.ts.map +1 -0
  182. package/dist-esm/samples-dev/tasksList.js +46 -0
  183. package/dist-esm/samples-dev/tasksList.js.map +1 -0
  184. package/dist-esm/samples-dev/tasksUpdate.d.ts +2 -0
  185. package/dist-esm/samples-dev/tasksUpdate.d.ts.map +1 -0
  186. package/dist-esm/samples-dev/tasksUpdate.js +38 -0
  187. package/dist-esm/samples-dev/tasksUpdate.js.map +1 -0
  188. package/dist-esm/samples-dev/updateSqlMigrationService.d.ts +2 -0
  189. package/dist-esm/samples-dev/updateSqlMigrationService.d.ts.map +1 -0
  190. package/dist-esm/samples-dev/updateSqlMigrationService.js +32 -0
  191. package/dist-esm/samples-dev/updateSqlMigrationService.js.map +1 -0
  192. package/dist-esm/src/dataMigrationManagementClient.d.ts +28 -0
  193. package/dist-esm/src/dataMigrationManagementClient.d.ts.map +1 -0
  194. package/dist-esm/src/dataMigrationManagementClient.js +61 -0
  195. package/dist-esm/src/dataMigrationManagementClient.js.map +1 -0
  196. package/dist-esm/src/index.d.ts +5 -0
  197. package/dist-esm/src/index.d.ts.map +1 -0
  198. package/dist-esm/src/index.js +12 -0
  199. package/dist-esm/src/index.js.map +1 -0
  200. package/dist-esm/src/lroImpl.d.ts +16 -0
  201. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  202. package/dist-esm/src/lroImpl.js +29 -0
  203. package/dist-esm/src/lroImpl.js.map +1 -0
  204. package/dist-esm/src/models/index.d.ts +7238 -0
  205. package/dist-esm/src/models/index.d.ts.map +1 -0
  206. package/dist-esm/src/models/index.js +534 -0
  207. package/dist-esm/src/models/index.js.map +1 -0
  208. package/dist-esm/src/models/mappers.d.ts +434 -0
  209. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  210. package/{esm → dist-esm/src}/models/mappers.js +7803 -6204
  211. package/dist-esm/src/models/mappers.js.map +1 -0
  212. package/dist-esm/src/models/parameters.d.ts +36 -0
  213. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  214. package/dist-esm/src/models/parameters.js +272 -0
  215. package/dist-esm/src/models/parameters.js.map +1 -0
  216. package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts +83 -0
  217. package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts.map +1 -0
  218. package/dist-esm/src/operations/databaseMigrationsSqlMi.js +309 -0
  219. package/dist-esm/src/operations/databaseMigrationsSqlMi.js.map +1 -0
  220. package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts +83 -0
  221. package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts.map +1 -0
  222. package/dist-esm/src/operations/databaseMigrationsSqlVm.js +309 -0
  223. package/dist-esm/src/operations/databaseMigrationsSqlVm.js.map +1 -0
  224. package/dist-esm/src/operations/files.d.ts +101 -0
  225. package/dist-esm/src/operations/files.d.ts.map +1 -0
  226. package/dist-esm/src/operations/files.js +358 -0
  227. package/dist-esm/src/operations/files.js.map +1 -0
  228. package/{esm → dist-esm/src}/operations/index.d.ts +4 -1
  229. package/dist-esm/src/operations/index.d.ts.map +1 -0
  230. package/dist-esm/src/operations/index.js +19 -0
  231. package/dist-esm/src/operations/index.js.map +1 -0
  232. package/dist-esm/src/operations/operations.d.ts +32 -0
  233. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  234. package/dist-esm/src/operations/operations.js +116 -0
  235. package/dist-esm/src/operations/operations.js.map +1 -0
  236. package/dist-esm/src/operations/projects.d.ts +78 -0
  237. package/dist-esm/src/operations/projects.d.ts.map +1 -0
  238. package/dist-esm/src/operations/projects.js +279 -0
  239. package/dist-esm/src/operations/projects.js.map +1 -0
  240. package/dist-esm/src/operations/resourceSkus.d.ts +32 -0
  241. package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -0
  242. package/dist-esm/src/operations/resourceSkus.js +124 -0
  243. package/dist-esm/src/operations/resourceSkus.js.map +1 -0
  244. package/dist-esm/src/operations/serviceTasks.d.ts +91 -0
  245. package/dist-esm/src/operations/serviceTasks.d.ts.map +1 -0
  246. package/dist-esm/src/operations/serviceTasks.js +316 -0
  247. package/dist-esm/src/operations/serviceTasks.js.map +1 -0
  248. package/dist-esm/src/operations/services.d.ts +217 -0
  249. package/dist-esm/src/operations/services.d.ts.map +1 -0
  250. package/dist-esm/src/operations/services.js +884 -0
  251. package/dist-esm/src/operations/services.js.map +1 -0
  252. package/dist-esm/src/operations/sqlMigrationServices.d.ts +178 -0
  253. package/dist-esm/src/operations/sqlMigrationServices.d.ts.map +1 -0
  254. package/dist-esm/src/operations/sqlMigrationServices.js +720 -0
  255. package/dist-esm/src/operations/sqlMigrationServices.js.map +1 -0
  256. package/dist-esm/src/operations/tasks.d.ts +110 -0
  257. package/dist-esm/src/operations/tasks.d.ts.map +1 -0
  258. package/dist-esm/src/operations/tasks.js +369 -0
  259. package/dist-esm/src/operations/tasks.js.map +1 -0
  260. package/dist-esm/src/operations/usages.d.ts +37 -0
  261. package/dist-esm/src/operations/usages.d.ts.map +1 -0
  262. package/dist-esm/src/operations/usages.js +134 -0
  263. package/dist-esm/src/operations/usages.js.map +1 -0
  264. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts +75 -0
  265. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -0
  266. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js +9 -0
  267. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -0
  268. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts +75 -0
  269. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -0
  270. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js +9 -0
  271. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -0
  272. package/dist-esm/src/operationsInterfaces/files.d.ts +73 -0
  273. package/dist-esm/src/operationsInterfaces/files.d.ts.map +1 -0
  274. package/dist-esm/src/operationsInterfaces/files.js +9 -0
  275. package/dist-esm/src/operationsInterfaces/files.js.map +1 -0
  276. package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
  277. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  278. package/dist-esm/src/operationsInterfaces/index.js +19 -0
  279. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  280. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  281. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  282. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  283. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  284. package/dist-esm/src/operationsInterfaces/projects.d.ts +52 -0
  285. package/dist-esm/src/operationsInterfaces/projects.d.ts.map +1 -0
  286. package/dist-esm/src/operationsInterfaces/projects.js +9 -0
  287. package/dist-esm/src/operationsInterfaces/projects.js.map +1 -0
  288. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts +11 -0
  289. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts.map +1 -0
  290. package/dist-esm/src/operationsInterfaces/resourceSkus.js +9 -0
  291. package/dist-esm/src/operationsInterfaces/resourceSkus.js.map +1 -0
  292. package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts +64 -0
  293. package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts.map +1 -0
  294. package/dist-esm/src/operationsInterfaces/serviceTasks.js +9 -0
  295. package/dist-esm/src/operationsInterfaces/serviceTasks.js.map +1 -0
  296. package/dist-esm/src/operationsInterfaces/services.d.ts +161 -0
  297. package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
  298. package/dist-esm/src/operationsInterfaces/services.js +9 -0
  299. package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
  300. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts +121 -0
  301. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -0
  302. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js +9 -0
  303. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js.map +1 -0
  304. package/dist-esm/src/operationsInterfaces/tasks.d.ts +81 -0
  305. package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
  306. package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
  307. package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
  308. package/dist-esm/src/operationsInterfaces/usages.d.ts +13 -0
  309. package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
  310. package/dist-esm/src/operationsInterfaces/usages.js +9 -0
  311. package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
  312. package/dist-esm/test/sampleTest.d.ts +2 -0
  313. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  314. package/dist-esm/test/sampleTest.js +40 -0
  315. package/dist-esm/test/sampleTest.js.map +1 -0
  316. package/package.json +82 -23
  317. package/review/arm-datamigration.api.md +4412 -0
  318. package/rollup.config.js +181 -30
  319. package/src/dataMigrationManagementClient.ts +119 -0
  320. package/src/index.ts +12 -0
  321. package/src/lroImpl.ts +34 -0
  322. package/src/models/index.ts +6252 -7473
  323. package/src/models/mappers.ts +8147 -6279
  324. package/src/models/parameters.ts +230 -54
  325. package/src/operations/databaseMigrationsSqlMi.ts +453 -0
  326. package/src/operations/databaseMigrationsSqlVm.ts +453 -0
  327. package/src/operations/files.ts +283 -368
  328. package/src/operations/index.ts +7 -6
  329. package/src/operations/operations.ts +93 -85
  330. package/src/operations/projects.ts +222 -275
  331. package/src/operations/resourceSkus.ts +92 -78
  332. package/src/operations/serviceTasks.ts +244 -321
  333. package/src/operations/services.ts +887 -647
  334. package/src/operations/sqlMigrationServices.ts +986 -0
  335. package/src/operations/tasks.ts +303 -397
  336. package/src/operations/usages.ts +110 -85
  337. package/src/operationsInterfaces/databaseMigrationsSqlMi.ts +138 -0
  338. package/src/operationsInterfaces/databaseMigrationsSqlVm.ts +138 -0
  339. package/src/operationsInterfaces/files.ts +139 -0
  340. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +8 -7
  341. package/src/operationsInterfaces/operations.ts +22 -0
  342. package/src/operationsInterfaces/projects.ts +97 -0
  343. package/src/operationsInterfaces/resourceSkus.ts +22 -0
  344. package/src/operationsInterfaces/serviceTasks.ts +116 -0
  345. package/src/operationsInterfaces/services.ts +272 -0
  346. package/src/operationsInterfaces/sqlMigrationServices.ts +223 -0
  347. package/src/operationsInterfaces/tasks.ts +149 -0
  348. package/src/operationsInterfaces/usages.ts +25 -0
  349. package/tsconfig.json +5 -4
  350. package/types/arm-datamigration.d.ts +8549 -0
  351. package/types/tsdoc-metadata.json +11 -0
  352. package/dist/arm-datamigration.js +0 -14012
  353. package/dist/arm-datamigration.js.map +0 -1
  354. package/dist/arm-datamigration.min.js +0 -1
  355. package/dist/arm-datamigration.min.js.map +0 -1
  356. package/esm/dataMigrationServiceClient.d.ts +0 -31
  357. package/esm/dataMigrationServiceClient.d.ts.map +0 -1
  358. package/esm/dataMigrationServiceClient.js +0 -45
  359. package/esm/dataMigrationServiceClient.js.map +0 -1
  360. package/esm/dataMigrationServiceClientContext.d.ts +0 -22
  361. package/esm/dataMigrationServiceClientContext.d.ts.map +0 -1
  362. package/esm/dataMigrationServiceClientContext.js +0 -61
  363. package/esm/dataMigrationServiceClientContext.js.map +0 -1
  364. package/esm/models/filesMappers.d.ts +0 -2
  365. package/esm/models/filesMappers.d.ts.map +0 -1
  366. package/esm/models/filesMappers.js +0 -9
  367. package/esm/models/filesMappers.js.map +0 -1
  368. package/esm/models/index.d.ts +0 -8920
  369. package/esm/models/index.d.ts.map +0 -1
  370. package/esm/models/index.js +0 -8
  371. package/esm/models/index.js.map +0 -1
  372. package/esm/models/mappers.d.ts +0 -374
  373. package/esm/models/mappers.d.ts.map +0 -1
  374. package/esm/models/mappers.js.map +0 -1
  375. package/esm/models/operationsMappers.d.ts +0 -2
  376. package/esm/models/operationsMappers.d.ts.map +0 -1
  377. package/esm/models/operationsMappers.js +0 -9
  378. package/esm/models/operationsMappers.js.map +0 -1
  379. package/esm/models/parameters.d.ts +0 -15
  380. package/esm/models/parameters.d.ts.map +0 -1
  381. package/esm/models/parameters.js +0 -147
  382. package/esm/models/parameters.js.map +0 -1
  383. package/esm/models/projectsMappers.d.ts +0 -2
  384. package/esm/models/projectsMappers.d.ts.map +0 -1
  385. package/esm/models/projectsMappers.js +0 -9
  386. package/esm/models/projectsMappers.js.map +0 -1
  387. package/esm/models/resourceSkusMappers.d.ts +0 -2
  388. package/esm/models/resourceSkusMappers.d.ts.map +0 -1
  389. package/esm/models/resourceSkusMappers.js +0 -9
  390. package/esm/models/resourceSkusMappers.js.map +0 -1
  391. package/esm/models/serviceTasksMappers.d.ts +0 -2
  392. package/esm/models/serviceTasksMappers.d.ts.map +0 -1
  393. package/esm/models/serviceTasksMappers.js +0 -9
  394. package/esm/models/serviceTasksMappers.js.map +0 -1
  395. package/esm/models/servicesMappers.d.ts +0 -2
  396. package/esm/models/servicesMappers.d.ts.map +0 -1
  397. package/esm/models/servicesMappers.js +0 -9
  398. package/esm/models/servicesMappers.js.map +0 -1
  399. package/esm/models/tasksMappers.d.ts +0 -2
  400. package/esm/models/tasksMappers.d.ts.map +0 -1
  401. package/esm/models/tasksMappers.js +0 -9
  402. package/esm/models/tasksMappers.js.map +0 -1
  403. package/esm/models/usagesMappers.d.ts +0 -2
  404. package/esm/models/usagesMappers.d.ts.map +0 -1
  405. package/esm/models/usagesMappers.js +0 -9
  406. package/esm/models/usagesMappers.js.map +0 -1
  407. package/esm/operations/files.d.ts +0 -235
  408. package/esm/operations/files.d.ts.map +0 -1
  409. package/esm/operations/files.js +0 -309
  410. package/esm/operations/files.js.map +0 -1
  411. package/esm/operations/index.d.ts.map +0 -1
  412. package/esm/operations/index.js.map +0 -1
  413. package/esm/operations/operations.d.ts +0 -48
  414. package/esm/operations/operations.d.ts.map +0 -1
  415. package/esm/operations/operations.js +0 -77
  416. package/esm/operations/operations.js.map +0 -1
  417. package/esm/operations/projects.d.ts +0 -166
  418. package/esm/operations/projects.d.ts.map +0 -1
  419. package/esm/operations/projects.js +0 -230
  420. package/esm/operations/projects.js.map +0 -1
  421. package/esm/operations/resourceSkus.d.ts +0 -48
  422. package/esm/operations/resourceSkus.d.ts.map +0 -1
  423. package/esm/operations/resourceSkus.js +0 -80
  424. package/esm/operations/resourceSkus.js.map +0 -1
  425. package/esm/operations/serviceTasks.d.ts +0 -199
  426. package/esm/operations/serviceTasks.d.ts.map +0 -1
  427. package/esm/operations/serviceTasks.js +0 -265
  428. package/esm/operations/serviceTasks.js.map +0 -1
  429. package/esm/operations/services.d.ts +0 -350
  430. package/esm/operations/services.d.ts.map +0 -1
  431. package/esm/operations/services.js +0 -626
  432. package/esm/operations/services.js.map +0 -1
  433. package/esm/operations/tasks.d.ts +0 -246
  434. package/esm/operations/tasks.d.ts.map +0 -1
  435. package/esm/operations/tasks.js +0 -317
  436. package/esm/operations/tasks.js.map +0 -1
  437. package/esm/operations/usages.d.ts +0 -53
  438. package/esm/operations/usages.d.ts.map +0 -1
  439. package/esm/operations/usages.js +0 -82
  440. package/esm/operations/usages.js.map +0 -1
  441. package/src/dataMigrationServiceClient.ts +0 -62
  442. package/src/dataMigrationServiceClientContext.ts +0 -68
  443. package/src/models/filesMappers.ts +0 -235
  444. package/src/models/operationsMappers.ts +0 -16
  445. package/src/models/projectsMappers.ts +0 -234
  446. package/src/models/resourceSkusMappers.ts +0 -19
  447. package/src/models/serviceTasksMappers.ts +0 -234
  448. package/src/models/servicesMappers.ts +0 -241
  449. package/src/models/tasksMappers.ts +0 -234
  450. package/src/models/usagesMappers.ts +0 -16
@@ -1,386 +1,316 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
5
4
  *
6
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9
7
  */
10
8
 
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Models from "../models";
13
- import * as Mappers from "../models/tasksMappers";
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { Tasks } from "../operationsInterfaces";
11
+ import * as coreClient from "@azure/core-client";
12
+ import * as Mappers from "../models/mappers";
14
13
  import * as Parameters from "../models/parameters";
15
- import { DataMigrationServiceClientContext } from "../dataMigrationServiceClientContext";
14
+ import { DataMigrationManagementClient } from "../dataMigrationManagementClient";
15
+ import {
16
+ ProjectTask,
17
+ TasksListNextOptionalParams,
18
+ TasksListOptionalParams,
19
+ TasksListResponse,
20
+ TasksCreateOrUpdateOptionalParams,
21
+ TasksCreateOrUpdateResponse,
22
+ TasksGetOptionalParams,
23
+ TasksGetResponse,
24
+ TasksDeleteOptionalParams,
25
+ TasksUpdateOptionalParams,
26
+ TasksUpdateResponse,
27
+ TasksCancelOptionalParams,
28
+ TasksCancelResponse,
29
+ CommandPropertiesUnion,
30
+ TasksCommandOptionalParams,
31
+ TasksCommandResponse,
32
+ TasksListNextResponse
33
+ } from "../models";
16
34
 
17
- /** Class representing a Tasks. */
18
- export class Tasks {
19
- private readonly client: DataMigrationServiceClientContext;
35
+ /// <reference lib="esnext.asynciterable" />
36
+ /** Class containing Tasks operations. */
37
+ export class TasksImpl implements Tasks {
38
+ private readonly client: DataMigrationManagementClient;
20
39
 
21
40
  /**
22
- * Create a Tasks.
23
- * @param {DataMigrationServiceClientContext} client Reference to the service client.
41
+ * Initialize a new instance of the class Tasks class.
42
+ * @param client Reference to the service client
24
43
  */
25
- constructor(client: DataMigrationServiceClientContext) {
44
+ constructor(client: DataMigrationManagementClient) {
26
45
  this.client = client;
27
46
  }
28
47
 
29
48
  /**
30
- * The services resource is the top-level resource that represents the Database Migration Service.
31
- * This method returns a list of tasks owned by a service resource. Some tasks may have a status of
32
- * Unknown, which indicates that an error occurred while querying the status of that task.
33
- * @summary Get tasks in a service
49
+ * The services resource is the top-level resource that represents the Database Migration Service. This
50
+ * method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown,
51
+ * which indicates that an error occurred while querying the status of that task.
34
52
  * @param groupName Name of the resource group
35
53
  * @param serviceName Name of the service
36
54
  * @param projectName Name of the project
37
- * @param [options] The optional parameters
38
- * @returns Promise<Models.TasksListResponse>
55
+ * @param options The options parameters.
39
56
  */
40
- list(groupName: string, serviceName: string, projectName: string, options?: Models.TasksListOptionalParams): Promise<Models.TasksListResponse>;
41
- /**
42
- * @param groupName Name of the resource group
43
- * @param serviceName Name of the service
44
- * @param projectName Name of the project
45
- * @param callback The callback
46
- */
47
- list(groupName: string, serviceName: string, projectName: string, callback: msRest.ServiceCallback<Models.TaskList>): void;
48
- /**
49
- * @param groupName Name of the resource group
50
- * @param serviceName Name of the service
51
- * @param projectName Name of the project
52
- * @param options The optional parameters
53
- * @param callback The callback
54
- */
55
- list(groupName: string, serviceName: string, projectName: string, options: Models.TasksListOptionalParams, callback: msRest.ServiceCallback<Models.TaskList>): void;
56
- list(groupName: string, serviceName: string, projectName: string, options?: Models.TasksListOptionalParams | msRest.ServiceCallback<Models.TaskList>, callback?: msRest.ServiceCallback<Models.TaskList>): Promise<Models.TasksListResponse> {
57
- return this.client.sendOperationRequest(
58
- {
57
+ public list(
58
+ groupName: string,
59
+ serviceName: string,
60
+ projectName: string,
61
+ options?: TasksListOptionalParams
62
+ ): PagedAsyncIterableIterator<ProjectTask> {
63
+ const iter = this.listPagingAll(
64
+ groupName,
65
+ serviceName,
66
+ projectName,
67
+ options
68
+ );
69
+ return {
70
+ next() {
71
+ return iter.next();
72
+ },
73
+ [Symbol.asyncIterator]() {
74
+ return this;
75
+ },
76
+ byPage: () => {
77
+ return this.listPagingPage(
78
+ groupName,
79
+ serviceName,
80
+ projectName,
81
+ options
82
+ );
83
+ }
84
+ };
85
+ }
86
+
87
+ private async *listPagingPage(
88
+ groupName: string,
89
+ serviceName: string,
90
+ projectName: string,
91
+ options?: TasksListOptionalParams
92
+ ): AsyncIterableIterator<ProjectTask[]> {
93
+ let result = await this._list(groupName, serviceName, projectName, options);
94
+ yield result.value || [];
95
+ let continuationToken = result.nextLink;
96
+ while (continuationToken) {
97
+ result = await this._listNext(
59
98
  groupName,
60
99
  serviceName,
61
100
  projectName,
101
+ continuationToken,
62
102
  options
63
- },
64
- listOperationSpec,
65
- callback) as Promise<Models.TasksListResponse>;
103
+ );
104
+ continuationToken = result.nextLink;
105
+ yield result.value || [];
106
+ }
107
+ }
108
+
109
+ private async *listPagingAll(
110
+ groupName: string,
111
+ serviceName: string,
112
+ projectName: string,
113
+ options?: TasksListOptionalParams
114
+ ): AsyncIterableIterator<ProjectTask> {
115
+ for await (const page of this.listPagingPage(
116
+ groupName,
117
+ serviceName,
118
+ projectName,
119
+ options
120
+ )) {
121
+ yield* page;
122
+ }
66
123
  }
67
124
 
68
125
  /**
69
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS
70
- * instance. The PUT method creates a new task or updates an existing one, although since tasks
71
- * have no mutable custom properties, there is little reason to update an existing one.
72
- * @summary Create or update task
73
- * @param parameters Information about the task
126
+ * The services resource is the top-level resource that represents the Database Migration Service. This
127
+ * method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown,
128
+ * which indicates that an error occurred while querying the status of that task.
74
129
  * @param groupName Name of the resource group
75
130
  * @param serviceName Name of the service
76
131
  * @param projectName Name of the project
77
- * @param taskName Name of the Task
78
- * @param [options] The optional parameters
79
- * @returns Promise<Models.TasksCreateOrUpdateResponse>
132
+ * @param options The options parameters.
80
133
  */
81
- createOrUpdate(parameters: Models.ProjectTask, groupName: string, serviceName: string, projectName: string, taskName: string, options?: msRest.RequestOptionsBase): Promise<Models.TasksCreateOrUpdateResponse>;
134
+ private _list(
135
+ groupName: string,
136
+ serviceName: string,
137
+ projectName: string,
138
+ options?: TasksListOptionalParams
139
+ ): Promise<TasksListResponse> {
140
+ return this.client.sendOperationRequest(
141
+ { groupName, serviceName, projectName, options },
142
+ listOperationSpec
143
+ );
144
+ }
145
+
82
146
  /**
83
- * @param parameters Information about the task
147
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
148
+ * The PUT method creates a new task or updates an existing one, although since tasks have no mutable
149
+ * custom properties, there is little reason to update an existing one.
84
150
  * @param groupName Name of the resource group
85
151
  * @param serviceName Name of the service
86
152
  * @param projectName Name of the project
87
153
  * @param taskName Name of the Task
88
- * @param callback The callback
89
- */
90
- createOrUpdate(parameters: Models.ProjectTask, groupName: string, serviceName: string, projectName: string, taskName: string, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
91
- /**
92
154
  * @param parameters Information about the task
93
- * @param groupName Name of the resource group
94
- * @param serviceName Name of the service
95
- * @param projectName Name of the project
96
- * @param taskName Name of the Task
97
- * @param options The optional parameters
98
- * @param callback The callback
155
+ * @param options The options parameters.
99
156
  */
100
- createOrUpdate(parameters: Models.ProjectTask, groupName: string, serviceName: string, projectName: string, taskName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
101
- createOrUpdate(parameters: Models.ProjectTask, groupName: string, serviceName: string, projectName: string, taskName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ProjectTask>, callback?: msRest.ServiceCallback<Models.ProjectTask>): Promise<Models.TasksCreateOrUpdateResponse> {
157
+ createOrUpdate(
158
+ groupName: string,
159
+ serviceName: string,
160
+ projectName: string,
161
+ taskName: string,
162
+ parameters: ProjectTask,
163
+ options?: TasksCreateOrUpdateOptionalParams
164
+ ): Promise<TasksCreateOrUpdateResponse> {
102
165
  return this.client.sendOperationRequest(
103
- {
104
- parameters,
105
- groupName,
106
- serviceName,
107
- projectName,
108
- taskName,
109
- options
110
- },
111
- createOrUpdateOperationSpec,
112
- callback) as Promise<Models.TasksCreateOrUpdateResponse>;
166
+ { groupName, serviceName, projectName, taskName, parameters, options },
167
+ createOrUpdateOperationSpec
168
+ );
113
169
  }
114
170
 
115
171
  /**
116
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS
117
- * instance. The GET method retrieves information about a task.
118
- * @summary Get task information
119
- * @param groupName Name of the resource group
120
- * @param serviceName Name of the service
121
- * @param projectName Name of the project
122
- * @param taskName Name of the Task
123
- * @param [options] The optional parameters
124
- * @returns Promise<Models.TasksGetResponse>
125
- */
126
- get(groupName: string, serviceName: string, projectName: string, taskName: string, options?: Models.TasksGetOptionalParams): Promise<Models.TasksGetResponse>;
127
- /**
172
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
173
+ * The GET method retrieves information about a task.
128
174
  * @param groupName Name of the resource group
129
175
  * @param serviceName Name of the service
130
176
  * @param projectName Name of the project
131
177
  * @param taskName Name of the Task
132
- * @param callback The callback
178
+ * @param options The options parameters.
133
179
  */
134
- get(groupName: string, serviceName: string, projectName: string, taskName: string, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
135
- /**
136
- * @param groupName Name of the resource group
137
- * @param serviceName Name of the service
138
- * @param projectName Name of the project
139
- * @param taskName Name of the Task
140
- * @param options The optional parameters
141
- * @param callback The callback
142
- */
143
- get(groupName: string, serviceName: string, projectName: string, taskName: string, options: Models.TasksGetOptionalParams, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
144
- get(groupName: string, serviceName: string, projectName: string, taskName: string, options?: Models.TasksGetOptionalParams | msRest.ServiceCallback<Models.ProjectTask>, callback?: msRest.ServiceCallback<Models.ProjectTask>): Promise<Models.TasksGetResponse> {
180
+ get(
181
+ groupName: string,
182
+ serviceName: string,
183
+ projectName: string,
184
+ taskName: string,
185
+ options?: TasksGetOptionalParams
186
+ ): Promise<TasksGetResponse> {
145
187
  return this.client.sendOperationRequest(
146
- {
147
- groupName,
148
- serviceName,
149
- projectName,
150
- taskName,
151
- options
152
- },
153
- getOperationSpec,
154
- callback) as Promise<Models.TasksGetResponse>;
188
+ { groupName, serviceName, projectName, taskName, options },
189
+ getOperationSpec
190
+ );
155
191
  }
156
192
 
157
193
  /**
158
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS
159
- * instance. The DELETE method deletes a task, canceling it first if it's running.
160
- * @summary Delete task
161
- * @param groupName Name of the resource group
162
- * @param serviceName Name of the service
163
- * @param projectName Name of the project
164
- * @param taskName Name of the Task
165
- * @param [options] The optional parameters
166
- * @returns Promise<msRest.RestResponse>
167
- */
168
- deleteMethod(groupName: string, serviceName: string, projectName: string, taskName: string, options?: Models.TasksDeleteMethodOptionalParams): Promise<msRest.RestResponse>;
169
- /**
194
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
195
+ * The DELETE method deletes a task, canceling it first if it's running.
170
196
  * @param groupName Name of the resource group
171
197
  * @param serviceName Name of the service
172
198
  * @param projectName Name of the project
173
199
  * @param taskName Name of the Task
174
- * @param callback The callback
200
+ * @param options The options parameters.
175
201
  */
176
- deleteMethod(groupName: string, serviceName: string, projectName: string, taskName: string, callback: msRest.ServiceCallback<void>): void;
177
- /**
178
- * @param groupName Name of the resource group
179
- * @param serviceName Name of the service
180
- * @param projectName Name of the project
181
- * @param taskName Name of the Task
182
- * @param options The optional parameters
183
- * @param callback The callback
184
- */
185
- deleteMethod(groupName: string, serviceName: string, projectName: string, taskName: string, options: Models.TasksDeleteMethodOptionalParams, callback: msRest.ServiceCallback<void>): void;
186
- deleteMethod(groupName: string, serviceName: string, projectName: string, taskName: string, options?: Models.TasksDeleteMethodOptionalParams | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
202
+ delete(
203
+ groupName: string,
204
+ serviceName: string,
205
+ projectName: string,
206
+ taskName: string,
207
+ options?: TasksDeleteOptionalParams
208
+ ): Promise<void> {
187
209
  return this.client.sendOperationRequest(
188
- {
189
- groupName,
190
- serviceName,
191
- projectName,
192
- taskName,
193
- options
194
- },
195
- deleteMethodOperationSpec,
196
- callback);
210
+ { groupName, serviceName, projectName, taskName, options },
211
+ deleteOperationSpec
212
+ );
197
213
  }
198
214
 
199
215
  /**
200
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS
201
- * instance. The PATCH method updates an existing task, but since tasks have no mutable custom
202
- * properties, there is little reason to do so.
203
- * @summary Create or update task
204
- * @param parameters Information about the task
216
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
217
+ * The PATCH method updates an existing task, but since tasks have no mutable custom properties, there
218
+ * is little reason to do so.
205
219
  * @param groupName Name of the resource group
206
220
  * @param serviceName Name of the service
207
221
  * @param projectName Name of the project
208
222
  * @param taskName Name of the Task
209
- * @param [options] The optional parameters
210
- * @returns Promise<Models.TasksUpdateResponse>
211
- */
212
- update(parameters: Models.ProjectTask, groupName: string, serviceName: string, projectName: string, taskName: string, options?: msRest.RequestOptionsBase): Promise<Models.TasksUpdateResponse>;
213
- /**
214
- * @param parameters Information about the task
215
- * @param groupName Name of the resource group
216
- * @param serviceName Name of the service
217
- * @param projectName Name of the project
218
- * @param taskName Name of the Task
219
- * @param callback The callback
220
- */
221
- update(parameters: Models.ProjectTask, groupName: string, serviceName: string, projectName: string, taskName: string, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
222
- /**
223
223
  * @param parameters Information about the task
224
- * @param groupName Name of the resource group
225
- * @param serviceName Name of the service
226
- * @param projectName Name of the project
227
- * @param taskName Name of the Task
228
- * @param options The optional parameters
229
- * @param callback The callback
224
+ * @param options The options parameters.
230
225
  */
231
- update(parameters: Models.ProjectTask, groupName: string, serviceName: string, projectName: string, taskName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
232
- update(parameters: Models.ProjectTask, groupName: string, serviceName: string, projectName: string, taskName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ProjectTask>, callback?: msRest.ServiceCallback<Models.ProjectTask>): Promise<Models.TasksUpdateResponse> {
226
+ update(
227
+ groupName: string,
228
+ serviceName: string,
229
+ projectName: string,
230
+ taskName: string,
231
+ parameters: ProjectTask,
232
+ options?: TasksUpdateOptionalParams
233
+ ): Promise<TasksUpdateResponse> {
233
234
  return this.client.sendOperationRequest(
234
- {
235
- parameters,
236
- groupName,
237
- serviceName,
238
- projectName,
239
- taskName,
240
- options
241
- },
242
- updateOperationSpec,
243
- callback) as Promise<Models.TasksUpdateResponse>;
235
+ { groupName, serviceName, projectName, taskName, parameters, options },
236
+ updateOperationSpec
237
+ );
244
238
  }
245
239
 
246
240
  /**
247
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS
248
- * instance. This method cancels a task if it's currently queued or running.
249
- * @summary Cancel a task
250
- * @param groupName Name of the resource group
251
- * @param serviceName Name of the service
252
- * @param projectName Name of the project
253
- * @param taskName Name of the Task
254
- * @param [options] The optional parameters
255
- * @returns Promise<Models.TasksCancelResponse>
256
- */
257
- cancel(groupName: string, serviceName: string, projectName: string, taskName: string, options?: msRest.RequestOptionsBase): Promise<Models.TasksCancelResponse>;
258
- /**
259
- * @param groupName Name of the resource group
260
- * @param serviceName Name of the service
261
- * @param projectName Name of the project
262
- * @param taskName Name of the Task
263
- * @param callback The callback
264
- */
265
- cancel(groupName: string, serviceName: string, projectName: string, taskName: string, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
266
- /**
241
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
242
+ * This method cancels a task if it's currently queued or running.
267
243
  * @param groupName Name of the resource group
268
244
  * @param serviceName Name of the service
269
245
  * @param projectName Name of the project
270
246
  * @param taskName Name of the Task
271
- * @param options The optional parameters
272
- * @param callback The callback
247
+ * @param options The options parameters.
273
248
  */
274
- cancel(groupName: string, serviceName: string, projectName: string, taskName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
275
- cancel(groupName: string, serviceName: string, projectName: string, taskName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ProjectTask>, callback?: msRest.ServiceCallback<Models.ProjectTask>): Promise<Models.TasksCancelResponse> {
249
+ cancel(
250
+ groupName: string,
251
+ serviceName: string,
252
+ projectName: string,
253
+ taskName: string,
254
+ options?: TasksCancelOptionalParams
255
+ ): Promise<TasksCancelResponse> {
276
256
  return this.client.sendOperationRequest(
277
- {
278
- groupName,
279
- serviceName,
280
- projectName,
281
- taskName,
282
- options
283
- },
284
- cancelOperationSpec,
285
- callback) as Promise<Models.TasksCancelResponse>;
257
+ { groupName, serviceName, projectName, taskName, options },
258
+ cancelOperationSpec
259
+ );
286
260
  }
287
261
 
288
262
  /**
289
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS
290
- * instance. This method executes a command on a running task.
291
- * @summary Execute a command on a task
292
- * @param groupName Name of the resource group
293
- * @param serviceName Name of the service
294
- * @param projectName Name of the project
295
- * @param taskName Name of the Task
296
- * @param parameters Command to execute
297
- * @param [options] The optional parameters
298
- * @returns Promise<Models.TasksCommandResponse>
299
- */
300
- command(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: Models.CommandPropertiesUnion, options?: msRest.RequestOptionsBase): Promise<Models.TasksCommandResponse>;
301
- /**
263
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
264
+ * This method executes a command on a running task.
302
265
  * @param groupName Name of the resource group
303
266
  * @param serviceName Name of the service
304
267
  * @param projectName Name of the project
305
268
  * @param taskName Name of the Task
306
269
  * @param parameters Command to execute
307
- * @param callback The callback
270
+ * @param options The options parameters.
308
271
  */
309
- command(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: Models.CommandPropertiesUnion, callback: msRest.ServiceCallback<Models.CommandPropertiesUnion>): void;
310
- /**
311
- * @param groupName Name of the resource group
312
- * @param serviceName Name of the service
313
- * @param projectName Name of the project
314
- * @param taskName Name of the Task
315
- * @param parameters Command to execute
316
- * @param options The optional parameters
317
- * @param callback The callback
318
- */
319
- command(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: Models.CommandPropertiesUnion, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CommandPropertiesUnion>): void;
320
- command(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: Models.CommandPropertiesUnion, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.CommandPropertiesUnion>, callback?: msRest.ServiceCallback<Models.CommandPropertiesUnion>): Promise<Models.TasksCommandResponse> {
272
+ command(
273
+ groupName: string,
274
+ serviceName: string,
275
+ projectName: string,
276
+ taskName: string,
277
+ parameters: CommandPropertiesUnion,
278
+ options?: TasksCommandOptionalParams
279
+ ): Promise<TasksCommandResponse> {
321
280
  return this.client.sendOperationRequest(
322
- {
323
- groupName,
324
- serviceName,
325
- projectName,
326
- taskName,
327
- parameters,
328
- options
329
- },
330
- commandOperationSpec,
331
- callback) as Promise<Models.TasksCommandResponse>;
281
+ { groupName, serviceName, projectName, taskName, parameters, options },
282
+ commandOperationSpec
283
+ );
332
284
  }
333
285
 
334
286
  /**
335
- * The services resource is the top-level resource that represents the Database Migration Service.
336
- * This method returns a list of tasks owned by a service resource. Some tasks may have a status of
337
- * Unknown, which indicates that an error occurred while querying the status of that task.
338
- * @summary Get tasks in a service
339
- * @param nextPageLink The NextLink from the previous successful call to List operation.
340
- * @param [options] The optional parameters
341
- * @returns Promise<Models.TasksListNextResponse>
342
- */
343
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.TasksListNextResponse>;
344
- /**
345
- * @param nextPageLink The NextLink from the previous successful call to List operation.
346
- * @param callback The callback
347
- */
348
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.TaskList>): void;
349
- /**
350
- * @param nextPageLink The NextLink from the previous successful call to List operation.
351
- * @param options The optional parameters
352
- * @param callback The callback
287
+ * ListNext
288
+ * @param groupName Name of the resource group
289
+ * @param serviceName Name of the service
290
+ * @param projectName Name of the project
291
+ * @param nextLink The nextLink from the previous successful call to the List method.
292
+ * @param options The options parameters.
353
293
  */
354
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.TaskList>): void;
355
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.TaskList>, callback?: msRest.ServiceCallback<Models.TaskList>): Promise<Models.TasksListNextResponse> {
294
+ private _listNext(
295
+ groupName: string,
296
+ serviceName: string,
297
+ projectName: string,
298
+ nextLink: string,
299
+ options?: TasksListNextOptionalParams
300
+ ): Promise<TasksListNextResponse> {
356
301
  return this.client.sendOperationRequest(
357
- {
358
- nextPageLink,
359
- options
360
- },
361
- listNextOperationSpec,
362
- callback) as Promise<Models.TasksListNextResponse>;
302
+ { groupName, serviceName, projectName, nextLink, options },
303
+ listNextOperationSpec
304
+ );
363
305
  }
364
306
  }
365
-
366
307
  // Operation Specifications
367
- const serializer = new msRest.Serializer(Mappers);
368
- const listOperationSpec: msRest.OperationSpec = {
308
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
309
+
310
+ const listOperationSpec: coreClient.OperationSpec = {
311
+ path:
312
+ "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks",
369
313
  httpMethod: "GET",
370
- path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks",
371
- urlParameters: [
372
- Parameters.subscriptionId,
373
- Parameters.groupName,
374
- Parameters.serviceName,
375
- Parameters.projectName
376
- ],
377
- queryParameters: [
378
- Parameters.apiVersion,
379
- Parameters.taskType
380
- ],
381
- headerParameters: [
382
- Parameters.acceptLanguage
383
- ],
384
314
  responses: {
385
315
  200: {
386
316
  bodyMapper: Mappers.TaskList
@@ -389,32 +319,21 @@ const listOperationSpec: msRest.OperationSpec = {
389
319
  bodyMapper: Mappers.ApiError
390
320
  }
391
321
  },
392
- serializer
393
- };
394
-
395
- const createOrUpdateOperationSpec: msRest.OperationSpec = {
396
- httpMethod: "PUT",
397
- path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
322
+ queryParameters: [Parameters.apiVersion, Parameters.taskType],
398
323
  urlParameters: [
324
+ Parameters.$host,
399
325
  Parameters.subscriptionId,
400
326
  Parameters.groupName,
401
327
  Parameters.serviceName,
402
- Parameters.projectName,
403
- Parameters.taskName
404
- ],
405
- queryParameters: [
406
- Parameters.apiVersion
407
- ],
408
- headerParameters: [
409
- Parameters.acceptLanguage
328
+ Parameters.projectName
410
329
  ],
411
- requestBody: {
412
- parameterPath: "parameters",
413
- mapper: {
414
- ...Mappers.ProjectTask,
415
- required: true
416
- }
417
- },
330
+ headerParameters: [Parameters.accept],
331
+ serializer
332
+ };
333
+ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
334
+ path:
335
+ "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
336
+ httpMethod: "PUT",
418
337
  responses: {
419
338
  200: {
420
339
  bodyMapper: Mappers.ProjectTask
@@ -426,26 +345,24 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
426
345
  bodyMapper: Mappers.ApiError
427
346
  }
428
347
  },
429
- serializer
430
- };
431
-
432
- const getOperationSpec: msRest.OperationSpec = {
433
- httpMethod: "GET",
434
- path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
348
+ requestBody: Parameters.parameters9,
349
+ queryParameters: [Parameters.apiVersion],
435
350
  urlParameters: [
351
+ Parameters.$host,
436
352
  Parameters.subscriptionId,
437
353
  Parameters.groupName,
438
354
  Parameters.serviceName,
439
355
  Parameters.projectName,
440
356
  Parameters.taskName
441
357
  ],
442
- queryParameters: [
443
- Parameters.expand,
444
- Parameters.apiVersion
445
- ],
446
- headerParameters: [
447
- Parameters.acceptLanguage
448
- ],
358
+ headerParameters: [Parameters.accept, Parameters.contentType],
359
+ mediaType: "json",
360
+ serializer
361
+ };
362
+ const getOperationSpec: coreClient.OperationSpec = {
363
+ path:
364
+ "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
365
+ httpMethod: "GET",
449
366
  responses: {
450
367
  200: {
451
368
  bodyMapper: Mappers.ProjectTask
@@ -454,26 +371,22 @@ const getOperationSpec: msRest.OperationSpec = {
454
371
  bodyMapper: Mappers.ApiError
455
372
  }
456
373
  },
457
- serializer
458
- };
459
-
460
- const deleteMethodOperationSpec: msRest.OperationSpec = {
461
- httpMethod: "DELETE",
462
- path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
374
+ queryParameters: [Parameters.expand, Parameters.apiVersion],
463
375
  urlParameters: [
376
+ Parameters.$host,
464
377
  Parameters.subscriptionId,
465
378
  Parameters.groupName,
466
379
  Parameters.serviceName,
467
380
  Parameters.projectName,
468
381
  Parameters.taskName
469
382
  ],
470
- queryParameters: [
471
- Parameters.deleteRunningTasks,
472
- Parameters.apiVersion
473
- ],
474
- headerParameters: [
475
- Parameters.acceptLanguage
476
- ],
383
+ headerParameters: [Parameters.accept],
384
+ serializer
385
+ };
386
+ const deleteOperationSpec: coreClient.OperationSpec = {
387
+ path:
388
+ "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
389
+ httpMethod: "DELETE",
477
390
  responses: {
478
391
  200: {},
479
392
  204: {},
@@ -481,32 +394,22 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
481
394
  bodyMapper: Mappers.ApiError
482
395
  }
483
396
  },
484
- serializer
485
- };
486
-
487
- const updateOperationSpec: msRest.OperationSpec = {
488
- httpMethod: "PATCH",
489
- path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
397
+ queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],
490
398
  urlParameters: [
399
+ Parameters.$host,
491
400
  Parameters.subscriptionId,
492
401
  Parameters.groupName,
493
402
  Parameters.serviceName,
494
403
  Parameters.projectName,
495
404
  Parameters.taskName
496
405
  ],
497
- queryParameters: [
498
- Parameters.apiVersion
499
- ],
500
- headerParameters: [
501
- Parameters.acceptLanguage
502
- ],
503
- requestBody: {
504
- parameterPath: "parameters",
505
- mapper: {
506
- ...Mappers.ProjectTask,
507
- required: true
508
- }
509
- },
406
+ headerParameters: [Parameters.accept],
407
+ serializer
408
+ };
409
+ const updateOperationSpec: coreClient.OperationSpec = {
410
+ path:
411
+ "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
412
+ httpMethod: "PATCH",
510
413
  responses: {
511
414
  200: {
512
415
  bodyMapper: Mappers.ProjectTask
@@ -515,25 +418,24 @@ const updateOperationSpec: msRest.OperationSpec = {
515
418
  bodyMapper: Mappers.ApiError
516
419
  }
517
420
  },
518
- serializer
519
- };
520
-
521
- const cancelOperationSpec: msRest.OperationSpec = {
522
- httpMethod: "POST",
523
- path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/cancel",
421
+ requestBody: Parameters.parameters9,
422
+ queryParameters: [Parameters.apiVersion],
524
423
  urlParameters: [
424
+ Parameters.$host,
525
425
  Parameters.subscriptionId,
526
426
  Parameters.groupName,
527
427
  Parameters.serviceName,
528
428
  Parameters.projectName,
529
429
  Parameters.taskName
530
430
  ],
531
- queryParameters: [
532
- Parameters.apiVersion
533
- ],
534
- headerParameters: [
535
- Parameters.acceptLanguage
536
- ],
431
+ headerParameters: [Parameters.accept, Parameters.contentType],
432
+ mediaType: "json",
433
+ serializer
434
+ };
435
+ const cancelOperationSpec: coreClient.OperationSpec = {
436
+ path:
437
+ "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/cancel",
438
+ httpMethod: "POST",
537
439
  responses: {
538
440
  200: {
539
441
  bodyMapper: Mappers.ProjectTask
@@ -542,32 +444,22 @@ const cancelOperationSpec: msRest.OperationSpec = {
542
444
  bodyMapper: Mappers.ApiError
543
445
  }
544
446
  },
545
- serializer
546
- };
547
-
548
- const commandOperationSpec: msRest.OperationSpec = {
549
- httpMethod: "POST",
550
- path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/command",
447
+ queryParameters: [Parameters.apiVersion],
551
448
  urlParameters: [
449
+ Parameters.$host,
552
450
  Parameters.subscriptionId,
553
451
  Parameters.groupName,
554
452
  Parameters.serviceName,
555
453
  Parameters.projectName,
556
454
  Parameters.taskName
557
455
  ],
558
- queryParameters: [
559
- Parameters.apiVersion
560
- ],
561
- headerParameters: [
562
- Parameters.acceptLanguage
563
- ],
564
- requestBody: {
565
- parameterPath: "parameters",
566
- mapper: {
567
- ...Mappers.CommandProperties,
568
- required: true
569
- }
570
- },
456
+ headerParameters: [Parameters.accept],
457
+ serializer
458
+ };
459
+ const commandOperationSpec: coreClient.OperationSpec = {
460
+ path:
461
+ "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/command",
462
+ httpMethod: "POST",
571
463
  responses: {
572
464
  200: {
573
465
  bodyMapper: Mappers.CommandProperties
@@ -576,19 +468,23 @@ const commandOperationSpec: msRest.OperationSpec = {
576
468
  bodyMapper: Mappers.ApiError
577
469
  }
578
470
  },
471
+ requestBody: Parameters.parameters10,
472
+ queryParameters: [Parameters.apiVersion],
473
+ urlParameters: [
474
+ Parameters.$host,
475
+ Parameters.subscriptionId,
476
+ Parameters.groupName,
477
+ Parameters.serviceName,
478
+ Parameters.projectName,
479
+ Parameters.taskName
480
+ ],
481
+ headerParameters: [Parameters.accept, Parameters.contentType],
482
+ mediaType: "json",
579
483
  serializer
580
484
  };
581
-
582
- const listNextOperationSpec: msRest.OperationSpec = {
583
- httpMethod: "GET",
584
- baseUrl: "https://management.azure.com",
485
+ const listNextOperationSpec: coreClient.OperationSpec = {
585
486
  path: "{nextLink}",
586
- urlParameters: [
587
- Parameters.nextPageLink
588
- ],
589
- headerParameters: [
590
- Parameters.acceptLanguage
591
- ],
487
+ httpMethod: "GET",
592
488
  responses: {
593
489
  200: {
594
490
  bodyMapper: Mappers.TaskList
@@ -597,5 +493,15 @@ const listNextOperationSpec: msRest.OperationSpec = {
597
493
  bodyMapper: Mappers.ApiError
598
494
  }
599
495
  },
496
+ queryParameters: [Parameters.apiVersion, Parameters.taskType],
497
+ urlParameters: [
498
+ Parameters.$host,
499
+ Parameters.subscriptionId,
500
+ Parameters.nextLink,
501
+ Parameters.groupName,
502
+ Parameters.serviceName,
503
+ Parameters.projectName
504
+ ],
505
+ headerParameters: [Parameters.accept],
600
506
  serializer
601
507
  };