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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/README.md +12 -1
  3. package/dist/index.js +981 -288
  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 +2 -0
  244. package/dist-esm/src/dataMigrationManagementClient.d.ts.map +1 -1
  245. package/dist-esm/src/dataMigrationManagementClient.js +54 -5
  246. package/dist-esm/src/dataMigrationManagementClient.js.map +1 -1
  247. package/dist-esm/src/index.d.ts +1 -0
  248. package/dist-esm/src/index.d.ts.map +1 -1
  249. package/dist-esm/src/index.js +1 -0
  250. package/dist-esm/src/index.js.map +1 -1
  251. package/dist-esm/src/models/index.d.ts +556 -240
  252. package/dist-esm/src/models/index.d.ts.map +1 -1
  253. package/dist-esm/src/models/index.js +314 -0
  254. package/dist-esm/src/models/index.js.map +1 -1
  255. package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
  256. package/dist-esm/src/operations/databaseMigrationsSqlMi.js +9 -3
  257. package/dist-esm/src/operations/databaseMigrationsSqlMi.js.map +1 -1
  258. package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
  259. package/dist-esm/src/operations/databaseMigrationsSqlVm.js +9 -3
  260. package/dist-esm/src/operations/databaseMigrationsSqlVm.js.map +1 -1
  261. package/dist-esm/src/operations/files.d.ts.map +1 -1
  262. package/dist-esm/src/operations/files.js +19 -7
  263. package/dist-esm/src/operations/files.js.map +1 -1
  264. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  265. package/dist-esm/src/operations/operations.js +19 -7
  266. package/dist-esm/src/operations/operations.js.map +1 -1
  267. package/dist-esm/src/operations/projects.d.ts.map +1 -1
  268. package/dist-esm/src/operations/projects.js +19 -7
  269. package/dist-esm/src/operations/projects.js.map +1 -1
  270. package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -1
  271. package/dist-esm/src/operations/resourceSkus.js +19 -7
  272. package/dist-esm/src/operations/resourceSkus.js.map +1 -1
  273. package/dist-esm/src/operations/serviceTasks.d.ts.map +1 -1
  274. package/dist-esm/src/operations/serviceTasks.js +19 -7
  275. package/dist-esm/src/operations/serviceTasks.js.map +1 -1
  276. package/dist-esm/src/operations/services.d.ts.map +1 -1
  277. package/dist-esm/src/operations/services.js +70 -26
  278. package/dist-esm/src/operations/services.js.map +1 -1
  279. package/dist-esm/src/operations/sqlMigrationServices.d.ts.map +1 -1
  280. package/dist-esm/src/operations/sqlMigrationServices.js +64 -24
  281. package/dist-esm/src/operations/sqlMigrationServices.js.map +1 -1
  282. package/dist-esm/src/operations/tasks.d.ts.map +1 -1
  283. package/dist-esm/src/operations/tasks.js +19 -7
  284. package/dist-esm/src/operations/tasks.js.map +1 -1
  285. package/dist-esm/src/operations/usages.d.ts.map +1 -1
  286. package/dist-esm/src/operations/usages.js +19 -7
  287. package/dist-esm/src/operations/usages.js.map +1 -1
  288. package/dist-esm/src/pagingHelper.d.ts +13 -0
  289. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  290. package/dist-esm/src/pagingHelper.js +32 -0
  291. package/dist-esm/src/pagingHelper.js.map +1 -0
  292. package/dist-esm/test/sampleTest.js +11 -13
  293. package/dist-esm/test/sampleTest.js.map +1 -1
  294. package/package.json +38 -22
  295. package/review/arm-datamigration.api.md +564 -872
  296. package/rollup.config.js +6 -72
  297. package/src/dataMigrationManagementClient.ts +70 -5
  298. package/src/index.ts +1 -0
  299. package/src/models/index.ts +646 -246
  300. package/src/operations/databaseMigrationsSqlMi.ts +9 -3
  301. package/src/operations/databaseMigrationsSqlVm.ts +9 -3
  302. package/src/operations/files.ts +22 -8
  303. package/src/operations/operations.ts +21 -8
  304. package/src/operations/projects.ts +21 -8
  305. package/src/operations/resourceSkus.ts +21 -8
  306. package/src/operations/serviceTasks.ts +21 -8
  307. package/src/operations/services.ts +82 -30
  308. package/src/operations/sqlMigrationServices.ts +80 -32
  309. package/src/operations/tasks.ts +22 -8
  310. package/src/operations/usages.ts +21 -8
  311. package/src/pagingHelper.ts +39 -0
  312. package/tsconfig.json +18 -5
  313. package/types/arm-datamigration.d.ts +567 -240
  314. package/types/tsdoc-metadata.json +1 -1
  315. package/LICENSE.txt +0 -21
