@azure/arm-datamigration 3.0.0-alpha.20220414.1 → 3.0.0-alpha.20220421.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (267) hide show
  1. package/CHANGELOG.md +13 -3
  2. package/README.md +11 -0
  3. package/dist/index.js +366 -193
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/databaseMigrationsSqlMiCancelSample.d.ts +2 -0
  8. package/dist-esm/samples-dev/databaseMigrationsSqlMiCancelSample.d.ts.map +1 -0
  9. package/dist-esm/samples-dev/databaseMigrationsSqlMiCancelSample.js +35 -0
  10. package/dist-esm/samples-dev/databaseMigrationsSqlMiCancelSample.js.map +1 -0
  11. package/dist-esm/samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.d.ts +2 -0
  12. package/dist-esm/samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.d.ts.map +1 -0
  13. package/dist-esm/samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.js +117 -0
  14. package/dist-esm/samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.js.map +1 -0
  15. package/dist-esm/samples-dev/databaseMigrationsSqlMiCutoverSample.d.ts +2 -0
  16. package/dist-esm/samples-dev/databaseMigrationsSqlMiCutoverSample.d.ts.map +1 -0
  17. package/dist-esm/samples-dev/databaseMigrationsSqlMiCutoverSample.js +35 -0
  18. package/dist-esm/samples-dev/databaseMigrationsSqlMiCutoverSample.js.map +1 -0
  19. package/dist-esm/samples-dev/databaseMigrationsSqlMiGetSample.d.ts +2 -0
  20. package/dist-esm/samples-dev/databaseMigrationsSqlMiGetSample.d.ts.map +1 -0
  21. package/dist-esm/samples-dev/databaseMigrationsSqlMiGetSample.js +32 -0
  22. package/dist-esm/samples-dev/databaseMigrationsSqlMiGetSample.js.map +1 -0
  23. package/dist-esm/samples-dev/databaseMigrationsSqlVMCancelSample.d.ts +2 -0
  24. package/dist-esm/samples-dev/databaseMigrationsSqlVMCancelSample.d.ts.map +1 -0
  25. package/dist-esm/samples-dev/databaseMigrationsSqlVMCancelSample.js +35 -0
  26. package/dist-esm/samples-dev/databaseMigrationsSqlVMCancelSample.js.map +1 -0
  27. package/dist-esm/samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.d.ts +2 -0
  28. package/dist-esm/samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.d.ts.map +1 -0
  29. package/dist-esm/samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.js +117 -0
  30. package/dist-esm/samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.js.map +1 -0
  31. package/dist-esm/samples-dev/databaseMigrationsSqlVMCutoverSample.d.ts +2 -0
  32. package/dist-esm/samples-dev/databaseMigrationsSqlVMCutoverSample.d.ts.map +1 -0
  33. package/dist-esm/samples-dev/databaseMigrationsSqlVMCutoverSample.js +35 -0
  34. package/dist-esm/samples-dev/databaseMigrationsSqlVMCutoverSample.js.map +1 -0
  35. package/dist-esm/samples-dev/databaseMigrationsSqlVMGetSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/databaseMigrationsSqlVMGetSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/databaseMigrationsSqlVMGetSample.js +32 -0
  38. package/dist-esm/samples-dev/databaseMigrationsSqlVMGetSample.js.map +1 -0
  39. package/dist-esm/samples-dev/filesCreateOrUpdateSample.d.ts +2 -0
  40. package/dist-esm/samples-dev/filesCreateOrUpdateSample.d.ts.map +1 -0
  41. package/dist-esm/samples-dev/filesCreateOrUpdateSample.js +36 -0
  42. package/dist-esm/samples-dev/filesCreateOrUpdateSample.js.map +1 -0
  43. package/dist-esm/samples-dev/filesDeleteSample.d.ts +2 -0
  44. package/dist-esm/samples-dev/filesDeleteSample.d.ts.map +1 -0
  45. package/dist-esm/samples-dev/filesDeleteSample.js +33 -0
  46. package/dist-esm/samples-dev/filesDeleteSample.js.map +1 -0
  47. package/dist-esm/samples-dev/filesGetSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/filesGetSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/filesGetSample.js +33 -0
  50. package/dist-esm/samples-dev/filesGetSample.js.map +1 -0
  51. package/dist-esm/samples-dev/filesListSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/filesListSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/filesListSample.js +46 -0
  54. package/dist-esm/samples-dev/filesListSample.js.map +1 -0
  55. package/dist-esm/samples-dev/filesReadSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/filesReadSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/filesReadSample.js +33 -0
  58. package/dist-esm/samples-dev/filesReadSample.js.map +1 -0
  59. package/dist-esm/samples-dev/filesReadWriteSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/filesReadWriteSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/filesReadWriteSample.js +33 -0
  62. package/dist-esm/samples-dev/filesReadWriteSample.js.map +1 -0
  63. package/dist-esm/samples-dev/filesUpdateSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/filesUpdateSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/filesUpdateSample.js +36 -0
  66. package/dist-esm/samples-dev/filesUpdateSample.js.map +1 -0
  67. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/operationsListSample.js +43 -0
  70. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  71. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js +37 -0
  74. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js.map +1 -0
  75. package/dist-esm/samples-dev/projectsDeleteSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/projectsDeleteSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/projectsDeleteSample.js +32 -0
  78. package/dist-esm/samples-dev/projectsDeleteSample.js.map +1 -0
  79. package/dist-esm/samples-dev/projectsGetSample.d.ts +2 -0
  80. package/dist-esm/samples-dev/projectsGetSample.d.ts.map +1 -0
  81. package/dist-esm/samples-dev/projectsGetSample.js +32 -0
  82. package/dist-esm/samples-dev/projectsGetSample.js.map +1 -0
  83. package/dist-esm/samples-dev/projectsListSample.d.ts +2 -0
  84. package/dist-esm/samples-dev/projectsListSample.d.ts.map +1 -0
  85. package/dist-esm/samples-dev/projectsListSample.js +45 -0
  86. package/dist-esm/samples-dev/projectsListSample.js.map +1 -0
  87. package/dist-esm/samples-dev/projectsUpdateSample.d.ts +2 -0
  88. package/dist-esm/samples-dev/projectsUpdateSample.d.ts.map +1 -0
  89. package/dist-esm/samples-dev/projectsUpdateSample.js +37 -0
  90. package/dist-esm/samples-dev/projectsUpdateSample.js.map +1 -0
  91. package/dist-esm/samples-dev/resourceSkusListSkusSample.d.ts +2 -0
  92. package/dist-esm/samples-dev/resourceSkusListSkusSample.d.ts.map +1 -0
  93. package/dist-esm/samples-dev/resourceSkusListSkusSample.js +43 -0
  94. package/dist-esm/samples-dev/resourceSkusListSkusSample.js.map +1 -0
  95. package/dist-esm/samples-dev/serviceTasksCancelSample.d.ts +2 -0
  96. package/dist-esm/samples-dev/serviceTasksCancelSample.d.ts.map +1 -0
  97. package/dist-esm/samples-dev/serviceTasksCancelSample.js +32 -0
  98. package/dist-esm/samples-dev/serviceTasksCancelSample.js.map +1 -0
  99. package/dist-esm/samples-dev/serviceTasksCreateOrUpdateSample.d.ts +2 -0
  100. package/dist-esm/samples-dev/serviceTasksCreateOrUpdateSample.d.ts.map +1 -0
  101. package/dist-esm/samples-dev/serviceTasksCreateOrUpdateSample.js +38 -0
  102. package/dist-esm/samples-dev/serviceTasksCreateOrUpdateSample.js.map +1 -0
  103. package/dist-esm/samples-dev/serviceTasksDeleteSample.d.ts +2 -0
  104. package/dist-esm/samples-dev/serviceTasksDeleteSample.d.ts.map +1 -0
  105. package/dist-esm/samples-dev/serviceTasksDeleteSample.js +32 -0
  106. package/dist-esm/samples-dev/serviceTasksDeleteSample.js.map +1 -0
  107. package/dist-esm/samples-dev/serviceTasksGetSample.d.ts +2 -0
  108. package/dist-esm/samples-dev/serviceTasksGetSample.d.ts.map +1 -0
  109. package/dist-esm/samples-dev/serviceTasksGetSample.js +32 -0
  110. package/dist-esm/samples-dev/serviceTasksGetSample.js.map +1 -0
  111. package/dist-esm/samples-dev/serviceTasksListSample.d.ts +2 -0
  112. package/dist-esm/samples-dev/serviceTasksListSample.d.ts.map +1 -0
  113. package/dist-esm/samples-dev/serviceTasksListSample.js +45 -0
  114. package/dist-esm/samples-dev/serviceTasksListSample.js.map +1 -0
  115. package/dist-esm/samples-dev/serviceTasksUpdateSample.d.ts +2 -0
  116. package/dist-esm/samples-dev/serviceTasksUpdateSample.d.ts.map +1 -0
  117. package/dist-esm/samples-dev/serviceTasksUpdateSample.js +38 -0
  118. package/dist-esm/samples-dev/serviceTasksUpdateSample.js.map +1 -0
  119. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailabilitySample.d.ts +2 -0
  120. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailabilitySample.d.ts.map +1 -0
  121. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailabilitySample.js +32 -0
  122. package/dist-esm/samples-dev/servicesCheckChildrenNameAvailabilitySample.js.map +1 -0
  123. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts +2 -0
  124. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts.map +1 -0
  125. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +34 -0
  126. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +1 -0
  127. package/dist-esm/samples-dev/servicesCheckStatusSample.d.ts +2 -0
  128. package/dist-esm/samples-dev/servicesCheckStatusSample.d.ts.map +1 -0
  129. package/dist-esm/samples-dev/servicesCheckStatusSample.js +31 -0
  130. package/dist-esm/samples-dev/servicesCheckStatusSample.js.map +1 -0
  131. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts +2 -0
  132. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts.map +1 -0
  133. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +36 -0
  134. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -0
  135. package/dist-esm/samples-dev/servicesDeleteSample.d.ts +2 -0
  136. package/dist-esm/samples-dev/servicesDeleteSample.d.ts.map +1 -0
  137. package/dist-esm/samples-dev/servicesDeleteSample.js +31 -0
  138. package/dist-esm/samples-dev/servicesDeleteSample.js.map +1 -0
  139. package/dist-esm/samples-dev/servicesGetSample.d.ts +2 -0
  140. package/dist-esm/samples-dev/servicesGetSample.d.ts.map +1 -0
  141. package/dist-esm/samples-dev/servicesGetSample.js +31 -0
  142. package/dist-esm/samples-dev/servicesGetSample.js.map +1 -0
  143. package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts +2 -0
  144. package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts.map +1 -0
  145. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +44 -0
  146. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +1 -0
  147. package/dist-esm/samples-dev/servicesListSample.d.ts +2 -0
  148. package/dist-esm/samples-dev/servicesListSample.d.ts.map +1 -0
  149. package/dist-esm/samples-dev/servicesListSample.js +43 -0
  150. package/dist-esm/samples-dev/servicesListSample.js.map +1 -0
  151. package/dist-esm/samples-dev/servicesListSkusSample.d.ts +2 -0
  152. package/dist-esm/samples-dev/servicesListSkusSample.d.ts.map +1 -0
  153. package/dist-esm/samples-dev/servicesListSkusSample.js +45 -0
  154. package/dist-esm/samples-dev/servicesListSkusSample.js.map +1 -0
  155. package/dist-esm/samples-dev/servicesStartSample.d.ts +2 -0
  156. package/dist-esm/samples-dev/servicesStartSample.d.ts.map +1 -0
  157. package/dist-esm/samples-dev/servicesStartSample.js +31 -0
  158. package/dist-esm/samples-dev/servicesStartSample.js.map +1 -0
  159. package/dist-esm/samples-dev/servicesStopSample.d.ts +2 -0
  160. package/dist-esm/samples-dev/servicesStopSample.d.ts.map +1 -0
  161. package/dist-esm/samples-dev/servicesStopSample.js +31 -0
  162. package/dist-esm/samples-dev/servicesStopSample.js.map +1 -0
  163. package/dist-esm/samples-dev/servicesUpdateSample.d.ts +2 -0
  164. package/dist-esm/samples-dev/servicesUpdateSample.d.ts.map +1 -0
  165. package/dist-esm/samples-dev/servicesUpdateSample.js +35 -0
  166. package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -0
  167. package/dist-esm/samples-dev/sqlMigrationServicesCreateOrUpdateSample.d.ts +2 -0
  168. package/dist-esm/samples-dev/sqlMigrationServicesCreateOrUpdateSample.d.ts.map +1 -0
  169. package/dist-esm/samples-dev/sqlMigrationServicesCreateOrUpdateSample.js +51 -0
  170. package/dist-esm/samples-dev/sqlMigrationServicesCreateOrUpdateSample.js.map +1 -0
  171. package/dist-esm/samples-dev/sqlMigrationServicesDeleteNodeSample.d.ts +2 -0
  172. package/dist-esm/samples-dev/sqlMigrationServicesDeleteNodeSample.d.ts.map +1 -0
  173. package/dist-esm/samples-dev/sqlMigrationServicesDeleteNodeSample.js +35 -0
  174. package/dist-esm/samples-dev/sqlMigrationServicesDeleteNodeSample.js.map +1 -0
  175. package/dist-esm/samples-dev/sqlMigrationServicesDeleteSample.d.ts +2 -0
  176. package/dist-esm/samples-dev/sqlMigrationServicesDeleteSample.d.ts.map +1 -0
  177. package/dist-esm/samples-dev/sqlMigrationServicesDeleteSample.js +31 -0
  178. package/dist-esm/samples-dev/sqlMigrationServicesDeleteSample.js.map +1 -0
  179. package/dist-esm/samples-dev/sqlMigrationServicesGetSample.d.ts +2 -0
  180. package/dist-esm/samples-dev/sqlMigrationServicesGetSample.d.ts.map +1 -0
  181. package/dist-esm/samples-dev/sqlMigrationServicesGetSample.js +31 -0
  182. package/dist-esm/samples-dev/sqlMigrationServicesGetSample.js.map +1 -0
  183. package/dist-esm/samples-dev/sqlMigrationServicesListAuthKeysSample.d.ts +2 -0
  184. package/dist-esm/samples-dev/sqlMigrationServicesListAuthKeysSample.d.ts.map +1 -0
  185. package/dist-esm/samples-dev/sqlMigrationServicesListAuthKeysSample.js +31 -0
  186. package/dist-esm/samples-dev/sqlMigrationServicesListAuthKeysSample.js.map +1 -0
  187. package/dist-esm/samples-dev/sqlMigrationServicesListByResourceGroupSample.d.ts +2 -0
  188. package/dist-esm/samples-dev/sqlMigrationServicesListByResourceGroupSample.d.ts.map +1 -0
  189. package/dist-esm/samples-dev/sqlMigrationServicesListByResourceGroupSample.js +44 -0
  190. package/dist-esm/samples-dev/sqlMigrationServicesListByResourceGroupSample.js.map +1 -0
  191. package/dist-esm/samples-dev/sqlMigrationServicesListBySubscriptionSample.d.ts +2 -0
  192. package/dist-esm/samples-dev/sqlMigrationServicesListBySubscriptionSample.d.ts.map +1 -0
  193. package/dist-esm/samples-dev/sqlMigrationServicesListBySubscriptionSample.js +43 -0
  194. package/dist-esm/samples-dev/sqlMigrationServicesListBySubscriptionSample.js.map +1 -0
  195. package/dist-esm/samples-dev/sqlMigrationServicesListMigrationsSample.d.ts +2 -0
  196. package/dist-esm/samples-dev/sqlMigrationServicesListMigrationsSample.d.ts.map +1 -0
  197. package/dist-esm/samples-dev/sqlMigrationServicesListMigrationsSample.js +45 -0
  198. package/dist-esm/samples-dev/sqlMigrationServicesListMigrationsSample.js.map +1 -0
  199. package/dist-esm/samples-dev/sqlMigrationServicesListMonitoringDataSample.d.ts +2 -0
  200. package/dist-esm/samples-dev/sqlMigrationServicesListMonitoringDataSample.d.ts.map +1 -0
  201. package/dist-esm/samples-dev/sqlMigrationServicesListMonitoringDataSample.js +31 -0
  202. package/dist-esm/samples-dev/sqlMigrationServicesListMonitoringDataSample.js.map +1 -0
  203. package/dist-esm/samples-dev/sqlMigrationServicesRegenerateAuthKeysSample.d.ts +2 -0
  204. package/dist-esm/samples-dev/sqlMigrationServicesRegenerateAuthKeysSample.d.ts.map +1 -0
  205. package/dist-esm/samples-dev/sqlMigrationServicesRegenerateAuthKeysSample.js +32 -0
  206. package/dist-esm/samples-dev/sqlMigrationServicesRegenerateAuthKeysSample.js.map +1 -0
  207. package/dist-esm/samples-dev/sqlMigrationServicesUpdateSample.d.ts +2 -0
  208. package/dist-esm/samples-dev/sqlMigrationServicesUpdateSample.d.ts.map +1 -0
  209. package/dist-esm/samples-dev/sqlMigrationServicesUpdateSample.js +32 -0
  210. package/dist-esm/samples-dev/sqlMigrationServicesUpdateSample.js.map +1 -0
  211. package/dist-esm/samples-dev/tasksCancelSample.d.ts +2 -0
  212. package/dist-esm/samples-dev/tasksCancelSample.d.ts.map +1 -0
  213. package/dist-esm/samples-dev/tasksCancelSample.js +33 -0
  214. package/dist-esm/samples-dev/tasksCancelSample.js.map +1 -0
  215. package/dist-esm/samples-dev/tasksCommandSample.d.ts +2 -0
  216. package/dist-esm/samples-dev/tasksCommandSample.d.ts.map +1 -0
  217. package/dist-esm/samples-dev/tasksCommandSample.js +37 -0
  218. package/dist-esm/samples-dev/tasksCommandSample.js.map +1 -0
  219. package/dist-esm/samples-dev/tasksCreateOrUpdateSample.d.ts +2 -0
  220. package/dist-esm/samples-dev/tasksCreateOrUpdateSample.d.ts.map +1 -0
  221. package/dist-esm/samples-dev/tasksCreateOrUpdateSample.js +49 -0
  222. package/dist-esm/samples-dev/tasksCreateOrUpdateSample.js.map +1 -0
  223. package/dist-esm/samples-dev/tasksDeleteSample.d.ts +2 -0
  224. package/dist-esm/samples-dev/tasksDeleteSample.d.ts.map +1 -0
  225. package/dist-esm/samples-dev/tasksDeleteSample.js +33 -0
  226. package/dist-esm/samples-dev/tasksDeleteSample.js.map +1 -0
  227. package/dist-esm/samples-dev/tasksGetSample.d.ts +2 -0
  228. package/dist-esm/samples-dev/tasksGetSample.d.ts.map +1 -0
  229. package/dist-esm/samples-dev/tasksGetSample.js +33 -0
  230. package/dist-esm/samples-dev/tasksGetSample.js.map +1 -0
  231. package/dist-esm/samples-dev/tasksListSample.d.ts +2 -0
  232. package/dist-esm/samples-dev/tasksListSample.d.ts.map +1 -0
  233. package/dist-esm/samples-dev/tasksListSample.js +46 -0
  234. package/dist-esm/samples-dev/tasksListSample.js.map +1 -0
  235. package/dist-esm/samples-dev/tasksUpdateSample.d.ts +2 -0
  236. package/dist-esm/samples-dev/tasksUpdateSample.d.ts.map +1 -0
  237. package/dist-esm/samples-dev/tasksUpdateSample.js +49 -0
  238. package/dist-esm/samples-dev/tasksUpdateSample.js.map +1 -0
  239. package/dist-esm/samples-dev/usagesListSample.d.ts +2 -0
  240. package/dist-esm/samples-dev/usagesListSample.d.ts.map +1 -0
  241. package/dist-esm/samples-dev/usagesListSample.js +44 -0
  242. package/dist-esm/samples-dev/usagesListSample.js.map +1 -0
  243. package/dist-esm/src/dataMigrationManagementClient.d.ts.map +1 -1
  244. package/dist-esm/src/dataMigrationManagementClient.js +20 -2
  245. package/dist-esm/src/dataMigrationManagementClient.js.map +1 -1
  246. package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  247. package/dist-esm/src/operations/databaseMigrationsSqlMi.js +9 -3
  248. package/dist-esm/src/operations/databaseMigrationsSqlMi.js.map +1 -1
  249. package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  250. package/dist-esm/src/operations/databaseMigrationsSqlVm.js +9 -3
  251. package/dist-esm/src/operations/databaseMigrationsSqlVm.js.map +1 -1
  252. package/dist-esm/src/operations/services.d.ts.map +1 -1
  253. package/dist-esm/src/operations/services.js +15 -5
  254. package/dist-esm/src/operations/services.js.map +1 -1
  255. package/dist-esm/src/operations/sqlMigrationServices.d.ts.map +1 -1
  256. package/dist-esm/src/operations/sqlMigrationServices.js +9 -3
  257. package/dist-esm/src/operations/sqlMigrationServices.js.map +1 -1
  258. package/package.json +11 -11
  259. package/rollup.config.js +6 -72
  260. package/src/dataMigrationManagementClient.ts +27 -2
  261. package/src/operations/databaseMigrationsSqlMi.ts +9 -3
  262. package/src/operations/databaseMigrationsSqlVm.ts +9 -3
  263. package/src/operations/services.ts +15 -5
  264. package/src/operations/sqlMigrationServices.ts +9 -3
  265. package/tsconfig.json +18 -5
  266. package/types/tsdoc-metadata.json +1 -1
  267. package/LICENSE.txt +0 -21
