@azure/arm-datamigration 2.1.1 → 3.0.0-alpha.20220118.3

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,246 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { DataMigrationServiceClientContext } from "../dataMigrationServiceClientContext";
4
- /** Class representing a Tasks. */
5
- export declare class Tasks {
6
- private readonly client;
7
- /**
8
- * Create a Tasks.
9
- * @param {DataMigrationServiceClientContext} client Reference to the service client.
10
- */
11
- constructor(client: DataMigrationServiceClientContext);
12
- /**
13
- * The services resource is the top-level resource that represents the Database Migration Service.
14
- * This method returns a list of tasks owned by a service resource. Some tasks may have a status of
15
- * Unknown, which indicates that an error occurred while querying the status of that task.
16
- * @summary Get tasks in a service
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 optional parameters
21
- * @returns Promise<Models.TasksListResponse>
22
- */
23
- list(groupName: string, serviceName: string, projectName: string, options?: Models.TasksListOptionalParams): Promise<Models.TasksListResponse>;
24
- /**
25
- * @param groupName Name of the resource group
26
- * @param serviceName Name of the service
27
- * @param projectName Name of the project
28
- * @param callback The callback
29
- */
30
- list(groupName: string, serviceName: string, projectName: string, callback: msRest.ServiceCallback<Models.TaskList>): void;
31
- /**
32
- * @param groupName Name of the resource group
33
- * @param serviceName Name of the service
34
- * @param projectName Name of the project
35
- * @param options The optional parameters
36
- * @param callback The callback
37
- */
38
- list(groupName: string, serviceName: string, projectName: string, options: Models.TasksListOptionalParams, callback: msRest.ServiceCallback<Models.TaskList>): void;
39
- /**
40
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS
41
- * instance. The PUT method creates a new task or updates an existing one, although since tasks
42
- * have no mutable custom properties, there is little reason to update an existing one.
43
- * @summary Create or update task
44
- * @param parameters Information about the task
45
- * @param groupName Name of the resource group
46
- * @param serviceName Name of the service
47
- * @param projectName Name of the project
48
- * @param taskName Name of the Task
49
- * @param [options] The optional parameters
50
- * @returns Promise<Models.TasksCreateOrUpdateResponse>
51
- */
52
- createOrUpdate(parameters: Models.ProjectTask, groupName: string, serviceName: string, projectName: string, taskName: string, options?: msRest.RequestOptionsBase): Promise<Models.TasksCreateOrUpdateResponse>;
53
- /**
54
- * @param parameters Information about the task
55
- * @param groupName Name of the resource group
56
- * @param serviceName Name of the service
57
- * @param projectName Name of the project
58
- * @param taskName Name of the Task
59
- * @param callback The callback
60
- */
61
- createOrUpdate(parameters: Models.ProjectTask, groupName: string, serviceName: string, projectName: string, taskName: string, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
62
- /**
63
- * @param parameters Information about the task
64
- * @param groupName Name of the resource group
65
- * @param serviceName Name of the service
66
- * @param projectName Name of the project
67
- * @param taskName Name of the Task
68
- * @param options The optional parameters
69
- * @param callback The callback
70
- */
71
- createOrUpdate(parameters: Models.ProjectTask, groupName: string, serviceName: string, projectName: string, taskName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
72
- /**
73
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS
74
- * instance. The GET method retrieves information about a task.
75
- * @summary Get task information
76
- * @param groupName Name of the resource group
77
- * @param serviceName Name of the service
78
- * @param projectName Name of the project
79
- * @param taskName Name of the Task
80
- * @param [options] The optional parameters
81
- * @returns Promise<Models.TasksGetResponse>
82
- */
83
- get(groupName: string, serviceName: string, projectName: string, taskName: string, options?: Models.TasksGetOptionalParams): Promise<Models.TasksGetResponse>;
84
- /**
85
- * @param groupName Name of the resource group
86
- * @param serviceName Name of the service
87
- * @param projectName Name of the project
88
- * @param taskName Name of the Task
89
- * @param callback The callback
90
- */
91
- get(groupName: string, serviceName: string, projectName: string, taskName: string, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
92
- /**
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
99
- */
100
- get(groupName: string, serviceName: string, projectName: string, taskName: string, options: Models.TasksGetOptionalParams, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
101
- /**
102
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS
103
- * instance. The DELETE method deletes a task, canceling it first if it's running.
104
- * @summary Delete task
105
- * @param groupName Name of the resource group
106
- * @param serviceName Name of the service
107
- * @param projectName Name of the project
108
- * @param taskName Name of the Task
109
- * @param [options] The optional parameters
110
- * @returns Promise<msRest.RestResponse>
111
- */
112
- deleteMethod(groupName: string, serviceName: string, projectName: string, taskName: string, options?: Models.TasksDeleteMethodOptionalParams): Promise<msRest.RestResponse>;
113
- /**
114
- * @param groupName Name of the resource group
115
- * @param serviceName Name of the service
116
- * @param projectName Name of the project
117
- * @param taskName Name of the Task
118
- * @param callback The callback
119
- */
120
- deleteMethod(groupName: string, serviceName: string, projectName: string, taskName: string, callback: msRest.ServiceCallback<void>): void;
121
- /**
122
- * @param groupName Name of the resource group
123
- * @param serviceName Name of the service
124
- * @param projectName Name of the project
125
- * @param taskName Name of the Task
126
- * @param options The optional parameters
127
- * @param callback The callback
128
- */
129
- deleteMethod(groupName: string, serviceName: string, projectName: string, taskName: string, options: Models.TasksDeleteMethodOptionalParams, callback: msRest.ServiceCallback<void>): void;
130
- /**
131
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS
132
- * instance. The PATCH method updates an existing task, but since tasks have no mutable custom
133
- * properties, there is little reason to do so.
134
- * @summary Create or update task
135
- * @param parameters Information about the task
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
- * @returns Promise<Models.TasksUpdateResponse>
142
- */
143
- update(parameters: Models.ProjectTask, groupName: string, serviceName: string, projectName: string, taskName: string, options?: msRest.RequestOptionsBase): Promise<Models.TasksUpdateResponse>;
144
- /**
145
- * @param parameters Information about the task
146
- * @param groupName Name of the resource group
147
- * @param serviceName Name of the service
148
- * @param projectName Name of the project
149
- * @param taskName Name of the Task
150
- * @param callback The callback
151
- */
152
- update(parameters: Models.ProjectTask, groupName: string, serviceName: string, projectName: string, taskName: string, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
153
- /**
154
- * @param parameters Information about the task
155
- * @param groupName Name of the resource group
156
- * @param serviceName Name of the service
157
- * @param projectName Name of the project
158
- * @param taskName Name of the Task
159
- * @param options The optional parameters
160
- * @param callback The callback
161
- */
162
- update(parameters: Models.ProjectTask, groupName: string, serviceName: string, projectName: string, taskName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
163
- /**
164
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS
165
- * instance. This method cancels a task if it's currently queued or running.
166
- * @summary Cancel a task
167
- * @param groupName Name of the resource group
168
- * @param serviceName Name of the service
169
- * @param projectName Name of the project
170
- * @param taskName Name of the Task
171
- * @param [options] The optional parameters
172
- * @returns Promise<Models.TasksCancelResponse>
173
- */
174
- cancel(groupName: string, serviceName: string, projectName: string, taskName: string, options?: msRest.RequestOptionsBase): Promise<Models.TasksCancelResponse>;
175
- /**
176
- * @param groupName Name of the resource group
177
- * @param serviceName Name of the service
178
- * @param projectName Name of the project
179
- * @param taskName Name of the Task
180
- * @param callback The callback
181
- */
182
- cancel(groupName: string, serviceName: string, projectName: string, taskName: string, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
183
- /**
184
- * @param groupName Name of the resource group
185
- * @param serviceName Name of the service
186
- * @param projectName Name of the project
187
- * @param taskName Name of the Task
188
- * @param options The optional parameters
189
- * @param callback The callback
190
- */
191
- cancel(groupName: string, serviceName: string, projectName: string, taskName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
192
- /**
193
- * The tasks resource is a nested, proxy-only resource representing work performed by a DMS
194
- * instance. This method executes a command on a running task.
195
- * @summary Execute a command on a task
196
- * @param groupName Name of the resource group
197
- * @param serviceName Name of the service
198
- * @param projectName Name of the project
199
- * @param taskName Name of the Task
200
- * @param parameters Command to execute
201
- * @param [options] The optional parameters
202
- * @returns Promise<Models.TasksCommandResponse>
203
- */
204
- command(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: Models.CommandPropertiesUnion, options?: msRest.RequestOptionsBase): Promise<Models.TasksCommandResponse>;
205
- /**
206
- * @param groupName Name of the resource group
207
- * @param serviceName Name of the service
208
- * @param projectName Name of the project
209
- * @param taskName Name of the Task
210
- * @param parameters Command to execute
211
- * @param callback The callback
212
- */
213
- command(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: Models.CommandPropertiesUnion, callback: msRest.ServiceCallback<Models.CommandPropertiesUnion>): void;
214
- /**
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 parameters Command to execute
220
- * @param options The optional parameters
221
- * @param callback The callback
222
- */
223
- command(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: Models.CommandPropertiesUnion, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CommandPropertiesUnion>): void;
224
- /**
225
- * The services resource is the top-level resource that represents the Database Migration Service.
226
- * This method returns a list of tasks owned by a service resource. Some tasks may have a status of
227
- * Unknown, which indicates that an error occurred while querying the status of that task.
228
- * @summary Get tasks in a service
229
- * @param nextPageLink The NextLink from the previous successful call to List operation.
230
- * @param [options] The optional parameters
231
- * @returns Promise<Models.TasksListNextResponse>
232
- */
233
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.TasksListNextResponse>;
234
- /**
235
- * @param nextPageLink The NextLink from the previous successful call to List operation.
236
- * @param callback The callback
237
- */
238
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.TaskList>): void;
239
- /**
240
- * @param nextPageLink The NextLink from the previous successful call to List operation.
241
- * @param options The optional parameters
242
- * @param callback The callback
243
- */
244
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.TaskList>): void;
245
- }
246
- //# sourceMappingURL=tasks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/operations/tasks.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AAEzF,kCAAkC;AAClC,qBAAa,KAAK;IAChB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;;;;;;OAUG;IACH,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,uBAAuB,GAAG,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAAC;IAC9I;;;;;OAKG;IACH,IAAI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AE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,IAAI;IACvF;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,IAAI;CAU5H"}
@@ -1,317 +0,0 @@
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.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import { __assign } from "tslib";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Mappers from "../models/tasksMappers";
13
- import * as Parameters from "../models/parameters";
14
- /** Class representing a Tasks. */
15
- var Tasks = /** @class */ (function () {
16
- /**
17
- * Create a Tasks.
18
- * @param {DataMigrationServiceClientContext} client Reference to the service client.
19
- */
20
- function Tasks(client) {
21
- this.client = client;
22
- }
23
- Tasks.prototype.list = function (groupName, serviceName, projectName, options, callback) {
24
- return this.client.sendOperationRequest({
25
- groupName: groupName,
26
- serviceName: serviceName,
27
- projectName: projectName,
28
- options: options
29
- }, listOperationSpec, callback);
30
- };
31
- Tasks.prototype.createOrUpdate = function (parameters, groupName, serviceName, projectName, taskName, options, callback) {
32
- return this.client.sendOperationRequest({
33
- parameters: parameters,
34
- groupName: groupName,
35
- serviceName: serviceName,
36
- projectName: projectName,
37
- taskName: taskName,
38
- options: options
39
- }, createOrUpdateOperationSpec, callback);
40
- };
41
- Tasks.prototype.get = function (groupName, serviceName, projectName, taskName, options, callback) {
42
- return this.client.sendOperationRequest({
43
- groupName: groupName,
44
- serviceName: serviceName,
45
- projectName: projectName,
46
- taskName: taskName,
47
- options: options
48
- }, getOperationSpec, callback);
49
- };
50
- Tasks.prototype.deleteMethod = function (groupName, serviceName, projectName, taskName, options, callback) {
51
- return this.client.sendOperationRequest({
52
- groupName: groupName,
53
- serviceName: serviceName,
54
- projectName: projectName,
55
- taskName: taskName,
56
- options: options
57
- }, deleteMethodOperationSpec, callback);
58
- };
59
- Tasks.prototype.update = function (parameters, groupName, serviceName, projectName, taskName, options, callback) {
60
- return this.client.sendOperationRequest({
61
- parameters: parameters,
62
- groupName: groupName,
63
- serviceName: serviceName,
64
- projectName: projectName,
65
- taskName: taskName,
66
- options: options
67
- }, updateOperationSpec, callback);
68
- };
69
- Tasks.prototype.cancel = function (groupName, serviceName, projectName, taskName, options, callback) {
70
- return this.client.sendOperationRequest({
71
- groupName: groupName,
72
- serviceName: serviceName,
73
- projectName: projectName,
74
- taskName: taskName,
75
- options: options
76
- }, cancelOperationSpec, callback);
77
- };
78
- Tasks.prototype.command = function (groupName, serviceName, projectName, taskName, parameters, options, callback) {
79
- return this.client.sendOperationRequest({
80
- groupName: groupName,
81
- serviceName: serviceName,
82
- projectName: projectName,
83
- taskName: taskName,
84
- parameters: parameters,
85
- options: options
86
- }, commandOperationSpec, callback);
87
- };
88
- Tasks.prototype.listNext = function (nextPageLink, options, callback) {
89
- return this.client.sendOperationRequest({
90
- nextPageLink: nextPageLink,
91
- options: options
92
- }, listNextOperationSpec, callback);
93
- };
94
- return Tasks;
95
- }());
96
- export { Tasks };
97
- // Operation Specifications
98
- var serializer = new msRest.Serializer(Mappers);
99
- var listOperationSpec = {
100
- httpMethod: "GET",
101
- path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks",
102
- urlParameters: [
103
- Parameters.subscriptionId,
104
- Parameters.groupName,
105
- Parameters.serviceName,
106
- Parameters.projectName
107
- ],
108
- queryParameters: [
109
- Parameters.apiVersion,
110
- Parameters.taskType
111
- ],
112
- headerParameters: [
113
- Parameters.acceptLanguage
114
- ],
115
- responses: {
116
- 200: {
117
- bodyMapper: Mappers.TaskList
118
- },
119
- default: {
120
- bodyMapper: Mappers.ApiError
121
- }
122
- },
123
- serializer: serializer
124
- };
125
- var createOrUpdateOperationSpec = {
126
- httpMethod: "PUT",
127
- path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
128
- urlParameters: [
129
- Parameters.subscriptionId,
130
- Parameters.groupName,
131
- Parameters.serviceName,
132
- Parameters.projectName,
133
- Parameters.taskName
134
- ],
135
- queryParameters: [
136
- Parameters.apiVersion
137
- ],
138
- headerParameters: [
139
- Parameters.acceptLanguage
140
- ],
141
- requestBody: {
142
- parameterPath: "parameters",
143
- mapper: __assign(__assign({}, Mappers.ProjectTask), { required: true })
144
- },
145
- responses: {
146
- 200: {
147
- bodyMapper: Mappers.ProjectTask
148
- },
149
- 201: {
150
- bodyMapper: Mappers.ProjectTask
151
- },
152
- default: {
153
- bodyMapper: Mappers.ApiError
154
- }
155
- },
156
- serializer: serializer
157
- };
158
- var getOperationSpec = {
159
- httpMethod: "GET",
160
- path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
161
- urlParameters: [
162
- Parameters.subscriptionId,
163
- Parameters.groupName,
164
- Parameters.serviceName,
165
- Parameters.projectName,
166
- Parameters.taskName
167
- ],
168
- queryParameters: [
169
- Parameters.expand,
170
- Parameters.apiVersion
171
- ],
172
- headerParameters: [
173
- Parameters.acceptLanguage
174
- ],
175
- responses: {
176
- 200: {
177
- bodyMapper: Mappers.ProjectTask
178
- },
179
- default: {
180
- bodyMapper: Mappers.ApiError
181
- }
182
- },
183
- serializer: serializer
184
- };
185
- var deleteMethodOperationSpec = {
186
- httpMethod: "DELETE",
187
- path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
188
- urlParameters: [
189
- Parameters.subscriptionId,
190
- Parameters.groupName,
191
- Parameters.serviceName,
192
- Parameters.projectName,
193
- Parameters.taskName
194
- ],
195
- queryParameters: [
196
- Parameters.deleteRunningTasks,
197
- Parameters.apiVersion
198
- ],
199
- headerParameters: [
200
- Parameters.acceptLanguage
201
- ],
202
- responses: {
203
- 200: {},
204
- 204: {},
205
- default: {
206
- bodyMapper: Mappers.ApiError
207
- }
208
- },
209
- serializer: serializer
210
- };
211
- var updateOperationSpec = {
212
- httpMethod: "PATCH",
213
- path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
214
- urlParameters: [
215
- Parameters.subscriptionId,
216
- Parameters.groupName,
217
- Parameters.serviceName,
218
- Parameters.projectName,
219
- Parameters.taskName
220
- ],
221
- queryParameters: [
222
- Parameters.apiVersion
223
- ],
224
- headerParameters: [
225
- Parameters.acceptLanguage
226
- ],
227
- requestBody: {
228
- parameterPath: "parameters",
229
- mapper: __assign(__assign({}, Mappers.ProjectTask), { required: true })
230
- },
231
- responses: {
232
- 200: {
233
- bodyMapper: Mappers.ProjectTask
234
- },
235
- default: {
236
- bodyMapper: Mappers.ApiError
237
- }
238
- },
239
- serializer: serializer
240
- };
241
- var cancelOperationSpec = {
242
- httpMethod: "POST",
243
- path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/cancel",
244
- urlParameters: [
245
- Parameters.subscriptionId,
246
- Parameters.groupName,
247
- Parameters.serviceName,
248
- Parameters.projectName,
249
- Parameters.taskName
250
- ],
251
- queryParameters: [
252
- Parameters.apiVersion
253
- ],
254
- headerParameters: [
255
- Parameters.acceptLanguage
256
- ],
257
- responses: {
258
- 200: {
259
- bodyMapper: Mappers.ProjectTask
260
- },
261
- default: {
262
- bodyMapper: Mappers.ApiError
263
- }
264
- },
265
- serializer: serializer
266
- };
267
- var commandOperationSpec = {
268
- httpMethod: "POST",
269
- path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/command",
270
- urlParameters: [
271
- Parameters.subscriptionId,
272
- Parameters.groupName,
273
- Parameters.serviceName,
274
- Parameters.projectName,
275
- Parameters.taskName
276
- ],
277
- queryParameters: [
278
- Parameters.apiVersion
279
- ],
280
- headerParameters: [
281
- Parameters.acceptLanguage
282
- ],
283
- requestBody: {
284
- parameterPath: "parameters",
285
- mapper: __assign(__assign({}, Mappers.CommandProperties), { required: true })
286
- },
287
- responses: {
288
- 200: {
289
- bodyMapper: Mappers.CommandProperties
290
- },
291
- default: {
292
- bodyMapper: Mappers.ApiError
293
- }
294
- },
295
- serializer: serializer
296
- };
297
- var listNextOperationSpec = {
298
- httpMethod: "GET",
299
- baseUrl: "https://management.azure.com",
300
- path: "{nextLink}",
301
- urlParameters: [
302
- Parameters.nextPageLink
303
- ],
304
- headerParameters: [
305
- Parameters.acceptLanguage
306
- ],
307
- responses: {
308
- 200: {
309
- bodyMapper: Mappers.TaskList
310
- },
311
- default: {
312
- bodyMapper: Mappers.ApiError
313
- }
314
- },
315
- serializer: serializer
316
- };
317
- //# sourceMappingURL=tasks.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../src/operations/tasks.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,kCAAkC;AAClC;IAGE;;;OAGG;IACH,eAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IA6BD,oBAAI,GAAJ,UAAK,SAAiB,EAAE,WAAmB,EAAE,WAAmB,EAAE,OAAkF,EAAE,QAAkD;QACtM,OAAO,IAAI,CAAC,M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UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,53 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { DataMigrationServiceClientContext } from "../dataMigrationServiceClientContext";
4
- /** Class representing a Usages. */
5
- export declare class Usages {
6
- private readonly client;
7
- /**
8
- * Create a Usages.
9
- * @param {DataMigrationServiceClientContext} client Reference to the service client.
10
- */
11
- constructor(client: DataMigrationServiceClientContext);
12
- /**
13
- * This method returns region-specific quotas and resource usage information for the Database
14
- * Migration Service.
15
- * @summary Get resource quotas and usage information
16
- * @param location The Azure region of the operation
17
- * @param [options] The optional parameters
18
- * @returns Promise<Models.UsagesListResponse>
19
- */
20
- list(location: string, options?: msRest.RequestOptionsBase): Promise<Models.UsagesListResponse>;
21
- /**
22
- * @param location The Azure region of the operation
23
- * @param callback The callback
24
- */
25
- list(location: string, callback: msRest.ServiceCallback<Models.QuotaList>): void;
26
- /**
27
- * @param location The Azure region of the operation
28
- * @param options The optional parameters
29
- * @param callback The callback
30
- */
31
- list(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.QuotaList>): void;
32
- /**
33
- * This method returns region-specific quotas and resource usage information for the Database
34
- * Migration Service.
35
- * @summary Get resource quotas and usage information
36
- * @param nextPageLink The NextLink from the previous successful call to List operation.
37
- * @param [options] The optional parameters
38
- * @returns Promise<Models.UsagesListNextResponse>
39
- */
40
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.UsagesListNextResponse>;
41
- /**
42
- * @param nextPageLink The NextLink from the previous successful call to List operation.
43
- * @param callback The callback
44
- */
45
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.QuotaList>): void;
46
- /**
47
- * @param nextPageLink The NextLink from the previous successful call to List operation.
48
- * @param options The optional parameters
49
- * @param callback The callback
50
- */
51
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.QuotaList>): void;
52
- }
53
- //# sourceMappingURL=usages.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usages.d.ts","sourceRoot":"","sources":["../../src/operations/usages.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AAEzF,mCAAmC;AACnC,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;;;OAOG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,kBAAkB,CAAC;IAC/F;;;OAGG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,IAAI;IAChF;;;;OAIG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,IAAI;IAWpH;;;;;;;OAOG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,O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