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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (450) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +16801 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts +2 -0
  9. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js +65 -0
  11. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js.map +1 -0
  12. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts +2 -0
  13. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js +65 -0
  15. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js.map +1 -0
  16. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts +2 -0
  17. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js +32 -0
  19. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js.map +1 -0
  20. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts +2 -0
  21. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js +32 -0
  23. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js.map +1 -0
  24. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts +2 -0
  25. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js +35 -0
  27. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js.map +1 -0
  28. package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts +2 -0
  29. package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/deleteSqlMigrationService.js +31 -0
  31. package/dist-esm/samples-dev/deleteSqlMigrationService.js.map +1 -0
  32. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts +2 -0
  33. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js +35 -0
  35. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js.map +1 -0
  36. package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts +2 -0
  37. package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/filesCreateOrUpdate.js +36 -0
  39. package/dist-esm/samples-dev/filesCreateOrUpdate.js.map +1 -0
  40. package/dist-esm/samples-dev/filesDelete.d.ts +2 -0
  41. package/dist-esm/samples-dev/filesDelete.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/filesDelete.js +33 -0
  43. package/dist-esm/samples-dev/filesDelete.js.map +1 -0
  44. package/dist-esm/samples-dev/filesList.d.ts +2 -0
  45. package/dist-esm/samples-dev/filesList.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/filesList.js +33 -0
  47. package/dist-esm/samples-dev/filesList.js.map +1 -0
  48. package/dist-esm/samples-dev/filesUpdate.d.ts +2 -0
  49. package/dist-esm/samples-dev/filesUpdate.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/filesUpdate.js +36 -0
  51. package/dist-esm/samples-dev/filesUpdate.js.map +1 -0
  52. package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts +2 -0
  53. package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/getDatabaseMigrationResource.js +32 -0
  55. package/dist-esm/samples-dev/getDatabaseMigrationResource.js.map +1 -0
  56. package/dist-esm/samples-dev/getMigrationService.d.ts +2 -0
  57. package/dist-esm/samples-dev/getMigrationService.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/getMigrationService.js +31 -0
  59. package/dist-esm/samples-dev/getMigrationService.js.map +1 -0
  60. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts +2 -0
  61. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js +44 -0
  63. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js.map +1 -0
  64. package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts +2 -0
  65. package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/getServicesInTheSubscriptions.js +43 -0
  67. package/dist-esm/samples-dev/getServicesInTheSubscriptions.js.map +1 -0
  68. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts +2 -0
  69. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js +45 -0
  71. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js.map +1 -0
  72. package/dist-esm/samples-dev/listSkus.d.ts +2 -0
  73. package/dist-esm/samples-dev/listSkus.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/listSkus.js +43 -0
  75. package/dist-esm/samples-dev/listSkus.js.map +1 -0
  76. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts +2 -0
  77. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js +43 -0
  79. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js.map +1 -0
  80. package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts +2 -0
  81. package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/projectsCreateOrUpdate.js +37 -0
  83. package/dist-esm/samples-dev/projectsCreateOrUpdate.js.map +1 -0
  84. package/dist-esm/samples-dev/projectsDelete.d.ts +2 -0
  85. package/dist-esm/samples-dev/projectsDelete.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/projectsDelete.js +32 -0
  87. package/dist-esm/samples-dev/projectsDelete.js.map +1 -0
  88. package/dist-esm/samples-dev/projectsGet.d.ts +2 -0
  89. package/dist-esm/samples-dev/projectsGet.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/projectsGet.js +32 -0
  91. package/dist-esm/samples-dev/projectsGet.js.map +1 -0
  92. package/dist-esm/samples-dev/projectsList.d.ts +2 -0
  93. package/dist-esm/samples-dev/projectsList.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/projectsList.js +45 -0
  95. package/dist-esm/samples-dev/projectsList.js.map +1 -0
  96. package/dist-esm/samples-dev/projectsUpdate.d.ts +2 -0
  97. package/dist-esm/samples-dev/projectsUpdate.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/projectsUpdate.js +37 -0
  99. package/dist-esm/samples-dev/projectsUpdate.js.map +1 -0
  100. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts +2 -0
  101. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js +32 -0
  103. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js.map +1 -0
  104. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts +2 -0
  105. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js +31 -0
  107. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js.map +1 -0
  108. package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts +2 -0
  109. package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/retrieveTheMonitoringData.js +31 -0
  111. package/dist-esm/samples-dev/retrieveTheMonitoringData.js.map +1 -0
  112. package/dist-esm/samples-dev/serviceTasksList.d.ts +2 -0
  113. package/dist-esm/samples-dev/serviceTasksList.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/serviceTasksList.js +45 -0
  115. package/dist-esm/samples-dev/serviceTasksList.js.map +1 -0
  116. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts +2 -0
  117. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js +32 -0
  119. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js.map +1 -0
  120. package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts +2 -0
  121. package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/servicesCheckNameAvailability.js +34 -0
  123. package/dist-esm/samples-dev/servicesCheckNameAvailability.js.map +1 -0
  124. package/dist-esm/samples-dev/servicesCheckStatus.d.ts +2 -0
  125. package/dist-esm/samples-dev/servicesCheckStatus.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/servicesCheckStatus.js +31 -0
  127. package/dist-esm/samples-dev/servicesCheckStatus.js.map +1 -0
  128. package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts +2 -0
  129. package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts.map +1 -0
  130. package/dist-esm/samples-dev/servicesCreateOrUpdate.js +35 -0
  131. package/dist-esm/samples-dev/servicesCreateOrUpdate.js.map +1 -0
  132. package/dist-esm/samples-dev/servicesList.d.ts +2 -0
  133. package/dist-esm/samples-dev/servicesList.d.ts.map +1 -0
  134. package/dist-esm/samples-dev/servicesList.js +43 -0
  135. package/dist-esm/samples-dev/servicesList.js.map +1 -0
  136. package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts +2 -0
  137. package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts.map +1 -0
  138. package/dist-esm/samples-dev/servicesListByResourceGroup.js +44 -0
  139. package/dist-esm/samples-dev/servicesListByResourceGroup.js.map +1 -0
  140. package/dist-esm/samples-dev/servicesListSkus.d.ts +2 -0
  141. package/dist-esm/samples-dev/servicesListSkus.d.ts.map +1 -0
  142. package/dist-esm/samples-dev/servicesListSkus.js +45 -0
  143. package/dist-esm/samples-dev/servicesListSkus.js.map +1 -0
  144. package/dist-esm/samples-dev/servicesStart.d.ts +2 -0
  145. package/dist-esm/samples-dev/servicesStart.d.ts.map +1 -0
  146. package/dist-esm/samples-dev/servicesStart.js +31 -0
  147. package/dist-esm/samples-dev/servicesStart.js.map +1 -0
  148. package/dist-esm/samples-dev/servicesStop.d.ts +2 -0
  149. package/dist-esm/samples-dev/servicesStop.d.ts.map +1 -0
  150. package/dist-esm/samples-dev/servicesStop.js +31 -0
  151. package/dist-esm/samples-dev/servicesStop.js.map +1 -0
  152. package/dist-esm/samples-dev/servicesUsages.d.ts +2 -0
  153. package/dist-esm/samples-dev/servicesUsages.d.ts.map +1 -0
  154. package/dist-esm/samples-dev/servicesUsages.js +44 -0
  155. package/dist-esm/samples-dev/servicesUsages.js.map +1 -0
  156. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts +2 -0
  157. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts.map +1 -0
  158. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js +35 -0
  159. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js.map +1 -0
  160. package/dist-esm/samples-dev/tasksCancel.d.ts +2 -0
  161. package/dist-esm/samples-dev/tasksCancel.d.ts.map +1 -0
  162. package/dist-esm/samples-dev/tasksCancel.js +32 -0
  163. package/dist-esm/samples-dev/tasksCancel.js.map +1 -0
  164. package/dist-esm/samples-dev/tasksCommand.d.ts +2 -0
  165. package/dist-esm/samples-dev/tasksCommand.d.ts.map +1 -0
  166. package/dist-esm/samples-dev/tasksCommand.js +37 -0
  167. package/dist-esm/samples-dev/tasksCommand.js.map +1 -0
  168. package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts +2 -0
  169. package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts.map +1 -0
  170. package/dist-esm/samples-dev/tasksCreateOrUpdate.js +38 -0
  171. package/dist-esm/samples-dev/tasksCreateOrUpdate.js.map +1 -0
  172. package/dist-esm/samples-dev/tasksDelete.d.ts +2 -0
  173. package/dist-esm/samples-dev/tasksDelete.d.ts.map +1 -0
  174. package/dist-esm/samples-dev/tasksDelete.js +32 -0
  175. package/dist-esm/samples-dev/tasksDelete.js.map +1 -0
  176. package/dist-esm/samples-dev/tasksGet.d.ts +2 -0
  177. package/dist-esm/samples-dev/tasksGet.d.ts.map +1 -0
  178. package/dist-esm/samples-dev/tasksGet.js +32 -0
  179. package/dist-esm/samples-dev/tasksGet.js.map +1 -0
  180. package/dist-esm/samples-dev/tasksList.d.ts +2 -0
  181. package/dist-esm/samples-dev/tasksList.d.ts.map +1 -0
  182. package/dist-esm/samples-dev/tasksList.js +46 -0
  183. package/dist-esm/samples-dev/tasksList.js.map +1 -0
  184. package/dist-esm/samples-dev/tasksUpdate.d.ts +2 -0
  185. package/dist-esm/samples-dev/tasksUpdate.d.ts.map +1 -0
  186. package/dist-esm/samples-dev/tasksUpdate.js +38 -0
  187. package/dist-esm/samples-dev/tasksUpdate.js.map +1 -0
  188. package/dist-esm/samples-dev/updateSqlMigrationService.d.ts +2 -0
  189. package/dist-esm/samples-dev/updateSqlMigrationService.d.ts.map +1 -0
  190. package/dist-esm/samples-dev/updateSqlMigrationService.js +32 -0
  191. package/dist-esm/samples-dev/updateSqlMigrationService.js.map +1 -0
  192. package/dist-esm/src/dataMigrationManagementClient.d.ts +28 -0
  193. package/dist-esm/src/dataMigrationManagementClient.d.ts.map +1 -0
  194. package/dist-esm/src/dataMigrationManagementClient.js +61 -0
  195. package/dist-esm/src/dataMigrationManagementClient.js.map +1 -0
  196. package/dist-esm/src/index.d.ts +5 -0
  197. package/dist-esm/src/index.d.ts.map +1 -0
  198. package/dist-esm/src/index.js +12 -0
  199. package/dist-esm/src/index.js.map +1 -0
  200. package/dist-esm/src/lroImpl.d.ts +16 -0
  201. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  202. package/dist-esm/src/lroImpl.js +29 -0
  203. package/dist-esm/src/lroImpl.js.map +1 -0
  204. package/dist-esm/src/models/index.d.ts +7238 -0
  205. package/dist-esm/src/models/index.d.ts.map +1 -0
  206. package/dist-esm/src/models/index.js +534 -0
  207. package/dist-esm/src/models/index.js.map +1 -0
  208. package/dist-esm/src/models/mappers.d.ts +434 -0
  209. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  210. package/{esm → dist-esm/src}/models/mappers.js +7803 -6204
  211. package/dist-esm/src/models/mappers.js.map +1 -0
  212. package/dist-esm/src/models/parameters.d.ts +36 -0
  213. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  214. package/dist-esm/src/models/parameters.js +272 -0
  215. package/dist-esm/src/models/parameters.js.map +1 -0
  216. package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts +83 -0
  217. package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts.map +1 -0
  218. package/dist-esm/src/operations/databaseMigrationsSqlMi.js +309 -0
  219. package/dist-esm/src/operations/databaseMigrationsSqlMi.js.map +1 -0
  220. package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts +83 -0
  221. package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts.map +1 -0
  222. package/dist-esm/src/operations/databaseMigrationsSqlVm.js +309 -0
  223. package/dist-esm/src/operations/databaseMigrationsSqlVm.js.map +1 -0
  224. package/dist-esm/src/operations/files.d.ts +101 -0
  225. package/dist-esm/src/operations/files.d.ts.map +1 -0
  226. package/dist-esm/src/operations/files.js +358 -0
  227. package/dist-esm/src/operations/files.js.map +1 -0
  228. package/{esm → dist-esm/src}/operations/index.d.ts +4 -1
  229. package/dist-esm/src/operations/index.d.ts.map +1 -0
  230. package/dist-esm/src/operations/index.js +19 -0
  231. package/dist-esm/src/operations/index.js.map +1 -0
  232. package/dist-esm/src/operations/operations.d.ts +32 -0
  233. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  234. package/dist-esm/src/operations/operations.js +116 -0
  235. package/dist-esm/src/operations/operations.js.map +1 -0
  236. package/dist-esm/src/operations/projects.d.ts +78 -0
  237. package/dist-esm/src/operations/projects.d.ts.map +1 -0
  238. package/dist-esm/src/operations/projects.js +279 -0
  239. package/dist-esm/src/operations/projects.js.map +1 -0
  240. package/dist-esm/src/operations/resourceSkus.d.ts +32 -0
  241. package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -0
  242. package/dist-esm/src/operations/resourceSkus.js +124 -0
  243. package/dist-esm/src/operations/resourceSkus.js.map +1 -0
  244. package/dist-esm/src/operations/serviceTasks.d.ts +91 -0
  245. package/dist-esm/src/operations/serviceTasks.d.ts.map +1 -0
  246. package/dist-esm/src/operations/serviceTasks.js +316 -0
  247. package/dist-esm/src/operations/serviceTasks.js.map +1 -0
  248. package/dist-esm/src/operations/services.d.ts +217 -0
  249. package/dist-esm/src/operations/services.d.ts.map +1 -0
  250. package/dist-esm/src/operations/services.js +884 -0
  251. package/dist-esm/src/operations/services.js.map +1 -0
  252. package/dist-esm/src/operations/sqlMigrationServices.d.ts +178 -0
  253. package/dist-esm/src/operations/sqlMigrationServices.d.ts.map +1 -0
  254. package/dist-esm/src/operations/sqlMigrationServices.js +720 -0
  255. package/dist-esm/src/operations/sqlMigrationServices.js.map +1 -0
  256. package/dist-esm/src/operations/tasks.d.ts +110 -0
  257. package/dist-esm/src/operations/tasks.d.ts.map +1 -0
  258. package/dist-esm/src/operations/tasks.js +369 -0
  259. package/dist-esm/src/operations/tasks.js.map +1 -0
  260. package/dist-esm/src/operations/usages.d.ts +37 -0
  261. package/dist-esm/src/operations/usages.d.ts.map +1 -0
  262. package/dist-esm/src/operations/usages.js +134 -0
  263. package/dist-esm/src/operations/usages.js.map +1 -0
  264. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts +75 -0
  265. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -0
  266. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js +9 -0
  267. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -0
  268. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts +75 -0
  269. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -0
  270. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js +9 -0
  271. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -0
  272. package/dist-esm/src/operationsInterfaces/files.d.ts +73 -0
  273. package/dist-esm/src/operationsInterfaces/files.d.ts.map +1 -0
  274. package/dist-esm/src/operationsInterfaces/files.js +9 -0
  275. package/dist-esm/src/operationsInterfaces/files.js.map +1 -0
  276. package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
  277. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  278. package/dist-esm/src/operationsInterfaces/index.js +19 -0
  279. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  280. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  281. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  282. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  283. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  284. package/dist-esm/src/operationsInterfaces/projects.d.ts +52 -0
  285. package/dist-esm/src/operationsInterfaces/projects.d.ts.map +1 -0
  286. package/dist-esm/src/operationsInterfaces/projects.js +9 -0
  287. package/dist-esm/src/operationsInterfaces/projects.js.map +1 -0
  288. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts +11 -0
  289. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts.map +1 -0
  290. package/dist-esm/src/operationsInterfaces/resourceSkus.js +9 -0
  291. package/dist-esm/src/operationsInterfaces/resourceSkus.js.map +1 -0
  292. package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts +64 -0
  293. package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts.map +1 -0
  294. package/dist-esm/src/operationsInterfaces/serviceTasks.js +9 -0
  295. package/dist-esm/src/operationsInterfaces/serviceTasks.js.map +1 -0
  296. package/dist-esm/src/operationsInterfaces/services.d.ts +161 -0
  297. package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
  298. package/dist-esm/src/operationsInterfaces/services.js +9 -0
  299. package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
  300. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts +121 -0
  301. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -0
  302. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js +9 -0
  303. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js.map +1 -0
  304. package/dist-esm/src/operationsInterfaces/tasks.d.ts +81 -0
  305. package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
  306. package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
  307. package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
  308. package/dist-esm/src/operationsInterfaces/usages.d.ts +13 -0
  309. package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
  310. package/dist-esm/src/operationsInterfaces/usages.js +9 -0
  311. package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
  312. package/dist-esm/test/sampleTest.d.ts +2 -0
  313. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  314. package/dist-esm/test/sampleTest.js +40 -0
  315. package/dist-esm/test/sampleTest.js.map +1 -0
  316. package/package.json +82 -23
  317. package/review/arm-datamigration.api.md +4412 -0
  318. package/rollup.config.js +181 -30
  319. package/src/dataMigrationManagementClient.ts +119 -0
  320. package/src/index.ts +12 -0
  321. package/src/lroImpl.ts +34 -0
  322. package/src/models/index.ts +6252 -7473
  323. package/src/models/mappers.ts +8147 -6279
  324. package/src/models/parameters.ts +230 -54
  325. package/src/operations/databaseMigrationsSqlMi.ts +453 -0
  326. package/src/operations/databaseMigrationsSqlVm.ts +453 -0
  327. package/src/operations/files.ts +283 -368
  328. package/src/operations/index.ts +7 -6
  329. package/src/operations/operations.ts +93 -85
  330. package/src/operations/projects.ts +222 -275
  331. package/src/operations/resourceSkus.ts +92 -78
  332. package/src/operations/serviceTasks.ts +244 -321
  333. package/src/operations/services.ts +887 -647
  334. package/src/operations/sqlMigrationServices.ts +986 -0
  335. package/src/operations/tasks.ts +303 -397
  336. package/src/operations/usages.ts +110 -85
  337. package/src/operationsInterfaces/databaseMigrationsSqlMi.ts +138 -0
  338. package/src/operationsInterfaces/databaseMigrationsSqlVm.ts +138 -0
  339. package/src/operationsInterfaces/files.ts +139 -0
  340. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +8 -7
  341. package/src/operationsInterfaces/operations.ts +22 -0
  342. package/src/operationsInterfaces/projects.ts +97 -0
  343. package/src/operationsInterfaces/resourceSkus.ts +22 -0
  344. package/src/operationsInterfaces/serviceTasks.ts +116 -0
  345. package/src/operationsInterfaces/services.ts +272 -0
  346. package/src/operationsInterfaces/sqlMigrationServices.ts +223 -0
  347. package/src/operationsInterfaces/tasks.ts +149 -0
  348. package/src/operationsInterfaces/usages.ts +25 -0
  349. package/tsconfig.json +5 -4
  350. package/types/arm-datamigration.d.ts +8549 -0
  351. package/types/tsdoc-metadata.json +11 -0
  352. package/dist/arm-datamigration.js +0 -14012
  353. package/dist/arm-datamigration.js.map +0 -1
  354. package/dist/arm-datamigration.min.js +0 -1
  355. package/dist/arm-datamigration.min.js.map +0 -1
  356. package/esm/dataMigrationServiceClient.d.ts +0 -31
  357. package/esm/dataMigrationServiceClient.d.ts.map +0 -1
  358. package/esm/dataMigrationServiceClient.js +0 -45
  359. package/esm/dataMigrationServiceClient.js.map +0 -1
  360. package/esm/dataMigrationServiceClientContext.d.ts +0 -22
  361. package/esm/dataMigrationServiceClientContext.d.ts.map +0 -1
  362. package/esm/dataMigrationServiceClientContext.js +0 -61
  363. package/esm/dataMigrationServiceClientContext.js.map +0 -1
  364. package/esm/models/filesMappers.d.ts +0 -2
  365. package/esm/models/filesMappers.d.ts.map +0 -1
  366. package/esm/models/filesMappers.js +0 -9
  367. package/esm/models/filesMappers.js.map +0 -1
  368. package/esm/models/index.d.ts +0 -8920
  369. package/esm/models/index.d.ts.map +0 -1
  370. package/esm/models/index.js +0 -8
  371. package/esm/models/index.js.map +0 -1
  372. package/esm/models/mappers.d.ts +0 -374
  373. package/esm/models/mappers.d.ts.map +0 -1
  374. package/esm/models/mappers.js.map +0 -1
  375. package/esm/models/operationsMappers.d.ts +0 -2
  376. package/esm/models/operationsMappers.d.ts.map +0 -1
  377. package/esm/models/operationsMappers.js +0 -9
  378. package/esm/models/operationsMappers.js.map +0 -1
  379. package/esm/models/parameters.d.ts +0 -15
  380. package/esm/models/parameters.d.ts.map +0 -1
  381. package/esm/models/parameters.js +0 -147
  382. package/esm/models/parameters.js.map +0 -1
  383. package/esm/models/projectsMappers.d.ts +0 -2
  384. package/esm/models/projectsMappers.d.ts.map +0 -1
  385. package/esm/models/projectsMappers.js +0 -9
  386. package/esm/models/projectsMappers.js.map +0 -1
  387. package/esm/models/resourceSkusMappers.d.ts +0 -2
  388. package/esm/models/resourceSkusMappers.d.ts.map +0 -1
  389. package/esm/models/resourceSkusMappers.js +0 -9
  390. package/esm/models/resourceSkusMappers.js.map +0 -1
  391. package/esm/models/serviceTasksMappers.d.ts +0 -2
  392. package/esm/models/serviceTasksMappers.d.ts.map +0 -1
  393. package/esm/models/serviceTasksMappers.js +0 -9
  394. package/esm/models/serviceTasksMappers.js.map +0 -1
  395. package/esm/models/servicesMappers.d.ts +0 -2
  396. package/esm/models/servicesMappers.d.ts.map +0 -1
  397. package/esm/models/servicesMappers.js +0 -9
  398. package/esm/models/servicesMappers.js.map +0 -1
  399. package/esm/models/tasksMappers.d.ts +0 -2
  400. package/esm/models/tasksMappers.d.ts.map +0 -1
  401. package/esm/models/tasksMappers.js +0 -9
  402. package/esm/models/tasksMappers.js.map +0 -1
  403. package/esm/models/usagesMappers.d.ts +0 -2
  404. package/esm/models/usagesMappers.d.ts.map +0 -1
  405. package/esm/models/usagesMappers.js +0 -9
  406. package/esm/models/usagesMappers.js.map +0 -1
  407. package/esm/operations/files.d.ts +0 -235
  408. package/esm/operations/files.d.ts.map +0 -1
  409. package/esm/operations/files.js +0 -309
  410. package/esm/operations/files.js.map +0 -1
  411. package/esm/operations/index.d.ts.map +0 -1
  412. package/esm/operations/index.js.map +0 -1
  413. package/esm/operations/operations.d.ts +0 -48
  414. package/esm/operations/operations.d.ts.map +0 -1
  415. package/esm/operations/operations.js +0 -77
  416. package/esm/operations/operations.js.map +0 -1
  417. package/esm/operations/projects.d.ts +0 -166
  418. package/esm/operations/projects.d.ts.map +0 -1
  419. package/esm/operations/projects.js +0 -230
  420. package/esm/operations/projects.js.map +0 -1
  421. package/esm/operations/resourceSkus.d.ts +0 -48
  422. package/esm/operations/resourceSkus.d.ts.map +0 -1
  423. package/esm/operations/resourceSkus.js +0 -80
  424. package/esm/operations/resourceSkus.js.map +0 -1
  425. package/esm/operations/serviceTasks.d.ts +0 -199
  426. package/esm/operations/serviceTasks.d.ts.map +0 -1
  427. package/esm/operations/serviceTasks.js +0 -265
  428. package/esm/operations/serviceTasks.js.map +0 -1
  429. package/esm/operations/services.d.ts +0 -350
  430. package/esm/operations/services.d.ts.map +0 -1
  431. package/esm/operations/services.js +0 -626
  432. package/esm/operations/services.js.map +0 -1
  433. package/esm/operations/tasks.d.ts +0 -246
  434. package/esm/operations/tasks.d.ts.map +0 -1
  435. package/esm/operations/tasks.js +0 -317
  436. package/esm/operations/tasks.js.map +0 -1
  437. package/esm/operations/usages.d.ts +0 -53
  438. package/esm/operations/usages.d.ts.map +0 -1
  439. package/esm/operations/usages.js +0 -82
  440. package/esm/operations/usages.js.map +0 -1
  441. package/src/dataMigrationServiceClient.ts +0 -62
  442. package/src/dataMigrationServiceClientContext.ts +0 -68
  443. package/src/models/filesMappers.ts +0 -235
  444. package/src/models/operationsMappers.ts +0 -16
  445. package/src/models/projectsMappers.ts +0 -234
  446. package/src/models/resourceSkusMappers.ts +0 -19
  447. package/src/models/serviceTasksMappers.ts +0 -234
  448. package/src/models/servicesMappers.ts +0 -241
  449. package/src/models/tasksMappers.ts +0 -234
  450. package/src/models/usagesMappers.ts +0 -16
