@azure/arm-machinelearningexperimentation 2.0.0-beta.3 → 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 (383) hide show
  1. package/CHANGELOG.md +14 -4
  2. package/LICENSE +4 -4
  3. package/README.md +26 -19
  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 -3
  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 +49 -38
  11. package/dist/browser/mLTeamAccountManagementClient.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/index.d.ts +25 -25
  13. package/dist/browser/models/index.d.ts.map +1 -0
  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 +56 -65
  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 +16 -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 +30 -34
  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 +30 -34
  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/browser/pagingHelper.d.ts +13 -0
  57. package/dist/browser/pagingHelper.d.ts.map +1 -0
  58. package/dist/browser/pagingHelper.js +30 -0
  59. package/dist/browser/pagingHelper.js.map +1 -0
  60. package/dist/commonjs/index.d.ts +5 -0
  61. package/dist/commonjs/index.d.ts.map +1 -0
  62. package/dist/commonjs/index.js +19 -0
  63. package/dist/commonjs/index.js.map +1 -0
  64. package/dist/commonjs/mLTeamAccountManagementClient.d.ts +23 -0
  65. package/dist/commonjs/mLTeamAccountManagementClient.d.ts.map +1 -0
  66. package/dist/commonjs/mLTeamAccountManagementClient.js +117 -0
  67. package/dist/commonjs/mLTeamAccountManagementClient.js.map +1 -0
  68. package/dist/commonjs/models/index.d.ts +329 -0
  69. package/dist/commonjs/models/index.d.ts.map +1 -0
  70. package/dist/commonjs/models/index.js +10 -0
  71. package/dist/commonjs/models/index.js.map +1 -0
  72. package/dist/commonjs/models/mappers.d.ts +17 -0
  73. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  74. package/dist/commonjs/models/mappers.js +554 -0
  75. package/dist/commonjs/models/mappers.js.map +1 -0
  76. package/dist/commonjs/models/parameters.d.ts +18 -0
  77. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  78. package/dist/commonjs/models/parameters.js +156 -0
  79. package/dist/commonjs/models/parameters.js.map +1 -0
  80. package/dist/commonjs/operations/accounts.d.ts +90 -0
  81. package/dist/commonjs/operations/accounts.d.ts.map +1 -0
  82. package/dist/commonjs/operations/accounts.js +362 -0
  83. package/dist/commonjs/operations/accounts.js.map +1 -0
  84. package/dist/commonjs/operations/index.d.ts +5 -0
  85. package/dist/commonjs/operations/index.d.ts.map +1 -0
  86. package/dist/commonjs/operations/index.js +15 -0
  87. package/dist/commonjs/operations/index.js.map +1 -0
  88. package/dist/commonjs/operations/operations.d.ts +26 -0
  89. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  90. package/dist/commonjs/operations/operations.js +84 -0
  91. package/dist/commonjs/operations/operations.js.map +1 -0
  92. package/dist/commonjs/operations/projects.d.ts +86 -0
  93. package/dist/commonjs/operations/projects.d.ts.map +1 -0
  94. package/dist/commonjs/operations/projects.js +308 -0
  95. package/dist/commonjs/operations/projects.js.map +1 -0
  96. package/dist/commonjs/operations/workspaces.d.ts +79 -0
  97. package/dist/commonjs/operations/workspaces.d.ts.map +1 -0
  98. package/dist/commonjs/operations/workspaces.js +281 -0
  99. package/dist/commonjs/operations/workspaces.js.map +1 -0
  100. package/dist/commonjs/operationsInterfaces/accounts.d.ts +52 -0
  101. package/dist/commonjs/operationsInterfaces/accounts.d.ts.map +1 -0
  102. package/dist/commonjs/operationsInterfaces/accounts.js +10 -0
  103. package/dist/commonjs/operationsInterfaces/accounts.js.map +1 -0
  104. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  105. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  106. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  107. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  108. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  109. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  110. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  111. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  112. package/dist/commonjs/operationsInterfaces/projects.d.ts +57 -0
  113. package/dist/commonjs/operationsInterfaces/projects.d.ts.map +1 -0
  114. package/dist/commonjs/operationsInterfaces/projects.js +10 -0
  115. package/dist/commonjs/operationsInterfaces/projects.js.map +1 -0
  116. package/dist/commonjs/operationsInterfaces/workspaces.d.ts +52 -0
  117. package/dist/commonjs/operationsInterfaces/workspaces.d.ts.map +1 -0
  118. package/dist/commonjs/operationsInterfaces/workspaces.js +10 -0
  119. package/dist/commonjs/operationsInterfaces/workspaces.js.map +1 -0
  120. package/dist/commonjs/package.json +3 -0
  121. package/dist/commonjs/pagingHelper.d.ts +13 -0
  122. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  123. package/dist/commonjs/pagingHelper.js +34 -0
  124. package/dist/commonjs/pagingHelper.js.map +1 -0
  125. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  126. package/dist/esm/index.d.ts +5 -0
  127. package/dist/esm/index.d.ts.map +1 -0
  128. package/{src/index.ts → dist/esm/index.js} +5 -4
  129. package/dist/esm/index.js.map +1 -0
  130. package/dist/esm/mLTeamAccountManagementClient.d.ts +23 -0
  131. package/dist/esm/mLTeamAccountManagementClient.d.ts.map +1 -0
  132. package/dist/esm/mLTeamAccountManagementClient.js +112 -0
  133. package/dist/esm/mLTeamAccountManagementClient.js.map +1 -0
  134. package/dist/esm/models/index.d.ts +329 -0
  135. package/dist/esm/models/index.d.ts.map +1 -0
  136. package/dist/esm/models/index.js +9 -0
  137. package/dist/esm/models/index.js.map +1 -0
  138. package/dist/esm/models/mappers.d.ts +17 -0
  139. package/dist/esm/models/mappers.d.ts.map +1 -0
  140. package/dist/esm/models/mappers.js +551 -0
  141. package/dist/esm/models/mappers.js.map +1 -0
  142. package/dist/esm/models/parameters.d.ts +18 -0
  143. package/dist/esm/models/parameters.d.ts.map +1 -0
  144. package/dist/esm/models/parameters.js +153 -0
  145. package/dist/esm/models/parameters.js.map +1 -0
  146. package/dist/esm/operations/accounts.d.ts +90 -0
  147. package/dist/esm/operations/accounts.d.ts.map +1 -0
  148. package/dist/esm/operations/accounts.js +357 -0
  149. package/dist/esm/operations/accounts.js.map +1 -0
  150. package/dist/esm/operations/index.d.ts +5 -0
  151. package/dist/esm/operations/index.d.ts.map +1 -0
  152. package/dist/esm/operations/index.js +12 -0
  153. package/dist/esm/operations/index.js.map +1 -0
  154. package/dist/esm/operations/operations.d.ts +26 -0
  155. package/dist/esm/operations/operations.d.ts.map +1 -0
  156. package/dist/esm/operations/operations.js +79 -0
  157. package/dist/esm/operations/operations.js.map +1 -0
  158. package/dist/esm/operations/projects.d.ts +86 -0
  159. package/dist/esm/operations/projects.d.ts.map +1 -0
  160. package/dist/esm/operations/projects.js +303 -0
  161. package/dist/esm/operations/projects.js.map +1 -0
  162. package/dist/esm/operations/workspaces.d.ts +79 -0
  163. package/dist/esm/operations/workspaces.d.ts.map +1 -0
  164. package/dist/esm/operations/workspaces.js +276 -0
  165. package/dist/esm/operations/workspaces.js.map +1 -0
  166. package/dist/esm/operationsInterfaces/accounts.d.ts +52 -0
  167. package/dist/esm/operationsInterfaces/accounts.d.ts.map +1 -0
  168. package/dist/esm/operationsInterfaces/accounts.js +9 -0
  169. package/dist/esm/operationsInterfaces/accounts.js.map +1 -0
  170. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  171. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  172. package/dist/esm/operationsInterfaces/index.js +12 -0
  173. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  174. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  175. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  176. package/dist/esm/operationsInterfaces/operations.js +9 -0
  177. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  178. package/dist/esm/operationsInterfaces/projects.d.ts +57 -0
  179. package/dist/esm/operationsInterfaces/projects.d.ts.map +1 -0
  180. package/dist/esm/operationsInterfaces/projects.js +9 -0
  181. package/dist/esm/operationsInterfaces/projects.js.map +1 -0
  182. package/dist/esm/operationsInterfaces/workspaces.d.ts +52 -0
  183. package/dist/esm/operationsInterfaces/workspaces.d.ts.map +1 -0
  184. package/dist/esm/operationsInterfaces/workspaces.js +9 -0
  185. package/dist/esm/operationsInterfaces/workspaces.js.map +1 -0
  186. package/dist/esm/package.json +3 -0
  187. package/dist/esm/pagingHelper.d.ts +13 -0
  188. package/dist/esm/pagingHelper.d.ts.map +1 -0
  189. package/dist/esm/pagingHelper.js +30 -0
  190. package/dist/esm/pagingHelper.js.map +1 -0
  191. package/dist/react-native/index.d.ts +5 -0
  192. package/dist/react-native/index.d.ts.map +1 -0
  193. package/dist/react-native/index.js +13 -0
  194. package/dist/react-native/index.js.map +1 -0
  195. package/dist/react-native/mLTeamAccountManagementClient.d.ts +23 -0
  196. package/dist/react-native/mLTeamAccountManagementClient.d.ts.map +1 -0
  197. package/dist/react-native/mLTeamAccountManagementClient.js +112 -0
  198. package/dist/react-native/mLTeamAccountManagementClient.js.map +1 -0
  199. package/dist/react-native/models/index.d.ts +329 -0
  200. package/dist/react-native/models/index.d.ts.map +1 -0
  201. package/dist/react-native/models/index.js +9 -0
  202. package/dist/react-native/models/index.js.map +1 -0
  203. package/dist/react-native/models/mappers.d.ts +17 -0
  204. package/dist/react-native/models/mappers.d.ts.map +1 -0
  205. package/dist/react-native/models/mappers.js +551 -0
  206. package/dist/react-native/models/mappers.js.map +1 -0
  207. package/dist/react-native/models/parameters.d.ts +18 -0
  208. package/dist/react-native/models/parameters.d.ts.map +1 -0
  209. package/dist/react-native/models/parameters.js +153 -0
  210. package/dist/react-native/models/parameters.js.map +1 -0
  211. package/dist/react-native/operations/accounts.d.ts +90 -0
  212. package/dist/react-native/operations/accounts.d.ts.map +1 -0
  213. package/dist/react-native/operations/accounts.js +357 -0
  214. package/dist/react-native/operations/accounts.js.map +1 -0
  215. package/dist/react-native/operations/index.d.ts +5 -0
  216. package/dist/react-native/operations/index.d.ts.map +1 -0
  217. package/dist/react-native/operations/index.js +12 -0
  218. package/dist/react-native/operations/index.js.map +1 -0
  219. package/dist/react-native/operations/operations.d.ts +26 -0
  220. package/dist/react-native/operations/operations.d.ts.map +1 -0
  221. package/dist/react-native/operations/operations.js +79 -0
  222. package/dist/react-native/operations/operations.js.map +1 -0
  223. package/dist/react-native/operations/projects.d.ts +86 -0
  224. package/dist/react-native/operations/projects.d.ts.map +1 -0
  225. package/dist/react-native/operations/projects.js +303 -0
  226. package/dist/react-native/operations/projects.js.map +1 -0
  227. package/dist/react-native/operations/workspaces.d.ts +79 -0
  228. package/dist/react-native/operations/workspaces.d.ts.map +1 -0
  229. package/dist/react-native/operations/workspaces.js +276 -0
  230. package/dist/react-native/operations/workspaces.js.map +1 -0
  231. package/dist/react-native/operationsInterfaces/accounts.d.ts +52 -0
  232. package/dist/react-native/operationsInterfaces/accounts.d.ts.map +1 -0
  233. package/dist/react-native/operationsInterfaces/accounts.js +9 -0
  234. package/dist/react-native/operationsInterfaces/accounts.js.map +1 -0
  235. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  236. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  237. package/dist/react-native/operationsInterfaces/index.js +12 -0
  238. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  239. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  240. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  241. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  242. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  243. package/dist/react-native/operationsInterfaces/projects.d.ts +57 -0
  244. package/dist/react-native/operationsInterfaces/projects.d.ts.map +1 -0
  245. package/dist/react-native/operationsInterfaces/projects.js +9 -0
  246. package/dist/react-native/operationsInterfaces/projects.js.map +1 -0
  247. package/dist/react-native/operationsInterfaces/workspaces.d.ts +52 -0
  248. package/dist/react-native/operationsInterfaces/workspaces.d.ts.map +1 -0
  249. package/dist/react-native/operationsInterfaces/workspaces.js +9 -0
  250. package/dist/react-native/operationsInterfaces/workspaces.js.map +1 -0
  251. package/dist/react-native/package.json +3 -0
  252. package/dist/react-native/pagingHelper.d.ts +13 -0
  253. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  254. package/dist/react-native/pagingHelper.js +30 -0
  255. package/dist/react-native/pagingHelper.js.map +1 -0
  256. package/package.json +86 -76
  257. package/review/{arm-machinelearningexperimentation.api.md → arm-machinelearningexperimentation-node.api.md} +21 -18
  258. package/dist/index.js +0 -1847
  259. package/dist/index.js.map +0 -1
  260. package/dist/index.min.js +0 -1
  261. package/dist/index.min.js.map +0 -1
  262. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts +0 -2
  263. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts.map +0 -1
  264. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js +0 -41
  265. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js.map +0 -1
  266. package/dist-esm/samples-dev/accountsDeleteSample.d.ts +0 -2
  267. package/dist-esm/samples-dev/accountsDeleteSample.d.ts.map +0 -1
  268. package/dist-esm/samples-dev/accountsDeleteSample.js +0 -31
  269. package/dist-esm/samples-dev/accountsDeleteSample.js.map +0 -1
  270. package/dist-esm/samples-dev/accountsGetSample.d.ts +0 -2
  271. package/dist-esm/samples-dev/accountsGetSample.d.ts.map +0 -1
  272. package/dist-esm/samples-dev/accountsGetSample.js +0 -31
  273. package/dist-esm/samples-dev/accountsGetSample.js.map +0 -1
  274. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts +0 -2
  275. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts.map +0 -1
  276. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +0 -44
  277. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +0 -1
  278. package/dist-esm/samples-dev/accountsListSample.d.ts +0 -2
  279. package/dist-esm/samples-dev/accountsListSample.d.ts.map +0 -1
  280. package/dist-esm/samples-dev/accountsListSample.js +0 -43
  281. package/dist-esm/samples-dev/accountsListSample.js.map +0 -1
  282. package/dist-esm/samples-dev/accountsUpdateSample.d.ts +0 -2
  283. package/dist-esm/samples-dev/accountsUpdateSample.d.ts.map +0 -1
  284. package/dist-esm/samples-dev/accountsUpdateSample.js +0 -35
  285. package/dist-esm/samples-dev/accountsUpdateSample.js.map +0 -1
  286. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.d.ts +0 -2
  287. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.d.ts.map +0 -1
  288. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js +0 -39
  289. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js.map +0 -1
  290. package/dist-esm/samples-dev/projectsDeleteSample.d.ts +0 -2
  291. package/dist-esm/samples-dev/projectsDeleteSample.d.ts.map +0 -1
  292. package/dist-esm/samples-dev/projectsDeleteSample.js +0 -33
  293. package/dist-esm/samples-dev/projectsDeleteSample.js.map +0 -1
  294. package/dist-esm/samples-dev/projectsGetSample.d.ts +0 -2
  295. package/dist-esm/samples-dev/projectsGetSample.d.ts.map +0 -1
  296. package/dist-esm/samples-dev/projectsGetSample.js +0 -33
  297. package/dist-esm/samples-dev/projectsGetSample.js.map +0 -1
  298. package/dist-esm/samples-dev/projectsListByWorkspaceSample.d.ts +0 -2
  299. package/dist-esm/samples-dev/projectsListByWorkspaceSample.d.ts.map +0 -1
  300. package/dist-esm/samples-dev/projectsListByWorkspaceSample.js +0 -46
  301. package/dist-esm/samples-dev/projectsListByWorkspaceSample.js.map +0 -1
  302. package/dist-esm/samples-dev/projectsUpdateSample.d.ts +0 -2
  303. package/dist-esm/samples-dev/projectsUpdateSample.d.ts.map +0 -1
  304. package/dist-esm/samples-dev/projectsUpdateSample.js +0 -37
  305. package/dist-esm/samples-dev/projectsUpdateSample.js.map +0 -1
  306. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts +0 -2
  307. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts.map +0 -1
  308. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +0 -37
  309. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +0 -1
  310. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +0 -2
  311. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +0 -1
  312. package/dist-esm/samples-dev/workspacesDeleteSample.js +0 -32
  313. package/dist-esm/samples-dev/workspacesDeleteSample.js.map +0 -1
  314. package/dist-esm/samples-dev/workspacesGetSample.d.ts +0 -2
  315. package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +0 -1
  316. package/dist-esm/samples-dev/workspacesGetSample.js +0 -32
  317. package/dist-esm/samples-dev/workspacesGetSample.js.map +0 -1
  318. package/dist-esm/samples-dev/workspacesListByAccountsSample.d.ts +0 -2
  319. package/dist-esm/samples-dev/workspacesListByAccountsSample.d.ts.map +0 -1
  320. package/dist-esm/samples-dev/workspacesListByAccountsSample.js +0 -45
  321. package/dist-esm/samples-dev/workspacesListByAccountsSample.js.map +0 -1
  322. package/dist-esm/samples-dev/workspacesUpdateSample.d.ts +0 -2
  323. package/dist-esm/samples-dev/workspacesUpdateSample.d.ts.map +0 -1
  324. package/dist-esm/samples-dev/workspacesUpdateSample.js +0 -33
  325. package/dist-esm/samples-dev/workspacesUpdateSample.js.map +0 -1
  326. package/dist-esm/src/index.d.ts +0 -5
  327. package/dist-esm/src/index.d.ts.map +0 -1
  328. package/dist-esm/src/index.js.map +0 -1
  329. package/dist-esm/src/mLTeamAccountManagementClient.d.ts.map +0 -1
  330. package/dist-esm/src/mLTeamAccountManagementClient.js.map +0 -1
  331. package/dist-esm/src/models/index.d.ts.map +0 -1
  332. package/dist-esm/src/models/index.js.map +0 -1
  333. package/dist-esm/src/models/mappers.js.map +0 -1
  334. package/dist-esm/src/models/parameters.js.map +0 -1
  335. package/dist-esm/src/operations/accounts.d.ts.map +0 -1
  336. package/dist-esm/src/operations/accounts.js.map +0 -1
  337. package/dist-esm/src/operations/index.d.ts +0 -5
  338. package/dist-esm/src/operations/index.js.map +0 -1
  339. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  340. package/dist-esm/src/operations/operations.js.map +0 -1
  341. package/dist-esm/src/operations/projects.d.ts.map +0 -1
  342. package/dist-esm/src/operations/projects.js.map +0 -1
  343. package/dist-esm/src/operations/workspaces.d.ts.map +0 -1
  344. package/dist-esm/src/operations/workspaces.js.map +0 -1
  345. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +0 -1
  346. package/dist-esm/src/operationsInterfaces/accounts.js.map +0 -1
  347. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  348. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  349. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  350. package/dist-esm/src/operationsInterfaces/projects.d.ts.map +0 -1
  351. package/dist-esm/src/operationsInterfaces/projects.js.map +0 -1
  352. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +0 -1
  353. package/dist-esm/src/operationsInterfaces/workspaces.js.map +0 -1
  354. package/dist-esm/test/sampleTest.d.ts +0 -2
  355. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  356. package/dist-esm/test/sampleTest.js +0 -38
  357. package/dist-esm/test/sampleTest.js.map +0 -1
  358. package/rollup.config.js +0 -122
  359. package/src/mLTeamAccountManagementClient.ts +0 -150
  360. package/src/models/index.ts +0 -389
  361. package/src/models/mappers.ts +0 -567
  362. package/src/models/parameters.ts +0 -181
  363. package/src/operations/accounts.ts +0 -454
  364. package/src/operations/index.ts +0 -12
  365. package/src/operations/operations.ts +0 -98
  366. package/src/operations/projects.ts +0 -423
  367. package/src/operations/workspaces.ts +0 -382
  368. package/src/operationsInterfaces/accounts.ts +0 -96
  369. package/src/operationsInterfaces/index.ts +0 -12
  370. package/src/operationsInterfaces/operations.ts +0 -22
  371. package/src/operationsInterfaces/projects.ts +0 -108
  372. package/src/operationsInterfaces/workspaces.ts +0 -98
  373. package/tsconfig.json +0 -33
  374. package/types/arm-machinelearningexperimentation.d.ts +0 -571
  375. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  376. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  377. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  378. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  379. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  380. /package/{dist-esm/src → dist/browser}/operationsInterfaces/accounts.js +0 -0
  381. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  382. /package/{dist-esm/src → dist/browser}/operationsInterfaces/projects.js +0 -0
  383. /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projects.js","sourceRoot":"","sources":["../../../src/operations/projects.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAA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a,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EAAE,YAAY;IAClB,UAAU,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"]}
