@azure/arm-datamigration 2.0.0 → 3.0.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (450) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +72 -73
  4. package/dist/index.js +16801 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts +2 -0
  9. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js +65 -0
  11. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js.map +1 -0
  12. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts +2 -0
  13. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js +65 -0
  15. package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js.map +1 -0
  16. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts +2 -0
  17. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js +32 -0
  19. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js.map +1 -0
  20. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts +2 -0
  21. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js +32 -0
  23. package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js.map +1 -0
  24. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts +2 -0
  25. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js +35 -0
  27. package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js.map +1 -0
  28. package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts +2 -0
  29. package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/deleteSqlMigrationService.js +31 -0
  31. package/dist-esm/samples-dev/deleteSqlMigrationService.js.map +1 -0
  32. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts +2 -0
  33. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js +35 -0
  35. package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js.map +1 -0
  36. package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts +2 -0
  37. package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/filesCreateOrUpdate.js +36 -0
  39. package/dist-esm/samples-dev/filesCreateOrUpdate.js.map +1 -0
  40. package/dist-esm/samples-dev/filesDelete.d.ts +2 -0
  41. package/dist-esm/samples-dev/filesDelete.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/filesDelete.js +33 -0
  43. package/dist-esm/samples-dev/filesDelete.js.map +1 -0
  44. package/dist-esm/samples-dev/filesList.d.ts +2 -0
  45. package/dist-esm/samples-dev/filesList.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/filesList.js +33 -0
  47. package/dist-esm/samples-dev/filesList.js.map +1 -0
  48. package/dist-esm/samples-dev/filesUpdate.d.ts +2 -0
  49. package/dist-esm/samples-dev/filesUpdate.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/filesUpdate.js +36 -0
  51. package/dist-esm/samples-dev/filesUpdate.js.map +1 -0
  52. package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts +2 -0
  53. package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/getDatabaseMigrationResource.js +32 -0
  55. package/dist-esm/samples-dev/getDatabaseMigrationResource.js.map +1 -0
  56. package/dist-esm/samples-dev/getMigrationService.d.ts +2 -0
  57. package/dist-esm/samples-dev/getMigrationService.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/getMigrationService.js +31 -0
  59. package/dist-esm/samples-dev/getMigrationService.js.map +1 -0
  60. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts +2 -0
  61. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js +44 -0
  63. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js.map +1 -0
  64. package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts +2 -0
  65. package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/getServicesInTheSubscriptions.js +43 -0
  67. package/dist-esm/samples-dev/getServicesInTheSubscriptions.js.map +1 -0
  68. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts +2 -0
  69. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js +45 -0
  71. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js.map +1 -0
  72. package/dist-esm/samples-dev/listSkus.d.ts +2 -0
  73. package/dist-esm/samples-dev/listSkus.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/listSkus.js +43 -0
  75. package/dist-esm/samples-dev/listSkus.js.map +1 -0
  76. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts +2 -0
  77. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js +43 -0
  79. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js.map +1 -0
  80. package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts +2 -0
  81. package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/projectsCreateOrUpdate.js +37 -0
  83. package/dist-esm/samples-dev/projectsCreateOrUpdate.js.map +1 -0
  84. package/dist-esm/samples-dev/projectsDelete.d.ts +2 -0
  85. package/dist-esm/samples-dev/projectsDelete.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/projectsDelete.js +32 -0
  87. package/dist-esm/samples-dev/projectsDelete.js.map +1 -0
  88. package/dist-esm/samples-dev/projectsGet.d.ts +2 -0
  89. package/dist-esm/samples-dev/projectsGet.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/projectsGet.js +32 -0
  91. package/dist-esm/samples-dev/projectsGet.js.map +1 -0
  92. package/dist-esm/samples-dev/projectsList.d.ts +2 -0
  93. package/dist-esm/samples-dev/projectsList.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/projectsList.js +45 -0
  95. package/dist-esm/samples-dev/projectsList.js.map +1 -0
  96. package/dist-esm/samples-dev/projectsUpdate.d.ts +2 -0
  97. package/dist-esm/samples-dev/projectsUpdate.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/projectsUpdate.js +37 -0
  99. package/dist-esm/samples-dev/projectsUpdate.js.map +1 -0
  100. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts +2 -0
  101. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js +32 -0
  103. package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js.map +1 -0
  104. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts +2 -0
  105. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js +31 -0
  107. package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js.map +1 -0
  108. package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts +2 -0
  109. package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/retrieveTheMonitoringData.js +31 -0
  111. package/dist-esm/samples-dev/retrieveTheMonitoringData.js.map +1 -0
  112. package/dist-esm/samples-dev/serviceTasksList.d.ts +2 -0
  113. package/dist-esm/samples-dev/serviceTasksList.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/serviceTasksList.js +45 -0
  115. package/dist-esm/samples-dev/serviceTasksList.js.map +1 -0
  116. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts +2 -0
  117. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js +32 -0
  119. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js.map +1 -0
  120. package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts +2 -0
  121. package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/servicesCheckNameAvailability.js +34 -0
  123. package/dist-esm/samples-dev/servicesCheckNameAvailability.js.map +1 -0
  124. package/dist-esm/samples-dev/servicesCheckStatus.d.ts +2 -0
  125. package/dist-esm/samples-dev/servicesCheckStatus.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/servicesCheckStatus.js +31 -0
  127. package/dist-esm/samples-dev/servicesCheckStatus.js.map +1 -0
  128. package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts +2 -0
  129. package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts.map +1 -0
  130. package/dist-esm/samples-dev/servicesCreateOrUpdate.js +35 -0
  131. package/dist-esm/samples-dev/servicesCreateOrUpdate.js.map +1 -0
  132. package/dist-esm/samples-dev/servicesList.d.ts +2 -0
  133. package/dist-esm/samples-dev/servicesList.d.ts.map +1 -0
  134. package/dist-esm/samples-dev/servicesList.js +43 -0
  135. package/dist-esm/samples-dev/servicesList.js.map +1 -0
  136. package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts +2 -0
  137. package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts.map +1 -0
  138. package/dist-esm/samples-dev/servicesListByResourceGroup.js +44 -0
  139. package/dist-esm/samples-dev/servicesListByResourceGroup.js.map +1 -0
  140. package/dist-esm/samples-dev/servicesListSkus.d.ts +2 -0
  141. package/dist-esm/samples-dev/servicesListSkus.d.ts.map +1 -0
  142. package/dist-esm/samples-dev/servicesListSkus.js +45 -0
  143. package/dist-esm/samples-dev/servicesListSkus.js.map +1 -0
  144. package/dist-esm/samples-dev/servicesStart.d.ts +2 -0
  145. package/dist-esm/samples-dev/servicesStart.d.ts.map +1 -0
  146. package/dist-esm/samples-dev/servicesStart.js +31 -0
  147. package/dist-esm/samples-dev/servicesStart.js.map +1 -0
  148. package/dist-esm/samples-dev/servicesStop.d.ts +2 -0
  149. package/dist-esm/samples-dev/servicesStop.d.ts.map +1 -0
  150. package/dist-esm/samples-dev/servicesStop.js +31 -0
  151. package/dist-esm/samples-dev/servicesStop.js.map +1 -0
  152. package/dist-esm/samples-dev/servicesUsages.d.ts +2 -0
  153. package/dist-esm/samples-dev/servicesUsages.d.ts.map +1 -0
  154. package/dist-esm/samples-dev/servicesUsages.js +44 -0
  155. package/dist-esm/samples-dev/servicesUsages.js.map +1 -0
  156. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts +2 -0
  157. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts.map +1 -0
  158. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js +35 -0
  159. package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js.map +1 -0
  160. package/dist-esm/samples-dev/tasksCancel.d.ts +2 -0
  161. package/dist-esm/samples-dev/tasksCancel.d.ts.map +1 -0
  162. package/dist-esm/samples-dev/tasksCancel.js +32 -0
  163. package/dist-esm/samples-dev/tasksCancel.js.map +1 -0
  164. package/dist-esm/samples-dev/tasksCommand.d.ts +2 -0
  165. package/dist-esm/samples-dev/tasksCommand.d.ts.map +1 -0
  166. package/dist-esm/samples-dev/tasksCommand.js +37 -0
  167. package/dist-esm/samples-dev/tasksCommand.js.map +1 -0
  168. package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts +2 -0
  169. package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts.map +1 -0
  170. package/dist-esm/samples-dev/tasksCreateOrUpdate.js +38 -0
  171. package/dist-esm/samples-dev/tasksCreateOrUpdate.js.map +1 -0
  172. package/dist-esm/samples-dev/tasksDelete.d.ts +2 -0
  173. package/dist-esm/samples-dev/tasksDelete.d.ts.map +1 -0
  174. package/dist-esm/samples-dev/tasksDelete.js +32 -0
  175. package/dist-esm/samples-dev/tasksDelete.js.map +1 -0
  176. package/dist-esm/samples-dev/tasksGet.d.ts +2 -0
  177. package/dist-esm/samples-dev/tasksGet.d.ts.map +1 -0
  178. package/dist-esm/samples-dev/tasksGet.js +32 -0
  179. package/dist-esm/samples-dev/tasksGet.js.map +1 -0
  180. package/dist-esm/samples-dev/tasksList.d.ts +2 -0
  181. package/dist-esm/samples-dev/tasksList.d.ts.map +1 -0
  182. package/dist-esm/samples-dev/tasksList.js +46 -0
  183. package/dist-esm/samples-dev/tasksList.js.map +1 -0
  184. package/dist-esm/samples-dev/tasksUpdate.d.ts +2 -0
  185. package/dist-esm/samples-dev/tasksUpdate.d.ts.map +1 -0
  186. package/dist-esm/samples-dev/tasksUpdate.js +38 -0
  187. package/dist-esm/samples-dev/tasksUpdate.js.map +1 -0
  188. package/dist-esm/samples-dev/updateSqlMigrationService.d.ts +2 -0
  189. package/dist-esm/samples-dev/updateSqlMigrationService.d.ts.map +1 -0
  190. package/dist-esm/samples-dev/updateSqlMigrationService.js +32 -0
  191. package/dist-esm/samples-dev/updateSqlMigrationService.js.map +1 -0
  192. package/dist-esm/src/dataMigrationManagementClient.d.ts +28 -0
  193. package/dist-esm/src/dataMigrationManagementClient.d.ts.map +1 -0
  194. package/dist-esm/src/dataMigrationManagementClient.js +61 -0
  195. package/dist-esm/src/dataMigrationManagementClient.js.map +1 -0
  196. package/dist-esm/src/index.d.ts +5 -0
  197. package/dist-esm/src/index.d.ts.map +1 -0
  198. package/dist-esm/src/index.js +12 -0
  199. package/dist-esm/src/index.js.map +1 -0
  200. package/dist-esm/src/lroImpl.d.ts +16 -0
  201. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  202. package/dist-esm/src/lroImpl.js +29 -0
  203. package/dist-esm/src/lroImpl.js.map +1 -0
  204. package/dist-esm/src/models/index.d.ts +7238 -0
  205. package/dist-esm/src/models/index.d.ts.map +1 -0
  206. package/dist-esm/src/models/index.js +534 -0
  207. package/dist-esm/src/models/index.js.map +1 -0
  208. package/dist-esm/src/models/mappers.d.ts +434 -0
  209. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  210. package/{esm → dist-esm/src}/models/mappers.js +7803 -6204
  211. package/dist-esm/src/models/mappers.js.map +1 -0
  212. package/dist-esm/src/models/parameters.d.ts +36 -0
  213. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  214. package/dist-esm/src/models/parameters.js +272 -0
  215. package/dist-esm/src/models/parameters.js.map +1 -0
  216. package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts +83 -0
  217. package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts.map +1 -0
  218. package/dist-esm/src/operations/databaseMigrationsSqlMi.js +309 -0
  219. package/dist-esm/src/operations/databaseMigrationsSqlMi.js.map +1 -0
  220. package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts +83 -0
  221. package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts.map +1 -0
  222. package/dist-esm/src/operations/databaseMigrationsSqlVm.js +309 -0
  223. package/dist-esm/src/operations/databaseMigrationsSqlVm.js.map +1 -0
  224. package/dist-esm/src/operations/files.d.ts +101 -0
  225. package/dist-esm/src/operations/files.d.ts.map +1 -0
  226. package/dist-esm/src/operations/files.js +358 -0
  227. package/dist-esm/src/operations/files.js.map +1 -0
  228. package/{esm → dist-esm/src}/operations/index.d.ts +4 -1
  229. package/dist-esm/src/operations/index.d.ts.map +1 -0
  230. package/dist-esm/src/operations/index.js +19 -0
  231. package/dist-esm/src/operations/index.js.map +1 -0
  232. package/dist-esm/src/operations/operations.d.ts +32 -0
  233. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  234. package/dist-esm/src/operations/operations.js +116 -0
  235. package/dist-esm/src/operations/operations.js.map +1 -0
  236. package/dist-esm/src/operations/projects.d.ts +78 -0
  237. package/dist-esm/src/operations/projects.d.ts.map +1 -0
  238. package/dist-esm/src/operations/projects.js +279 -0
  239. package/dist-esm/src/operations/projects.js.map +1 -0
  240. package/dist-esm/src/operations/resourceSkus.d.ts +32 -0
  241. package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -0
  242. package/dist-esm/src/operations/resourceSkus.js +124 -0
  243. package/dist-esm/src/operations/resourceSkus.js.map +1 -0
  244. package/dist-esm/src/operations/serviceTasks.d.ts +91 -0
  245. package/dist-esm/src/operations/serviceTasks.d.ts.map +1 -0
  246. package/dist-esm/src/operations/serviceTasks.js +316 -0
  247. package/dist-esm/src/operations/serviceTasks.js.map +1 -0
  248. package/dist-esm/src/operations/services.d.ts +217 -0
  249. package/dist-esm/src/operations/services.d.ts.map +1 -0
  250. package/dist-esm/src/operations/services.js +884 -0
  251. package/dist-esm/src/operations/services.js.map +1 -0
  252. package/dist-esm/src/operations/sqlMigrationServices.d.ts +178 -0
  253. package/dist-esm/src/operations/sqlMigrationServices.d.ts.map +1 -0
  254. package/dist-esm/src/operations/sqlMigrationServices.js +720 -0
  255. package/dist-esm/src/operations/sqlMigrationServices.js.map +1 -0
  256. package/dist-esm/src/operations/tasks.d.ts +110 -0
  257. package/dist-esm/src/operations/tasks.d.ts.map +1 -0
  258. package/dist-esm/src/operations/tasks.js +369 -0
  259. package/dist-esm/src/operations/tasks.js.map +1 -0
  260. package/dist-esm/src/operations/usages.d.ts +37 -0
  261. package/dist-esm/src/operations/usages.d.ts.map +1 -0
  262. package/dist-esm/src/operations/usages.js +134 -0
  263. package/dist-esm/src/operations/usages.js.map +1 -0
  264. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts +75 -0
  265. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -0
  266. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js +9 -0
  267. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -0
  268. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts +75 -0
  269. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -0
  270. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js +9 -0
  271. package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -0
  272. package/dist-esm/src/operationsInterfaces/files.d.ts +73 -0
  273. package/dist-esm/src/operationsInterfaces/files.d.ts.map +1 -0
  274. package/dist-esm/src/operationsInterfaces/files.js +9 -0
  275. package/dist-esm/src/operationsInterfaces/files.js.map +1 -0
  276. package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
  277. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  278. package/dist-esm/src/operationsInterfaces/index.js +19 -0
  279. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  280. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  281. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  282. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  283. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  284. package/dist-esm/src/operationsInterfaces/projects.d.ts +52 -0
  285. package/dist-esm/src/operationsInterfaces/projects.d.ts.map +1 -0
  286. package/dist-esm/src/operationsInterfaces/projects.js +9 -0
  287. package/dist-esm/src/operationsInterfaces/projects.js.map +1 -0
  288. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts +11 -0
  289. package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts.map +1 -0
  290. package/dist-esm/src/operationsInterfaces/resourceSkus.js +9 -0
  291. package/dist-esm/src/operationsInterfaces/resourceSkus.js.map +1 -0
  292. package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts +64 -0
  293. package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts.map +1 -0
  294. package/dist-esm/src/operationsInterfaces/serviceTasks.js +9 -0
  295. package/dist-esm/src/operationsInterfaces/serviceTasks.js.map +1 -0
  296. package/dist-esm/src/operationsInterfaces/services.d.ts +161 -0
  297. package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
  298. package/dist-esm/src/operationsInterfaces/services.js +9 -0
  299. package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
  300. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts +121 -0
  301. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -0
  302. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js +9 -0
  303. package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js.map +1 -0
  304. package/dist-esm/src/operationsInterfaces/tasks.d.ts +81 -0
  305. package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
  306. package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
  307. package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
  308. package/dist-esm/src/operationsInterfaces/usages.d.ts +13 -0
  309. package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
  310. package/dist-esm/src/operationsInterfaces/usages.js +9 -0
  311. package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
  312. package/dist-esm/test/sampleTest.d.ts +2 -0
  313. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  314. package/dist-esm/test/sampleTest.js +40 -0
  315. package/dist-esm/test/sampleTest.js.map +1 -0
  316. package/package.json +80 -32
  317. package/review/arm-datamigration.api.md +4412 -0
  318. package/rollup.config.js +181 -30
  319. package/src/dataMigrationManagementClient.ts +119 -0
  320. package/src/index.ts +12 -0
  321. package/src/lroImpl.ts +34 -0
  322. package/src/models/index.ts +6252 -7473
  323. package/src/models/mappers.ts +8147 -6279
  324. package/src/models/parameters.ts +230 -54
  325. package/src/operations/databaseMigrationsSqlMi.ts +453 -0
  326. package/src/operations/databaseMigrationsSqlVm.ts +453 -0
  327. package/src/operations/files.ts +283 -368
  328. package/src/operations/index.ts +7 -6
  329. package/src/operations/operations.ts +93 -85
  330. package/src/operations/projects.ts +222 -275
  331. package/src/operations/resourceSkus.ts +92 -78
  332. package/src/operations/serviceTasks.ts +244 -321
  333. package/src/operations/services.ts +887 -647
  334. package/src/operations/sqlMigrationServices.ts +986 -0
  335. package/src/operations/tasks.ts +303 -397
  336. package/src/operations/usages.ts +110 -85
  337. package/src/operationsInterfaces/databaseMigrationsSqlMi.ts +138 -0
  338. package/src/operationsInterfaces/databaseMigrationsSqlVm.ts +138 -0
  339. package/src/operationsInterfaces/files.ts +139 -0
  340. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +8 -7
  341. package/src/operationsInterfaces/operations.ts +22 -0
  342. package/src/operationsInterfaces/projects.ts +97 -0
  343. package/src/operationsInterfaces/resourceSkus.ts +22 -0
  344. package/src/operationsInterfaces/serviceTasks.ts +116 -0
  345. package/src/operationsInterfaces/services.ts +272 -0
  346. package/src/operationsInterfaces/sqlMigrationServices.ts +223 -0
  347. package/src/operationsInterfaces/tasks.ts +149 -0
  348. package/src/operationsInterfaces/usages.ts +25 -0
  349. package/tsconfig.json +5 -4
  350. package/types/arm-datamigration.d.ts +8549 -0
  351. package/types/tsdoc-metadata.json +11 -0
  352. package/dist/arm-datamigration.js +0 -14002
  353. package/dist/arm-datamigration.js.map +0 -1
  354. package/dist/arm-datamigration.min.js +0 -1
  355. package/dist/arm-datamigration.min.js.map +0 -1
  356. package/esm/dataMigrationServiceClient.d.ts +0 -25
  357. package/esm/dataMigrationServiceClient.d.ts.map +0 -1
  358. package/esm/dataMigrationServiceClient.js +0 -40
  359. package/esm/dataMigrationServiceClient.js.map +0 -1
  360. package/esm/dataMigrationServiceClientContext.d.ts +0 -16
  361. package/esm/dataMigrationServiceClientContext.d.ts.map +0 -1
  362. package/esm/dataMigrationServiceClientContext.js +0 -56
  363. package/esm/dataMigrationServiceClientContext.js.map +0 -1
  364. package/esm/models/filesMappers.d.ts +0 -2
  365. package/esm/models/filesMappers.d.ts.map +0 -1
  366. package/esm/models/filesMappers.js +0 -9
  367. package/esm/models/filesMappers.js.map +0 -1
  368. package/esm/models/index.d.ts +0 -8920
  369. package/esm/models/index.d.ts.map +0 -1
  370. package/esm/models/index.js +0 -8
  371. package/esm/models/index.js.map +0 -1
  372. package/esm/models/mappers.d.ts +0 -374
  373. package/esm/models/mappers.d.ts.map +0 -1
  374. package/esm/models/mappers.js.map +0 -1
  375. package/esm/models/operationsMappers.d.ts +0 -2
  376. package/esm/models/operationsMappers.d.ts.map +0 -1
  377. package/esm/models/operationsMappers.js +0 -9
  378. package/esm/models/operationsMappers.js.map +0 -1
  379. package/esm/models/parameters.d.ts +0 -15
  380. package/esm/models/parameters.d.ts.map +0 -1
  381. package/esm/models/parameters.js +0 -147
  382. package/esm/models/parameters.js.map +0 -1
  383. package/esm/models/projectsMappers.d.ts +0 -2
  384. package/esm/models/projectsMappers.d.ts.map +0 -1
  385. package/esm/models/projectsMappers.js +0 -9
  386. package/esm/models/projectsMappers.js.map +0 -1
  387. package/esm/models/resourceSkusMappers.d.ts +0 -2
  388. package/esm/models/resourceSkusMappers.d.ts.map +0 -1
  389. package/esm/models/resourceSkusMappers.js +0 -9
  390. package/esm/models/resourceSkusMappers.js.map +0 -1
  391. package/esm/models/serviceTasksMappers.d.ts +0 -2
  392. package/esm/models/serviceTasksMappers.d.ts.map +0 -1
  393. package/esm/models/serviceTasksMappers.js +0 -9
  394. package/esm/models/serviceTasksMappers.js.map +0 -1
  395. package/esm/models/servicesMappers.d.ts +0 -2
  396. package/esm/models/servicesMappers.d.ts.map +0 -1
  397. package/esm/models/servicesMappers.js +0 -9
  398. package/esm/models/servicesMappers.js.map +0 -1
  399. package/esm/models/tasksMappers.d.ts +0 -2
  400. package/esm/models/tasksMappers.d.ts.map +0 -1
  401. package/esm/models/tasksMappers.js +0 -9
  402. package/esm/models/tasksMappers.js.map +0 -1
  403. package/esm/models/usagesMappers.d.ts +0 -2
  404. package/esm/models/usagesMappers.d.ts.map +0 -1
  405. package/esm/models/usagesMappers.js +0 -9
  406. package/esm/models/usagesMappers.js.map +0 -1
  407. package/esm/operations/files.d.ts +0 -235
  408. package/esm/operations/files.d.ts.map +0 -1
  409. package/esm/operations/files.js +0 -309
  410. package/esm/operations/files.js.map +0 -1
  411. package/esm/operations/index.d.ts.map +0 -1
  412. package/esm/operations/index.js.map +0 -1
  413. package/esm/operations/operations.d.ts +0 -48
  414. package/esm/operations/operations.d.ts.map +0 -1
  415. package/esm/operations/operations.js +0 -77
  416. package/esm/operations/operations.js.map +0 -1
  417. package/esm/operations/projects.d.ts +0 -166
  418. package/esm/operations/projects.d.ts.map +0 -1
  419. package/esm/operations/projects.js +0 -230
  420. package/esm/operations/projects.js.map +0 -1
  421. package/esm/operations/resourceSkus.d.ts +0 -48
  422. package/esm/operations/resourceSkus.d.ts.map +0 -1
  423. package/esm/operations/resourceSkus.js +0 -80
  424. package/esm/operations/resourceSkus.js.map +0 -1
  425. package/esm/operations/serviceTasks.d.ts +0 -199
  426. package/esm/operations/serviceTasks.d.ts.map +0 -1
  427. package/esm/operations/serviceTasks.js +0 -265
  428. package/esm/operations/serviceTasks.js.map +0 -1
  429. package/esm/operations/services.d.ts +0 -350
  430. package/esm/operations/services.d.ts.map +0 -1
  431. package/esm/operations/services.js +0 -626
  432. package/esm/operations/services.js.map +0 -1
  433. package/esm/operations/tasks.d.ts +0 -246
  434. package/esm/operations/tasks.d.ts.map +0 -1
  435. package/esm/operations/tasks.js +0 -317
  436. package/esm/operations/tasks.js.map +0 -1
  437. package/esm/operations/usages.d.ts +0 -53
  438. package/esm/operations/usages.d.ts.map +0 -1
  439. package/esm/operations/usages.js +0 -82
  440. package/esm/operations/usages.js.map +0 -1
  441. package/src/dataMigrationServiceClient.ts +0 -56
  442. package/src/dataMigrationServiceClientContext.ts +0 -62
  443. package/src/models/filesMappers.ts +0 -235
  444. package/src/models/operationsMappers.ts +0 -16
  445. package/src/models/projectsMappers.ts +0 -234
  446. package/src/models/resourceSkusMappers.ts +0 -19
  447. package/src/models/serviceTasksMappers.ts +0 -234
  448. package/src/models/servicesMappers.ts +0 -241
  449. package/src/models/tasksMappers.ts +0 -234
  450. package/src/models/usagesMappers.ts +0 -16