@@ -0,0 +1,64 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ProjectTask, ServiceTasksListOptionalParams, ServiceTasksCreateOrUpdateOptionalParams, ServiceTasksCreateOrUpdateResponse, ServiceTasksGetOptionalParams, ServiceTasksGetResponse, ServiceTasksDeleteOptionalParams, ServiceTasksUpdateOptionalParams, ServiceTasksUpdateResponse, ServiceTasksCancelOptionalParams, ServiceTasksCancelResponse } from "../models";
3
+ /** Interface representing a ServiceTasks. */
4
+ export interface ServiceTasks {
5
+ /**
6
+ * The services resource is the top-level resource that represents the Database Migration Service. This
7
+ * method returns a list of service level tasks owned by a service resource. Some tasks may have a
8
+ * status of Unknown, which indicates that an error occurred while querying the status of that task.
9
+ * @param groupName Name of the resource group
10
+ * @param serviceName Name of the service
11
+ * @param options The options parameters.
12
+ */
13
+ list(groupName: string, serviceName: string, options?: ServiceTasksListOptionalParams): PagedAsyncIterableIterator<ProjectTask>;
14
+ /**
15
+ * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
16
+ * instance. The PUT method creates a new service task or updates an existing one, although since
17
+ * service tasks have no mutable custom properties, there is little reason to update an existing one.
18
+ * @param groupName Name of the resource group
19
+ * @param serviceName Name of the service
20
+ * @param taskName Name of the Task
21
+ * @param parameters Information about the task
22
+ * @param options The options parameters.
23
+ */
24
+ createOrUpdate(groupName: string, serviceName: string, taskName: string, parameters: ProjectTask, options?: ServiceTasksCreateOrUpdateOptionalParams): Promise<ServiceTasksCreateOrUpdateResponse>;
25
+ /**
26
+ * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
27
+ * instance. The GET method retrieves information about a service task.
28
+ * @param groupName Name of the resource group
29
+ * @param serviceName Name of the service
30
+ * @param taskName Name of the Task
31
+ * @param options The options parameters.
32
+ */
33
+ get(groupName: string, serviceName: string, taskName: string, options?: ServiceTasksGetOptionalParams): Promise<ServiceTasksGetResponse>;
34
+ /**
35
+ * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
36
+ * instance. The DELETE method deletes a service task, canceling it first if it's running.
37
+ * @param groupName Name of the resource group
38
+ * @param serviceName Name of the service
39
+ * @param taskName Name of the Task
40
+ * @param options The options parameters.
41
+ */
42
+ delete(groupName: string, serviceName: string, taskName: string, options?: ServiceTasksDeleteOptionalParams): Promise<void>;
43
+ /**
44
+ * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
45
+ * instance. The PATCH method updates an existing service task, but since service tasks have no mutable
46
+ * custom properties, there is little reason to do so.
47
+ * @param groupName Name of the resource group
48
+ * @param serviceName Name of the service
49
+ * @param taskName Name of the Task
50
+ * @param parameters Information about the task
51
+ * @param options The options parameters.
52
+ */
53
+ update(groupName: string, serviceName: string, taskName: string, parameters: ProjectTask, options?: ServiceTasksUpdateOptionalParams): Promise<ServiceTasksUpdateResponse>;
54
+ /**
55
+ * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
56
+ * instance. This method cancels a service task if it's currently queued or running.
57
+ * @param groupName Name of the resource group
58
+ * @param serviceName Name of the service
59
+ * @param taskName Name of the Task
60
+ * @param options The options parameters.
61
+ */
62
+ cancel(groupName: string, serviceName: string, taskName: string, options?: ServiceTasksCancelOptionalParams): Promise<ServiceTasksCancelResponse>;
63
+ }
64
+ //# sourceMappingURL=serviceTasks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serviceTasks.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/serviceTasks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,WAAW,EACX,8BAA8B,EAC9B,wCAAwC,EACxC,kCAAkC,EAClC,6BAA6B,EAC7B,uBAAuB,EACvB,gCAAgC,EAChC,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,0BAA0B,EAC3B,MAAM,WAAW,CAAC;AAGnB,6CAA6C;AAC7C,MAAM,WAAW,YAAY;IAC3B;;;;;;;OAOG;IACH,IAAI,CACF,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,8BAA8B,GACvC,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC3C;;;;;;;;;OASG;IACH,cAAc,CACZ,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC/C;;;;;;;OAOG;IACH,GAAG,CACD,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACpC;;;;;;;OAOG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;;OASG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;;OAOG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;CACxC"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=serviceTasks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serviceTasks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/serviceTasks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,161 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { AvailableServiceSku, ServicesListSkusOptionalParams, DataMigrationService, ServicesListByResourceGroupOptionalParams, ServicesListOptionalParams, ServicesCreateOrUpdateOptionalParams, ServicesCreateOrUpdateResponse, ServicesGetOptionalParams, ServicesGetResponse, ServicesDeleteOptionalParams, ServicesUpdateOptionalParams, ServicesUpdateResponse, ServicesCheckStatusOptionalParams, ServicesCheckStatusResponse, ServicesStartOptionalParams, ServicesStopOptionalParams, NameAvailabilityRequest, ServicesCheckChildrenNameAvailabilityOptionalParams, ServicesCheckChildrenNameAvailabilityResponse, ServicesCheckNameAvailabilityOptionalParams, ServicesCheckNameAvailabilityResponse } from "../models";
4
+ /** Interface representing a Services. */
5
+ export interface Services {
6
+ /**
7
+ * The services resource is the top-level resource that represents the Database Migration Service. The
8
+ * skus action returns the list of SKUs that a service resource can be updated to.
9
+ * @param groupName Name of the resource group
10
+ * @param serviceName Name of the service
11
+ * @param options The options parameters.
12
+ */
13
+ listSkus(groupName: string, serviceName: string, options?: ServicesListSkusOptionalParams): PagedAsyncIterableIterator<AvailableServiceSku>;
14
+ /**
15
+ * The Services resource is the top-level resource that represents the Database Migration Service. This
16
+ * method returns a list of service resources in a resource group.
17
+ * @param groupName Name of the resource group
18
+ * @param options The options parameters.
19
+ */
20
+ listByResourceGroup(groupName: string, options?: ServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DataMigrationService>;
21
+ /**
22
+ * The services resource is the top-level resource that represents the Database Migration Service. This
23
+ * method returns a list of service resources in a subscription.
24
+ * @param options The options parameters.
25
+ */
26
+ list(options?: ServicesListOptionalParams): PagedAsyncIterableIterator<DataMigrationService>;
27
+ /**
28
+ * The services resource is the top-level resource that represents the Database Migration Service. The
29
+ * PUT method creates a new service or updates an existing one. When a service is updated, existing
30
+ * child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which
31
+ * refers to a VM-based service, although other kinds may be added in the future. This method can
32
+ * change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the
33
+ * service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply
34
+ * when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
35
+ * property.
36
+ * @param groupName Name of the resource group
37
+ * @param serviceName Name of the service
38
+ * @param parameters Information about the service
39
+ * @param options The options parameters.
40
+ */
41
+ beginCreateOrUpdate(groupName: string, serviceName: string, parameters: DataMigrationService, options?: ServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>>;
42
+ /**
43
+ * The services resource is the top-level resource that represents the Database Migration Service. The
44
+ * PUT method creates a new service or updates an existing one. When a service is updated, existing
45
+ * child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which
46
+ * refers to a VM-based service, although other kinds may be added in the future. This method can
47
+ * change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the
48
+ * service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply
49
+ * when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
50
+ * property.
51
+ * @param groupName Name of the resource group
52
+ * @param serviceName Name of the service
53
+ * @param parameters Information about the service
54
+ * @param options The options parameters.
55
+ */
56
+ beginCreateOrUpdateAndWait(groupName: string, serviceName: string, parameters: DataMigrationService, options?: ServicesCreateOrUpdateOptionalParams): Promise<ServicesCreateOrUpdateResponse>;
57
+ /**
58
+ * The services resource is the top-level resource that represents the Database Migration Service. The
59
+ * GET method retrieves information about a service instance.
60
+ * @param groupName Name of the resource group
61
+ * @param serviceName Name of the service
62
+ * @param options The options parameters.
63
+ */
64
+ get(groupName: string, serviceName: string, options?: ServicesGetOptionalParams): Promise<ServicesGetResponse>;
65
+ /**
66
+ * The services resource is the top-level resource that represents the Database Migration Service. The
67
+ * DELETE method deletes a service. Any running tasks will be canceled.
68
+ * @param groupName Name of the resource group
69
+ * @param serviceName Name of the service
70
+ * @param options The options parameters.
71
+ */
72
+ beginDelete(groupName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
73
+ /**
74
+ * The services resource is the top-level resource that represents the Database Migration Service. The
75
+ * DELETE method deletes a service. Any running tasks will be canceled.
76
+ * @param groupName Name of the resource group
77
+ * @param serviceName Name of the service
78
+ * @param options The options parameters.
79
+ */
80
+ beginDeleteAndWait(groupName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<void>;
81
+ /**
82
+ * The services resource is the top-level resource that represents the Database Migration Service. The
83
+ * PATCH method updates an existing service. This method can change the kind, SKU, and network of the
84
+ * service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad
85
+ * Request ("ServiceIsBusy").
86
+ * @param groupName Name of the resource group
87
+ * @param serviceName Name of the service
88
+ * @param parameters Information about the service
89
+ * @param options The options parameters.
90
+ */
91
+ beginUpdate(groupName: string, serviceName: string, parameters: DataMigrationService, options?: ServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServicesUpdateResponse>, ServicesUpdateResponse>>;
92
+ /**
93
+ * The services resource is the top-level resource that represents the Database Migration Service. The
94
+ * PATCH method updates an existing service. This method can change the kind, SKU, and network of the
95
+ * service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad
96
+ * Request ("ServiceIsBusy").
97
+ * @param groupName Name of the resource group
98
+ * @param serviceName Name of the service
99
+ * @param parameters Information about the service
100
+ * @param options The options parameters.
101
+ */
102
+ beginUpdateAndWait(groupName: string, serviceName: string, parameters: DataMigrationService, options?: ServicesUpdateOptionalParams): Promise<ServicesUpdateResponse>;
103
+ /**
104
+ * The services resource is the top-level resource that represents the Database Migration Service. This
105
+ * action performs a health check and returns the status of the service and virtual machine size.
106
+ * @param groupName Name of the resource group
107
+ * @param serviceName Name of the service
108
+ * @param options The options parameters.
109
+ */
110
+ checkStatus(groupName: string, serviceName: string, options?: ServicesCheckStatusOptionalParams): Promise<ServicesCheckStatusResponse>;
111
+ /**
112
+ * The services resource is the top-level resource that represents the Database Migration Service. This
113
+ * action starts the service and the service can be used for data migration.
114
+ * @param groupName Name of the resource group
115
+ * @param serviceName Name of the service
116
+ * @param options The options parameters.
117
+ */
118
+ beginStart(groupName: string, serviceName: string, options?: ServicesStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
119
+ /**
120
+ * The services resource is the top-level resource that represents the Database Migration Service. This
121
+ * action starts the service and the service can be used for data migration.
122
+ * @param groupName Name of the resource group
123
+ * @param serviceName Name of the service
124
+ * @param options The options parameters.
125
+ */
126
+ beginStartAndWait(groupName: string, serviceName: string, options?: ServicesStartOptionalParams): Promise<void>;
127
+ /**
128
+ * The services resource is the top-level resource that represents the Database Migration Service. This
129
+ * action stops the service and the service cannot be used for data migration. The service owner won't
130
+ * be billed when the service is stopped.
131
+ * @param groupName Name of the resource group
132
+ * @param serviceName Name of the service
133
+ * @param options The options parameters.
134
+ */
135
+ beginStop(groupName: string, serviceName: string, options?: ServicesStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
136
+ /**
137
+ * The services resource is the top-level resource that represents the Database Migration Service. This
138
+ * action stops the service and the service cannot be used for data migration. The service owner won't
139
+ * be billed when the service is stopped.
140
+ * @param groupName Name of the resource group
141
+ * @param serviceName Name of the service
142
+ * @param options The options parameters.
143
+ */
144
+ beginStopAndWait(groupName: string, serviceName: string, options?: ServicesStopOptionalParams): Promise<void>;
145
+ /**
146
+ * This method checks whether a proposed nested resource name is valid and available.
147
+ * @param groupName Name of the resource group
148
+ * @param serviceName Name of the service
149
+ * @param parameters Requested name to validate
150
+ * @param options The options parameters.
151
+ */
152
+ checkChildrenNameAvailability(groupName: string, serviceName: string, parameters: NameAvailabilityRequest, options?: ServicesCheckChildrenNameAvailabilityOptionalParams): Promise<ServicesCheckChildrenNameAvailabilityResponse>;
153
+ /**
154
+ * This method checks whether a proposed top-level resource name is valid and available.
155
+ * @param location The Azure region of the operation
156
+ * @param parameters Requested name to validate
157
+ * @param options The options parameters.
158
+ */
159
+ checkNameAvailability(location: string, parameters: NameAvailabilityRequest, options?: ServicesCheckNameAvailabilityOptionalParams): Promise<ServicesCheckNameAvailabilityResponse>;
160
+ }
161
+ //# sourceMappingURL=services.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/services.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB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B,CACf,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,SAAS,CACP,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;;OAOG;IACH,gBAAgB,CACd,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,6BAA6B,CAC3B,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC,CAAC;IAC1D;;;;;OAKG;IACH,qBAAqB,CACnB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;CACnD"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=services.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"services.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/services.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,121 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { SqlMigrationService, SqlMigrationServicesListByResourceGroupOptionalParams, DatabaseMigration, SqlMigrationServicesListMigrationsOptionalParams, SqlMigrationServicesListBySubscriptionOptionalParams, SqlMigrationServicesGetOptionalParams, SqlMigrationServicesGetResponse, SqlMigrationServicesCreateOrUpdateOptionalParams, SqlMigrationServicesCreateOrUpdateResponse, SqlMigrationServicesDeleteOptionalParams, SqlMigrationServiceUpdate, SqlMigrationServicesUpdateOptionalParams, SqlMigrationServicesUpdateResponse, SqlMigrationServicesListAuthKeysOptionalParams, SqlMigrationServicesListAuthKeysResponse, RegenAuthKeys, SqlMigrationServicesRegenerateAuthKeysOptionalParams, SqlMigrationServicesRegenerateAuthKeysResponse, DeleteNode, SqlMigrationServicesDeleteNodeOptionalParams, SqlMigrationServicesDeleteNodeResponse, SqlMigrationServicesListMonitoringDataOptionalParams, SqlMigrationServicesListMonitoringDataResponse } from "../models";
4
+ /** Interface representing a SqlMigrationServices. */
5
+ export interface SqlMigrationServices {
6
+ /**
7
+ * Retrieve all SQL migration services in the resource group.
8
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
9
+ * value from the Azure Resource Manager API or the portal.
10
+ * @param options The options parameters.
11
+ */
12
+ listByResourceGroup(resourceGroupName: string, options?: SqlMigrationServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SqlMigrationService>;
13
+ /**
14
+ * Retrieve the List of database migrations attached to the service.
15
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
16
+ * value from the Azure Resource Manager API or the portal.
17
+ * @param sqlMigrationServiceName Name of the SQL Migration Service.
18
+ * @param options The options parameters.
19
+ */
20
+ listMigrations(resourceGroupName: string, sqlMigrationServiceName: string, options?: SqlMigrationServicesListMigrationsOptionalParams): PagedAsyncIterableIterator<DatabaseMigration>;
21
+ /**
22
+ * Retrieve all SQL migration services in the subscriptions.
23
+ * @param options The options parameters.
24
+ */
25
+ listBySubscription(options?: SqlMigrationServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SqlMigrationService>;
26
+ /**
27
+ * Retrieve the Migration Service.
28
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
29
+ * value from the Azure Resource Manager API or the portal.
30
+ * @param sqlMigrationServiceName Name of the SQL Migration Service.
31
+ * @param options The options parameters.
32
+ */
33
+ get(resourceGroupName: string, sqlMigrationServiceName: string, options?: SqlMigrationServicesGetOptionalParams): Promise<SqlMigrationServicesGetResponse>;
34
+ /**
35
+ * Create or Update SQL Migration Service.
36
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
37
+ * value from the Azure Resource Manager API or the portal.
38
+ * @param sqlMigrationServiceName Name of the SQL Migration Service.
39
+ * @param parameters Details of SqlMigrationService resource.
40
+ * @param options The options parameters.
41
+ */
42
+ beginCreateOrUpdate(resourceGroupName: string, sqlMigrationServiceName: string, parameters: SqlMigrationService, options?: SqlMigrationServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<SqlMigrationServicesCreateOrUpdateResponse>, SqlMigrationServicesCreateOrUpdateResponse>>;
43
+ /**
44
+ * Create or Update SQL Migration Service.
45
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
46
+ * value from the Azure Resource Manager API or the portal.
47
+ * @param sqlMigrationServiceName Name of the SQL Migration Service.
48
+ * @param parameters Details of SqlMigrationService resource.
49
+ * @param options The options parameters.
50
+ */
51
+ beginCreateOrUpdateAndWait(resourceGroupName: string, sqlMigrationServiceName: string, parameters: SqlMigrationService, options?: SqlMigrationServicesCreateOrUpdateOptionalParams): Promise<SqlMigrationServicesCreateOrUpdateResponse>;
52
+ /**
53
+ * Delete SQL Migration Service.
54
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
55
+ * value from the Azure Resource Manager API or the portal.
56
+ * @param sqlMigrationServiceName Name of the SQL Migration Service.
57
+ * @param options The options parameters.
58
+ */
59
+ beginDelete(resourceGroupName: string, sqlMigrationServiceName: string, options?: SqlMigrationServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
60
+ /**
61
+ * Delete SQL Migration Service.
62
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
63
+ * value from the Azure Resource Manager API or the portal.
64
+ * @param sqlMigrationServiceName Name of the SQL Migration Service.
65
+ * @param options The options parameters.
66
+ */
67
+ beginDeleteAndWait(resourceGroupName: string, sqlMigrationServiceName: string, options?: SqlMigrationServicesDeleteOptionalParams): Promise<void>;
68
+ /**
69
+ * Update SQL Migration Service.
70
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
71
+ * value from the Azure Resource Manager API or the portal.
72
+ * @param sqlMigrationServiceName Name of the SQL Migration Service.
73
+ * @param parameters Details of SqlMigrationService resource.
74
+ * @param options The options parameters.
75
+ */
76
+ beginUpdate(resourceGroupName: string, sqlMigrationServiceName: string, parameters: SqlMigrationServiceUpdate, options?: SqlMigrationServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<SqlMigrationServicesUpdateResponse>, SqlMigrationServicesUpdateResponse>>;
77
+ /**
78
+ * Update SQL Migration Service.
79
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
80
+ * value from the Azure Resource Manager API or the portal.
81
+ * @param sqlMigrationServiceName Name of the SQL Migration Service.
82
+ * @param parameters Details of SqlMigrationService resource.
83
+ * @param options The options parameters.
84
+ */
85
+ beginUpdateAndWait(resourceGroupName: string, sqlMigrationServiceName: string, parameters: SqlMigrationServiceUpdate, options?: SqlMigrationServicesUpdateOptionalParams): Promise<SqlMigrationServicesUpdateResponse>;
86
+ /**
87
+ * Retrieve the List of Authentication Keys for Self Hosted Integration Runtime.
88
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
89
+ * value from the Azure Resource Manager API or the portal.
90
+ * @param sqlMigrationServiceName Name of the SQL Migration Service.
91
+ * @param options The options parameters.
92
+ */
93
+ listAuthKeys(resourceGroupName: string, sqlMigrationServiceName: string, options?: SqlMigrationServicesListAuthKeysOptionalParams): Promise<SqlMigrationServicesListAuthKeysResponse>;
94
+ /**
95
+ * Regenerate a new set of Authentication Keys for Self Hosted Integration Runtime.
96
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
97
+ * value from the Azure Resource Manager API or the portal.
98
+ * @param sqlMigrationServiceName Name of the SQL Migration Service.
99
+ * @param parameters Details of SqlMigrationService resource.
100
+ * @param options The options parameters.
101
+ */
102
+ regenerateAuthKeys(resourceGroupName: string, sqlMigrationServiceName: string, parameters: RegenAuthKeys, options?: SqlMigrationServicesRegenerateAuthKeysOptionalParams): Promise<SqlMigrationServicesRegenerateAuthKeysResponse>;
103
+ /**
104
+ * Delete the integration runtime node.
105
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
106
+ * value from the Azure Resource Manager API or the portal.
107
+ * @param sqlMigrationServiceName Name of the SQL Migration Service.
108
+ * @param parameters Details of SqlMigrationService resource.
109
+ * @param options The options parameters.
110
+ */
111
+ deleteNode(resourceGroupName: string, sqlMigrationServiceName: string, parameters: DeleteNode, options?: SqlMigrationServicesDeleteNodeOptionalParams): Promise<SqlMigrationServicesDeleteNodeResponse>;
112
+ /**
113
+ * Retrieve the Monitoring Data.
114
+ * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
115
+ * value from the Azure Resource Manager API or the portal.
116
+ * @param sqlMigrationServiceName Name of the SQL Migration Service.
117
+ * @param options The options parameters.
118
+ */
119
+ listMonitoringData(resourceGroupName: string, sqlMigrationServiceName: string, options?: SqlMigrationServicesListMonitoringDataOptionalParams): Promise<SqlMigrationServicesListMonitoringDataResponse>;
120
+ }
121
+ //# sourceMappingURL=sqlMigrationServices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlMigrationServices.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/sqlMigrationServices.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAC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;IAC3D;;;;;;;OAOG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,uBAAuB,EAAE,MAAM,EAC/B,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,8CAA8C,CAAC,CAAC;CAC5D"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=sqlMigrationServices.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlMigrationServices.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/sqlMigrationServices.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,81 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ProjectTask, TasksListOptionalParams, TasksCreateOrUpdateOptionalParams, TasksCreateOrUpdateResponse, TasksGetOptionalParams, TasksGetResponse, TasksDeleteOptionalParams, TasksUpdateOptionalParams, TasksUpdateResponse, TasksCancelOptionalParams, TasksCancelResponse, CommandPropertiesUnion, TasksCommandOptionalParams, TasksCommandResponse } from "../models";
3
+ /** Interface representing a Tasks. */
4
+ export interface Tasks {
5
+ /**
6
+ * The services resource is the top-level resource that represents the Database Migration Service. This
7
+ * method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown,
8
+ * which indicates that an error occurred while querying the status of that task.
9
+ * @param groupName Name of the resource group
10
+ * @param serviceName Name of the service
11
+ * @param projectName Name of the project
12
+ * @param options The options parameters.
13
+ */
14
+ list(groupName: string, serviceName: string, projectName: string, options?: TasksListOptionalParams): PagedAsyncIterableIterator<ProjectTask>;
15
+ /**
16
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
17
+ * The PUT method creates a new task or updates an existing one, although since tasks have no mutable
18
+ * custom properties, there is little reason to update an existing one.
19
+ * @param groupName Name of the resource group
20
+ * @param serviceName Name of the service
21
+ * @param projectName Name of the project
22
+ * @param taskName Name of the Task
23
+ * @param parameters Information about the task
24
+ * @param options The options parameters.
25
+ */
26
+ createOrUpdate(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: ProjectTask, options?: TasksCreateOrUpdateOptionalParams): Promise<TasksCreateOrUpdateResponse>;
27
+ /**
28
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
29
+ * The GET method retrieves information about a task.
30
+ * @param groupName Name of the resource group
31
+ * @param serviceName Name of the service
32
+ * @param projectName Name of the project
33
+ * @param taskName Name of the Task
34
+ * @param options The options parameters.
35
+ */
36
+ get(groupName: string, serviceName: string, projectName: string, taskName: string, options?: TasksGetOptionalParams): Promise<TasksGetResponse>;
37
+ /**
38
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
39
+ * The DELETE method deletes a task, canceling it first if it's running.
40
+ * @param groupName Name of the resource group
41
+ * @param serviceName Name of the service
42
+ * @param projectName Name of the project
43
+ * @param taskName Name of the Task
44
+ * @param options The options parameters.
45
+ */
46
+ delete(groupName: string, serviceName: string, projectName: string, taskName: string, options?: TasksDeleteOptionalParams): Promise<void>;
47
+ /**
48
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
49
+ * The PATCH method updates an existing task, but since tasks have no mutable custom properties, there
50
+ * is little reason to do so.
51
+ * @param groupName Name of the resource group
52
+ * @param serviceName Name of the service
53
+ * @param projectName Name of the project
54
+ * @param taskName Name of the Task
55
+ * @param parameters Information about the task
56
+ * @param options The options parameters.
57
+ */
58
+ update(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: ProjectTask, options?: TasksUpdateOptionalParams): Promise<TasksUpdateResponse>;
59
+ /**
60
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
61
+ * This method cancels a task if it's currently queued or running.
62
+ * @param groupName Name of the resource group
63
+ * @param serviceName Name of the service
64
+ * @param projectName Name of the project
65
+ * @param taskName Name of the Task
66
+ * @param options The options parameters.
67
+ */
68
+ cancel(groupName: string, serviceName: string, projectName: string, taskName: string, options?: TasksCancelOptionalParams): Promise<TasksCancelResponse>;
69
+ /**
70
+ * The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
71
+ * This method executes a command on a running task.
72
+ * @param groupName Name of the resource group
73
+ * @param serviceName Name of the service
74
+ * @param projectName Name of the project
75
+ * @param taskName Name of the Task
76
+ * @param parameters Command to execute
77
+ * @param options The options parameters.
78
+ */
79
+ command(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: CommandPropertiesUnion, options?: TasksCommandOptionalParams): Promise<TasksCommandResponse>;
80
+ }
81
+ //# sourceMappingURL=tasks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/tasks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,iCAAiC,EACjC,2BAA2B,EAC3B,sBAAsB,EACtB,gBAAgB,EAChB,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,WAAW,CAAC;AAGnB,sCAAsC;AACtC,MAAM,WAAW,KAAK;IACpB;;;;;;;;OAQG;IACH,IAAI,CACF,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,uBAAuB,GAChC,0BAA0B,CAAC,WAAW,CAAC,CAAC;I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AA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC,CAAC;CAClC"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=tasks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/tasks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,13 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Quota, UsagesListOptionalParams } from "../models";
3
+ /** Interface representing a Usages. */
4
+ export interface Usages {
5
+ /**
6
+ * This method returns region-specific quotas and resource usage information for the Database Migration
7
+ * Service.
8
+ * @param location The Azure region of the operation
9
+ * @param options The options parameters.
10
+ */
11
+ list(location: string, options?: UsagesListOptionalParams): PagedAsyncIterableIterator<Quota>;
12
+ }
13
+ //# sourceMappingURL=usages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usages.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/usages.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAG5D,uCAAuC;AACvC,MAAM,WAAW,MAAM;IACrB;;;;;OAKG;IACH,IAAI,CACF,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,wBAAwB,GACjC,0BAA0B,CAAC,KAAK,CAAC,CAAC;CACtC"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=usages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usages.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/usages.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sampleTest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
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 { __awaiter } from "tslib";
9
+ import { record } from "@azure-tools/test-recorder";
10
+ const recorderEnvSetup = {
11
+ replaceableVariables: {
12
+ AZURE_CLIENT_ID: "azure_client_id",
13
+ AZURE_CLIENT_SECRET: "azure_client_secret",
14
+ AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
15
+ SUBSCRIPTION_ID: "azure_subscription_id"
16
+ },
17
+ customizationsOnRecordings: [
18
+ (recording) => recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`)
19
+ ],
20
+ queryParametersToSkip: []
21
+ };
22
+ describe("My test", () => {
23
+ let recorder;
24
+ beforeEach(function () {
25
+ return __awaiter(this, void 0, void 0, function* () {
26
+ recorder = record(this, recorderEnvSetup);
27
+ });
28
+ });
29
+ afterEach(function () {
30
+ return __awaiter(this, void 0, void 0, function* () {
31
+ yield recorder.stop();
32
+ });
33
+ });
34
+ it("sample test", function () {
35
+ return __awaiter(this, void 0, void 0, function* () {
36
+ console.log("Hi, I'm a test!");
37
+ });
38
+ });
39
+ });
40
+ //# sourceMappingURL=sampleTest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAEL,MAAM,EAGP,MAAM,4BAA4B,CAAC;AAGpC,MAAM,gBAAgB,GAA6B;IACjD,oBAAoB,EAAE;QACpB,eAAe,EAAE,iBAAiB;QAClC,mBAAmB,EAAE,qBAAqB;QAC1C,eAAe,EAAE,sCAAsC;QACvD,eAAe,EAAE,uBAAuB;KACzC;IACD,0BAA0B,EAAE;QAC1B,CAAC,SAAc,EAAO,EAAE,CACtB,SAAS,CAAC,OAAO,CACf,yBAAyB,EACzB,+BAA+B,CAChC;KACJ;IACD,qBAAqB,EAAE,EAAE;CAC1B,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QAC5C,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}