@azure/arm-machinelearningexperimentation 2.0.0-beta.4 → 2.0.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (384) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/LICENSE +4 -4
  3. package/README.md +25 -18
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/index.js +4 -4
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/mLTeamAccountManagementClient.d.ts +2 -2
  9. package/dist/browser/mLTeamAccountManagementClient.d.ts.map +1 -0
  10. package/{dist-esm/src → dist/browser}/mLTeamAccountManagementClient.js +33 -24
  11. package/dist/browser/mLTeamAccountManagementClient.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/index.d.ts +19 -19
  13. package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
  14. package/dist/browser/models/index.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/models/mappers.js +57 -27
  16. package/dist/browser/models/mappers.js.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  18. package/dist/browser/models/parameters.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/accounts.d.ts +3 -3
  20. package/dist/browser/operations/accounts.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/accounts.js +48 -78
  22. package/dist/browser/operations/accounts.js.map +1 -0
  23. package/dist/browser/operations/index.d.ts +5 -0
  24. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  25. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +4 -4
  26. package/dist/browser/operations/index.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  28. package/dist/browser/operations/operations.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/operations.js +12 -27
  30. package/dist/browser/operations/operations.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/projects.d.ts +3 -3
  32. package/dist/browser/operations/projects.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/projects.js +26 -41
  34. package/dist/browser/operations/projects.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/workspaces.d.ts +3 -3
  36. package/dist/browser/operations/workspaces.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/workspaces.js +26 -41
  38. package/dist/browser/operations/workspaces.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operationsInterfaces/accounts.d.ts +1 -1
  40. package/dist/browser/operationsInterfaces/accounts.d.ts.map +1 -0
  41. package/dist/browser/operationsInterfaces/accounts.js.map +1 -0
  42. package/dist/browser/operationsInterfaces/index.d.ts +5 -0
  43. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  44. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +4 -4
  45. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  48. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operationsInterfaces/projects.d.ts +1 -1
  50. package/dist/browser/operationsInterfaces/projects.d.ts.map +1 -0
  51. package/dist/browser/operationsInterfaces/projects.js.map +1 -0
  52. package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.d.ts +1 -1
  53. package/dist/browser/operationsInterfaces/workspaces.d.ts.map +1 -0
  54. package/dist/browser/operationsInterfaces/workspaces.js.map +1 -0
  55. package/dist/browser/package.json +3 -0
  56. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  57. package/dist/browser/pagingHelper.js.map +1 -0
  58. package/dist/commonjs/index.d.ts +5 -0
  59. package/dist/commonjs/index.d.ts.map +1 -0
  60. package/dist/commonjs/index.js +19 -0
  61. package/dist/commonjs/index.js.map +1 -0
  62. package/dist/commonjs/mLTeamAccountManagementClient.d.ts +23 -0
  63. package/dist/commonjs/mLTeamAccountManagementClient.d.ts.map +1 -0
  64. package/dist/commonjs/mLTeamAccountManagementClient.js +117 -0
  65. package/dist/commonjs/mLTeamAccountManagementClient.js.map +1 -0
  66. package/dist/commonjs/models/index.d.ts +329 -0
  67. package/dist/commonjs/models/index.d.ts.map +1 -0
  68. package/dist/commonjs/models/index.js +10 -0
  69. package/dist/commonjs/models/index.js.map +1 -0
  70. package/dist/commonjs/models/mappers.d.ts +17 -0
  71. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  72. package/dist/commonjs/models/mappers.js +554 -0
  73. package/dist/commonjs/models/mappers.js.map +1 -0
  74. package/dist/commonjs/models/parameters.d.ts +18 -0
  75. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  76. package/dist/commonjs/models/parameters.js +156 -0
  77. package/dist/commonjs/models/parameters.js.map +1 -0
  78. package/dist/commonjs/operations/accounts.d.ts +90 -0
  79. package/dist/commonjs/operations/accounts.d.ts.map +1 -0
  80. package/dist/commonjs/operations/accounts.js +362 -0
  81. package/dist/commonjs/operations/accounts.js.map +1 -0
  82. package/dist/commonjs/operations/index.d.ts +5 -0
  83. package/dist/commonjs/operations/index.d.ts.map +1 -0
  84. package/dist/commonjs/operations/index.js +15 -0
  85. package/dist/commonjs/operations/index.js.map +1 -0
  86. package/dist/commonjs/operations/operations.d.ts +26 -0
  87. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  88. package/dist/commonjs/operations/operations.js +84 -0
  89. package/dist/commonjs/operations/operations.js.map +1 -0
  90. package/dist/commonjs/operations/projects.d.ts +86 -0
  91. package/dist/commonjs/operations/projects.d.ts.map +1 -0
  92. package/dist/commonjs/operations/projects.js +308 -0
  93. package/dist/commonjs/operations/projects.js.map +1 -0
  94. package/dist/commonjs/operations/workspaces.d.ts +79 -0
  95. package/dist/commonjs/operations/workspaces.d.ts.map +1 -0
  96. package/dist/commonjs/operations/workspaces.js +281 -0
  97. package/dist/commonjs/operations/workspaces.js.map +1 -0
  98. package/dist/commonjs/operationsInterfaces/accounts.d.ts +52 -0
  99. package/dist/commonjs/operationsInterfaces/accounts.d.ts.map +1 -0
  100. package/dist/commonjs/operationsInterfaces/accounts.js +10 -0
  101. package/dist/commonjs/operationsInterfaces/accounts.js.map +1 -0
  102. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  103. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  104. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  105. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  106. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  107. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  108. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  109. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  110. package/dist/commonjs/operationsInterfaces/projects.d.ts +57 -0
  111. package/dist/commonjs/operationsInterfaces/projects.d.ts.map +1 -0
  112. package/dist/commonjs/operationsInterfaces/projects.js +10 -0
  113. package/dist/commonjs/operationsInterfaces/projects.js.map +1 -0
  114. package/dist/commonjs/operationsInterfaces/workspaces.d.ts +52 -0
  115. package/dist/commonjs/operationsInterfaces/workspaces.d.ts.map +1 -0
  116. package/dist/commonjs/operationsInterfaces/workspaces.js +10 -0
  117. package/dist/commonjs/operationsInterfaces/workspaces.js.map +1 -0
  118. package/dist/commonjs/package.json +3 -0
  119. package/dist/commonjs/pagingHelper.d.ts +13 -0
  120. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  121. package/dist/commonjs/pagingHelper.js +34 -0
  122. package/dist/commonjs/pagingHelper.js.map +1 -0
  123. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  124. package/dist/esm/index.d.ts +5 -0
  125. package/dist/esm/index.d.ts.map +1 -0
  126. package/{src/index.ts → dist/esm/index.js} +5 -5
  127. package/dist/esm/index.js.map +1 -0
  128. package/dist/esm/mLTeamAccountManagementClient.d.ts +23 -0
  129. package/dist/esm/mLTeamAccountManagementClient.d.ts.map +1 -0
  130. package/dist/esm/mLTeamAccountManagementClient.js +112 -0
  131. package/dist/esm/mLTeamAccountManagementClient.js.map +1 -0
  132. package/dist/esm/models/index.d.ts +329 -0
  133. package/dist/esm/models/index.d.ts.map +1 -0
  134. package/dist/esm/models/index.js +9 -0
  135. package/dist/esm/models/index.js.map +1 -0
  136. package/dist/esm/models/mappers.d.ts +17 -0
  137. package/dist/esm/models/mappers.d.ts.map +1 -0
  138. package/dist/esm/models/mappers.js +551 -0
  139. package/dist/esm/models/mappers.js.map +1 -0
  140. package/dist/esm/models/parameters.d.ts +18 -0
  141. package/dist/esm/models/parameters.d.ts.map +1 -0
  142. package/dist/esm/models/parameters.js +153 -0
  143. package/dist/esm/models/parameters.js.map +1 -0
  144. package/dist/esm/operations/accounts.d.ts +90 -0
  145. package/dist/esm/operations/accounts.d.ts.map +1 -0
  146. package/dist/esm/operations/accounts.js +357 -0
  147. package/dist/esm/operations/accounts.js.map +1 -0
  148. package/dist/esm/operations/index.d.ts +5 -0
  149. package/dist/esm/operations/index.d.ts.map +1 -0
  150. package/dist/esm/operations/index.js +12 -0
  151. package/dist/esm/operations/index.js.map +1 -0
  152. package/dist/esm/operations/operations.d.ts +26 -0
  153. package/dist/esm/operations/operations.d.ts.map +1 -0
  154. package/dist/esm/operations/operations.js +79 -0
  155. package/dist/esm/operations/operations.js.map +1 -0
  156. package/dist/esm/operations/projects.d.ts +86 -0
  157. package/dist/esm/operations/projects.d.ts.map +1 -0
  158. package/dist/esm/operations/projects.js +303 -0
  159. package/dist/esm/operations/projects.js.map +1 -0
  160. package/dist/esm/operations/workspaces.d.ts +79 -0
  161. package/dist/esm/operations/workspaces.d.ts.map +1 -0
  162. package/dist/esm/operations/workspaces.js +276 -0
  163. package/dist/esm/operations/workspaces.js.map +1 -0
  164. package/dist/esm/operationsInterfaces/accounts.d.ts +52 -0
  165. package/dist/esm/operationsInterfaces/accounts.d.ts.map +1 -0
  166. package/dist/esm/operationsInterfaces/accounts.js +9 -0
  167. package/dist/esm/operationsInterfaces/accounts.js.map +1 -0
  168. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  169. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  170. package/dist/esm/operationsInterfaces/index.js +12 -0
  171. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  172. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  173. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  174. package/dist/esm/operationsInterfaces/operations.js +9 -0
  175. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  176. package/dist/esm/operationsInterfaces/projects.d.ts +57 -0
  177. package/dist/esm/operationsInterfaces/projects.d.ts.map +1 -0
  178. package/dist/esm/operationsInterfaces/projects.js +9 -0
  179. package/dist/esm/operationsInterfaces/projects.js.map +1 -0
  180. package/dist/esm/operationsInterfaces/workspaces.d.ts +52 -0
  181. package/dist/esm/operationsInterfaces/workspaces.d.ts.map +1 -0
  182. package/dist/esm/operationsInterfaces/workspaces.js +9 -0
  183. package/dist/esm/operationsInterfaces/workspaces.js.map +1 -0
  184. package/dist/esm/package.json +3 -0
  185. package/dist/esm/pagingHelper.d.ts +13 -0
  186. package/dist/esm/pagingHelper.d.ts.map +1 -0
  187. package/dist/esm/pagingHelper.js +30 -0
  188. package/dist/esm/pagingHelper.js.map +1 -0
  189. package/dist/react-native/index.d.ts +5 -0
  190. package/dist/react-native/index.d.ts.map +1 -0
  191. package/dist/react-native/index.js +13 -0
  192. package/dist/react-native/index.js.map +1 -0
  193. package/dist/react-native/mLTeamAccountManagementClient.d.ts +23 -0
  194. package/dist/react-native/mLTeamAccountManagementClient.d.ts.map +1 -0
  195. package/dist/react-native/mLTeamAccountManagementClient.js +112 -0
  196. package/dist/react-native/mLTeamAccountManagementClient.js.map +1 -0
  197. package/dist/react-native/models/index.d.ts +329 -0
  198. package/dist/react-native/models/index.d.ts.map +1 -0
  199. package/dist/react-native/models/index.js +9 -0
  200. package/dist/react-native/models/index.js.map +1 -0
  201. package/dist/react-native/models/mappers.d.ts +17 -0
  202. package/dist/react-native/models/mappers.d.ts.map +1 -0
  203. package/dist/react-native/models/mappers.js +551 -0
  204. package/dist/react-native/models/mappers.js.map +1 -0
  205. package/dist/react-native/models/parameters.d.ts +18 -0
  206. package/dist/react-native/models/parameters.d.ts.map +1 -0
  207. package/dist/react-native/models/parameters.js +153 -0
  208. package/dist/react-native/models/parameters.js.map +1 -0
  209. package/dist/react-native/operations/accounts.d.ts +90 -0
  210. package/dist/react-native/operations/accounts.d.ts.map +1 -0
  211. package/dist/react-native/operations/accounts.js +357 -0
  212. package/dist/react-native/operations/accounts.js.map +1 -0
  213. package/dist/react-native/operations/index.d.ts +5 -0
  214. package/dist/react-native/operations/index.d.ts.map +1 -0
  215. package/dist/react-native/operations/index.js +12 -0
  216. package/dist/react-native/operations/index.js.map +1 -0
  217. package/dist/react-native/operations/operations.d.ts +26 -0
  218. package/dist/react-native/operations/operations.d.ts.map +1 -0
  219. package/dist/react-native/operations/operations.js +79 -0
  220. package/dist/react-native/operations/operations.js.map +1 -0
  221. package/dist/react-native/operations/projects.d.ts +86 -0
  222. package/dist/react-native/operations/projects.d.ts.map +1 -0
  223. package/dist/react-native/operations/projects.js +303 -0
  224. package/dist/react-native/operations/projects.js.map +1 -0
  225. package/dist/react-native/operations/workspaces.d.ts +79 -0
  226. package/dist/react-native/operations/workspaces.d.ts.map +1 -0
  227. package/dist/react-native/operations/workspaces.js +276 -0
  228. package/dist/react-native/operations/workspaces.js.map +1 -0
  229. package/dist/react-native/operationsInterfaces/accounts.d.ts +52 -0
  230. package/dist/react-native/operationsInterfaces/accounts.d.ts.map +1 -0
  231. package/dist/react-native/operationsInterfaces/accounts.js +9 -0
  232. package/dist/react-native/operationsInterfaces/accounts.js.map +1 -0
  233. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  234. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  235. package/dist/react-native/operationsInterfaces/index.js +12 -0
  236. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  237. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  238. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  239. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  240. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  241. package/dist/react-native/operationsInterfaces/projects.d.ts +57 -0
  242. package/dist/react-native/operationsInterfaces/projects.d.ts.map +1 -0
  243. package/dist/react-native/operationsInterfaces/projects.js +9 -0
  244. package/dist/react-native/operationsInterfaces/projects.js.map +1 -0
  245. package/dist/react-native/operationsInterfaces/workspaces.d.ts +52 -0
  246. package/dist/react-native/operationsInterfaces/workspaces.d.ts.map +1 -0
  247. package/dist/react-native/operationsInterfaces/workspaces.js +9 -0
  248. package/dist/react-native/operationsInterfaces/workspaces.js.map +1 -0
  249. package/dist/react-native/package.json +3 -0
  250. package/dist/react-native/pagingHelper.d.ts +13 -0
  251. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  252. package/dist/react-native/pagingHelper.js +30 -0
  253. package/dist/react-native/pagingHelper.js.map +1 -0
  254. package/package.json +85 -76
  255. package/dist/index.js +0 -1926
  256. package/dist/index.js.map +0 -1
  257. package/dist/index.min.js +0 -1
  258. package/dist/index.min.js.map +0 -1
  259. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts +0 -2
  260. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts.map +0 -1
  261. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js +0 -50
  262. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js.map +0 -1
  263. package/dist-esm/samples-dev/accountsDeleteSample.d.ts +0 -2
  264. package/dist-esm/samples-dev/accountsDeleteSample.d.ts.map +0 -1
  265. package/dist-esm/samples-dev/accountsDeleteSample.js +0 -40
  266. package/dist-esm/samples-dev/accountsDeleteSample.js.map +0 -1
  267. package/dist-esm/samples-dev/accountsGetSample.d.ts +0 -2
  268. package/dist-esm/samples-dev/accountsGetSample.d.ts.map +0 -1
  269. package/dist-esm/samples-dev/accountsGetSample.js +0 -40
  270. package/dist-esm/samples-dev/accountsGetSample.js.map +0 -1
  271. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts +0 -2
  272. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts.map +0 -1
  273. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +0 -53
  274. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +0 -1
  275. package/dist-esm/samples-dev/accountsListSample.d.ts +0 -2
  276. package/dist-esm/samples-dev/accountsListSample.d.ts.map +0 -1
  277. package/dist-esm/samples-dev/accountsListSample.js +0 -51
  278. package/dist-esm/samples-dev/accountsListSample.js.map +0 -1
  279. package/dist-esm/samples-dev/accountsUpdateSample.d.ts +0 -2
  280. package/dist-esm/samples-dev/accountsUpdateSample.d.ts.map +0 -1
  281. package/dist-esm/samples-dev/accountsUpdateSample.js +0 -44
  282. package/dist-esm/samples-dev/accountsUpdateSample.js.map +0 -1
  283. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.d.ts +0 -2
  284. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.d.ts.map +0 -1
  285. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js +0 -48
  286. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js.map +0 -1
  287. package/dist-esm/samples-dev/projectsDeleteSample.d.ts +0 -2
  288. package/dist-esm/samples-dev/projectsDeleteSample.d.ts.map +0 -1
  289. package/dist-esm/samples-dev/projectsDeleteSample.js +0 -42
  290. package/dist-esm/samples-dev/projectsDeleteSample.js.map +0 -1
  291. package/dist-esm/samples-dev/projectsGetSample.d.ts +0 -2
  292. package/dist-esm/samples-dev/projectsGetSample.d.ts.map +0 -1
  293. package/dist-esm/samples-dev/projectsGetSample.js +0 -42
  294. package/dist-esm/samples-dev/projectsGetSample.js.map +0 -1
  295. package/dist-esm/samples-dev/projectsListByWorkspaceSample.d.ts +0 -2
  296. package/dist-esm/samples-dev/projectsListByWorkspaceSample.d.ts.map +0 -1
  297. package/dist-esm/samples-dev/projectsListByWorkspaceSample.js +0 -54
  298. package/dist-esm/samples-dev/projectsListByWorkspaceSample.js.map +0 -1
  299. package/dist-esm/samples-dev/projectsUpdateSample.d.ts +0 -2
  300. package/dist-esm/samples-dev/projectsUpdateSample.d.ts.map +0 -1
  301. package/dist-esm/samples-dev/projectsUpdateSample.js +0 -46
  302. package/dist-esm/samples-dev/projectsUpdateSample.js.map +0 -1
  303. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts +0 -2
  304. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts.map +0 -1
  305. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +0 -46
  306. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +0 -1
  307. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +0 -2
  308. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +0 -1
  309. package/dist-esm/samples-dev/workspacesDeleteSample.js +0 -41
  310. package/dist-esm/samples-dev/workspacesDeleteSample.js.map +0 -1
  311. package/dist-esm/samples-dev/workspacesGetSample.d.ts +0 -2
  312. package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +0 -1
  313. package/dist-esm/samples-dev/workspacesGetSample.js +0 -41
  314. package/dist-esm/samples-dev/workspacesGetSample.js.map +0 -1
  315. package/dist-esm/samples-dev/workspacesListByAccountsSample.d.ts +0 -2
  316. package/dist-esm/samples-dev/workspacesListByAccountsSample.d.ts.map +0 -1
  317. package/dist-esm/samples-dev/workspacesListByAccountsSample.js +0 -54
  318. package/dist-esm/samples-dev/workspacesListByAccountsSample.js.map +0 -1
  319. package/dist-esm/samples-dev/workspacesUpdateSample.d.ts +0 -2
  320. package/dist-esm/samples-dev/workspacesUpdateSample.d.ts.map +0 -1
  321. package/dist-esm/samples-dev/workspacesUpdateSample.js +0 -42
  322. package/dist-esm/samples-dev/workspacesUpdateSample.js.map +0 -1
  323. package/dist-esm/src/index.d.ts +0 -6
  324. package/dist-esm/src/index.d.ts.map +0 -1
  325. package/dist-esm/src/index.js.map +0 -1
  326. package/dist-esm/src/mLTeamAccountManagementClient.d.ts.map +0 -1
  327. package/dist-esm/src/mLTeamAccountManagementClient.js.map +0 -1
  328. package/dist-esm/src/models/index.js.map +0 -1
  329. package/dist-esm/src/models/mappers.js.map +0 -1
  330. package/dist-esm/src/models/parameters.js.map +0 -1
  331. package/dist-esm/src/operations/accounts.d.ts.map +0 -1
  332. package/dist-esm/src/operations/accounts.js.map +0 -1
  333. package/dist-esm/src/operations/index.d.ts +0 -5
  334. package/dist-esm/src/operations/index.js.map +0 -1
  335. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  336. package/dist-esm/src/operations/operations.js.map +0 -1
  337. package/dist-esm/src/operations/projects.d.ts.map +0 -1
  338. package/dist-esm/src/operations/projects.js.map +0 -1
  339. package/dist-esm/src/operations/workspaces.d.ts.map +0 -1
  340. package/dist-esm/src/operations/workspaces.js.map +0 -1
  341. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +0 -1
  342. package/dist-esm/src/operationsInterfaces/accounts.js.map +0 -1
  343. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  344. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  345. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  346. package/dist-esm/src/operationsInterfaces/projects.d.ts.map +0 -1
  347. package/dist-esm/src/operationsInterfaces/projects.js.map +0 -1
  348. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +0 -1
  349. package/dist-esm/src/operationsInterfaces/workspaces.js.map +0 -1
  350. package/dist-esm/src/pagingHelper.js.map +0 -1
  351. package/dist-esm/test/sampleTest.d.ts +0 -2
  352. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  353. package/dist-esm/test/sampleTest.js +0 -38
  354. package/dist-esm/test/sampleTest.js.map +0 -1
  355. package/rollup.config.js +0 -122
  356. package/src/mLTeamAccountManagementClient.ts +0 -156
  357. package/src/models/index.ts +0 -390
  358. package/src/models/mappers.ts +0 -567
  359. package/src/models/parameters.ts +0 -181
  360. package/src/operations/accounts.ts +0 -481
  361. package/src/operations/index.ts +0 -12
  362. package/src/operations/operations.ts +0 -103
  363. package/src/operations/projects.ts +0 -436
  364. package/src/operations/workspaces.ts +0 -395
  365. package/src/operationsInterfaces/accounts.ts +0 -96
  366. package/src/operationsInterfaces/index.ts +0 -12
  367. package/src/operationsInterfaces/operations.ts +0 -22
  368. package/src/operationsInterfaces/projects.ts +0 -108
  369. package/src/operationsInterfaces/workspaces.ts +0 -98
  370. package/src/pagingHelper.ts +0 -39
  371. package/tsconfig.json +0 -33
  372. package/types/arm-machinelearningexperimentation.d.ts +0 -580
  373. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  374. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  375. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  376. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  377. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  378. /package/{dist-esm/src → dist/browser}/operationsInterfaces/accounts.js +0 -0
  379. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  380. /package/{dist-esm/src → dist/browser}/operationsInterfaces/projects.js +0 -0
  381. /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.js +0 -0
  382. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  383. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  384. /package/review/{arm-machinelearningexperimentation.api.md → arm-machinelearningexperimentation-node.api.md} +0 -0