@@ -0,0 +1,44 @@
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 { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { DataMigrationManagementClient } from "@azure/arm-datamigration";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Retrieve all SQL migration services in the resource group.
15
+ *
16
+ * @summary Retrieve all SQL migration services in the resource group.
17
+ * x-ms-original-file: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2021-10-30-preview/examples/ListByResourceGroupMigrationService.json
18
+ */
19
+ function getMigrationServicesInTheResourceGroup() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "00000000-1111-2222-3333-444444444444";
23
+ const resourceGroupName = "testrg";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new DataMigrationManagementClient(credential, subscriptionId);
26
+ const resArray = new Array();
27
+ try {
28
+ for (var _b = __asyncValues(client.sqlMigrationServices.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
29
+ let item = _c.value;
30
+ resArray.push(item);
31
+ }
32
+ }
33
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
34
+ finally {
35
+ try {
36
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
37
+ }
38
+ finally { if (e_1) throw e_1.error; }
39
+ }
40
+ console.log(resArray);
41
+ });
42
+ }
43
+ getMigrationServicesInTheResourceGroup().catch(console.error);
44
+ //# sourceMappingURL=sqlMigrationServicesListByResourceGroupSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlMigrationServicesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/sqlMigrationServicesListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sCAAsC;;;QACnD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,mBAAmB,CACpE,iBAAiB,CAClB,CAAA,IAAA;gBAFU,IAAI,IAAI,WAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,sCAAsC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sqlMigrationServicesListBySubscriptionSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlMigrationServicesListBySubscriptionSample.d.ts","sourceRoot":"","sources":["../../samples-dev/sqlMigrationServicesListBySubscriptionSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
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 { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { DataMigrationManagementClient } from "@azure/arm-datamigration";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Retrieve all SQL migration services in the subscriptions.
15
+ *
16
+ * @summary Retrieve all SQL migration services in the subscriptions.
17
+ * x-ms-original-file: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2021-10-30-preview/examples/ListBySubscriptionMigrationService.json
18
+ */
19
+ function getServicesInTheSubscriptions() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/managedInstance1";
23
+ const credential = new DefaultAzureCredential();
24
+ const client = new DataMigrationManagementClient(credential, subscriptionId);
25
+ const resArray = new Array();
26
+ try {
27
+ for (var _b = __asyncValues(client.sqlMigrationServices.listBySubscription()), _c; _c = yield _b.next(), !_c.done;) {
28
+ let item = _c.value;
29
+ resArray.push(item);
30
+ }
31
+ }
32
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
33
+ finally {
34
+ try {
35
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
36
+ }
37
+ finally { if (e_1) throw e_1.error; }
38
+ }
39
+ console.log(resArray);
40
+ });
41
+ }
42
+ getServicesInTheSubscriptions().catch(console.error);
43
+ //# sourceMappingURL=sqlMigrationServicesListBySubscriptionSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlMigrationServicesListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/sqlMigrationServicesListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,6BAA6B;;;QAC1C,MAAM,cAAc,GAClB,oIAAoI,CAAC;QACvI,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAA5D,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,6BAA6B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sqlMigrationServicesListMigrationsSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlMigrationServicesListMigrationsSample.d.ts","sourceRoot":"","sources":["../../samples-dev/sqlMigrationServicesListMigrationsSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,45 @@
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 { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { DataMigrationManagementClient } from "@azure/arm-datamigration";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Retrieve the List of database migrations attached to the service.
15
+ *
16
+ * @summary Retrieve the List of database migrations attached to the service.
17
+ * x-ms-original-file: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2021-10-30-preview/examples/ListMigrationsByMigrationService.json
18
+ */
19
+ function listDatabaseMigrationsAttachedToTheService() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "00000000-1111-2222-3333-444444444444";
23
+ const resourceGroupName = "testrg";
24
+ const sqlMigrationServiceName = "service1";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new DataMigrationManagementClient(credential, subscriptionId);
27
+ const resArray = new Array();
28
+ try {
29
+ for (var _b = __asyncValues(client.sqlMigrationServices.listMigrations(resourceGroupName, sqlMigrationServiceName)), _c; _c = yield _b.next(), !_c.done;) {
30
+ let item = _c.value;
31
+ resArray.push(item);
32
+ }
33
+ }
34
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
35
+ finally {
36
+ try {
37
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
38
+ }
39
+ finally { if (e_1) throw e_1.error; }
40
+ }
41
+ console.log(resArray);
42
+ });
43
+ }
44
+ listDatabaseMigrationsAttachedToTheService().catch(console.error);
45
+ //# sourceMappingURL=sqlMigrationServicesListMigrationsSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlMigrationServicesListMigrationsSample.js","sourceRoot":"","sources":["../../samples-dev/sqlMigrationServicesListMigrationsSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0CAA0C;;;QACvD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,uBAAuB,GAAG,UAAU,CAAC;QAC3C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,cAAc,CAC/D,iBAAiB,EACjB,uBAAuB,CACxB,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,0CAA0C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sqlMigrationServicesListMonitoringDataSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlMigrationServicesListMonitoringDataSample.d.ts","sourceRoot":"","sources":["../../samples-dev/sqlMigrationServicesListMonitoringDataSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
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
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { DataMigrationManagementClient } from "@azure/arm-datamigration";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Retrieve the Monitoring Data.
15
+ *
16
+ * @summary Retrieve the Monitoring Data.
17
+ * x-ms-original-file: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2021-10-30-preview/examples/GetMonitorDataMigrationService.json
18
+ */
19
+ function retrieveTheMonitoringData() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "00000000-1111-2222-3333-444444444444";
22
+ const resourceGroupName = "testrg";
23
+ const sqlMigrationServiceName = "service1";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new DataMigrationManagementClient(credential, subscriptionId);
26
+ const result = yield client.sqlMigrationServices.listMonitoringData(resourceGroupName, sqlMigrationServiceName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ retrieveTheMonitoringData().catch(console.error);
31
+ //# sourceMappingURL=sqlMigrationServicesListMonitoringDataSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlMigrationServicesListMonitoringDataSample.js","sourceRoot":"","sources":["../../samples-dev/sqlMigrationServicesListMonitoringDataSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,uBAAuB,GAAG,UAAU,CAAC;QAC3C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,kBAAkB,CACjE,iBAAiB,EACjB,uBAAuB,CACxB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sqlMigrationServicesRegenerateAuthKeysSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlMigrationServicesRegenerateAuthKeysSample.d.ts","sourceRoot":"","sources":["../../samples-dev/sqlMigrationServicesRegenerateAuthKeysSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
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
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { DataMigrationManagementClient } from "@azure/arm-datamigration";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Regenerate a new set of Authentication Keys for Self Hosted Integration Runtime.
15
+ *
16
+ * @summary Regenerate a new set of Authentication Keys for Self Hosted Integration Runtime.
17
+ * x-ms-original-file: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2021-10-30-preview/examples/RegenAuthKeysMigrationService.json
18
+ */
19
+ function regenerateTheOfAuthenticationKeys() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "00000000-1111-2222-3333-444444444444";
22
+ const resourceGroupName = "testrg";
23
+ const sqlMigrationServiceName = "service1";
24
+ const parameters = { keyName: "authKey1" };
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new DataMigrationManagementClient(credential, subscriptionId);
27
+ const result = yield client.sqlMigrationServices.regenerateAuthKeys(resourceGroupName, sqlMigrationServiceName, parameters);
28
+ console.log(result);
29
+ });
30
+ }
31
+ regenerateTheOfAuthenticationKeys().catch(console.error);
32
+ //# sourceMappingURL=sqlMigrationServicesRegenerateAuthKeysSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlMigrationServicesRegenerateAuthKeysSample.js","sourceRoot":"","sources":["../../samples-dev/sqlMigrationServicesRegenerateAuthKeysSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,6BAA6B,EAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iCAAiC;;QAC9C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,uBAAuB,GAAG,UAAU,CAAC;QAC3C,MAAM,UAAU,GAAkB,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,kBAAkB,CACjE,iBAAiB,EACjB,uBAAuB,EACvB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iCAAiC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sqlMigrationServicesUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlMigrationServicesUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/sqlMigrationServicesUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
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
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { DataMigrationManagementClient } from "@azure/arm-datamigration";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Update SQL Migration Service.
15
+ *
16
+ * @summary Update SQL Migration Service.
17
+ * x-ms-original-file: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2021-10-30-preview/examples/UpdateMigrationService.json
18
+ */
19
+ function updateSqlMigrationService() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "00000000-1111-2222-3333-444444444444";
22
+ const resourceGroupName = "testrg";
23
+ const sqlMigrationServiceName = "testagent";
24
+ const parameters = { tags: { mytag: "myval" } };
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new DataMigrationManagementClient(credential, subscriptionId);
27
+ const result = yield client.sqlMigrationServices.beginUpdateAndWait(resourceGroupName, sqlMigrationServiceName, parameters);
28
+ console.log(result);
29
+ });
30
+ }
31
+ updateSqlMigrationService().catch(console.error);
32
+ //# sourceMappingURL=sqlMigrationServicesUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlMigrationServicesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/sqlMigrationServicesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,6BAA6B,EAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,uBAAuB,GAAG,WAAW,CAAC;QAC5C,MAAM,UAAU,GAA8B,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,CAAC;QAC3E,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,kBAAkB,CACjE,iBAAiB,EACjB,uBAAuB,EACvB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=tasksCancelSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasksCancelSample.d.ts","sourceRoot":"","sources":["../../samples-dev/tasksCancelSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
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
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { DataMigrationManagementClient } from "@azure/arm-datamigration";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. This method cancels a task if it's currently queued or running.
15
+ *
16
+ * @summary The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. This method cancels a task if it's currently queued or running.
17
+ * x-ms-original-file: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2021-10-30-preview/examples/Tasks_Cancel.json
18
+ */
19
+ function tasksCancel() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "fc04246f-04c5-437e-ac5e-206a19e7193f";
22
+ const groupName = "DmsSdkRg";
23
+ const serviceName = "DmsSdkService";
24
+ const projectName = "DmsSdkProject";
25
+ const taskName = "DmsSdkTask";
26
+ const credential = new DefaultAzureCredential();
27
+ const client = new DataMigrationManagementClient(credential, subscriptionId);
28
+ const result = yield client.tasks.cancel(groupName, serviceName, projectName, taskName);
29
+ console.log(result);
30
+ });
31
+ }
32
+ tasksCancel().catch(console.error);
33
+ //# sourceMappingURL=tasksCancelSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasksCancelSample.js","sourceRoot":"","sources":["../../samples-dev/tasksCancelSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,WAAW;;QACxB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,UAAU,CAAC;QAC7B,MAAM,WAAW,GAAG,eAAe,CAAC;QACpC,MAAM,WAAW,GAAG,eAAe,CAAC;QACpC,MAAM,QAAQ,GAAG,YAAY,CAAC;QAC9B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,MAAM,CACtC,SAAS,EACT,WAAW,EACX,WAAW,EACX,QAAQ,CACT,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,WAAW,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=tasksCommandSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasksCommandSample.d.ts","sourceRoot":"","sources":["../../samples-dev/tasksCommandSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,37 @@
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
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { DataMigrationManagementClient } from "@azure/arm-datamigration";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. This method executes a command on a running task.
15
+ *
16
+ * @summary The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. This method executes a command on a running task.
17
+ * x-ms-original-file: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2021-10-30-preview/examples/Tasks_Command.json
18
+ */
19
+ function tasksCommand() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "fc04246f-04c5-437e-ac5e-206a19e7193f";
22
+ const groupName = "DmsSdkRg";
23
+ const serviceName = "DmsSdkService";
24
+ const projectName = "DmsSdkProject";
25
+ const taskName = "DmsSdkTask";
26
+ const parameters = {
27
+ commandType: "Migrate.Sync.Complete.Database",
28
+ input: { databaseName: "TestDatabase" }
29
+ };
30
+ const credential = new DefaultAzureCredential();
31
+ const client = new DataMigrationManagementClient(credential, subscriptionId);
32
+ const result = yield client.tasks.command(groupName, serviceName, projectName, taskName, parameters);
33
+ console.log(result);
34
+ });
35
+ }
36
+ tasksCommand().catch(console.error);
37
+ //# sourceMappingURL=tasksCommandSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasksCommandSample.js","sourceRoot":"","sources":["../../samples-dev/tasksCommandSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,6BAA6B,EAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,YAAY;;QACzB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,UAAU,CAAC;QAC7B,MAAM,WAAW,GAAG,eAAe,CAAC;QACpC,MAAM,WAAW,GAAG,eAAe,CAAC;QACpC,MAAM,QAAQ,GAAG,YAAY,CAAC;QAC9B,MAAM,UAAU,GAAyC;YACvD,WAAW,EAAE,gCAAgC;YAC7C,KAAK,EAAE,EAAE,YAAY,EAAE,cAAc,EAAE;SACxC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,OAAO,CACvC,SAAS,EACT,WAAW,EACX,WAAW,EACX,QAAQ,EACR,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,YAAY,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=tasksCreateOrUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasksCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/tasksCreateOrUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,49 @@
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
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { DataMigrationManagementClient } from "@azure/arm-datamigration";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The PUT method creates a new task or updates an existing one, although since tasks have no mutable custom properties, there is little reason to update an existing one.
15
+ *
16
+ * @summary The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The PUT method creates a new task or updates an existing one, although since tasks have no mutable custom properties, there is little reason to update an existing one.
17
+ * x-ms-original-file: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2021-10-30-preview/examples/Tasks_CreateOrUpdate.json
18
+ */
19
+ function tasksCreateOrUpdate() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "fc04246f-04c5-437e-ac5e-206a19e7193f";
22
+ const groupName = "DmsSdkRg";
23
+ const serviceName = "DmsSdkService";
24
+ const projectName = "DmsSdkProject";
25
+ const taskName = "DmsSdkTask";
26
+ const parameters = {
27
+ properties: {
28
+ input: {
29
+ targetConnectionInfo: {
30
+ type: "SqlConnectionInfo",
31
+ authentication: "SqlAuthentication",
32
+ dataSource: "ssma-test-server.database.windows.net",
33
+ encryptConnection: true,
34
+ password: "testpassword",
35
+ trustServerCertificate: true,
36
+ userName: "testuser"
37
+ }
38
+ },
39
+ taskType: "ConnectToTarget.SqlDb"
40
+ }
41
+ };
42
+ const credential = new DefaultAzureCredential();
43
+ const client = new DataMigrationManagementClient(credential, subscriptionId);
44
+ const result = yield client.tasks.createOrUpdate(groupName, serviceName, projectName, taskName, parameters);
45
+ console.log(result);
46
+ });
47
+ }
48
+ tasksCreateOrUpdate().catch(console.error);
49
+ //# sourceMappingURL=tasksCreateOrUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasksCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/tasksCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,6BAA6B,EAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,mBAAmB;;QAChC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,UAAU,CAAC;QAC7B,MAAM,WAAW,GAAG,eAAe,CAAC;QACpC,MAAM,WAAW,GAAG,eAAe,CAAC;QACpC,MAAM,QAAQ,GAAG,YAAY,CAAC;QAC9B,MAAM,UAAU,GAAgB;YAC9B,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL,oBAAoB,EAAE;wBACpB,IAAI,EAAE,mBAAmB;wBACzB,cAAc,EAAE,mBAAmB;wBACnC,UAAU,EAAE,uCAAuC;wBACnD,iBAAiB,EAAE,IAAI;wBACvB,QAAQ,EAAE,cAAc;wBACxB,sBAAsB,EAAE,IAAI;wBAC5B,QAAQ,EAAE,UAAU;qBACrB;iBACF;gBACD,QAAQ,EAAE,uBAAuB;aAClC;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,cAAc,CAC9C,SAAS,EACT,WAAW,EACX,WAAW,EACX,QAAQ,EACR,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,mBAAmB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=tasksDeleteSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasksDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/tasksDeleteSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
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
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { DataMigrationManagementClient } from "@azure/arm-datamigration";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The DELETE method deletes a task, canceling it first if it's running.
15
+ *
16
+ * @summary The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The DELETE method deletes a task, canceling it first if it's running.
17
+ * x-ms-original-file: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2021-10-30-preview/examples/Tasks_Delete.json
18
+ */
19
+ function tasksDelete() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "fc04246f-04c5-437e-ac5e-206a19e7193f";
22
+ const groupName = "DmsSdkRg";
23
+ const serviceName = "DmsSdkService";
24
+ const projectName = "DmsSdkProject";
25
+ const taskName = "DmsSdkTask";
26
+ const credential = new DefaultAzureCredential();
27
+ const client = new DataMigrationManagementClient(credential, subscriptionId);
28
+ const result = yield client.tasks.delete(groupName, serviceName, projectName, taskName);
29
+ console.log(result);
30
+ });
31
+ }
32
+ tasksDelete().catch(console.error);
33
+ //# sourceMappingURL=tasksDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasksDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/tasksDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,WAAW;;QACxB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,UAAU,CAAC;QAC7B,MAAM,WAAW,GAAG,eAAe,CAAC;QACpC,MAAM,WAAW,GAAG,eAAe,CAAC;QACpC,MAAM,QAAQ,GAAG,YAAY,CAAC;QAC9B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,MAAM,CACtC,SAAS,EACT,WAAW,EACX,WAAW,EACX,QAAQ,CACT,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,WAAW,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=tasksGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasksGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/tasksGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
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
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { DataMigrationManagementClient } from "@azure/arm-datamigration";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The GET method retrieves information about a task.
15
+ *
16
+ * @summary The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The GET method retrieves information about a task.
17
+ * x-ms-original-file: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2021-10-30-preview/examples/Tasks_Get.json
18
+ */
19
+ function tasksGet() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "fc04246f-04c5-437e-ac5e-206a19e7193f";
22
+ const groupName = "DmsSdkRg";
23
+ const serviceName = "DmsSdkService";
24
+ const projectName = "DmsSdkProject";
25
+ const taskName = "DmsSdkTask";
26
+ const credential = new DefaultAzureCredential();
27
+ const client = new DataMigrationManagementClient(credential, subscriptionId);
28
+ const result = yield client.tasks.get(groupName, serviceName, projectName, taskName);
29
+ console.log(result);
30
+ });
31
+ }
32
+ tasksGet().catch(console.error);
33
+ //# sourceMappingURL=tasksGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasksGetSample.js","sourceRoot":"","sources":["../../samples-dev/tasksGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,QAAQ;;QACrB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,UAAU,CAAC;QAC7B,MAAM,WAAW,GAAG,eAAe,CAAC;QACpC,MAAM,WAAW,GAAG,eAAe,CAAC;QACpC,MAAM,QAAQ,GAAG,YAAY,CAAC;QAC9B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,GAAG,CACnC,SAAS,EACT,WAAW,EACX,WAAW,EACX,QAAQ,CACT,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,QAAQ,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=tasksListSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasksListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/tasksListSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,46 @@
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 { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { DataMigrationManagementClient } from "@azure/arm-datamigration";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to The services resource is the top-level resource that represents the Database Migration Service. This method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown, which indicates that an error occurred while querying the status of that task.
15
+ *
16
+ * @summary The services resource is the top-level resource that represents the Database Migration Service. This method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown, which indicates that an error occurred while querying the status of that task.
17
+ * x-ms-original-file: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2021-10-30-preview/examples/Tasks_List.json
18
+ */
19
+ function tasksList() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "fc04246f-04c5-437e-ac5e-206a19e7193f";
23
+ const groupName = "DmsSdkRg";
24
+ const serviceName = "DmsSdkService";
25
+ const projectName = "DmsSdkProject";
26
+ const credential = new DefaultAzureCredential();
27
+ const client = new DataMigrationManagementClient(credential, subscriptionId);
28
+ const resArray = new Array();
29
+ try {
30
+ for (var _b = __asyncValues(client.tasks.list(groupName, serviceName, projectName)), _c; _c = yield _b.next(), !_c.done;) {
31
+ let item = _c.value;
32
+ resArray.push(item);
33
+ }
34
+ }
35
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
36
+ finally {
37
+ try {
38
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
39
+ }
40
+ finally { if (e_1) throw e_1.error; }
41
+ }
42
+ console.log(resArray);
43
+ });
44
+ }
45
+ tasksList().catch(console.error);
46
+ //# sourceMappingURL=tasksListSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasksListSample.js","sourceRoot":"","sources":["../../samples-dev/tasksListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,SAAS;;;QACtB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,SAAS,GAAG,UAAU,CAAC;QAC7B,MAAM,WAAW,GAAG,eAAe,CAAC;QACpC,MAAM,WAAW,GAAG,eAAe,CAAC;QACpC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,KAAK,CAAC,IAAI,CACtC,SAAS,EACT,WAAW,EACX,WAAW,CACZ,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAS,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=tasksUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasksUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/tasksUpdateSample.ts"],"names":[],"mappings":""}