@azure/arm-datamigration 2.0.0 → 3.0.0-alpha.20220131.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 +72 -73
  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 -22
  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 -14002
  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 -25
  357. package/esm/dataMigrationServiceClient.d.ts.map +0 -1
  358. package/esm/dataMigrationServiceClient.js +0 -40
  359. package/esm/dataMigrationServiceClient.js.map +0 -1
  360. package/esm/dataMigrationServiceClientContext.d.ts +0 -16
  361. package/esm/dataMigrationServiceClientContext.d.ts.map +0 -1
  362. package/esm/dataMigrationServiceClientContext.js +0 -56
  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 -56
  442. package/src/dataMigrationServiceClientContext.ts +0 -62
  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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlMigrationServices.js","sourceRoot":"","sources":["../../../src/operations/sqlMigrationServices.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAoCrC,4CAA4C;AAC5C,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OA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AE,EAAE;KACZ;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,110 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Tasks } from "../operationsInterfaces";
3
+ import { DataMigrationManagementClient } from "../dataMigrationManagementClient";
4
+ import { ProjectTask, TasksListOptionalParams, TasksCreateOrUpdateOptionalParams, TasksCreateOrUpdateResponse, TasksGetOptionalParams, TasksGetResponse, TasksDeleteOptionalParams, TasksUpdateOptionalParams, TasksUpdateResponse, TasksCancelOptionalParams, TasksCancelResponse, CommandPropertiesUnion, TasksCommandOptionalParams, TasksCommandResponse } from "../models";
5
+ /** Class containing Tasks operations. */
6
+ export declare class TasksImpl implements Tasks {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Tasks class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: DataMigrationManagementClient);
13
+ /**
14
+ * The services resource is the top-level resource that represents the Database Migration Service. This
15
+ * method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown,
16
+ * which indicates that an error occurred while querying the status of that task.
17
+ * @param groupName Name of the resource group
18
+ * @param serviceName Name of the service
19
+ * @param projectName Name of the project
20
+ * @param options The options parameters.
21
+ */
22
+ list(groupName: string, serviceName: string, projectName: string, options?: TasksListOptionalParams): PagedAsyncIterableIterator<ProjectTask>;
23
+ private listPagingPage;
24
+ private listPagingAll;
25
+ /**
26
+ * The services resource is the top-level resource that represents the Database Migration Service. This
27
+ * method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown,
28
+ * which indicates that an error occurred while querying the status of that task.
29
+ * @param groupName Name of the resource group
30
+ * @param serviceName Name of the service
31
+ * @param projectName Name of the project
32
+ * @param options The options parameters.
33
+ */
34
+ private _list;
35
+ /**
36
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
37
+ * The PUT method creates a new task or updates an existing one, although since tasks have no mutable
38
+ * custom properties, there is little reason to update an existing one.
39
+ * @param groupName Name of the resource group
40
+ * @param serviceName Name of the service
41
+ * @param projectName Name of the project
42
+ * @param taskName Name of the Task
43
+ * @param parameters Information about the task
44
+ * @param options The options parameters.
45
+ */
46
+ createOrUpdate(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: ProjectTask, options?: TasksCreateOrUpdateOptionalParams): Promise<TasksCreateOrUpdateResponse>;
47
+ /**
48
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
49
+ * The GET method retrieves information about a task.
50
+ * @param groupName Name of the resource group
51
+ * @param serviceName Name of the service
52
+ * @param projectName Name of the project
53
+ * @param taskName Name of the Task
54
+ * @param options The options parameters.
55
+ */
56
+ get(groupName: string, serviceName: string, projectName: string, taskName: string, options?: TasksGetOptionalParams): Promise<TasksGetResponse>;
57
+ /**
58
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
59
+ * The DELETE method deletes a task, canceling it first if it's running.
60
+ * @param groupName Name of the resource group
61
+ * @param serviceName Name of the service
62
+ * @param projectName Name of the project
63
+ * @param taskName Name of the Task
64
+ * @param options The options parameters.
65
+ */
66
+ delete(groupName: string, serviceName: string, projectName: string, taskName: string, options?: TasksDeleteOptionalParams): Promise<void>;
67
+ /**
68
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
69
+ * The PATCH method updates an existing task, but since tasks have no mutable custom properties, there
70
+ * is little reason to do so.
71
+ * @param groupName Name of the resource group
72
+ * @param serviceName Name of the service
73
+ * @param projectName Name of the project
74
+ * @param taskName Name of the Task
75
+ * @param parameters Information about the task
76
+ * @param options The options parameters.
77
+ */
78
+ update(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: ProjectTask, options?: TasksUpdateOptionalParams): Promise<TasksUpdateResponse>;
79
+ /**
80
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
81
+ * This method cancels a task if it's currently queued or running.
82
+ * @param groupName Name of the resource group
83
+ * @param serviceName Name of the service
84
+ * @param projectName Name of the project
85
+ * @param taskName Name of the Task
86
+ * @param options The options parameters.
87
+ */
88
+ cancel(groupName: string, serviceName: string, projectName: string, taskName: string, options?: TasksCancelOptionalParams): Promise<TasksCancelResponse>;
89
+ /**
90
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
91
+ * This method executes a command on a running task.
92
+ * @param groupName Name of the resource group
93
+ * @param serviceName Name of the service
94
+ * @param projectName Name of the project
95
+ * @param taskName Name of the Task
96
+ * @param parameters Command to execute
97
+ * @param options The options parameters.
98
+ */
99
+ command(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: CommandPropertiesUnion, options?: TasksCommandOptionalParams): Promise<TasksCommandResponse>;
100
+ /**
101
+ * ListNext
102
+ * @param groupName Name of the resource group
103
+ * @param serviceName Name of the service
104
+ * @param projectName Name of the project
105
+ * @param nextLink The nextLink from the previous successful call to the List method.
106
+ * @param options The options parameters.
107
+ */
108
+ private _listNext;
109
+ }
110
+ //# sourceMappingURL=tasks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../src/operations/tasks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAIhD,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EACL,WAAW,EAEX,uBAAuB,EAEvB,iCAAiC,EACjC,2BAA2B,EAC3B,sBAAsB,EACtB,gBAAgB,EAChB,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,oBAAoB,EAErB,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;;;;;;OAQG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC;IAO/B;;;;;;;;;OASG;IACH,OAAO,CACL,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,sBAAsB,EAClC,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC;IAOhC;;;;;;;OAOG;IACH,OAAO,CAAC,SAAS;CAYlB"}
@@ -0,0 +1,369 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Tasks operations. */
14
+ export class TasksImpl {
15
+ /**
16
+ * Initialize a new instance of the class Tasks class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * The services resource is the top-level resource that represents the Database Migration Service. This
24
+ * method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown,
25
+ * which indicates that an error occurred while querying the status of that task.
26
+ * @param groupName Name of the resource group
27
+ * @param serviceName Name of the service
28
+ * @param projectName Name of the project
29
+ * @param options The options parameters.
30
+ */
31
+ list(groupName, serviceName, projectName, options) {
32
+ const iter = this.listPagingAll(groupName, serviceName, projectName, options);
33
+ return {
34
+ next() {
35
+ return iter.next();
36
+ },
37
+ [Symbol.asyncIterator]() {
38
+ return this;
39
+ },
40
+ byPage: () => {
41
+ return this.listPagingPage(groupName, serviceName, projectName, options);
42
+ }
43
+ };
44
+ }
45
+ listPagingPage(groupName, serviceName, projectName, options) {
46
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
47
+ let result = yield __await(this._list(groupName, serviceName, projectName, options));
48
+ yield yield __await(result.value || []);
49
+ let continuationToken = result.nextLink;
50
+ while (continuationToken) {
51
+ result = yield __await(this._listNext(groupName, serviceName, projectName, continuationToken, options));
52
+ continuationToken = result.nextLink;
53
+ yield yield __await(result.value || []);
54
+ }
55
+ });
56
+ }
57
+ listPagingAll(groupName, serviceName, projectName, options) {
58
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
59
+ var e_1, _a;
60
+ try {
61
+ for (var _b = __asyncValues(this.listPagingPage(groupName, serviceName, projectName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
62
+ const page = _c.value;
63
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
64
+ }
65
+ }
66
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
67
+ finally {
68
+ try {
69
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
70
+ }
71
+ finally { if (e_1) throw e_1.error; }
72
+ }
73
+ });
74
+ }
75
+ /**
76
+ * The services resource is the top-level resource that represents the Database Migration Service. This
77
+ * method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown,
78
+ * which indicates that an error occurred while querying the status of that task.
79
+ * @param groupName Name of the resource group
80
+ * @param serviceName Name of the service
81
+ * @param projectName Name of the project
82
+ * @param options The options parameters.
83
+ */
84
+ _list(groupName, serviceName, projectName, options) {
85
+ return this.client.sendOperationRequest({ groupName, serviceName, projectName, options }, listOperationSpec);
86
+ }
87
+ /**
88
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
89
+ * The PUT method creates a new task or updates an existing one, although since tasks have no mutable
90
+ * custom properties, there is little reason to update an existing one.
91
+ * @param groupName Name of the resource group
92
+ * @param serviceName Name of the service
93
+ * @param projectName Name of the project
94
+ * @param taskName Name of the Task
95
+ * @param parameters Information about the task
96
+ * @param options The options parameters.
97
+ */
98
+ createOrUpdate(groupName, serviceName, projectName, taskName, parameters, options) {
99
+ return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, parameters, options }, createOrUpdateOperationSpec);
100
+ }
101
+ /**
102
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
103
+ * The GET method retrieves information about a task.
104
+ * @param groupName Name of the resource group
105
+ * @param serviceName Name of the service
106
+ * @param projectName Name of the project
107
+ * @param taskName Name of the Task
108
+ * @param options The options parameters.
109
+ */
110
+ get(groupName, serviceName, projectName, taskName, options) {
111
+ return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, options }, getOperationSpec);
112
+ }
113
+ /**
114
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
115
+ * The DELETE method deletes a task, canceling it first if it's running.
116
+ * @param groupName Name of the resource group
117
+ * @param serviceName Name of the service
118
+ * @param projectName Name of the project
119
+ * @param taskName Name of the Task
120
+ * @param options The options parameters.
121
+ */
122
+ delete(groupName, serviceName, projectName, taskName, options) {
123
+ return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, options }, deleteOperationSpec);
124
+ }
125
+ /**
126
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
127
+ * The PATCH method updates an existing task, but since tasks have no mutable custom properties, there
128
+ * is little reason to do so.
129
+ * @param groupName Name of the resource group
130
+ * @param serviceName Name of the service
131
+ * @param projectName Name of the project
132
+ * @param taskName Name of the Task
133
+ * @param parameters Information about the task
134
+ * @param options The options parameters.
135
+ */
136
+ update(groupName, serviceName, projectName, taskName, parameters, options) {
137
+ return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, parameters, options }, updateOperationSpec);
138
+ }
139
+ /**
140
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
141
+ * This method cancels a task if it's currently queued or running.
142
+ * @param groupName Name of the resource group
143
+ * @param serviceName Name of the service
144
+ * @param projectName Name of the project
145
+ * @param taskName Name of the Task
146
+ * @param options The options parameters.
147
+ */
148
+ cancel(groupName, serviceName, projectName, taskName, options) {
149
+ return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, options }, cancelOperationSpec);
150
+ }
151
+ /**
152
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
153
+ * This method executes a command on a running task.
154
+ * @param groupName Name of the resource group
155
+ * @param serviceName Name of the service
156
+ * @param projectName Name of the project
157
+ * @param taskName Name of the Task
158
+ * @param parameters Command to execute
159
+ * @param options The options parameters.
160
+ */
161
+ command(groupName, serviceName, projectName, taskName, parameters, options) {
162
+ return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, parameters, options }, commandOperationSpec);
163
+ }
164
+ /**
165
+ * ListNext
166
+ * @param groupName Name of the resource group
167
+ * @param serviceName Name of the service
168
+ * @param projectName Name of the project
169
+ * @param nextLink The nextLink from the previous successful call to the List method.
170
+ * @param options The options parameters.
171
+ */
172
+ _listNext(groupName, serviceName, projectName, nextLink, options) {
173
+ return this.client.sendOperationRequest({ groupName, serviceName, projectName, nextLink, options }, listNextOperationSpec);
174
+ }
175
+ }
176
+ // Operation Specifications
177
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
178
+ const listOperationSpec = {
179
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks",
180
+ httpMethod: "GET",
181
+ responses: {
182
+ 200: {
183
+ bodyMapper: Mappers.TaskList
184
+ },
185
+ default: {
186
+ bodyMapper: Mappers.ApiError
187
+ }
188
+ },
189
+ queryParameters: [Parameters.apiVersion, Parameters.taskType],
190
+ urlParameters: [
191
+ Parameters.$host,
192
+ Parameters.subscriptionId,
193
+ Parameters.groupName,
194
+ Parameters.serviceName,
195
+ Parameters.projectName
196
+ ],
197
+ headerParameters: [Parameters.accept],
198
+ serializer
199
+ };
200
+ const createOrUpdateOperationSpec = {
201
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
202
+ httpMethod: "PUT",
203
+ responses: {
204
+ 200: {
205
+ bodyMapper: Mappers.ProjectTask
206
+ },
207
+ 201: {
208
+ bodyMapper: Mappers.ProjectTask
209
+ },
210
+ default: {
211
+ bodyMapper: Mappers.ApiError
212
+ }
213
+ },
214
+ requestBody: Parameters.parameters9,
215
+ queryParameters: [Parameters.apiVersion],
216
+ urlParameters: [
217
+ Parameters.$host,
218
+ Parameters.subscriptionId,
219
+ Parameters.groupName,
220
+ Parameters.serviceName,
221
+ Parameters.projectName,
222
+ Parameters.taskName
223
+ ],
224
+ headerParameters: [Parameters.accept, Parameters.contentType],
225
+ mediaType: "json",
226
+ serializer
227
+ };
228
+ const getOperationSpec = {
229
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
230
+ httpMethod: "GET",
231
+ responses: {
232
+ 200: {
233
+ bodyMapper: Mappers.ProjectTask
234
+ },
235
+ default: {
236
+ bodyMapper: Mappers.ApiError
237
+ }
238
+ },
239
+ queryParameters: [Parameters.expand, Parameters.apiVersion],
240
+ urlParameters: [
241
+ Parameters.$host,
242
+ Parameters.subscriptionId,
243
+ Parameters.groupName,
244
+ Parameters.serviceName,
245
+ Parameters.projectName,
246
+ Parameters.taskName
247
+ ],
248
+ headerParameters: [Parameters.accept],
249
+ serializer
250
+ };
251
+ const deleteOperationSpec = {
252
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
253
+ httpMethod: "DELETE",
254
+ responses: {
255
+ 200: {},
256
+ 204: {},
257
+ default: {
258
+ bodyMapper: Mappers.ApiError
259
+ }
260
+ },
261
+ queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],
262
+ urlParameters: [
263
+ Parameters.$host,
264
+ Parameters.subscriptionId,
265
+ Parameters.groupName,
266
+ Parameters.serviceName,
267
+ Parameters.projectName,
268
+ Parameters.taskName
269
+ ],
270
+ headerParameters: [Parameters.accept],
271
+ serializer
272
+ };
273
+ const updateOperationSpec = {
274
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
275
+ httpMethod: "PATCH",
276
+ responses: {
277
+ 200: {
278
+ bodyMapper: Mappers.ProjectTask
279
+ },
280
+ default: {
281
+ bodyMapper: Mappers.ApiError
282
+ }
283
+ },
284
+ requestBody: Parameters.parameters9,
285
+ queryParameters: [Parameters.apiVersion],
286
+ urlParameters: [
287
+ Parameters.$host,
288
+ Parameters.subscriptionId,
289
+ Parameters.groupName,
290
+ Parameters.serviceName,
291
+ Parameters.projectName,
292
+ Parameters.taskName
293
+ ],
294
+ headerParameters: [Parameters.accept, Parameters.contentType],
295
+ mediaType: "json",
296
+ serializer
297
+ };
298
+ const cancelOperationSpec = {
299
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/cancel",
300
+ httpMethod: "POST",
301
+ responses: {
302
+ 200: {
303
+ bodyMapper: Mappers.ProjectTask
304
+ },
305
+ default: {
306
+ bodyMapper: Mappers.ApiError
307
+ }
308
+ },
309
+ queryParameters: [Parameters.apiVersion],
310
+ urlParameters: [
311
+ Parameters.$host,
312
+ Parameters.subscriptionId,
313
+ Parameters.groupName,
314
+ Parameters.serviceName,
315
+ Parameters.projectName,
316
+ Parameters.taskName
317
+ ],
318
+ headerParameters: [Parameters.accept],
319
+ serializer
320
+ };
321
+ const commandOperationSpec = {
322
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/command",
323
+ httpMethod: "POST",
324
+ responses: {
325
+ 200: {
326
+ bodyMapper: Mappers.CommandProperties
327
+ },
328
+ default: {
329
+ bodyMapper: Mappers.ApiError
330
+ }
331
+ },
332
+ requestBody: Parameters.parameters10,
333
+ queryParameters: [Parameters.apiVersion],
334
+ urlParameters: [
335
+ Parameters.$host,
336
+ Parameters.subscriptionId,
337
+ Parameters.groupName,
338
+ Parameters.serviceName,
339
+ Parameters.projectName,
340
+ Parameters.taskName
341
+ ],
342
+ headerParameters: [Parameters.accept, Parameters.contentType],
343
+ mediaType: "json",
344
+ serializer
345
+ };
346
+ const listNextOperationSpec = {
347
+ path: "{nextLink}",
348
+ httpMethod: "GET",
349
+ responses: {
350
+ 200: {
351
+ bodyMapper: Mappers.TaskList
352
+ },
353
+ default: {
354
+ bodyMapper: Mappers.ApiError
355
+ }
356
+ },
357
+ queryParameters: [Parameters.apiVersion, Parameters.taskType],
358
+ urlParameters: [
359
+ Parameters.$host,
360
+ Parameters.subscriptionId,
361
+ Parameters.nextLink,
362
+ Parameters.groupName,
363
+ Parameters.serviceName,
364
+ Parameters.projectName
365
+ ],
366
+ headerParameters: [Parameters.accept],
367
+ serializer
368
+ };
369
+ //# sourceMappingURL=tasks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/operations/tasks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAsBnD,4CAA4C;AAC5C,yCAAyC;AACzC,MAAM,OAAO,SAAS;IAGpB;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,IAAI,CACT,SAAiB,EACjB,WAAmB,EACn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ACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC;IAC7D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,37 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Usages } from "../operationsInterfaces";
3
+ import { DataMigrationManagementClient } from "../dataMigrationManagementClient";
4
+ import { Quota, UsagesListOptionalParams } from "../models";
5
+ /** Class containing Usages operations. */
6
+ export declare class UsagesImpl implements Usages {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Usages class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: DataMigrationManagementClient);
13
+ /**
14
+ * This method returns region-specific quotas and resource usage information for the Database Migration
15
+ * Service.
16
+ * @param location The Azure region of the operation
17
+ * @param options The options parameters.
18
+ */
19
+ list(location: string, options?: UsagesListOptionalParams): PagedAsyncIterableIterator<Quota>;
20
+ private listPagingPage;
21
+ private listPagingAll;
22
+ /**
23
+ * This method returns region-specific quotas and resource usage information for the Database Migration
24
+ * Service.
25
+ * @param location The Azure region of the operation
26
+ * @param options The options parameters.
27
+ */
28
+ private _list;
29
+ /**
30
+ * ListNext
31
+ * @param location The Azure region of the operation
32
+ * @param nextLink The nextLink from the previous successful call to the List method.
33
+ * @param options The options parameters.
34
+ */
35
+ private _listNext;
36
+ }
37
+ //# sourceMappingURL=usages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usages.d.ts","sourceRoot":"","sources":["../../../src/operations/usages.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAIjD,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EACL,KAAK,EAEL,wBAAwB,EAGzB,MAAM,WAAW,CAAC;AAGnB,0CAA0C;AAC1C,qBAAa,UAAW,YAAW,MAAM;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;OAKG;IACI,IAAI,CACT,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,wBAAwB,GACjC,0BAA0B,CAAC,KAAK,CAAC;YAerB,cAAc;YAcd,aAAa;IAS5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;OAKG;IACH,OAAO,CAAC,SAAS;CAUlB"}