@@ -0,0 +1,79 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
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
+ /** Class containing Workspaces operations. */
6
+ export declare class WorkspacesImpl implements Workspaces {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Workspaces class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: MLTeamAccountManagementClient);
13
+ /**
14
+ * Lists all the available machine learning workspaces under the specified team account.
15
+ * @param accountName The name of the machine learning team account.
16
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
17
+ * belongs.
18
+ * @param options The options parameters.
19
+ */
20
+ listByAccounts(accountName: string, resourceGroupName: string, options?: WorkspacesListByAccountsOptionalParams): PagedAsyncIterableIterator<Workspace>;
21
+ private listByAccountsPagingPage;
22
+ private listByAccountsPagingAll;
23
+ /**
24
+ * Gets the properties of the specified machine learning workspace.
25
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
26
+ * belongs.
27
+ * @param accountName The name of the machine learning team account.
28
+ * @param workspaceName The name of the machine learning team account workspace.
29
+ * @param options The options parameters.
30
+ */
31
+ get(resourceGroupName: string, accountName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<WorkspacesGetResponse>;
32
+ /**
33
+ * Creates or updates a machine learning workspace with the specified parameters.
34
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
35
+ * belongs.
36
+ * @param accountName The name of the machine learning team account.
37
+ * @param workspaceName The name of the machine learning team account workspace.
38
+ * @param parameters The parameters for creating or updating a machine learning workspace.
39
+ * @param options The options parameters.
40
+ */
41
+ createOrUpdate(resourceGroupName: string, accountName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<WorkspacesCreateOrUpdateResponse>;
42
+ /**
43
+ * Deletes a machine learning workspace.
44
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
45
+ * belongs.
46
+ * @param accountName The name of the machine learning team account.
47
+ * @param workspaceName The name of the machine learning team account workspace.
48
+ * @param options The options parameters.
49
+ */
50
+ delete(resourceGroupName: string, accountName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<void>;
51
+ /**
52
+ * Updates a machine learning workspace with the specified parameters.
53
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
54
+ * belongs.
55
+ * @param accountName The name of the machine learning team account.
56
+ * @param workspaceName The name of the machine learning team account workspace.
57
+ * @param parameters The parameters for updating a machine learning workspace.
58
+ * @param options The options parameters.
59
+ */
60
+ update(resourceGroupName: string, accountName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise<WorkspacesUpdateResponse>;
61
+ /**
62
+ * Lists all the available machine learning workspaces under the specified team account.
63
+ * @param accountName The name of the machine learning team account.
64
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
65
+ * belongs.
66
+ * @param options The options parameters.
67
+ */
68
+ private _listByAccounts;
69
+ /**
70
+ * ListByAccountsNext
71
+ * @param accountName The name of the machine learning team account.
72
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
73
+ * belongs.
74
+ * @param nextLink The nextLink from the previous successful call to the ListByAccounts method.
75
+ * @param options The options parameters.
76
+ */
77
+ private _listByAccountsNext;
78
+ }
79
+ //# sourceMappingURL=workspaces.d.ts.map
@@ -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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,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;IAOpC;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAWvB;;;;;;;OAOG;IACH,OAAO,CAAC,mBAAmB;CAW5B"}
@@ -0,0 +1,281 @@
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.WorkspacesImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ /// <reference lib="esnext.asynciterable" />
17
+ /** Class containing Workspaces operations. */
18
+ class WorkspacesImpl {
19
+ client;
20
+ /**
21
+ * Initialize a new instance of the class Workspaces class.
22
+ * @param client Reference to the service client
23
+ */
24
+ constructor(client) {
25
+ this.client = client;
26
+ }
27
+ /**
28
+ * Lists all the available machine learning workspaces under the specified team account.
29
+ * @param accountName The name of the machine learning team account.
30
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
31
+ * belongs.
32
+ * @param options The options parameters.
33
+ */
34
+ listByAccounts(accountName, resourceGroupName, options) {
35
+ const iter = this.listByAccountsPagingAll(accountName, resourceGroupName, options);
36
+ return {
37
+ next() {
38
+ return iter.next();
39
+ },
40
+ [Symbol.asyncIterator]() {
41
+ return this;
42
+ },
43
+ byPage: (settings) => {
44
+ if (settings?.maxPageSize) {
45
+ throw new Error("maxPageSize is not supported by this operation.");
46
+ }
47
+ return this.listByAccountsPagingPage(accountName, resourceGroupName, options, settings);
48
+ }
49
+ };
50
+ }
51
+ async *listByAccountsPagingPage(accountName, resourceGroupName, options, settings) {
52
+ let result;
53
+ let continuationToken = settings?.continuationToken;
54
+ if (!continuationToken) {
55
+ result = await this._listByAccounts(accountName, resourceGroupName, options);
56
+ let page = result.value || [];
57
+ continuationToken = result.nextLink;
58
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
59
+ yield page;
60
+ }
61
+ while (continuationToken) {
62
+ result = await this._listByAccountsNext(accountName, resourceGroupName, continuationToken, options);
63
+ continuationToken = result.nextLink;
64
+ let page = result.value || [];
65
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
66
+ yield page;
67
+ }
68
+ }
69
+ async *listByAccountsPagingAll(accountName, resourceGroupName, options) {
70
+ for await (const page of this.listByAccountsPagingPage(accountName, resourceGroupName, options)) {
71
+ yield* page;
72
+ }
73
+ }
74
+ /**
75
+ * Gets the properties of the specified machine learning workspace.
76
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
77
+ * belongs.
78
+ * @param accountName The name of the machine learning team account.
79
+ * @param workspaceName The name of the machine learning team account workspace.
80
+ * @param options The options parameters.
81
+ */
82
+ get(resourceGroupName, accountName, workspaceName, options) {
83
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, workspaceName, options }, getOperationSpec);
84
+ }
85
+ /**
86
+ * Creates or updates a machine learning workspace with the specified parameters.
87
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
88
+ * belongs.
89
+ * @param accountName The name of the machine learning team account.
90
+ * @param workspaceName The name of the machine learning team account workspace.
91
+ * @param parameters The parameters for creating or updating a machine learning workspace.
92
+ * @param options The options parameters.
93
+ */
94
+ createOrUpdate(resourceGroupName, accountName, workspaceName, parameters, options) {
95
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, workspaceName, parameters, options }, createOrUpdateOperationSpec);
96
+ }
97
+ /**
98
+ * Deletes a machine learning workspace.
99
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
100
+ * belongs.
101
+ * @param accountName The name of the machine learning team account.
102
+ * @param workspaceName The name of the machine learning team account workspace.
103
+ * @param options The options parameters.
104
+ */
105
+ delete(resourceGroupName, accountName, workspaceName, options) {
106
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, workspaceName, options }, deleteOperationSpec);
107
+ }
108
+ /**
109
+ * Updates a machine learning workspace with the specified parameters.
110
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
111
+ * belongs.
112
+ * @param accountName The name of the machine learning team account.
113
+ * @param workspaceName The name of the machine learning team account workspace.
114
+ * @param parameters The parameters for updating a machine learning workspace.
115
+ * @param options The options parameters.
116
+ */
117
+ update(resourceGroupName, accountName, workspaceName, parameters, options) {
118
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, workspaceName, parameters, options }, updateOperationSpec);
119
+ }
120
+ /**
121
+ * Lists all the available machine learning workspaces under the specified team account.
122
+ * @param accountName The name of the machine learning team account.
123
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
124
+ * belongs.
125
+ * @param options The options parameters.
126
+ */
127
+ _listByAccounts(accountName, resourceGroupName, options) {
128
+ return this.client.sendOperationRequest({ accountName, resourceGroupName, options }, listByAccountsOperationSpec);
129
+ }
130
+ /**
131
+ * ListByAccountsNext
132
+ * @param accountName The name of the machine learning team account.
133
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
134
+ * belongs.
135
+ * @param nextLink The nextLink from the previous successful call to the ListByAccounts method.
136
+ * @param options The options parameters.
137
+ */
138
+ _listByAccountsNext(accountName, resourceGroupName, nextLink, options) {
139
+ return this.client.sendOperationRequest({ accountName, resourceGroupName, nextLink, options }, listByAccountsNextOperationSpec);
140
+ }
141
+ }
142
+ exports.WorkspacesImpl = WorkspacesImpl;
143
+ // Operation Specifications
144
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
145
+ const getOperationSpec = {
146
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
147
+ httpMethod: "GET",
148
+ responses: {
149
+ 200: {
150
+ bodyMapper: Mappers.Workspace
151
+ },
152
+ default: {
153
+ bodyMapper: Mappers.ErrorResponse
154
+ }
155
+ },
156
+ queryParameters: [Parameters.apiVersion],
157
+ urlParameters: [
158
+ Parameters.$host,
159
+ Parameters.subscriptionId,
160
+ Parameters.resourceGroupName,
161
+ Parameters.accountName,
162
+ Parameters.workspaceName
163
+ ],
164
+ headerParameters: [Parameters.accept],
165
+ serializer
166
+ };
167
+ const createOrUpdateOperationSpec = {
168
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
169
+ httpMethod: "PUT",
170
+ responses: {
171
+ 200: {
172
+ bodyMapper: Mappers.Workspace
173
+ },
174
+ 201: {
175
+ bodyMapper: Mappers.Workspace
176
+ },
177
+ default: {
178
+ bodyMapper: Mappers.ErrorResponse
179
+ }
180
+ },
181
+ requestBody: Parameters.parameters2,
182
+ queryParameters: [Parameters.apiVersion],
183
+ urlParameters: [
184
+ Parameters.$host,
185
+ Parameters.subscriptionId,
186
+ Parameters.resourceGroupName,
187
+ Parameters.accountName,
188
+ Parameters.workspaceName
189
+ ],
190
+ headerParameters: [Parameters.accept, Parameters.contentType],
191
+ mediaType: "json",
192
+ serializer
193
+ };
194
+ const deleteOperationSpec = {
195
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
196
+ httpMethod: "DELETE",
197
+ responses: {
198
+ 200: {},
199
+ 204: {},
200
+ default: {
201
+ bodyMapper: Mappers.ErrorResponse
202
+ }
203
+ },
204
+ queryParameters: [Parameters.apiVersion],
205
+ urlParameters: [
206
+ Parameters.$host,
207
+ Parameters.subscriptionId,
208
+ Parameters.resourceGroupName,
209
+ Parameters.accountName,
210
+ Parameters.workspaceName
211
+ ],
212
+ headerParameters: [Parameters.accept],
213
+ serializer
214
+ };
215
+ const updateOperationSpec = {
216
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
217
+ httpMethod: "PATCH",
218
+ responses: {
219
+ 200: {
220
+ bodyMapper: Mappers.Workspace
221
+ },
222
+ default: {
223
+ bodyMapper: Mappers.ErrorResponse
224
+ }
225
+ },
226
+ requestBody: Parameters.parameters3,
227
+ queryParameters: [Parameters.apiVersion],
228
+ urlParameters: [
229
+ Parameters.$host,
230
+ Parameters.subscriptionId,
231
+ Parameters.resourceGroupName,
232
+ Parameters.accountName,
233
+ Parameters.workspaceName
234
+ ],
235
+ headerParameters: [Parameters.accept, Parameters.contentType],
236
+ mediaType: "json",
237
+ serializer
238
+ };
239
+ const listByAccountsOperationSpec = {
240
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces",
241
+ httpMethod: "GET",
242
+ responses: {
243
+ 200: {
244
+ bodyMapper: Mappers.WorkspaceListResult
245
+ },
246
+ default: {
247
+ bodyMapper: Mappers.ErrorResponse
248
+ }
249
+ },
250
+ queryParameters: [Parameters.apiVersion],
251
+ urlParameters: [
252
+ Parameters.$host,
253
+ Parameters.subscriptionId,
254
+ Parameters.resourceGroupName,
255
+ Parameters.accountName
256
+ ],
257
+ headerParameters: [Parameters.accept],
258
+ serializer
259
+ };
260
+ const listByAccountsNextOperationSpec = {
261
+ path: "{nextLink}",
262
+ httpMethod: "GET",
263
+ responses: {
264
+ 200: {
265
+ bodyMapper: Mappers.WorkspaceListResult
266
+ },
267
+ default: {
268
+ bodyMapper: Mappers.ErrorResponse
269
+ }
270
+ },
271
+ urlParameters: [
272
+ Parameters.$host,
273
+ Parameters.subscriptionId,
274
+ Parameters.resourceGroupName,
275
+ Parameters.accountName,
276
+ Parameters.nextLink
277
+ ],
278
+ headerParameters: [Parameters.accept],
279
+ serializer
280
+ };
281
+ //# sourceMappingURL=workspaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../../src/operations/workspaces.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAkBtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,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,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,wBAAwB,CAClC,WAAW,EACX,iBAAiB,EACjB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,wBAAwB,CACrC,WAAmB,EACnB,iBAAyB,EACzB,OAAgD,EAChD,QAAuB;QAEvB,IAAI,MAAwC,CAAC;QAC7C,IAAI,iBAAiB,GAAG,QAAQ,EAAE,iBAAiB,CAAC;QACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACvB,MAAM,GAAG,MAAM,IAAI,CAAC,eAAe,CACjC,WAAW,EACX,iBAAiB,EACjB,OAAO,CACR,CAAC;YACF,IAAI,IAAI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AAC;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"]}
@@ -0,0 +1,52 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Account, AccountsListByResourceGroupOptionalParams, AccountsListOptionalParams, AccountsGetOptionalParams, AccountsGetResponse, AccountsCreateOrUpdateOptionalParams, AccountsCreateOrUpdateResponse, AccountsDeleteOptionalParams, AccountUpdateParameters, AccountsUpdateOptionalParams, AccountsUpdateResponse } from "../models/index.js";
3
+ /** Interface representing a Accounts. */
4
+ export interface Accounts {
5
+ /**
6
+ * Lists all the available machine learning team accounts under the specified resource group.
7
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
8
+ * belongs.
9
+ * @param options The options parameters.
10
+ */
11
+ listByResourceGroup(resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Account>;
12
+ /**
13
+ * Lists all the available machine learning team accounts under the specified subscription.
14
+ * @param options The options parameters.
15
+ */
16
+ list(options?: AccountsListOptionalParams): PagedAsyncIterableIterator<Account>;
17
+ /**
18
+ * Gets the properties of the specified machine learning team account.
19
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
20
+ * belongs.
21
+ * @param accountName The name of the machine learning team account.
22
+ * @param options The options parameters.
23
+ */
24
+ get(resourceGroupName: string, accountName: string, options?: AccountsGetOptionalParams): Promise<AccountsGetResponse>;
25
+ /**
26
+ * Creates or updates a team account with the specified parameters.
27
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
28
+ * belongs.
29
+ * @param accountName The name of the machine learning team account.
30
+ * @param parameters The parameters for creating or updating a machine learning team account.
31
+ * @param options The options parameters.
32
+ */
33
+ createOrUpdate(resourceGroupName: string, accountName: string, parameters: Account, options?: AccountsCreateOrUpdateOptionalParams): Promise<AccountsCreateOrUpdateResponse>;
34
+ /**
35
+ * Deletes a machine learning team account.
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 options The options parameters.
40
+ */
41
+ delete(resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams): Promise<void>;
42
+ /**
43
+ * Updates a machine learning team account with the specified parameters.
44
+ * @param resourceGroupName The name of the resource group to which the machine learning team account
45
+ * belongs.
46
+ * @param accountName The name of the machine learning team account.
47
+ * @param parameters The parameters for updating a machine learning team account.
48
+ * @param options The options parameters.
49
+ */
50
+ update(resourceGroupName: string, accountName: string, parameters: AccountUpdateParameters, options?: AccountsUpdateOptionalParams): Promise<AccountsUpdateResponse>;
51
+ }
52
+ //# sourceMappingURL=accounts.d.ts.map
@@ -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,10 @@
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
+ //# sourceMappingURL=accounts.js.map
@@ -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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,15 @@
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
+ const tslib_1 = require("tslib");
11
+ tslib_1.__exportStar(require("./operations.js"), exports);
12
+ tslib_1.__exportStar(require("./accounts.js"), exports);
13
+ tslib_1.__exportStar(require("./workspaces.js"), exports);
14
+ tslib_1.__exportStar(require("./projects.js"), exports);
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,0DAAgC;AAChC,wDAA8B;AAC9B,0DAAgC;AAChC,wDAA8B","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,11 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
3
+ /** Interface representing a Operations. */
4
+ export interface Operations {
5
+ /**
6
+ * Lists all of the available Azure Machine Learning Team Accounts REST API operations.
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
10
+ }
11
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +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,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,10 @@
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
+ //# sourceMappingURL=operations.js.map
@@ -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"]}