@@ -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 PATCH method updates an existing task, but since tasks have no mutable custom properties, there is little reason to do so.
15
+ *
16
+ * @summary The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The PATCH method updates an existing task, but since tasks have no mutable custom properties, there is little reason to do so.
17
+ * x-ms-original-file: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2021-10-30-preview/examples/Tasks_Update.json
18
+ */
19
+ function tasksUpdate() {
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.update(groupName, serviceName, projectName, taskName, parameters);
45
+ console.log(result);
46
+ });
47
+ }
48
+ tasksUpdate().catch(console.error);
49
+ //# sourceMappingURL=tasksUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasksUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/tasksUpdateSample.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,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,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,MAAM,CACtC,SAAS,EACT,WAAW,EACX,WAAW,EACX,QAAQ,EACR,UAAU,CACX,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=usagesListSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usagesListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/usagesListSample.ts"],"names":[],"mappings":""}
@@ -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 This method returns region-specific quotas and resource usage information for the Database Migration Service.
15
+ *
16
+ * @summary This method returns region-specific quotas and resource usage information for the Database Migration Service.
17
+ * x-ms-original-file: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2021-10-30-preview/examples/Usages_List.json
18
+ */
19
+ function servicesUsages() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "90fb80a6-0f71-4761-8f03-921e7396f3c0";
23
+ const location = "westus";
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.usages.list(location)), _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
+ servicesUsages().catch(console.error);
44
+ //# sourceMappingURL=usagesListSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usagesListSample.js","sourceRoot":"","sources":["../../samples-dev/usagesListSample.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,cAAc;;;QAC3B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,QAAQ,GAAG,QAAQ,CAAC;QAC1B,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,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA,IAAA;gBAAxC,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,cAAc,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -13,6 +13,8 @@ export declare class DataMigrationManagementClient extends coreClient.ServiceCli
13
13
  * @param options The parameter options
14
14
  */
15
15
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataMigrationManagementClientOptionalParams);
16
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
+ private addCustomApiVersionPolicy;
16
18
  databaseMigrationsSqlMi: DatabaseMigrationsSqlMi;
17
19
  databaseMigrationsSqlVm: DatabaseMigrationsSqlVm;
18
20
  operations: Operations;
@@ -1 +1 @@
1
- {"version":3,"file":"dataMigrationManagementClient.d.ts","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAc7C,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,UAAU,EACV,oBAAoB,EACpB,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,KAAK,EACN,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,2CAA2C,EAAE,MAAM,UAAU,CAAC;AAEvE,qBAAa,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,2CAA2C;IAuDvD,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,UAAU,EAAE,UAAU,CAAC;I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EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CACd"}
@@ -5,7 +5,9 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
+ import { __awaiter } from "tslib";
8
9
  import * as coreClient from "@azure/core-client";
10
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
9
11
  import { DatabaseMigrationsSqlMiImpl, DatabaseMigrationsSqlVmImpl, OperationsImpl, SqlMigrationServicesImpl, ResourceSkusImpl, ServicesImpl, TasksImpl, ServiceTasksImpl, ProjectsImpl, UsagesImpl, FilesImpl } from "./operations";
10
12
  export class DataMigrationManagementClient extends coreClient.ServiceClient {
11
13
  /**
@@ -15,6 +17,7 @@ export class DataMigrationManagementClient extends coreClient.ServiceClient {
15
17
  * @param options The parameter options
16
18
  */
17
19
  constructor(credentials, subscriptionId, options) {
20
+ var _a, _b, _c;
18
21
  if (credentials === undefined) {
19
22
  throw new Error("'credentials' cannot be null");
20
23
  }
@@ -29,17 +32,35 @@ export class DataMigrationManagementClient extends coreClient.ServiceClient {
29
32
  requestContentType: "application/json; charset=utf-8",
30
33
  credential: credentials
31
34
  };
32
- const packageDetails = `azsdk-js-arm-datamigration/3.0.0-beta.1`;
35
+ const packageDetails = `azsdk-js-arm-datamigration/3.0.0-beta.3`;
33
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
34
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
35
38
  : `${packageDetails}`;
36
- if (!options.credentialScopes) {
37
- options.credentialScopes = ["https://management.azure.com/.default"];
38
- }
39
39
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
40
40
  userAgentPrefix
41
- }, baseUri: options.endpoint || "https://management.azure.com" });
41
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
42
42
  super(optionsWithDefaults);