@@ -0,0 +1,22 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { OperationsDefinition, OperationsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Operations. */
14
+ export interface Operations {
15
+ /**
16
+ * Lists all of the available SQL Migration REST API operations.
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<OperationsDefinition>;
22
+ }
@@ -0,0 +1,97 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ Project,
12
+ ProjectsListOptionalParams,
13
+ ProjectsCreateOrUpdateOptionalParams,
14
+ ProjectsCreateOrUpdateResponse,
15
+ ProjectsGetOptionalParams,
16
+ ProjectsGetResponse,
17
+ ProjectsDeleteOptionalParams,
18
+ ProjectsUpdateOptionalParams,
19
+ ProjectsUpdateResponse
20
+ } from "../models";
21
+
22
+ /// <reference lib="esnext.asynciterable" />
23
+ /** Interface representing a Projects. */
24
+ export interface Projects {
25
+ /**
26
+ * The project resource is a nested resource representing a stored migration project. This method
27
+ * returns a list of projects owned by a service resource.
28
+ * @param groupName Name of the resource group
29
+ * @param serviceName Name of the service
30
+ * @param options The options parameters.
31
+ */
32
+ list(
33
+ groupName: string,
34
+ serviceName: string,
35
+ options?: ProjectsListOptionalParams
36
+ ): PagedAsyncIterableIterator<Project>;
37
+ /**
38
+ * The project resource is a nested resource representing a stored migration project. The PUT method
39
+ * creates a new project or updates an existing one.
40
+ * @param groupName Name of the resource group
41
+ * @param serviceName Name of the service
42
+ * @param projectName Name of the project
43
+ * @param parameters Information about the project
44
+ * @param options The options parameters.
45
+ */
46
+ createOrUpdate(
47
+ groupName: string,
48
+ serviceName: string,
49
+ projectName: string,
50
+ parameters: Project,
51
+ options?: ProjectsCreateOrUpdateOptionalParams
52
+ ): Promise<ProjectsCreateOrUpdateResponse>;
53
+ /**
54
+ * The project resource is a nested resource representing a stored migration project. The GET method
55
+ * retrieves information about a project.
56
+ * @param groupName Name of the resource group
57
+ * @param serviceName Name of the service
58
+ * @param projectName Name of the project
59
+ * @param options The options parameters.
60
+ */
61
+ get(
62
+ groupName: string,
63
+ serviceName: string,
64
+ projectName: string,
65
+ options?: ProjectsGetOptionalParams
66
+ ): Promise<ProjectsGetResponse>;
67
+ /**
68
+ * The project resource is a nested resource representing a stored migration project. The DELETE method
69
+ * deletes a project.
70
+ * @param groupName Name of the resource group
71
+ * @param serviceName Name of the service
72
+ * @param projectName Name of the project
73
+ * @param options The options parameters.
74
+ */
75
+ delete(
76
+ groupName: string,
77
+ serviceName: string,
78
+ projectName: string,
79
+ options?: ProjectsDeleteOptionalParams
80
+ ): Promise<void>;
81
+ /**
82
+ * The project resource is a nested resource representing a stored migration project. The PATCH method
83
+ * updates an existing project.
84
+ * @param groupName Name of the resource group
85
+ * @param serviceName Name of the service
86
+ * @param projectName Name of the project
87
+ * @param parameters Information about the project
88
+ * @param options The options parameters.
89
+ */
90
+ update(
91
+ groupName: string,
92
+ serviceName: string,
93
+ projectName: string,
94
+ parameters: Project,
95
+ options?: ProjectsUpdateOptionalParams
96
+ ): Promise<ProjectsUpdateResponse>;
97
+ }
@@ -0,0 +1,22 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { ResourceSku, ResourceSkusListSkusOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a ResourceSkus. */
14
+ export interface ResourceSkus {
15
+ /**
16
+ * The skus action returns the list of SKUs that DMS supports.
17
+ * @param options The options parameters.
18
+ */
19
+ listSkus(
20
+ options?: ResourceSkusListSkusOptionalParams
21
+ ): PagedAsyncIterableIterator<ResourceSku>;
22
+ }
@@ -0,0 +1,116 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ ProjectTask,
12
+ ServiceTasksListOptionalParams,
13
+ ServiceTasksCreateOrUpdateOptionalParams,
14
+ ServiceTasksCreateOrUpdateResponse,
15
+ ServiceTasksGetOptionalParams,
16
+ ServiceTasksGetResponse,
17
+ ServiceTasksDeleteOptionalParams,
18
+ ServiceTasksUpdateOptionalParams,
19
+ ServiceTasksUpdateResponse,
20
+ ServiceTasksCancelOptionalParams,
21
+ ServiceTasksCancelResponse
22
+ } from "../models";
23
+
24
+ /// <reference lib="esnext.asynciterable" />
25
+ /** Interface representing a ServiceTasks. */
26
+ export interface ServiceTasks {
27
+ /**
28
+ * The services resource is the top-level resource that represents the Database Migration Service. This
29
+ * method returns a list of service level tasks owned by a service resource. Some tasks may have a
30
+ * status of Unknown, which indicates that an error occurred while querying the status of that task.
31
+ * @param groupName Name of the resource group
32
+ * @param serviceName Name of the service
33
+ * @param options The options parameters.
34
+ */
35
+ list(
36
+ groupName: string,
37
+ serviceName: string,
38
+ options?: ServiceTasksListOptionalParams
39
+ ): PagedAsyncIterableIterator<ProjectTask>;
40
+ /**
41
+ * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
42
+ * instance. The PUT method creates a new service task or updates an existing one, although since
43
+ * service tasks have no mutable custom properties, there is little reason to update an existing one.
44
+ * @param groupName Name of the resource group
45
+ * @param serviceName Name of the service
46
+ * @param taskName Name of the Task
47
+ * @param parameters Information about the task
48
+ * @param options The options parameters.
49
+ */
50
+ createOrUpdate(
51
+ groupName: string,
52
+ serviceName: string,
53
+ taskName: string,
54
+ parameters: ProjectTask,
55
+ options?: ServiceTasksCreateOrUpdateOptionalParams
56
+ ): Promise<ServiceTasksCreateOrUpdateResponse>;
57
+ /**
58
+ * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
59
+ * instance. The GET method retrieves information about a service task.
60
+ * @param groupName Name of the resource group
61
+ * @param serviceName Name of the service
62
+ * @param taskName Name of the Task
63
+ * @param options The options parameters.
64
+ */
65
+ get(
66
+ groupName: string,
67
+ serviceName: string,
68
+ taskName: string,
69
+ options?: ServiceTasksGetOptionalParams
70
+ ): Promise<ServiceTasksGetResponse>;
71
+ /**
72
+ * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
73
+ * instance. The DELETE method deletes a service task, canceling it first if it's running.
74
+ * @param groupName Name of the resource group
75
+ * @param serviceName Name of the service
76
+ * @param taskName Name of the Task
77
+ * @param options The options parameters.
78
+ */
79
+ delete(
80
+ groupName: string,
81
+ serviceName: string,
82
+ taskName: string,
83
+ options?: ServiceTasksDeleteOptionalParams
84
+ ): Promise<void>;
85
+ /**
86
+ * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
87
+ * instance. The PATCH method updates an existing service task, but since service tasks have no mutable
88
+ * custom properties, there is little reason to do so.
89
+ * @param groupName Name of the resource group
90
+ * @param serviceName Name of the service
91
+ * @param taskName Name of the Task
92
+ * @param parameters Information about the task
93
+ * @param options The options parameters.
94
+ */
95
+ update(
96
+ groupName: string,
97
+ serviceName: string,
98
+ taskName: string,
99
+ parameters: ProjectTask,
100
+ options?: ServiceTasksUpdateOptionalParams
101
+ ): Promise<ServiceTasksUpdateResponse>;
102
+ /**
103
+ * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
104
+ * instance. This method cancels a service task if it's currently queued or running.
105
+ * @param groupName Name of the resource group
106
+ * @param serviceName Name of the service
107
+ * @param taskName Name of the Task
108
+ * @param options The options parameters.
109
+ */
110
+ cancel(
111
+ groupName: string,
112
+ serviceName: string,
113
+ taskName: string,
114
+ options?: ServiceTasksCancelOptionalParams
115
+ ): Promise<ServiceTasksCancelResponse>;
116
+ }
@@ -0,0 +1,272 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ AvailableServiceSku,
13
+ ServicesListSkusOptionalParams,
14
+ DataMigrationService,
15
+ ServicesListByResourceGroupOptionalParams,
16
+ ServicesListOptionalParams,
17
+ ServicesCreateOrUpdateOptionalParams,
18
+ ServicesCreateOrUpdateResponse,
19
+ ServicesGetOptionalParams,
20
+ ServicesGetResponse,
21
+ ServicesDeleteOptionalParams,
22
+ ServicesUpdateOptionalParams,
23
+ ServicesUpdateResponse,
24
+ ServicesCheckStatusOptionalParams,
25
+ ServicesCheckStatusResponse,
26
+ ServicesStartOptionalParams,
27
+ ServicesStopOptionalParams,
28
+ NameAvailabilityRequest,
29
+ ServicesCheckChildrenNameAvailabilityOptionalParams,
30
+ ServicesCheckChildrenNameAvailabilityResponse,
31
+ ServicesCheckNameAvailabilityOptionalParams,
32
+ ServicesCheckNameAvailabilityResponse
33
+ } from "../models";
34
+
35
+ /// <reference lib="esnext.asynciterable" />
36
+ /** Interface representing a Services. */
37
+ export interface Services {
38
+ /**
39
+ * The services resource is the top-level resource that represents the Database Migration Service. The
40
+ * skus action returns the list of SKUs that a service resource can be updated to.
41
+ * @param groupName Name of the resource group
42
+ * @param serviceName Name of the service
43
+ * @param options The options parameters.
44
+ */
45
+ listSkus(
46
+ groupName: string,
47
+ serviceName: string,
48
+ options?: ServicesListSkusOptionalParams
49
+ ): PagedAsyncIterableIterator<AvailableServiceSku>;
50
+ /**
51
+ * The Services resource is the top-level resource that represents the Database Migration Service. This
52
+ * method returns a list of service resources in a resource group.
53
+ * @param groupName Name of the resource group
54
+ * @param options The options parameters.
55
+ */
56
+ listByResourceGroup(
57
+ groupName: string,
58
+ options?: ServicesListByResourceGroupOptionalParams
59
+ ): PagedAsyncIterableIterator<DataMigrationService>;
60
+ /**
61
+ * The services resource is the top-level resource that represents the Database Migration Service. This
62
+ * method returns a list of service resources in a subscription.
63
+ * @param options The options parameters.
64
+ */
65
+ list(
66
+ options?: ServicesListOptionalParams
67
+ ): PagedAsyncIterableIterator<DataMigrationService>;
68
+ /**
69
+ * The services resource is the top-level resource that represents the Database Migration Service. The
70
+ * PUT method creates a new service or updates an existing one. When a service is updated, existing
71
+ * child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which
72
+ * refers to a VM-based service, although other kinds may be added in the future. This method can
73
+ * change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the
74
+ * service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply
75
+ * when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
76
+ * property.
77
+ * @param groupName Name of the resource group
78
+ * @param serviceName Name of the service
79
+ * @param parameters Information about the service
80
+ * @param options The options parameters.
81
+ */
82
+ beginCreateOrUpdate(
83
+ groupName: string,
84
+ serviceName: string,
85
+ parameters: DataMigrationService,
86
+ options?: ServicesCreateOrUpdateOptionalParams
87
+ ): Promise<
88
+ PollerLike<
89
+ PollOperationState<ServicesCreateOrUpdateResponse>,
90
+ ServicesCreateOrUpdateResponse
91
+ >
92
+ >;
93
+ /**
94
+ * The services resource is the top-level resource that represents the Database Migration Service. The
95
+ * PUT method creates a new service or updates an existing one. When a service is updated, existing
96
+ * child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which
97
+ * refers to a VM-based service, although other kinds may be added in the future. This method can
98
+ * change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the
99
+ * service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply
100
+ * when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
101
+ * property.
102
+ * @param groupName Name of the resource group
103
+ * @param serviceName Name of the service
104
+ * @param parameters Information about the service
105
+ * @param options The options parameters.
106
+ */
107
+ beginCreateOrUpdateAndWait(
108
+ groupName: string,
109
+ serviceName: string,
110
+ parameters: DataMigrationService,
111
+ options?: ServicesCreateOrUpdateOptionalParams
112
+ ): Promise<ServicesCreateOrUpdateResponse>;
113
+ /**
114
+ * The services resource is the top-level resource that represents the Database Migration Service. The
115
+ * GET method retrieves information about a service instance.
116
+ * @param groupName Name of the resource group
117
+ * @param serviceName Name of the service
118
+ * @param options The options parameters.
119
+ */
120
+ get(
121
+ groupName: string,
122
+ serviceName: string,
123
+ options?: ServicesGetOptionalParams
124
+ ): Promise<ServicesGetResponse>;
125
+ /**
126
+ * The services resource is the top-level resource that represents the Database Migration Service. The
127
+ * DELETE method deletes a service. Any running tasks will be canceled.
128
+ * @param groupName Name of the resource group
129
+ * @param serviceName Name of the service
130
+ * @param options The options parameters.
131
+ */
132
+ beginDelete(
133
+ groupName: string,
134
+ serviceName: string,
135
+ options?: ServicesDeleteOptionalParams
136
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
137
+ /**
138
+ * The services resource is the top-level resource that represents the Database Migration Service. The
139
+ * DELETE method deletes a service. Any running tasks will be canceled.
140
+ * @param groupName Name of the resource group
141
+ * @param serviceName Name of the service
142
+ * @param options The options parameters.
143
+ */
144
+ beginDeleteAndWait(
145
+ groupName: string,
146
+ serviceName: string,
147
+ options?: ServicesDeleteOptionalParams
148
+ ): Promise<void>;
149
+ /**
150
+ * The services resource is the top-level resource that represents the Database Migration Service. The
151
+ * PATCH method updates an existing service. This method can change the kind, SKU, and network of the
152
+ * service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad
153
+ * Request ("ServiceIsBusy").
154
+ * @param groupName Name of the resource group
155
+ * @param serviceName Name of the service
156
+ * @param parameters Information about the service
157
+ * @param options The options parameters.
158
+ */
159
+ beginUpdate(
160
+ groupName: string,
161
+ serviceName: string,
162
+ parameters: DataMigrationService,
163
+ options?: ServicesUpdateOptionalParams
164
+ ): Promise<
165
+ PollerLike<
166
+ PollOperationState<ServicesUpdateResponse>,
167
+ ServicesUpdateResponse
168
+ >
169
+ >;
170
+ /**
171
+ * The services resource is the top-level resource that represents the Database Migration Service. The
172
+ * PATCH method updates an existing service. This method can change the kind, SKU, and network of the
173
+ * service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad
174
+ * Request ("ServiceIsBusy").
175
+ * @param groupName Name of the resource group
176
+ * @param serviceName Name of the service
177
+ * @param parameters Information about the service
178
+ * @param options The options parameters.
179
+ */
180
+ beginUpdateAndWait(
181
+ groupName: string,
182
+ serviceName: string,
183
+ parameters: DataMigrationService,
184
+ options?: ServicesUpdateOptionalParams
185
+ ): Promise<ServicesUpdateResponse>;
186
+ /**
187
+ * The services resource is the top-level resource that represents the Database Migration Service. This
188
+ * action performs a health check and returns the status of the service and virtual machine size.
189
+ * @param groupName Name of the resource group
190
+ * @param serviceName Name of the service
191
+ * @param options The options parameters.
192
+ */
193
+ checkStatus(
194
+ groupName: string,
195
+ serviceName: string,
196
+ options?: ServicesCheckStatusOptionalParams
197
+ ): Promise<ServicesCheckStatusResponse>;
198
+ /**
199
+ * The services resource is the top-level resource that represents the Database Migration Service. This
200
+ * action starts the service and the service can be used for data migration.
201
+ * @param groupName Name of the resource group
202
+ * @param serviceName Name of the service
203
+ * @param options The options parameters.
204
+ */
205
+ beginStart(
206
+ groupName: string,
207
+ serviceName: string,
208
+ options?: ServicesStartOptionalParams
209
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
210
+ /**
211
+ * The services resource is the top-level resource that represents the Database Migration Service. This
212
+ * action starts the service and the service can be used for data migration.
213
+ * @param groupName Name of the resource group
214
+ * @param serviceName Name of the service
215
+ * @param options The options parameters.
216
+ */
217
+ beginStartAndWait(
218
+ groupName: string,
219
+ serviceName: string,
220
+ options?: ServicesStartOptionalParams
221
+ ): Promise<void>;
222
+ /**
223
+ * The services resource is the top-level resource that represents the Database Migration Service. This
224
+ * action stops the service and the service cannot be used for data migration. The service owner won't
225
+ * be billed when the service is stopped.
226
+ * @param groupName Name of the resource group
227
+ * @param serviceName Name of the service
228
+ * @param options The options parameters.
229
+ */
230
+ beginStop(
231
+ groupName: string,
232
+ serviceName: string,
233
+ options?: ServicesStopOptionalParams
234
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
235
+ /**
236
+ * The services resource is the top-level resource that represents the Database Migration Service. This
237
+ * action stops the service and the service cannot be used for data migration. The service owner won't
238
+ * be billed when the service is stopped.
239
+ * @param groupName Name of the resource group
240
+ * @param serviceName Name of the service
241
+ * @param options The options parameters.
242
+ */
243
+ beginStopAndWait(
244
+ groupName: string,
245
+ serviceName: string,
246
+ options?: ServicesStopOptionalParams
247
+ ): Promise<void>;
248
+ /**
249
+ * This method checks whether a proposed nested resource name is valid and available.
250
+ * @param groupName Name of the resource group
251
+ * @param serviceName Name of the service
252
+ * @param parameters Requested name to validate
253
+ * @param options The options parameters.
254
+ */
255
+ checkChildrenNameAvailability(
256
+ groupName: string,
257
+ serviceName: string,
258
+ parameters: NameAvailabilityRequest,
259
+ options?: ServicesCheckChildrenNameAvailabilityOptionalParams
260
+ ): Promise<ServicesCheckChildrenNameAvailabilityResponse>;
261
+ /**
262
+ * This method checks whether a proposed top-level resource name is valid and available.
263
+ * @param location The Azure region of the operation
264
+ * @param parameters Requested name to validate
265
+ * @param options The options parameters.
266
+ */
267
+ checkNameAvailability(
268
+ location: string,
269
+ parameters: NameAvailabilityRequest,
270
+ options?: ServicesCheckNameAvailabilityOptionalParams
271
+ ): Promise<ServicesCheckNameAvailabilityResponse>;
272
+ }