@@ -5,13 +5,13 @@
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
8
  import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers";
11
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
12
11
  /// <reference lib="esnext.asynciterable" />
13
12
  /** Class containing Operations operations. */
14
13
  export class OperationsImpl {
14
+ client;
15
15
  /**
16
16
  * Initialize a new instance of the class Operations class.
17
17
  * @param client Reference to the service client
@@ -33,37 +33,22 @@ export class OperationsImpl {
33
33
  return this;
34
34
  },
35
35
  byPage: (settings) => {
36
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
36
+ if (settings?.maxPageSize) {
37
37
  throw new Error("maxPageSize is not supported by this operation.");
38
38
  }
39
39
  return this.listPagingPage(options, settings);
40
40
  }
41
41
  };
42
42
  }
43
- listPagingPage(options, _settings) {
44
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
45
- let result;
46
- result = yield __await(this._list(options));
47
- yield yield __await(result.value || []);
48
- });
43
+ async *listPagingPage(options, _settings) {
44
+ let result;
45
+ result = await this._list(options);
46
+ yield result.value || [];
49
47
  }
50
- listPagingAll(options) {
51
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
52
- var e_1, _a;
53
- try {
54
- for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
55
- const page = _c.value;
56
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
57
- }
58
- }
59
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
60
- finally {
61
- try {
62
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
63
- }
64
- finally { if (e_1) throw e_1.error; }
65
- }
66
- });
48
+ async *listPagingAll(options) {
49
+ for await (const page of this.listPagingPage(options)) {
50
+ yield* page;
51
+ }
67
52
  }
68
53
  /**
69
54
  * Lists all of the available Azure Machine Learning Team Accounts REST API operations.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAgC;IAEvD;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,OAAsC,EACtC,SAAwB;QAExB,IAAI,MAA8B,CAAC;QACnC,MAAM,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACnC,MAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;IAC3B,CAAC;IAEO,KAAK,CAAC,CAAC,aAAa,CAC1B,OAAsC;QAEtC,IAAI,KAAK,EAAE,MAAM,IAAI,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC;YACtD,KAAK,CAAC,CAAC,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IAED;;;OAGG;IACK,KAAK,CACX,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,gEAAgE;IACtE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MLTeamAccountManagementClient } from \"../mLTeamAccountManagementClient.js\";\nimport {\n Operation,\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: MLTeamAccountManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: MLTeamAccountManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Azure Machine Learning Team Accounts REST API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Azure Machine Learning Team Accounts REST API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.MachineLearningExperimentation/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Projects } from "../operationsInterfaces";
3
- import { MLTeamAccountManagementClient } from "../mLTeamAccountManagementClient";
4
- import { Project, ProjectsListByWorkspaceOptionalParams, ProjectsGetOptionalParams, ProjectsGetResponse, ProjectsCreateOrUpdateOptionalParams, ProjectsCreateOrUpdateResponse, ProjectsDeleteOptionalParams, ProjectUpdateParameters, ProjectsUpdateOptionalParams, ProjectsUpdateResponse } from "../models";
2
+ import { Projects } from "../operationsInterfaces/index.js";
3
+ import { MLTeamAccountManagementClient } from "../mLTeamAccountManagementClient.js";
4
+ import { Project, ProjectsListByWorkspaceOptionalParams, ProjectsGetOptionalParams, ProjectsGetResponse, ProjectsCreateOrUpdateOptionalParams, ProjectsCreateOrUpdateResponse, ProjectsDeleteOptionalParams, ProjectUpdateParameters, ProjectsUpdateOptionalParams, ProjectsUpdateResponse } from "../models/index.js";
5
5
  /** Class containing Projects operations. */
6
6
  export declare class ProjectsImpl implements Projects {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../../src/operations/projects.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,OAAO,EAEP,qCAAqC,EAErC,yBAAyB,EACzB,mBAAmB,EACnB,oCAAoC,EACpC,8BAA8B,EAC9B,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAG5B,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;;;OAOG;IACI,eAAe,CACpB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,OAAO,CAAC;YA6BvB,yBAAyB;YAoCzB,wBAAwB;IAgBvC;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC;IAO/B;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAc1C;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAclC;;;;;;;OAOG;IACH,OAAO,CAAC,gBAAgB;IAYxB;;;;;;;;OAQG;IACH,OAAO,CAAC,oBAAoB;CAY7B"}
@@ -5,14 +5,14 @@
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { setContinuationToken } from "../pagingHelper.js";
10
9
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
13
12
  /// <reference lib="esnext.asynciterable" />
14
13
  /** Class containing Projects operations. */
15
14
  export class ProjectsImpl {
15
+ client;
16
16
  /**
17
17
  * Initialize a new instance of the class Projects class.
18
18
  * @param client Reference to the service client
@@ -38,50 +38,35 @@ export class ProjectsImpl {
38
38
  return this;
39
39
  },
40
40
  byPage: (settings) => {
41
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
41
+ if (settings?.maxPageSize) {
42
42
  throw new Error("maxPageSize is not supported by this operation.");
43
43
  }
44
44
  return this.listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options, settings);
45
45
  }
46
46
  };
47
47
  }
48
- listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options, settings) {
49
- return __asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
50
- let result;
51
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
52
- if (!continuationToken) {
53
- result = yield __await(this._listByWorkspace(accountName, workspaceName, resourceGroupName, options));
54
- let page = result.value || [];
55
- continuationToken = result.nextLink;
56
- setContinuationToken(page, continuationToken);
57
- yield yield __await(page);
58
- }
59
- while (continuationToken) {
60
- result = yield __await(this._listByWorkspaceNext(accountName, workspaceName, resourceGroupName, continuationToken, options));
61
- continuationToken = result.nextLink;
62
- let page = result.value || [];
63
- setContinuationToken(page, continuationToken);
64
- yield yield __await(page);
65
- }
66
- });
48
+ async *listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options, settings) {
49
+ let result;
50
+ let continuationToken = settings?.continuationToken;
51
+ if (!continuationToken) {
52
+ result = await this._listByWorkspace(accountName, workspaceName, resourceGroupName, options);
53
+ let page = result.value || [];
54
+ continuationToken = result.nextLink;
55
+ setContinuationToken(page, continuationToken);
56
+ yield page;
57
+ }
58
+ while (continuationToken) {
59
+ result = await this._listByWorkspaceNext(accountName, workspaceName, resourceGroupName, continuationToken, options);
60
+ continuationToken = result.nextLink;
61
+ let page = result.value || [];
62
+ setContinuationToken(page, continuationToken);
63
+ yield page;
64
+ }
67
65
  }
68
- listByWorkspacePagingAll(accountName, workspaceName, resourceGroupName, options) {
69
- return __asyncGenerator(this, arguments, function* listByWorkspacePagingAll_1() {
70
- var e_1, _a;
71
- try {
72
- for (var _b = __asyncValues(this.listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
73
- const page = _c.value;
74
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
75
- }
76
- }
77
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
78
- finally {
79
- try {
80
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
81
- }
82
- finally { if (e_1) throw e_1.error; }
83
- }
84
- });
66
+ async *listByWorkspacePagingAll(accountName, workspaceName, resourceGroupName, options) {
67
+ for await (const page of this.listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options)) {
68
+ yield* page;
69
+ }
85
70
  }
86
71
  /**
87
72
  * Gets the properties of the specified machine learning project.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projects.js","sourceRoot":"","sources":["../../../src/operations/projects.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAkBtD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IACN,MAAM,CAAgC;IAEvD;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,eAAe,CACpB,WAAmB,EACnB,aAAqB,EACrB,iB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AU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Projects } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MLTeamAccountManagementClient } from \"../mLTeamAccountManagementClient.js\";\nimport {\n Project,\n ProjectsListByWorkspaceNextOptionalParams,\n ProjectsListByWorkspaceOptionalParams,\n ProjectsListByWorkspaceResponse,\n ProjectsGetOptionalParams,\n ProjectsGetResponse,\n ProjectsCreateOrUpdateOptionalParams,\n ProjectsCreateOrUpdateResponse,\n ProjectsDeleteOptionalParams,\n ProjectUpdateParameters,\n ProjectsUpdateOptionalParams,\n ProjectsUpdateResponse,\n ProjectsListByWorkspaceNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Projects operations. */\nexport class ProjectsImpl implements Projects {\n private readonly client: MLTeamAccountManagementClient;\n\n /**\n * Initialize a new instance of the class Projects class.\n * @param client Reference to the service client\n */\n constructor(client: MLTeamAccountManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the available machine learning projects under the specified workspace.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param options The options parameters.\n */\n public listByWorkspace(\n accountName: string,\n workspaceName: string,\n resourceGroupName: string,\n options?: ProjectsListByWorkspaceOptionalParams\n ): PagedAsyncIterableIterator<Project> {\n const iter = this.listByWorkspacePagingAll(\n accountName,\n workspaceName,\n resourceGroupName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByWorkspacePagingPage(\n accountName,\n workspaceName,\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByWorkspacePagingPage(\n accountName: string,\n workspaceName: string,\n resourceGroupName: string,\n options?: ProjectsListByWorkspaceOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Project[]> {\n let result: ProjectsListByWorkspaceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByWorkspace(\n accountName,\n workspaceName,\n resourceGroupName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByWorkspaceNext(\n accountName,\n workspaceName,\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByWorkspacePagingAll(\n accountName: string,\n workspaceName: string,\n resourceGroupName: string,\n options?: ProjectsListByWorkspaceOptionalParams\n ): AsyncIterableIterator<Project> {\n for await (const page of this.listByWorkspacePagingPage(\n accountName,\n workspaceName,\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the properties of the specified machine learning project.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param projectName The name of the machine learning project under a team account workspace.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n projectName: string,\n options?: ProjectsGetOptionalParams\n ): Promise<ProjectsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, workspaceName, projectName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a project with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param projectName The name of the machine learning project under a team account workspace.\n * @param parameters The parameters for creating or updating a project.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n projectName: string,\n parameters: Project,\n options?: ProjectsCreateOrUpdateOptionalParams\n ): Promise<ProjectsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n workspaceName,\n projectName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes a project.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param projectName The name of the machine learning project under a team account workspace.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n projectName: string,\n options?: ProjectsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, workspaceName, projectName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Updates a project with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param projectName The name of the machine learning project under a team account workspace.\n * @param parameters The parameters for updating a machine learning team account.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n projectName: string,\n parameters: ProjectUpdateParameters,\n options?: ProjectsUpdateOptionalParams\n ): Promise<ProjectsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n workspaceName,\n projectName,\n parameters,\n options\n },\n updateOperationSpec\n );\n }\n\n /**\n * Lists all the available machine learning projects under the specified workspace.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param options The options parameters.\n */\n private _listByWorkspace(\n accountName: string,\n workspaceName: string,\n resourceGroupName: string,\n options?: ProjectsListByWorkspaceOptionalParams\n ): Promise<ProjectsListByWorkspaceResponse> {\n return this.client.sendOperationRequest(\n { accountName, workspaceName, resourceGroupName, options },\n listByWorkspaceOperationSpec\n );\n }\n\n /**\n * ListByWorkspaceNext\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.\n * @param options The options parameters.\n */\n private _listByWorkspaceNext(\n accountName: string,\n workspaceName: string,\n resourceGroupName: string,\n nextLink: string,\n options?: ProjectsListByWorkspaceNextOptionalParams\n ): Promise<ProjectsListByWorkspaceNextResponse> {\n return this.client.sendOperationRequest(\n { accountName, workspaceName, resourceGroupName, nextLink, options },\n listByWorkspaceNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Project\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.workspaceName,\n Parameters.projectName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Project\n },\n 201: {\n bodyMapper: Mappers.Project\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.workspaceName,\n Parameters.projectName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.workspaceName,\n Parameters.projectName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Project\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.workspaceName,\n Parameters.projectName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByWorkspaceOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProjectListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByWorkspaceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProjectListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.nextLink,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Workspaces } from "../operationsInterfaces";
3
- import { MLTeamAccountManagementClient } from "../mLTeamAccountManagementClient";
4
- import { Workspace, WorkspacesListByAccountsOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, WorkspacesCreateOrUpdateOptionalParams, WorkspacesCreateOrUpdateResponse, WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse } from "../models";
2
+ import { Workspaces } from "../operationsInterfaces/index.js";
3
+ import { MLTeamAccountManagementClient } from "../mLTeamAccountManagementClient.js";
4
+ import { Workspace, WorkspacesListByAccountsOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, WorkspacesCreateOrUpdateOptionalParams, WorkspacesCreateOrUpdateResponse, WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse } from "../models/index.js";
5
5
  /** Class containing Workspaces operations. */
6
6
  export declare class WorkspacesImpl implements Workspaces {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../../src/operations/workspaces.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,SAAS,EAET,sCAAsC,EAEtC,2BAA2B,EAC3B,qBAAqB,EACrB,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAC9B,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,EAEzB,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;;OAMG;IACI,cAAc,CACnB,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,SAAS,CAAC;YA2BzB,wBAAwB;YAiCxB,uBAAuB;IActC;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAOjC;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,SAAS,EACrB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAO5C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;IAOpC;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAWvB;;;;;;;OAOG;IACH,OAAO,CAAC,mBAAmB;CAW5B"}
@@ -5,14 +5,14 @@
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { setContinuationToken } from "../pagingHelper.js";
10
9
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
13
12
  /// <reference lib="esnext.asynciterable" />
14
13
  /** Class containing Workspaces operations. */
15
14
  export class WorkspacesImpl {
15
+ client;
16
16
  /**
17
17
  * Initialize a new instance of the class Workspaces class.
18
18
  * @param client Reference to the service client
@@ -37,50 +37,35 @@ export class WorkspacesImpl {
37
37
  return this;
38
38
  },
39
39
  byPage: (settings) => {
40
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
+ if (settings?.maxPageSize) {
41
41
  throw new Error("maxPageSize is not supported by this operation.");
42
42
  }
43
43
  return this.listByAccountsPagingPage(accountName, resourceGroupName, options, settings);
44
44
  }
45
45
  };
46
46
  }
47
- listByAccountsPagingPage(accountName, resourceGroupName, options, settings) {
48
- return __asyncGenerator(this, arguments, function* listByAccountsPagingPage_1() {
49
- let result;
50
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
51
- if (!continuationToken) {
52
- result = yield __await(this._listByAccounts(accountName, resourceGroupName, options));
53
- let page = result.value || [];
54
- continuationToken = result.nextLink;
55
- setContinuationToken(page, continuationToken);
56
- yield yield __await(page);
57
- }
58
- while (continuationToken) {
59
- result = yield __await(this._listByAccountsNext(accountName, resourceGroupName, continuationToken, options));
60
- continuationToken = result.nextLink;
61
- let page = result.value || [];
62
- setContinuationToken(page, continuationToken);
63
- yield yield __await(page);
64
- }
65
- });
47
+ async *listByAccountsPagingPage(accountName, resourceGroupName, options, settings) {
48
+ let result;
49
+ let continuationToken = settings?.continuationToken;
50
+ if (!continuationToken) {
51
+ result = await this._listByAccounts(accountName, resourceGroupName, options);
52
+ let page = result.value || [];
53
+ continuationToken = result.nextLink;
54
+ setContinuationToken(page, continuationToken);
55
+ yield page;
56
+ }
57
+ while (continuationToken) {
58
+ result = await this._listByAccountsNext(accountName, resourceGroupName, continuationToken, options);
59
+ continuationToken = result.nextLink;
60
+ let page = result.value || [];
61
+ setContinuationToken(page, continuationToken);
62
+ yield page;
63
+ }
66
64
  }
67
- listByAccountsPagingAll(accountName, resourceGroupName, options) {
68
- return __asyncGenerator(this, arguments, function* listByAccountsPagingAll_1() {
69
- var e_1, _a;
70
- try {
71
- for (var _b = __asyncValues(this.listByAccountsPagingPage(accountName, resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
72
- const page = _c.value;
73
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
74
- }
75
- }
76
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
77
- finally {
78
- try {
79
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
80
- }
81
- finally { if (e_1) throw e_1.error; }
82
- }
83
- });
65
+ async *listByAccountsPagingAll(accountName, resourceGroupName, options) {
66
+ for await (const page of this.listByAccountsPagingPage(accountName, resourceGroupName, options)) {
67
+ yield* page;
68
+ }
84
69
  }
85
70
  /**
86
71
  * Gets the properties of the specified machine learning workspace.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../../src/operations/workspaces.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAkBtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAgC;IAEvD;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,cAAc,CACnB,WAAmB,EACnB,iBAAyB,EACzB,OAAgD;QAEhD,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CACvC,WAAW,EACX,iBAAiB,EACjB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,E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AAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EACF,yJAAyJ;IAC3J,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Workspaces } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MLTeamAccountManagementClient } from \"../mLTeamAccountManagementClient.js\";\nimport {\n Workspace,\n WorkspacesListByAccountsNextOptionalParams,\n WorkspacesListByAccountsOptionalParams,\n WorkspacesListByAccountsResponse,\n WorkspacesGetOptionalParams,\n WorkspacesGetResponse,\n WorkspacesCreateOrUpdateOptionalParams,\n WorkspacesCreateOrUpdateResponse,\n WorkspacesDeleteOptionalParams,\n WorkspaceUpdateParameters,\n WorkspacesUpdateOptionalParams,\n WorkspacesUpdateResponse,\n WorkspacesListByAccountsNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Workspaces operations. */\nexport class WorkspacesImpl implements Workspaces {\n private readonly client: MLTeamAccountManagementClient;\n\n /**\n * Initialize a new instance of the class Workspaces class.\n * @param client Reference to the service client\n */\n constructor(client: MLTeamAccountManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the available machine learning workspaces under the specified team account.\n * @param accountName The name of the machine learning team account.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param options The options parameters.\n */\n public listByAccounts(\n accountName: string,\n resourceGroupName: string,\n options?: WorkspacesListByAccountsOptionalParams\n ): PagedAsyncIterableIterator<Workspace> {\n const iter = this.listByAccountsPagingAll(\n accountName,\n resourceGroupName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByAccountsPagingPage(\n accountName,\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByAccountsPagingPage(\n accountName: string,\n resourceGroupName: string,\n options?: WorkspacesListByAccountsOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Workspace[]> {\n let result: WorkspacesListByAccountsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByAccounts(\n accountName,\n resourceGroupName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByAccountsNext(\n accountName,\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByAccountsPagingAll(\n accountName: string,\n resourceGroupName: string,\n options?: WorkspacesListByAccountsOptionalParams\n ): AsyncIterableIterator<Workspace> {\n for await (const page of this.listByAccountsPagingPage(\n accountName,\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the properties of the specified machine learning workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n options?: WorkspacesGetOptionalParams\n ): Promise<WorkspacesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, workspaceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a machine learning workspace with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param parameters The parameters for creating or updating a machine learning workspace.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n parameters: Workspace,\n options?: WorkspacesCreateOrUpdateOptionalParams\n ): Promise<WorkspacesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, workspaceName, parameters, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes a machine learning workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n options?: WorkspacesDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, workspaceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Updates a machine learning workspace with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param parameters The parameters for updating a machine learning workspace.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n parameters: WorkspaceUpdateParameters,\n options?: WorkspacesUpdateOptionalParams\n ): Promise<WorkspacesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, workspaceName, parameters, options },\n updateOperationSpec\n );\n }\n\n /**\n * Lists all the available machine learning workspaces under the specified team account.\n * @param accountName The name of the machine learning team account.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param options The options parameters.\n */\n private _listByAccounts(\n accountName: string,\n resourceGroupName: string,\n options?: WorkspacesListByAccountsOptionalParams\n ): Promise<WorkspacesListByAccountsResponse> {\n return this.client.sendOperationRequest(\n { accountName, resourceGroupName, options },\n listByAccountsOperationSpec\n );\n }\n\n /**\n * ListByAccountsNext\n * @param accountName The name of the machine learning team account.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param nextLink The nextLink from the previous successful call to the ListByAccounts method.\n * @param options The options parameters.\n */\n private _listByAccountsNext(\n accountName: string,\n resourceGroupName: string,\n nextLink: string,\n options?: WorkspacesListByAccountsNextOptionalParams\n ): Promise<WorkspacesListByAccountsNextResponse> {\n return this.client.sendOperationRequest(\n { accountName, resourceGroupName, nextLink, options },\n listByAccountsNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Workspace\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Workspace\n },\n 201: {\n bodyMapper: Mappers.Workspace\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Workspace\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByAccountsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.WorkspaceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByAccountsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.WorkspaceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Account, AccountsListByResourceGroupOptionalParams, AccountsListOptionalParams, AccountsGetOptionalParams, AccountsGetResponse, AccountsCreateOrUpdateOptionalParams, AccountsCreateOrUpdateResponse, AccountsDeleteOptionalParams, AccountUpdateParameters, AccountsUpdateOptionalParams, AccountsUpdateResponse } from "../models";
2
+ import { Account, AccountsListByResourceGroupOptionalParams, AccountsListOptionalParams, AccountsGetOptionalParams, AccountsGetResponse, AccountsCreateOrUpdateOptionalParams, AccountsCreateOrUpdateResponse, AccountsDeleteOptionalParams, AccountUpdateParameters, AccountsUpdateOptionalParams, AccountsUpdateResponse } from "../models/index.js";
3
3
  /** Interface representing a Accounts. */
4
4
  export interface Accounts {
5
5
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/accounts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,OAAO,EACP,yCAAyC,EACzC,0BAA0B,EAC1B,yBAAyB,EACzB,mBAAmB,EACnB,oCAAoC,EACpC,8BAA8B,EAC9B,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;;OAOG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;IAC3C;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACpC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/accounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n Account,\n AccountsListByResourceGroupOptionalParams,\n AccountsListOptionalParams,\n AccountsGetOptionalParams,\n AccountsGetResponse,\n AccountsCreateOrUpdateOptionalParams,\n AccountsCreateOrUpdateResponse,\n AccountsDeleteOptionalParams,\n AccountUpdateParameters,\n AccountsUpdateOptionalParams,\n AccountsUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Accounts. */\nexport interface Accounts {\n /**\n * Lists all the available machine learning team accounts under the specified resource group.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: AccountsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Account>;\n /**\n * Lists all the available machine learning team accounts under the specified subscription.\n * @param options The options parameters.\n */\n list(\n options?: AccountsListOptionalParams\n ): PagedAsyncIterableIterator<Account>;\n /**\n * Gets the properties of the specified machine learning team account.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n options?: AccountsGetOptionalParams\n ): Promise<AccountsGetResponse>;\n /**\n * Creates or updates a team account with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param parameters The parameters for creating or updating a machine learning team account.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n accountName: string,\n parameters: Account,\n options?: AccountsCreateOrUpdateOptionalParams\n ): Promise<AccountsCreateOrUpdateResponse>;\n /**\n * Deletes a machine learning team account.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n options?: AccountsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Updates a machine learning team account with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param parameters The parameters for updating a machine learning team account.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n parameters: AccountUpdateParameters,\n options?: AccountsUpdateOptionalParams\n ): Promise<AccountsUpdateResponse>;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export * from "./operations.js";
2
+ export * from "./accounts.js";
3
+ export * from "./workspaces.js";
4
+ export * from "./projects.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
@@ -5,8 +5,8 @@
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
- export * from "./operations";
9
- export * from "./accounts";
10
- export * from "./workspaces";
11
- export * from "./projects";
8
+ export * from "./operations.js";
9
+ export * from "./accounts.js";
10
+ export * from "./workspaces.js";
11
+ export * from "./projects.js";
12
12
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./accounts.js\";\nexport * from \"./workspaces.js\";\nexport * from \"./projects.js\";\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operation, OperationsListOptionalParams } from "../models";
2
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a Operations. */
4
4
  export interface Operations {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AAGpE,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists all of the available Azure Machine Learning Team Accounts REST API operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Project, ProjectsListByWorkspaceOptionalParams, ProjectsGetOptionalParams, ProjectsGetResponse, ProjectsCreateOrUpdateOptionalParams, ProjectsCreateOrUpdateResponse, ProjectsDeleteOptionalParams, ProjectUpdateParameters, ProjectsUpdateOptionalParams, ProjectsUpdateResponse } from "../models";
2
+ import { Project, ProjectsListByWorkspaceOptionalParams, ProjectsGetOptionalParams, ProjectsGetResponse, ProjectsCreateOrUpdateOptionalParams, ProjectsCreateOrUpdateResponse, ProjectsDeleteOptionalParams, ProjectUpdateParameters, ProjectsUpdateOptionalParams, ProjectsUpdateResponse } from "../models/index.js";
3
3
  /** Interface representing a Projects. */
4
4
  export interface Projects {
5
5
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/projects.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,OAAO,EACP,qCAAqC,EACrC,yBAAyB,EACzB,mBAAmB,EACnB,oCAAoC,EACpC,8BAA8B,EAC9B,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;;;OAOG;IACH,eAAe,CACb,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;IAC3C;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACpC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projects.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/projects.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n Project,\n ProjectsListByWorkspaceOptionalParams,\n ProjectsGetOptionalParams,\n ProjectsGetResponse,\n ProjectsCreateOrUpdateOptionalParams,\n ProjectsCreateOrUpdateResponse,\n ProjectsDeleteOptionalParams,\n ProjectUpdateParameters,\n ProjectsUpdateOptionalParams,\n ProjectsUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Projects. */\nexport interface Projects {\n /**\n * Lists all the available machine learning projects under the specified workspace.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param options The options parameters.\n */\n listByWorkspace(\n accountName: string,\n workspaceName: string,\n resourceGroupName: string,\n options?: ProjectsListByWorkspaceOptionalParams\n ): PagedAsyncIterableIterator<Project>;\n /**\n * Gets the properties of the specified machine learning project.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param projectName The name of the machine learning project under a team account workspace.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n projectName: string,\n options?: ProjectsGetOptionalParams\n ): Promise<ProjectsGetResponse>;\n /**\n * Creates or updates a project with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param projectName The name of the machine learning project under a team account workspace.\n * @param parameters The parameters for creating or updating a project.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n projectName: string,\n parameters: Project,\n options?: ProjectsCreateOrUpdateOptionalParams\n ): Promise<ProjectsCreateOrUpdateResponse>;\n /**\n * Deletes a project.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param projectName The name of the machine learning project under a team account workspace.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n projectName: string,\n options?: ProjectsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Updates a project with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param projectName The name of the machine learning project under a team account workspace.\n * @param parameters The parameters for updating a machine learning team account.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n projectName: string,\n parameters: ProjectUpdateParameters,\n options?: ProjectsUpdateOptionalParams\n ): Promise<ProjectsUpdateResponse>;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Workspace, WorkspacesListByAccountsOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, WorkspacesCreateOrUpdateOptionalParams, WorkspacesCreateOrUpdateResponse, WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse } from "../models";
2
+ import { Workspace, WorkspacesListByAccountsOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, WorkspacesCreateOrUpdateOptionalParams, WorkspacesCreateOrUpdateResponse, WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse } from "../models/index.js";
3
3
  /** Interface representing a Workspaces. */
4
4
  export interface Workspaces {
5
5
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/workspaces.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,SAAS,EACT,sCAAsC,EACtC,2BAA2B,EAC3B,qBAAqB,EACrB,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAC9B,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;;;OAMG;IACH,cAAc,CACZ,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAClC;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,SAAS,EACrB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;CACtC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/workspaces.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n Workspace,\n WorkspacesListByAccountsOptionalParams,\n WorkspacesGetOptionalParams,\n WorkspacesGetResponse,\n WorkspacesCreateOrUpdateOptionalParams,\n WorkspacesCreateOrUpdateResponse,\n WorkspacesDeleteOptionalParams,\n WorkspaceUpdateParameters,\n WorkspacesUpdateOptionalParams,\n WorkspacesUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Workspaces. */\nexport interface Workspaces {\n /**\n * Lists all the available machine learning workspaces under the specified team account.\n * @param accountName The name of the machine learning team account.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param options The options parameters.\n */\n listByAccounts(\n accountName: string,\n resourceGroupName: string,\n options?: WorkspacesListByAccountsOptionalParams\n ): PagedAsyncIterableIterator<Workspace>;\n /**\n * Gets the properties of the specified machine learning workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n options?: WorkspacesGetOptionalParams\n ): Promise<WorkspacesGetResponse>;\n /**\n * Creates or updates a machine learning workspace with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param parameters The parameters for creating or updating a machine learning workspace.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n parameters: Workspace,\n options?: WorkspacesCreateOrUpdateOptionalParams\n ): Promise<WorkspacesCreateOrUpdateResponse>;\n /**\n * Deletes a machine learning workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n options?: WorkspacesDeleteOptionalParams\n ): Promise<void>;\n /**\n * Updates a machine learning workspace with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the machine learning team account\n * belongs.\n * @param accountName The name of the machine learning team account.\n * @param workspaceName The name of the machine learning team account workspace.\n * @param parameters The parameters for updating a machine learning workspace.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n workspaceName: string,\n parameters: WorkspaceUpdateParameters,\n options?: WorkspacesUpdateOptionalParams\n ): Promise<WorkspacesUpdateResponse>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -14,18 +14,16 @@ const pageMap = new WeakMap();
14
14
  * @returns The continuation token that can be passed into byPage() during future calls.
15
15
  */
16
16
  export function getContinuationToken(page) {
17
- var _a;
18
17
  if (typeof page !== "object" || page === null) {
19
18
  return undefined;
20
19
  }
21
- return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
20
+ return pageMap.get(page)?.continuationToken;
22
21
  }
23
22
  export function setContinuationToken(page, continuationToken) {
24
- var _a;
25
23
  if (typeof page !== "object" || page === null || !continuationToken) {
26
24
  return;
27
25
  }
28
- const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
26
+ const pageInfo = pageMap.get(page) ?? {};
29
27
  pageInfo.continuationToken = continuationToken;
30
28
  pageMap.set(page, pageInfo);
31
29
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { MLTeamAccountManagementClient } from "./mLTeamAccountManagementClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.MLTeamAccountManagementClient = exports.getContinuationToken = void 0;
11
+ const tslib_1 = require("tslib");
12
+ /// <reference lib="esnext.asynciterable" />
13
+ var pagingHelper_js_1 = require("./pagingHelper.js");
14
+ Object.defineProperty(exports, "getContinuationToken", { enumerable: true, get: function () { return pagingHelper_js_1.getContinuationToken; } });
15
+ tslib_1.__exportStar(require("./models/index.js"), exports);
16
+ var mLTeamAccountManagementClient_js_1 = require("./mLTeamAccountManagementClient.js");
17
+ Object.defineProperty(exports, "MLTeamAccountManagementClient", { enumerable: true, get: function () { return mLTeamAccountManagementClient_js_1.MLTeamAccountManagementClient; } });
18
+ tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
19
+ //# sourceMappingURL=index.js.map