@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
@@ -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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
@@ -0,0 +1,12 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./operations.js";
9
+ export * from "./accounts.js";
10
+ export * from "./workspaces.js";
11
+ export * from "./projects.js";
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/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"]}
@@ -0,0 +1,26 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operations } from "../operationsInterfaces/index.js";
3
+ import { MLTeamAccountManagementClient } from "../mLTeamAccountManagementClient.js";
4
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
5
+ /** Class containing Operations operations. */
6
+ export declare class OperationsImpl implements Operations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Operations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: MLTeamAccountManagementClient);
13
+ /**
14
+ * Lists all of the available Azure Machine Learning Team Accounts REST API operations.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Lists all of the available Azure Machine Learning Team Accounts REST API operations.
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ }
26
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,SAAS,EACT,4BAA4B,EAE7B,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;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YASd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAKd"}
@@ -0,0 +1,79 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
+ /// <reference lib="esnext.asynciterable" />
12
+ /** Class containing Operations operations. */
13
+ export class OperationsImpl {
14
+ client;
15
+ /**
16
+ * Initialize a new instance of the class Operations class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Lists all of the available Azure Machine Learning Team Accounts REST API operations.
24
+ * @param options The options parameters.
25
+ */
26
+ list(options) {
27
+ const iter = this.listPagingAll(options);
28
+ return {
29
+ next() {
30
+ return iter.next();
31
+ },
32
+ [Symbol.asyncIterator]() {
33
+ return this;
34
+ },
35
+ byPage: (settings) => {
36
+ if (settings?.maxPageSize) {
37
+ throw new Error("maxPageSize is not supported by this operation.");
38
+ }
39
+ return this.listPagingPage(options, settings);
40
+ }
41
+ };
42
+ }
43
+ async *listPagingPage(options, _settings) {
44
+ let result;
45
+ result = await this._list(options);
46
+ yield result.value || [];
47
+ }
48
+ async *listPagingAll(options) {
49
+ for await (const page of this.listPagingPage(options)) {
50
+ yield* page;
51
+ }
52
+ }
53
+ /**
54
+ * Lists all of the available Azure Machine Learning Team Accounts REST API operations.
55
+ * @param options The options parameters.
56
+ */
57
+ _list(options) {
58
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
59
+ }
60
+ }
61
+ // Operation Specifications
62
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
63
+ const listOperationSpec = {
64
+ path: "/providers/Microsoft.MachineLearningExperimentation/operations",
65
+ httpMethod: "GET",
66
+ responses: {
67
+ 200: {
68
+ bodyMapper: Mappers.OperationListResult
69
+ },
70
+ default: {
71
+ bodyMapper: Mappers.ErrorResponse
72
+ }
73
+ },
74
+ queryParameters: [Parameters.apiVersion],
75
+ urlParameters: [Parameters.$host],
76
+ headerParameters: [Parameters.accept],
77
+ serializer
78
+ };
79
+ //# sourceMappingURL=operations.js.map
@@ -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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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"]}
@@ -0,0 +1,86 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
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
+ /** Class containing Projects operations. */
6
+ export declare class ProjectsImpl implements Projects {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Projects class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: MLTeamAccountManagementClient);
13
+ /**
14
+ * Lists all the available machine learning projects under the specified workspace.
15
+ * @param accountName The name of the machine learning team account.
16
+ * @param workspaceName The name of the machine learning team account workspace.
17
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
18
+ * belongs.
19
+ * @param options The options parameters.
20
+ */
21
+ listByWorkspace(accountName: string, workspaceName: string, resourceGroupName: string, options?: ProjectsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<Project>;
22
+ private listByWorkspacePagingPage;
23
+ private listByWorkspacePagingAll;
24
+ /**
25
+ * Gets the properties of the specified machine learning project.
26
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
27
+ * belongs.
28
+ * @param accountName The name of the machine learning team account.
29
+ * @param workspaceName The name of the machine learning team account workspace.
30
+ * @param projectName The name of the machine learning project under a team account workspace.
31
+ * @param options The options parameters.
32
+ */
33
+ get(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: ProjectsGetOptionalParams): Promise<ProjectsGetResponse>;
34
+ /**
35
+ * Creates or updates a project with the specified parameters.
36
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
37
+ * belongs.
38
+ * @param accountName The name of the machine learning team account.
39
+ * @param workspaceName The name of the machine learning team account workspace.
40
+ * @param projectName The name of the machine learning project under a team account workspace.
41
+ * @param parameters The parameters for creating or updating a project.
42
+ * @param options The options parameters.
43
+ */
44
+ createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: Project, options?: ProjectsCreateOrUpdateOptionalParams): Promise<ProjectsCreateOrUpdateResponse>;
45
+ /**
46
+ * Deletes a project.
47
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
48
+ * belongs.
49
+ * @param accountName The name of the machine learning team account.
50
+ * @param workspaceName The name of the machine learning team account workspace.
51
+ * @param projectName The name of the machine learning project under a team account workspace.
52
+ * @param options The options parameters.
53
+ */
54
+ delete(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, options?: ProjectsDeleteOptionalParams): Promise<void>;
55
+ /**
56
+ * Updates a project with the specified parameters.
57
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
58
+ * belongs.
59
+ * @param accountName The name of the machine learning team account.
60
+ * @param workspaceName The name of the machine learning team account workspace.
61
+ * @param projectName The name of the machine learning project under a team account workspace.
62
+ * @param parameters The parameters for updating a machine learning team account.
63
+ * @param options The options parameters.
64
+ */
65
+ update(resourceGroupName: string, accountName: string, workspaceName: string, projectName: string, parameters: ProjectUpdateParameters, options?: ProjectsUpdateOptionalParams): Promise<ProjectsUpdateResponse>;
66
+ /**
67
+ * Lists all the available machine learning projects under the specified workspace.
68
+ * @param accountName The name of the machine learning team account.
69
+ * @param workspaceName The name of the machine learning team account workspace.
70
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
71
+ * belongs.
72
+ * @param options The options parameters.
73
+ */
74
+ private _listByWorkspace;
75
+ /**
76
+ * ListByWorkspaceNext
77
+ * @param accountName The name of the machine learning team account.
78
+ * @param workspaceName The name of the machine learning team account workspace.
79
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
80
+ * belongs.
81
+ * @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.
82
+ * @param options The options parameters.
83
+ */
84
+ private _listByWorkspaceNext;
85
+ }
86
+ //# sourceMappingURL=projects.d.ts.map
@@ -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,yB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AU,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"}
@@ -0,0 +1,303 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { setContinuationToken } from "../pagingHelper.js";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Projects operations. */
14
+ export class ProjectsImpl {
15
+ client;
16
+ /**
17
+ * Initialize a new instance of the class Projects class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Lists all the available machine learning projects under the specified workspace.
25
+ * @param accountName The name of the machine learning team account.
26
+ * @param workspaceName The name of the machine learning team account workspace.
27
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
28
+ * belongs.
29
+ * @param options The options parameters.
30
+ */
31
+ listByWorkspace(accountName, workspaceName, resourceGroupName, options) {
32
+ const iter = this.listByWorkspacePagingAll(accountName, workspaceName, resourceGroupName, options);
33
+ return {
34
+ next() {
35
+ return iter.next();
36
+ },
37
+ [Symbol.asyncIterator]() {
38
+ return this;
39
+ },
40
+ byPage: (settings) => {
41
+ if (settings?.maxPageSize) {
42
+ throw new Error("maxPageSize is not supported by this operation.");
43
+ }
44
+ return this.listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options, settings);
45
+ }
46
+ };
47
+ }
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
+ }
65
+ }
66
+ async *listByWorkspacePagingAll(accountName, workspaceName, resourceGroupName, options) {
67
+ for await (const page of this.listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options)) {
68
+ yield* page;
69
+ }
70
+ }
71
+ /**
72
+ * Gets the properties of the specified machine learning project.
73
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
74
+ * belongs.
75
+ * @param accountName The name of the machine learning team account.
76
+ * @param workspaceName The name of the machine learning team account workspace.
77
+ * @param projectName The name of the machine learning project under a team account workspace.
78
+ * @param options The options parameters.
79
+ */
80
+ get(resourceGroupName, accountName, workspaceName, projectName, options) {
81
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, workspaceName, projectName, options }, getOperationSpec);
82
+ }
83
+ /**
84
+ * Creates or updates a project with the specified parameters.
85
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
86
+ * belongs.
87
+ * @param accountName The name of the machine learning team account.
88
+ * @param workspaceName The name of the machine learning team account workspace.
89
+ * @param projectName The name of the machine learning project under a team account workspace.
90
+ * @param parameters The parameters for creating or updating a project.
91
+ * @param options The options parameters.
92
+ */
93
+ createOrUpdate(resourceGroupName, accountName, workspaceName, projectName, parameters, options) {
94
+ return this.client.sendOperationRequest({
95
+ resourceGroupName,
96
+ accountName,
97
+ workspaceName,
98
+ projectName,
99
+ parameters,
100
+ options
101
+ }, createOrUpdateOperationSpec);
102
+ }
103
+ /**
104
+ * Deletes a project.
105
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
106
+ * belongs.
107
+ * @param accountName The name of the machine learning team account.
108
+ * @param workspaceName The name of the machine learning team account workspace.
109
+ * @param projectName The name of the machine learning project under a team account workspace.
110
+ * @param options The options parameters.
111
+ */
112
+ delete(resourceGroupName, accountName, workspaceName, projectName, options) {
113
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, workspaceName, projectName, options }, deleteOperationSpec);
114
+ }
115
+ /**
116
+ * Updates a project with the specified parameters.
117
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
118
+ * belongs.
119
+ * @param accountName The name of the machine learning team account.
120
+ * @param workspaceName The name of the machine learning team account workspace.
121
+ * @param projectName The name of the machine learning project under a team account workspace.
122
+ * @param parameters The parameters for updating a machine learning team account.
123
+ * @param options The options parameters.
124
+ */
125
+ update(resourceGroupName, accountName, workspaceName, projectName, parameters, options) {
126
+ return this.client.sendOperationRequest({
127
+ resourceGroupName,
128
+ accountName,
129
+ workspaceName,
130
+ projectName,
131
+ parameters,
132
+ options
133
+ }, updateOperationSpec);
134
+ }
135
+ /**
136
+ * Lists all the available machine learning projects under the specified workspace.
137
+ * @param accountName The name of the machine learning team account.
138
+ * @param workspaceName The name of the machine learning team account workspace.
139
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
140
+ * belongs.
141
+ * @param options The options parameters.
142
+ */
143
+ _listByWorkspace(accountName, workspaceName, resourceGroupName, options) {
144
+ return this.client.sendOperationRequest({ accountName, workspaceName, resourceGroupName, options }, listByWorkspaceOperationSpec);
145
+ }
146
+ /**
147
+ * ListByWorkspaceNext
148
+ * @param accountName The name of the machine learning team account.
149
+ * @param workspaceName The name of the machine learning team account workspace.
150
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
151
+ * belongs.
152
+ * @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.
153
+ * @param options The options parameters.
154
+ */
155
+ _listByWorkspaceNext(accountName, workspaceName, resourceGroupName, nextLink, options) {
156
+ return this.client.sendOperationRequest({ accountName, workspaceName, resourceGroupName, nextLink, options }, listByWorkspaceNextOperationSpec);
157
+ }
158
+ }
159
+ // Operation Specifications
160
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
161
+ const getOperationSpec = {
162
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
163
+ httpMethod: "GET",
164
+ responses: {
165
+ 200: {
166
+ bodyMapper: Mappers.Project
167
+ },
168
+ default: {
169
+ bodyMapper: Mappers.ErrorResponse
170
+ }
171
+ },
172
+ queryParameters: [Parameters.apiVersion],
173
+ urlParameters: [
174
+ Parameters.$host,
175
+ Parameters.subscriptionId,
176
+ Parameters.resourceGroupName,
177
+ Parameters.accountName,
178
+ Parameters.workspaceName,
179
+ Parameters.projectName
180
+ ],
181
+ headerParameters: [Parameters.accept],
182
+ serializer
183
+ };
184
+ const createOrUpdateOperationSpec = {
185
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
186
+ httpMethod: "PUT",
187
+ responses: {
188
+ 200: {
189
+ bodyMapper: Mappers.Project
190
+ },
191
+ 201: {
192
+ bodyMapper: Mappers.Project
193
+ },
194
+ default: {
195
+ bodyMapper: Mappers.ErrorResponse
196
+ }
197
+ },
198
+ requestBody: Parameters.parameters4,
199
+ queryParameters: [Parameters.apiVersion],
200
+ urlParameters: [
201
+ Parameters.$host,
202
+ Parameters.subscriptionId,
203
+ Parameters.resourceGroupName,
204
+ Parameters.accountName,
205
+ Parameters.workspaceName,
206
+ Parameters.projectName
207
+ ],
208
+ headerParameters: [Parameters.accept, Parameters.contentType],
209
+ mediaType: "json",
210
+ serializer
211
+ };
212
+ const deleteOperationSpec = {
213
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
214
+ httpMethod: "DELETE",
215
+ responses: {
216
+ 200: {},
217
+ 204: {},
218
+ default: {
219
+ bodyMapper: Mappers.ErrorResponse
220
+ }
221
+ },
222
+ queryParameters: [Parameters.apiVersion],
223
+ urlParameters: [
224
+ Parameters.$host,
225
+ Parameters.subscriptionId,
226
+ Parameters.resourceGroupName,
227
+ Parameters.accountName,
228
+ Parameters.workspaceName,
229
+ Parameters.projectName
230
+ ],
231
+ headerParameters: [Parameters.accept],
232
+ serializer
233
+ };
234
+ const updateOperationSpec = {
235
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
236
+ httpMethod: "PATCH",
237
+ responses: {
238
+ 200: {
239
+ bodyMapper: Mappers.Project
240
+ },
241
+ default: {
242
+ bodyMapper: Mappers.ErrorResponse
243
+ }
244
+ },
245
+ requestBody: Parameters.parameters5,
246
+ queryParameters: [Parameters.apiVersion],
247
+ urlParameters: [
248
+ Parameters.$host,
249
+ Parameters.subscriptionId,
250
+ Parameters.resourceGroupName,
251
+ Parameters.accountName,
252
+ Parameters.workspaceName,
253
+ Parameters.projectName
254
+ ],
255
+ headerParameters: [Parameters.accept, Parameters.contentType],
256
+ mediaType: "json",
257
+ serializer
258
+ };
259
+ const listByWorkspaceOperationSpec = {
260
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects",
261
+ httpMethod: "GET",
262
+ responses: {
263
+ 200: {
264
+ bodyMapper: Mappers.ProjectListResult
265
+ },
266
+ default: {
267
+ bodyMapper: Mappers.ErrorResponse
268
+ }
269
+ },
270
+ queryParameters: [Parameters.apiVersion],
271
+ urlParameters: [
272
+ Parameters.$host,
273
+ Parameters.subscriptionId,
274
+ Parameters.resourceGroupName,
275
+ Parameters.accountName,
276
+ Parameters.workspaceName
277
+ ],
278
+ headerParameters: [Parameters.accept],
279
+ serializer
280
+ };
281
+ const listByWorkspaceNextOperationSpec = {
282
+ path: "{nextLink}",
283
+ httpMethod: "GET",
284
+ responses: {
285
+ 200: {
286
+ bodyMapper: Mappers.ProjectListResult
287
+ },
288
+ default: {
289
+ bodyMapper: Mappers.ErrorResponse
290
+ }
291
+ },
292
+ urlParameters: [
293
+ Parameters.$host,
294
+ Parameters.subscriptionId,
295
+ Parameters.resourceGroupName,
296
+ Parameters.accountName,
297
+ Parameters.nextLink,
298
+ Parameters.workspaceName
299
+ ],
300
+ headerParameters: [Parameters.accept],
301
+ serializer
302
+ };
303
+ //# sourceMappingURL=projects.js.map
@@ -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,iBAAyB,EACzB,OAA+C;QAE/C,MAAM,IAAI,GAAG,IAAI,CAAC,wBAAwB,CACxC,WAAW,EACX,aAAa,EACb,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,EA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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"]}