43
+ let bearerTokenAuthenticationPolicyFound = false;
44
+ if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
45
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
46
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
47
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
48
+ }
49
+ if (!options ||
50
+ !options.pipeline ||
51
+ options.pipeline.getOrderedPolicies().length == 0 ||
52
+ !bearerTokenAuthenticationPolicyFound) {
53
+ this.pipeline.removePolicy({
54
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
55
+ });
56
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
57
+ credential: credentials,
58
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
59
+ challengeCallbacks: {
60
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
61
+ }
62
+ }));
63
+ }
43
64
  // Parameter assignments
44
65
  this.subscriptionId = subscriptionId;
45
66
  // Assigning values to Constant parameters
@@ -56,6 +77,34 @@ export class DataMigrationManagementClient extends coreClient.ServiceClient {
56
77
  this.projects = new ProjectsImpl(this);
57
78
  this.usages = new UsagesImpl(this);
58
79
  this.files = new FilesImpl(this);
80
+ this.addCustomApiVersionPolicy(options.apiVersion);
81
+ }
82
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
83
+ addCustomApiVersionPolicy(apiVersion) {
84
+ if (!apiVersion) {
85
+ return;
86
+ }
87
+ const apiVersionPolicy = {
88
+ name: "CustomApiVersionPolicy",
89
+ sendRequest(request, next) {
90
+ return __awaiter(this, void 0, void 0, function* () {
91
+ const param = request.url.split("?");
92
+ if (param.length > 1) {
93
+ const newParams = param[1].split("&").map((item) => {
94
+ if (item.indexOf("api-version") > -1) {
95
+ return "api-version=" + apiVersion;
96
+ }
97
+ else {
98
+ return item;
99
+ }
100
+ });
101
+ request.url = param[0] + "?" + newParams.join("&");
102
+ }
103
+ return next(request);
104
+ });
105
+ }
106
+ };
107
+ this.pipeline.addPolicy(apiVersionPolicy);
59
108
  }
60
109
  }
61
110
  //# sourceMappingURL=dataMigrationManagementClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dataMigrationManagementClient.js","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,cAAc,EACd,wBAAwB,EACxB,gBAAgB,EAChB,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,SAAS,EACV,MAAM,cAAc,CAAC;AAgBtB,MAAM,OAAO,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IAKzE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAqD;QAErD,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SACjD;QACD,IAAI,cAAc,KAAK,SAAS,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,MAAM,QAAQ,GAAgD;YAC5D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,yCAAyC,CAAC;QACjE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAA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AU,CAAC,IAAI,CAAC,CAAC;QACnC,IAAI,CAAC,KAAK,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;CAaF"}
1
+ {"version":3,"file":"dataMigrationManagementClient.js","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,cAAc,EACd,wBAAwB,EACxB,gBAAgB,EAChB,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,SAAS,EACV,MAAM,cAAc,CAAC;AAgBtB,MAAM,OAAO,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IAKzE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAqD;;QAErD,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SACjD;QACD,IAAI,cAAc,KAAK,SAAS,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,MAAM,QAAQ,GAAgD;YAC5D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,yCAAyC,CAAC;QACjE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QA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C,EAAE;wBACpB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;4BACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE;gCACpC,OAAO,cAAc,GAAG,UAAU,CAAC;6BACpC;iCAAM;gCACL,OAAO,IAAI,CAAC;6BACb;wBACH,CAAC,CAAC,CAAC;wBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;qBACpD;oBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC;aAAA;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAaF"}
@@ -1,4 +1,5 @@
1
1
  /// <reference lib="esnext.asynciterable" />
2
+ export { getContinuationToken } from "./pagingHelper";
2
3
  export * from "./models";
3
4
  export { DataMigrationManagementClient } from "./dataMigrationManagementClient";
4
5
  export * from "./operationsInterfaces";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,cAAc,wBAAwB,CAAC"}
@@ -6,6 +6,7 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
+ export { getContinuationToken } from "./pagingHelper";
9
10
  export * from "./models";
10
11
  export { DataMigrationManagementClient } from "./dataMigrationManagementClient";
11
12
  export * from "./operationsInterfaces";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,cAAc,wBAAwB,CAAC"}