@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
package/dist/index.js DELETED
@@ -1,1926 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var tslib = require('tslib');
6
- var coreClient = require('@azure/core-client');
7
- var coreRestPipeline = require('@azure/core-rest-pipeline');
8
-
9
- function _interopNamespace(e) {
10
- if (e && e.__esModule) return e;
11
- var n = Object.create(null);
12
- if (e) {
13
- Object.keys(e).forEach(function (k) {
14
- if (k !== 'default') {
15
- var d = Object.getOwnPropertyDescriptor(e, k);
16
- Object.defineProperty(n, k, d.get ? d : {
17
- enumerable: true,
18
- get: function () { return e[k]; }
19
- });
20
- }
21
- });
22
- }
23
- n["default"] = e;
24
- return Object.freeze(n);
25
- }
26
-
27
- var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
28
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
29
-
30
- /*
31
- * Copyright (c) Microsoft Corporation.
32
- * Licensed under the MIT License.
33
- *
34
- * Code generated by Microsoft (R) AutoRest Code Generator.
35
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
36
- */
37
- const pageMap = new WeakMap();
38
- /**
39
- * Given the last `.value` produced by the `byPage` iterator,
40
- * returns a continuation token that can be used to begin paging from
41
- * that point later.
42
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
43
- * @returns The continuation token that can be passed into byPage() during future calls.
44
- */
45
- function getContinuationToken(page) {
46
- var _a;
47
- if (typeof page !== "object" || page === null) {
48
- return undefined;
49
- }
50
- return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
51
- }
52
- function setContinuationToken(page, continuationToken) {
53
- var _a;
54
- if (typeof page !== "object" || page === null || !continuationToken) {
55
- return;
56
- }
57
- const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
58
- pageInfo.continuationToken = continuationToken;
59
- pageMap.set(page, pageInfo);
60
- }
61
-
62
- /*
63
- * Copyright (c) Microsoft Corporation.
64
- * Licensed under the MIT License.
65
- *
66
- * Code generated by Microsoft (R) AutoRest Code Generator.
67
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
68
- */
69
- const OperationListResult = {
70
- type: {
71
- name: "Composite",
72
- className: "OperationListResult",
73
- modelProperties: {
74
- value: {
75
- serializedName: "value",
76
- type: {
77
- name: "Sequence",
78
- element: {
79
- type: {
80
- name: "Composite",
81
- className: "Operation"
82
- }
83
- }
84
- }
85
- }
86
- }
87
- }
88
- };
89
- const Operation = {
90
- type: {
91
- name: "Composite",
92
- className: "Operation",
93
- modelProperties: {
94
- name: {
95
- serializedName: "name",
96
- type: {
97
- name: "String"
98
- }
99
- },
100
- display: {
101
- serializedName: "display",
102
- type: {
103
- name: "Composite",
104
- className: "OperationDisplay"
105
- }
106
- }
107
- }
108
- }
109
- };
110
- const OperationDisplay = {
111
- type: {
112
- name: "Composite",
113
- className: "OperationDisplay",
114
- modelProperties: {
115
- provider: {
116
- serializedName: "provider",
117
- type: {
118
- name: "String"
119
- }
120
- },
121
- resource: {
122
- serializedName: "resource",
123
- type: {
124
- name: "String"
125
- }
126
- },
127
- operation: {
128
- serializedName: "operation",
129
- type: {
130
- name: "String"
131
- }
132
- },
133
- description: {
134
- serializedName: "description",
135
- type: {
136
- name: "String"
137
- }
138
- }
139
- }
140
- }
141
- };
142
- const ErrorResponse = {
143
- type: {
144
- name: "Composite",
145
- className: "ErrorResponse",
146
- modelProperties: {
147
- code: {
148
- serializedName: "code",
149
- required: true,
150
- type: {
151
- name: "String"
152
- }
153
- },
154
- message: {
155
- serializedName: "message",
156
- required: true,
157
- type: {
158
- name: "String"
159
- }
160
- }
161
- }
162
- }
163
- };
164
- const StorageAccountProperties = {
165
- type: {
166
- name: "Composite",
167
- className: "StorageAccountProperties",
168
- modelProperties: {
169
- storageAccountId: {
170
- serializedName: "storageAccountId",
171
- required: true,
172
- type: {
173
- name: "String"
174
- }
175
- },
176
- accessKey: {
177
- serializedName: "accessKey",
178
- required: true,
179
- type: {
180
- name: "String"
181
- }
182
- }
183
- }
184
- }
185
- };
186
- const Resource = {
187
- type: {
188
- name: "Composite",
189
- className: "Resource",
190
- modelProperties: {
191
- id: {
192
- serializedName: "id",
193
- readOnly: true,
194
- type: {
195
- name: "String"
196
- }
197
- },
198
- name: {
199
- serializedName: "name",
200
- readOnly: true,
201
- type: {
202
- name: "String"
203
- }
204
- },
205
- type: {
206
- serializedName: "type",
207
- readOnly: true,
208
- type: {
209
- name: "String"
210
- }
211
- },
212
- location: {
213
- serializedName: "location",
214
- required: true,
215
- type: {
216
- name: "String"
217
- }
218
- },
219
- tags: {
220
- serializedName: "tags",
221
- type: {
222
- name: "Dictionary",
223
- value: { type: { name: "String" } }
224
- }
225
- }
226
- }
227
- }
228
- };
229
- const AccountUpdateParameters = {
230
- type: {
231
- name: "Composite",
232
- className: "AccountUpdateParameters",
233
- modelProperties: {
234
- tags: {
235
- serializedName: "tags",
236
- type: {
237
- name: "Dictionary",
238
- value: { type: { name: "String" } }
239
- }
240
- },
241
- description: {
242
- serializedName: "properties.description",
243
- type: {
244
- name: "String"
245
- }
246
- },
247
- friendlyName: {
248
- serializedName: "properties.friendlyName",
249
- type: {
250
- name: "String"
251
- }
252
- },
253
- seats: {
254
- serializedName: "properties.seats",
255
- type: {
256
- name: "String"
257
- }
258
- },
259
- storageAccountKey: {
260
- serializedName: "properties.storageAccountKey",
261
- type: {
262
- name: "String"
263
- }
264
- }
265
- }
266
- }
267
- };
268
- const AccountListResult = {
269
- type: {
270
- name: "Composite",
271
- className: "AccountListResult",
272
- modelProperties: {
273
- value: {
274
- serializedName: "value",
275
- type: {
276
- name: "Sequence",
277
- element: {
278
- type: {
279
- name: "Composite",
280
- className: "Account"
281
- }
282
- }
283
- }
284
- },
285
- nextLink: {
286
- serializedName: "nextLink",
287
- type: {
288
- name: "String"
289
- }
290
- }
291
- }
292
- }
293
- };
294
- const WorkspaceUpdateParameters = {
295
- type: {
296
- name: "Composite",
297
- className: "WorkspaceUpdateParameters",
298
- modelProperties: {
299
- tags: {
300
- serializedName: "tags",
301
- type: {
302
- name: "Dictionary",
303
- value: { type: { name: "String" } }
304
- }
305
- },
306
- friendlyName: {
307
- serializedName: "properties.friendlyName",
308
- type: {
309
- name: "String"
310
- }
311
- },
312
- description: {
313
- serializedName: "properties.description",
314
- type: {
315
- name: "String"
316
- }
317
- }
318
- }
319
- }
320
- };
321
- const WorkspaceListResult = {
322
- type: {
323
- name: "Composite",
324
- className: "WorkspaceListResult",
325
- modelProperties: {
326
- value: {
327
- serializedName: "value",
328
- type: {
329
- name: "Sequence",
330
- element: {
331
- type: {
332
- name: "Composite",
333
- className: "Workspace"
334
- }
335
- }
336
- }
337
- },
338
- nextLink: {
339
- serializedName: "nextLink",
340
- type: {
341
- name: "String"
342
- }
343
- }
344
- }
345
- }
346
- };
347
- const ProjectUpdateParameters = {
348
- type: {
349
- name: "Composite",
350
- className: "ProjectUpdateParameters",
351
- modelProperties: {
352
- tags: {
353
- serializedName: "tags",
354
- type: {
355
- name: "Dictionary",
356
- value: { type: { name: "String" } }
357
- }
358
- },
359
- friendlyName: {
360
- serializedName: "properties.friendlyName",
361
- type: {
362
- name: "String"
363
- }
364
- },
365
- description: {
366
- serializedName: "properties.description",
367
- type: {
368
- name: "String"
369
- }
370
- },
371
- gitrepo: {
372
- serializedName: "properties.gitrepo",
373
- type: {
374
- name: "String"
375
- }
376
- }
377
- }
378
- }
379
- };
380
- const ProjectListResult = {
381
- type: {
382
- name: "Composite",
383
- className: "ProjectListResult",
384
- modelProperties: {
385
- value: {
386
- serializedName: "value",
387
- type: {
388
- name: "Sequence",
389
- element: {
390
- type: {
391
- name: "Composite",
392
- className: "Project"
393
- }
394
- }
395
- }
396
- },
397
- nextLink: {
398
- serializedName: "nextLink",
399
- type: {
400
- name: "String"
401
- }
402
- }
403
- }
404
- }
405
- };
406
- const Account = {
407
- type: {
408
- name: "Composite",
409
- className: "Account",
410
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { vsoAccountId: {
411
- serializedName: "properties.vsoAccountId",
412
- type: {
413
- name: "String"
414
- }
415
- }, accountId: {
416
- serializedName: "properties.accountId",
417
- readOnly: true,
418
- type: {
419
- name: "String"
420
- }
421
- }, description: {
422
- serializedName: "properties.description",
423
- type: {
424
- name: "String"
425
- }
426
- }, friendlyName: {
427
- serializedName: "properties.friendlyName",
428
- type: {
429
- name: "String"
430
- }
431
- }, keyVaultId: {
432
- serializedName: "properties.keyVaultId",
433
- type: {
434
- name: "String"
435
- }
436
- }, seats: {
437
- serializedName: "properties.seats",
438
- type: {
439
- name: "String"
440
- }
441
- }, discoveryUri: {
442
- serializedName: "properties.discoveryUri",
443
- readOnly: true,
444
- type: {
445
- name: "String"
446
- }
447
- }, creationDate: {
448
- serializedName: "properties.creationDate",
449
- readOnly: true,
450
- type: {
451
- name: "DateTime"
452
- }
453
- }, storageAccount: {
454
- serializedName: "properties.storageAccount",
455
- type: {
456
- name: "Composite",
457
- className: "StorageAccountProperties"
458
- }
459
- }, provisioningState: {
460
- serializedName: "properties.provisioningState",
461
- readOnly: true,
462
- type: {
463
- name: "Enum",
464
- allowedValues: [
465
- "Creating",
466
- "Succeeded",
467
- "Updating",
468
- "Deleting",
469
- "Failed"
470
- ]
471
- }
472
- } })
473
- }
474
- };
475
- const Workspace = {
476
- type: {
477
- name: "Composite",
478
- className: "Workspace",
479
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { description: {
480
- serializedName: "properties.description",
481
- type: {
482
- name: "String"
483
- }
484
- }, accountId: {
485
- serializedName: "properties.accountId",
486
- readOnly: true,
487
- type: {
488
- name: "String"
489
- }
490
- }, workspaceId: {
491
- serializedName: "properties.workspaceId",
492
- readOnly: true,
493
- type: {
494
- name: "String"
495
- }
496
- }, friendlyName: {
497
- serializedName: "properties.friendlyName",
498
- type: {
499
- name: "String"
500
- }
501
- }, creationDate: {
502
- serializedName: "properties.creationDate",
503
- readOnly: true,
504
- type: {
505
- name: "DateTime"
506
- }
507
- }, provisioningState: {
508
- serializedName: "properties.provisioningState",
509
- readOnly: true,
510
- type: {
511
- name: "Enum",
512
- allowedValues: [
513
- "Creating",
514
- "Succeeded",
515
- "Updating",
516
- "Deleting",
517
- "Failed"
518
- ]
519
- }
520
- } })
521
- }
522
- };
523
- const Project = {
524
- type: {
525
- name: "Composite",
526
- className: "Project",
527
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { description: {
528
- serializedName: "properties.description",
529
- type: {
530
- name: "String"
531
- }
532
- }, accountId: {
533
- serializedName: "properties.accountId",
534
- readOnly: true,
535
- type: {
536
- name: "String"
537
- }
538
- }, workspaceId: {
539
- serializedName: "properties.workspaceId",
540
- readOnly: true,
541
- type: {
542
- name: "String"
543
- }
544
- }, projectId: {
545
- serializedName: "properties.projectId",
546
- readOnly: true,
547
- type: {
548
- name: "String"
549
- }
550
- }, gitrepo: {
551
- serializedName: "properties.gitrepo",
552
- type: {
553
- name: "String"
554
- }
555
- }, friendlyName: {
556
- serializedName: "properties.friendlyName",
557
- type: {
558
- name: "String"
559
- }
560
- }, creationDate: {
561
- serializedName: "properties.creationDate",
562
- readOnly: true,
563
- type: {
564
- name: "DateTime"
565
- }
566
- }, provisioningState: {
567
- serializedName: "properties.provisioningState",
568
- readOnly: true,
569
- type: {
570
- name: "Enum",
571
- allowedValues: [
572
- "Creating",
573
- "Succeeded",
574
- "Updating",
575
- "Deleting",
576
- "Failed"
577
- ]
578
- }
579
- } })
580
- }
581
- };
582
-
583
- var Mappers = /*#__PURE__*/Object.freeze({
584
- __proto__: null,
585
- OperationListResult: OperationListResult,
586
- Operation: Operation,
587
- OperationDisplay: OperationDisplay,
588
- ErrorResponse: ErrorResponse,
589
- StorageAccountProperties: StorageAccountProperties,
590
- Resource: Resource,
591
- AccountUpdateParameters: AccountUpdateParameters,
592
- AccountListResult: AccountListResult,
593
- WorkspaceUpdateParameters: WorkspaceUpdateParameters,
594
- WorkspaceListResult: WorkspaceListResult,
595
- ProjectUpdateParameters: ProjectUpdateParameters,
596
- ProjectListResult: ProjectListResult,
597
- Account: Account,
598
- Workspace: Workspace,
599
- Project: Project
600
- });
601
-
602
- /*
603
- * Copyright (c) Microsoft Corporation.
604
- * Licensed under the MIT License.
605
- *
606
- * Code generated by Microsoft (R) AutoRest Code Generator.
607
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
608
- */
609
- const accept = {
610
- parameterPath: "accept",
611
- mapper: {
612
- defaultValue: "application/json",
613
- isConstant: true,
614
- serializedName: "Accept",
615
- type: {
616
- name: "String"
617
- }
618
- }
619
- };
620
- const $host = {
621
- parameterPath: "$host",
622
- mapper: {
623
- serializedName: "$host",
624
- required: true,
625
- type: {
626
- name: "String"
627
- }
628
- },
629
- skipEncoding: true
630
- };
631
- const apiVersion = {
632
- parameterPath: "apiVersion",
633
- mapper: {
634
- defaultValue: "2017-05-01-preview",
635
- isConstant: true,
636
- serializedName: "api-version",
637
- type: {
638
- name: "String"
639
- }
640
- }
641
- };
642
- const subscriptionId = {
643
- parameterPath: "subscriptionId",
644
- mapper: {
645
- serializedName: "subscriptionId",
646
- required: true,
647
- type: {
648
- name: "String"
649
- }
650
- }
651
- };
652
- const resourceGroupName = {
653
- parameterPath: "resourceGroupName",
654
- mapper: {
655
- serializedName: "resourceGroupName",
656
- required: true,
657
- type: {
658
- name: "String"
659
- }
660
- }
661
- };
662
- const accountName = {
663
- parameterPath: "accountName",
664
- mapper: {
665
- constraints: {
666
- Pattern: new RegExp("^[a-zA-Z0-9]*$"),
667
- MaxLength: 50,
668
- MinLength: 5
669
- },
670
- serializedName: "accountName",
671
- required: true,
672
- type: {
673
- name: "String"
674
- }
675
- }
676
- };
677
- const contentType = {
678
- parameterPath: ["options", "contentType"],
679
- mapper: {
680
- defaultValue: "application/json",
681
- isConstant: true,
682
- serializedName: "Content-Type",
683
- type: {
684
- name: "String"
685
- }
686
- }
687
- };
688
- const parameters = {
689
- parameterPath: "parameters",
690
- mapper: Account
691
- };
692
- const parameters1 = {
693
- parameterPath: "parameters",
694
- mapper: AccountUpdateParameters
695
- };
696
- const nextLink = {
697
- parameterPath: "nextLink",
698
- mapper: {
699
- serializedName: "nextLink",
700
- required: true,
701
- type: {
702
- name: "String"
703
- }
704
- },
705
- skipEncoding: true
706
- };
707
- const workspaceName = {
708
- parameterPath: "workspaceName",
709
- mapper: {
710
- constraints: {
711
- Pattern: new RegExp("^[a-zA-Z0-9]*$"),
712
- MaxLength: 50,
713
- MinLength: 5
714
- },
715
- serializedName: "workspaceName",
716
- required: true,
717
- type: {
718
- name: "String"
719
- }
720
- }
721
- };
722
- const parameters2 = {
723
- parameterPath: "parameters",
724
- mapper: Workspace
725
- };
726
- const parameters3 = {
727
- parameterPath: "parameters",
728
- mapper: WorkspaceUpdateParameters
729
- };
730
- const projectName = {
731
- parameterPath: "projectName",
732
- mapper: {
733
- constraints: {
734
- Pattern: new RegExp("^[a-zA-Z0-9]*$"),
735
- MaxLength: 50,
736
- MinLength: 5
737
- },
738
- serializedName: "projectName",
739
- required: true,
740
- type: {
741
- name: "String"
742
- }
743
- }
744
- };
745
- const parameters4 = {
746
- parameterPath: "parameters",
747
- mapper: Project
748
- };
749
- const parameters5 = {
750
- parameterPath: "parameters",
751
- mapper: ProjectUpdateParameters
752
- };
753
-
754
- /*
755
- * Copyright (c) Microsoft Corporation.
756
- * Licensed under the MIT License.
757
- *
758
- * Code generated by Microsoft (R) AutoRest Code Generator.
759
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
760
- */
761
- /// <reference lib="esnext.asynciterable" />
762
- /** Class containing Operations operations. */
763
- class OperationsImpl {
764
- /**
765
- * Initialize a new instance of the class Operations class.
766
- * @param client Reference to the service client
767
- */
768
- constructor(client) {
769
- this.client = client;
770
- }
771
- /**
772
- * Lists all of the available Azure Machine Learning Team Accounts REST API operations.
773
- * @param options The options parameters.
774
- */
775
- list(options) {
776
- const iter = this.listPagingAll(options);
777
- return {
778
- next() {
779
- return iter.next();
780
- },
781
- [Symbol.asyncIterator]() {
782
- return this;
783
- },
784
- byPage: (settings) => {
785
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
786
- throw new Error("maxPageSize is not supported by this operation.");
787
- }
788
- return this.listPagingPage(options, settings);
789
- }
790
- };
791
- }
792
- listPagingPage(options, _settings) {
793
- return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
794
- let result;
795
- result = yield tslib.__await(this._list(options));
796
- yield yield tslib.__await(result.value || []);
797
- });
798
- }
799
- listPagingAll(options) {
800
- return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
801
- var e_1, _a;
802
- try {
803
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
804
- const page = _c.value;
805
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
806
- }
807
- }
808
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
809
- finally {
810
- try {
811
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
812
- }
813
- finally { if (e_1) throw e_1.error; }
814
- }
815
- });
816
- }
817
- /**
818
- * Lists all of the available Azure Machine Learning Team Accounts REST API operations.
819
- * @param options The options parameters.
820
- */
821
- _list(options) {
822
- return this.client.sendOperationRequest({ options }, listOperationSpec$1);
823
- }
824
- }
825
- // Operation Specifications
826
- const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
827
- const listOperationSpec$1 = {
828
- path: "/providers/Microsoft.MachineLearningExperimentation/operations",
829
- httpMethod: "GET",
830
- responses: {
831
- 200: {
832
- bodyMapper: OperationListResult
833
- },
834
- default: {
835
- bodyMapper: ErrorResponse
836
- }
837
- },
838
- queryParameters: [apiVersion],
839
- urlParameters: [$host],
840
- headerParameters: [accept],
841
- serializer: serializer$3
842
- };
843
-
844
- /*
845
- * Copyright (c) Microsoft Corporation.
846
- * Licensed under the MIT License.
847
- *
848
- * Code generated by Microsoft (R) AutoRest Code Generator.
849
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
850
- */
851
- /// <reference lib="esnext.asynciterable" />
852
- /** Class containing Accounts operations. */
853
- class AccountsImpl {
854
- /**
855
- * Initialize a new instance of the class Accounts class.
856
- * @param client Reference to the service client
857
- */
858
- constructor(client) {
859
- this.client = client;
860
- }
861
- /**
862
- * Lists all the available machine learning team accounts under the specified resource group.
863
- * @param resourceGroupName The name of the resource group to which the machine learning team account
864
- * belongs.
865
- * @param options The options parameters.
866
- */
867
- listByResourceGroup(resourceGroupName, options) {
868
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
869
- return {
870
- next() {
871
- return iter.next();
872
- },
873
- [Symbol.asyncIterator]() {
874
- return this;
875
- },
876
- byPage: (settings) => {
877
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
878
- throw new Error("maxPageSize is not supported by this operation.");
879
- }
880
- return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
881
- }
882
- };
883
- }
884
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
885
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
886
- let result;
887
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
888
- if (!continuationToken) {
889
- result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
890
- let page = result.value || [];
891
- continuationToken = result.nextLink;
892
- setContinuationToken(page, continuationToken);
893
- yield yield tslib.__await(page);
894
- }
895
- while (continuationToken) {
896
- result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
897
- continuationToken = result.nextLink;
898
- let page = result.value || [];
899
- setContinuationToken(page, continuationToken);
900
- yield yield tslib.__await(page);
901
- }
902
- });
903
- }
904
- listByResourceGroupPagingAll(resourceGroupName, options) {
905
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
906
- var e_1, _a;
907
- try {
908
- for (var _b = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
909
- const page = _c.value;
910
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
911
- }
912
- }
913
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
914
- finally {
915
- try {
916
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
917
- }
918
- finally { if (e_1) throw e_1.error; }
919
- }
920
- });
921
- }
922
- /**
923
- * Lists all the available machine learning team accounts under the specified subscription.
924
- * @param options The options parameters.
925
- */
926
- list(options) {
927
- const iter = this.listPagingAll(options);
928
- return {
929
- next() {
930
- return iter.next();
931
- },
932
- [Symbol.asyncIterator]() {
933
- return this;
934
- },
935
- byPage: (settings) => {
936
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
937
- throw new Error("maxPageSize is not supported by this operation.");
938
- }
939
- return this.listPagingPage(options, settings);
940
- }
941
- };
942
- }
943
- listPagingPage(options, settings) {
944
- return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
945
- let result;
946
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
947
- if (!continuationToken) {
948
- result = yield tslib.__await(this._list(options));
949
- let page = result.value || [];
950
- continuationToken = result.nextLink;
951
- setContinuationToken(page, continuationToken);
952
- yield yield tslib.__await(page);
953
- }
954
- while (continuationToken) {
955
- result = yield tslib.__await(this._listNext(continuationToken, options));
956
- continuationToken = result.nextLink;
957
- let page = result.value || [];
958
- setContinuationToken(page, continuationToken);
959
- yield yield tslib.__await(page);
960
- }
961
- });
962
- }
963
- listPagingAll(options) {
964
- return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
965
- var e_2, _a;
966
- try {
967
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
968
- const page = _c.value;
969
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
970
- }
971
- }
972
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
973
- finally {
974
- try {
975
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
976
- }
977
- finally { if (e_2) throw e_2.error; }
978
- }
979
- });
980
- }
981
- /**
982
- * Gets the properties of the specified machine learning team account.
983
- * @param resourceGroupName The name of the resource group to which the machine learning team account
984
- * belongs.
985
- * @param accountName The name of the machine learning team account.
986
- * @param options The options parameters.
987
- */
988
- get(resourceGroupName, accountName, options) {
989
- return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getOperationSpec$2);
990
- }
991
- /**
992
- * Creates or updates a team account with the specified parameters.
993
- * @param resourceGroupName The name of the resource group to which the machine learning team account
994
- * belongs.
995
- * @param accountName The name of the machine learning team account.
996
- * @param parameters The parameters for creating or updating a machine learning team account.
997
- * @param options The options parameters.
998
- */
999
- createOrUpdate(resourceGroupName, accountName, parameters, options) {
1000
- return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, createOrUpdateOperationSpec$2);
1001
- }
1002
- /**
1003
- * Deletes a machine learning team account.
1004
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1005
- * belongs.
1006
- * @param accountName The name of the machine learning team account.
1007
- * @param options The options parameters.
1008
- */
1009
- delete(resourceGroupName, accountName, options) {
1010
- return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, deleteOperationSpec$2);
1011
- }
1012
- /**
1013
- * Updates a machine learning team account with the specified parameters.
1014
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1015
- * belongs.
1016
- * @param accountName The name of the machine learning team account.
1017
- * @param parameters The parameters for updating a machine learning team account.
1018
- * @param options The options parameters.
1019
- */
1020
- update(resourceGroupName, accountName, parameters, options) {
1021
- return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, updateOperationSpec$2);
1022
- }
1023
- /**
1024
- * Lists all the available machine learning team accounts under the specified resource group.
1025
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1026
- * belongs.
1027
- * @param options The options parameters.
1028
- */
1029
- _listByResourceGroup(resourceGroupName, options) {
1030
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
1031
- }
1032
- /**
1033
- * Lists all the available machine learning team accounts under the specified subscription.
1034
- * @param options The options parameters.
1035
- */
1036
- _list(options) {
1037
- return this.client.sendOperationRequest({ options }, listOperationSpec);
1038
- }
1039
- /**
1040
- * ListByResourceGroupNext
1041
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1042
- * belongs.
1043
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
1044
- * @param options The options parameters.
1045
- */
1046
- _listByResourceGroupNext(resourceGroupName, nextLink, options) {
1047
- return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
1048
- }
1049
- /**
1050
- * ListNext
1051
- * @param nextLink The nextLink from the previous successful call to the List method.
1052
- * @param options The options parameters.
1053
- */
1054
- _listNext(nextLink, options) {
1055
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
1056
- }
1057
- }
1058
- // Operation Specifications
1059
- const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1060
- const getOperationSpec$2 = {
1061
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
1062
- httpMethod: "GET",
1063
- responses: {
1064
- 200: {
1065
- bodyMapper: Account
1066
- },
1067
- default: {
1068
- bodyMapper: ErrorResponse
1069
- }
1070
- },
1071
- queryParameters: [apiVersion],
1072
- urlParameters: [
1073
- $host,
1074
- subscriptionId,
1075
- resourceGroupName,
1076
- accountName
1077
- ],
1078
- headerParameters: [accept],
1079
- serializer: serializer$2
1080
- };
1081
- const createOrUpdateOperationSpec$2 = {
1082
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
1083
- httpMethod: "PUT",
1084
- responses: {
1085
- 200: {
1086
- bodyMapper: Account
1087
- },
1088
- 201: {
1089
- bodyMapper: Account
1090
- },
1091
- default: {
1092
- bodyMapper: ErrorResponse
1093
- }
1094
- },
1095
- requestBody: parameters,
1096
- queryParameters: [apiVersion],
1097
- urlParameters: [
1098
- $host,
1099
- subscriptionId,
1100
- resourceGroupName,
1101
- accountName
1102
- ],
1103
- headerParameters: [accept, contentType],
1104
- mediaType: "json",
1105
- serializer: serializer$2
1106
- };
1107
- const deleteOperationSpec$2 = {
1108
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
1109
- httpMethod: "DELETE",
1110
- responses: {
1111
- 200: {},
1112
- 204: {},
1113
- default: {
1114
- bodyMapper: ErrorResponse
1115
- }
1116
- },
1117
- queryParameters: [apiVersion],
1118
- urlParameters: [
1119
- $host,
1120
- subscriptionId,
1121
- resourceGroupName,
1122
- accountName
1123
- ],
1124
- headerParameters: [accept],
1125
- serializer: serializer$2
1126
- };
1127
- const updateOperationSpec$2 = {
1128
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}",
1129
- httpMethod: "PATCH",
1130
- responses: {
1131
- 200: {
1132
- bodyMapper: Account
1133
- },
1134
- default: {
1135
- bodyMapper: ErrorResponse
1136
- }
1137
- },
1138
- requestBody: parameters1,
1139
- queryParameters: [apiVersion],
1140
- urlParameters: [
1141
- $host,
1142
- subscriptionId,
1143
- resourceGroupName,
1144
- accountName
1145
- ],
1146
- headerParameters: [accept, contentType],
1147
- mediaType: "json",
1148
- serializer: serializer$2
1149
- };
1150
- const listByResourceGroupOperationSpec = {
1151
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts",
1152
- httpMethod: "GET",
1153
- responses: {
1154
- 200: {
1155
- bodyMapper: AccountListResult
1156
- },
1157
- default: {
1158
- bodyMapper: ErrorResponse
1159
- }
1160
- },
1161
- queryParameters: [apiVersion],
1162
- urlParameters: [
1163
- $host,
1164
- subscriptionId,
1165
- resourceGroupName
1166
- ],
1167
- headerParameters: [accept],
1168
- serializer: serializer$2
1169
- };
1170
- const listOperationSpec = {
1171
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningExperimentation/accounts",
1172
- httpMethod: "GET",
1173
- responses: {
1174
- 200: {
1175
- bodyMapper: AccountListResult
1176
- },
1177
- default: {
1178
- bodyMapper: ErrorResponse
1179
- }
1180
- },
1181
- queryParameters: [apiVersion],
1182
- urlParameters: [$host, subscriptionId],
1183
- headerParameters: [accept],
1184
- serializer: serializer$2
1185
- };
1186
- const listByResourceGroupNextOperationSpec = {
1187
- path: "{nextLink}",
1188
- httpMethod: "GET",
1189
- responses: {
1190
- 200: {
1191
- bodyMapper: AccountListResult
1192
- },
1193
- default: {
1194
- bodyMapper: ErrorResponse
1195
- }
1196
- },
1197
- urlParameters: [
1198
- $host,
1199
- subscriptionId,
1200
- resourceGroupName,
1201
- nextLink
1202
- ],
1203
- headerParameters: [accept],
1204
- serializer: serializer$2
1205
- };
1206
- const listNextOperationSpec = {
1207
- path: "{nextLink}",
1208
- httpMethod: "GET",
1209
- responses: {
1210
- 200: {
1211
- bodyMapper: AccountListResult
1212
- },
1213
- default: {
1214
- bodyMapper: ErrorResponse
1215
- }
1216
- },
1217
- urlParameters: [
1218
- $host,
1219
- subscriptionId,
1220
- nextLink
1221
- ],
1222
- headerParameters: [accept],
1223
- serializer: serializer$2
1224
- };
1225
-
1226
- /*
1227
- * Copyright (c) Microsoft Corporation.
1228
- * Licensed under the MIT License.
1229
- *
1230
- * Code generated by Microsoft (R) AutoRest Code Generator.
1231
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1232
- */
1233
- /// <reference lib="esnext.asynciterable" />
1234
- /** Class containing Workspaces operations. */
1235
- class WorkspacesImpl {
1236
- /**
1237
- * Initialize a new instance of the class Workspaces class.
1238
- * @param client Reference to the service client
1239
- */
1240
- constructor(client) {
1241
- this.client = client;
1242
- }
1243
- /**
1244
- * Lists all the available machine learning workspaces under the specified team account.
1245
- * @param accountName The name of the machine learning team account.
1246
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1247
- * belongs.
1248
- * @param options The options parameters.
1249
- */
1250
- listByAccounts(accountName, resourceGroupName, options) {
1251
- const iter = this.listByAccountsPagingAll(accountName, resourceGroupName, options);
1252
- return {
1253
- next() {
1254
- return iter.next();
1255
- },
1256
- [Symbol.asyncIterator]() {
1257
- return this;
1258
- },
1259
- byPage: (settings) => {
1260
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
1261
- throw new Error("maxPageSize is not supported by this operation.");
1262
- }
1263
- return this.listByAccountsPagingPage(accountName, resourceGroupName, options, settings);
1264
- }
1265
- };
1266
- }
1267
- listByAccountsPagingPage(accountName, resourceGroupName, options, settings) {
1268
- return tslib.__asyncGenerator(this, arguments, function* listByAccountsPagingPage_1() {
1269
- let result;
1270
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
1271
- if (!continuationToken) {
1272
- result = yield tslib.__await(this._listByAccounts(accountName, resourceGroupName, options));
1273
- let page = result.value || [];
1274
- continuationToken = result.nextLink;
1275
- setContinuationToken(page, continuationToken);
1276
- yield yield tslib.__await(page);
1277
- }
1278
- while (continuationToken) {
1279
- result = yield tslib.__await(this._listByAccountsNext(accountName, resourceGroupName, continuationToken, options));
1280
- continuationToken = result.nextLink;
1281
- let page = result.value || [];
1282
- setContinuationToken(page, continuationToken);
1283
- yield yield tslib.__await(page);
1284
- }
1285
- });
1286
- }
1287
- listByAccountsPagingAll(accountName, resourceGroupName, options) {
1288
- return tslib.__asyncGenerator(this, arguments, function* listByAccountsPagingAll_1() {
1289
- var e_1, _a;
1290
- try {
1291
- for (var _b = tslib.__asyncValues(this.listByAccountsPagingPage(accountName, resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1292
- const page = _c.value;
1293
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1294
- }
1295
- }
1296
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1297
- finally {
1298
- try {
1299
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1300
- }
1301
- finally { if (e_1) throw e_1.error; }
1302
- }
1303
- });
1304
- }
1305
- /**
1306
- * Gets the properties of the specified machine learning workspace.
1307
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1308
- * belongs.
1309
- * @param accountName The name of the machine learning team account.
1310
- * @param workspaceName The name of the machine learning team account workspace.
1311
- * @param options The options parameters.
1312
- */
1313
- get(resourceGroupName, accountName, workspaceName, options) {
1314
- return this.client.sendOperationRequest({ resourceGroupName, accountName, workspaceName, options }, getOperationSpec$1);
1315
- }
1316
- /**
1317
- * Creates or updates a machine learning workspace with the specified parameters.
1318
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1319
- * belongs.
1320
- * @param accountName The name of the machine learning team account.
1321
- * @param workspaceName The name of the machine learning team account workspace.
1322
- * @param parameters The parameters for creating or updating a machine learning workspace.
1323
- * @param options The options parameters.
1324
- */
1325
- createOrUpdate(resourceGroupName, accountName, workspaceName, parameters, options) {
1326
- return this.client.sendOperationRequest({ resourceGroupName, accountName, workspaceName, parameters, options }, createOrUpdateOperationSpec$1);
1327
- }
1328
- /**
1329
- * Deletes a machine learning workspace.
1330
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1331
- * belongs.
1332
- * @param accountName The name of the machine learning team account.
1333
- * @param workspaceName The name of the machine learning team account workspace.
1334
- * @param options The options parameters.
1335
- */
1336
- delete(resourceGroupName, accountName, workspaceName, options) {
1337
- return this.client.sendOperationRequest({ resourceGroupName, accountName, workspaceName, options }, deleteOperationSpec$1);
1338
- }
1339
- /**
1340
- * Updates a machine learning workspace with the specified parameters.
1341
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1342
- * belongs.
1343
- * @param accountName The name of the machine learning team account.
1344
- * @param workspaceName The name of the machine learning team account workspace.
1345
- * @param parameters The parameters for updating a machine learning workspace.
1346
- * @param options The options parameters.
1347
- */
1348
- update(resourceGroupName, accountName, workspaceName, parameters, options) {
1349
- return this.client.sendOperationRequest({ resourceGroupName, accountName, workspaceName, parameters, options }, updateOperationSpec$1);
1350
- }
1351
- /**
1352
- * Lists all the available machine learning workspaces under the specified team account.
1353
- * @param accountName The name of the machine learning team account.
1354
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1355
- * belongs.
1356
- * @param options The options parameters.
1357
- */
1358
- _listByAccounts(accountName, resourceGroupName, options) {
1359
- return this.client.sendOperationRequest({ accountName, resourceGroupName, options }, listByAccountsOperationSpec);
1360
- }
1361
- /**
1362
- * ListByAccountsNext
1363
- * @param accountName The name of the machine learning team account.
1364
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1365
- * belongs.
1366
- * @param nextLink The nextLink from the previous successful call to the ListByAccounts method.
1367
- * @param options The options parameters.
1368
- */
1369
- _listByAccountsNext(accountName, resourceGroupName, nextLink, options) {
1370
- return this.client.sendOperationRequest({ accountName, resourceGroupName, nextLink, options }, listByAccountsNextOperationSpec);
1371
- }
1372
- }
1373
- // Operation Specifications
1374
- const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1375
- const getOperationSpec$1 = {
1376
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
1377
- httpMethod: "GET",
1378
- responses: {
1379
- 200: {
1380
- bodyMapper: Workspace
1381
- },
1382
- default: {
1383
- bodyMapper: ErrorResponse
1384
- }
1385
- },
1386
- queryParameters: [apiVersion],
1387
- urlParameters: [
1388
- $host,
1389
- subscriptionId,
1390
- resourceGroupName,
1391
- accountName,
1392
- workspaceName
1393
- ],
1394
- headerParameters: [accept],
1395
- serializer: serializer$1
1396
- };
1397
- const createOrUpdateOperationSpec$1 = {
1398
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
1399
- httpMethod: "PUT",
1400
- responses: {
1401
- 200: {
1402
- bodyMapper: Workspace
1403
- },
1404
- 201: {
1405
- bodyMapper: Workspace
1406
- },
1407
- default: {
1408
- bodyMapper: ErrorResponse
1409
- }
1410
- },
1411
- requestBody: parameters2,
1412
- queryParameters: [apiVersion],
1413
- urlParameters: [
1414
- $host,
1415
- subscriptionId,
1416
- resourceGroupName,
1417
- accountName,
1418
- workspaceName
1419
- ],
1420
- headerParameters: [accept, contentType],
1421
- mediaType: "json",
1422
- serializer: serializer$1
1423
- };
1424
- const deleteOperationSpec$1 = {
1425
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
1426
- httpMethod: "DELETE",
1427
- responses: {
1428
- 200: {},
1429
- 204: {},
1430
- default: {
1431
- bodyMapper: ErrorResponse
1432
- }
1433
- },
1434
- queryParameters: [apiVersion],
1435
- urlParameters: [
1436
- $host,
1437
- subscriptionId,
1438
- resourceGroupName,
1439
- accountName,
1440
- workspaceName
1441
- ],
1442
- headerParameters: [accept],
1443
- serializer: serializer$1
1444
- };
1445
- const updateOperationSpec$1 = {
1446
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}",
1447
- httpMethod: "PATCH",
1448
- responses: {
1449
- 200: {
1450
- bodyMapper: Workspace
1451
- },
1452
- default: {
1453
- bodyMapper: ErrorResponse
1454
- }
1455
- },
1456
- requestBody: parameters3,
1457
- queryParameters: [apiVersion],
1458
- urlParameters: [
1459
- $host,
1460
- subscriptionId,
1461
- resourceGroupName,
1462
- accountName,
1463
- workspaceName
1464
- ],
1465
- headerParameters: [accept, contentType],
1466
- mediaType: "json",
1467
- serializer: serializer$1
1468
- };
1469
- const listByAccountsOperationSpec = {
1470
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces",
1471
- httpMethod: "GET",
1472
- responses: {
1473
- 200: {
1474
- bodyMapper: WorkspaceListResult
1475
- },
1476
- default: {
1477
- bodyMapper: ErrorResponse
1478
- }
1479
- },
1480
- queryParameters: [apiVersion],
1481
- urlParameters: [
1482
- $host,
1483
- subscriptionId,
1484
- resourceGroupName,
1485
- accountName
1486
- ],
1487
- headerParameters: [accept],
1488
- serializer: serializer$1
1489
- };
1490
- const listByAccountsNextOperationSpec = {
1491
- path: "{nextLink}",
1492
- httpMethod: "GET",
1493
- responses: {
1494
- 200: {
1495
- bodyMapper: WorkspaceListResult
1496
- },
1497
- default: {
1498
- bodyMapper: ErrorResponse
1499
- }
1500
- },
1501
- urlParameters: [
1502
- $host,
1503
- subscriptionId,
1504
- resourceGroupName,
1505
- accountName,
1506
- nextLink
1507
- ],
1508
- headerParameters: [accept],
1509
- serializer: serializer$1
1510
- };
1511
-
1512
- /*
1513
- * Copyright (c) Microsoft Corporation.
1514
- * Licensed under the MIT License.
1515
- *
1516
- * Code generated by Microsoft (R) AutoRest Code Generator.
1517
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1518
- */
1519
- /// <reference lib="esnext.asynciterable" />
1520
- /** Class containing Projects operations. */
1521
- class ProjectsImpl {
1522
- /**
1523
- * Initialize a new instance of the class Projects class.
1524
- * @param client Reference to the service client
1525
- */
1526
- constructor(client) {
1527
- this.client = client;
1528
- }
1529
- /**
1530
- * Lists all the available machine learning projects under the specified workspace.
1531
- * @param accountName The name of the machine learning team account.
1532
- * @param workspaceName The name of the machine learning team account workspace.
1533
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1534
- * belongs.
1535
- * @param options The options parameters.
1536
- */
1537
- listByWorkspace(accountName, workspaceName, resourceGroupName, options) {
1538
- const iter = this.listByWorkspacePagingAll(accountName, workspaceName, resourceGroupName, options);
1539
- return {
1540
- next() {
1541
- return iter.next();
1542
- },
1543
- [Symbol.asyncIterator]() {
1544
- return this;
1545
- },
1546
- byPage: (settings) => {
1547
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
1548
- throw new Error("maxPageSize is not supported by this operation.");
1549
- }
1550
- return this.listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options, settings);
1551
- }
1552
- };
1553
- }
1554
- listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options, settings) {
1555
- return tslib.__asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
1556
- let result;
1557
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
1558
- if (!continuationToken) {
1559
- result = yield tslib.__await(this._listByWorkspace(accountName, workspaceName, resourceGroupName, options));
1560
- let page = result.value || [];
1561
- continuationToken = result.nextLink;
1562
- setContinuationToken(page, continuationToken);
1563
- yield yield tslib.__await(page);
1564
- }
1565
- while (continuationToken) {
1566
- result = yield tslib.__await(this._listByWorkspaceNext(accountName, workspaceName, resourceGroupName, continuationToken, options));
1567
- continuationToken = result.nextLink;
1568
- let page = result.value || [];
1569
- setContinuationToken(page, continuationToken);
1570
- yield yield tslib.__await(page);
1571
- }
1572
- });
1573
- }
1574
- listByWorkspacePagingAll(accountName, workspaceName, resourceGroupName, options) {
1575
- return tslib.__asyncGenerator(this, arguments, function* listByWorkspacePagingAll_1() {
1576
- var e_1, _a;
1577
- try {
1578
- for (var _b = tslib.__asyncValues(this.listByWorkspacePagingPage(accountName, workspaceName, resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1579
- const page = _c.value;
1580
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1581
- }
1582
- }
1583
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1584
- finally {
1585
- try {
1586
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1587
- }
1588
- finally { if (e_1) throw e_1.error; }
1589
- }
1590
- });
1591
- }
1592
- /**
1593
- * Gets the properties of the specified machine learning project.
1594
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1595
- * belongs.
1596
- * @param accountName The name of the machine learning team account.
1597
- * @param workspaceName The name of the machine learning team account workspace.
1598
- * @param projectName The name of the machine learning project under a team account workspace.
1599
- * @param options The options parameters.
1600
- */
1601
- get(resourceGroupName, accountName, workspaceName, projectName, options) {
1602
- return this.client.sendOperationRequest({ resourceGroupName, accountName, workspaceName, projectName, options }, getOperationSpec);
1603
- }
1604
- /**
1605
- * Creates or updates a project with the specified parameters.
1606
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1607
- * belongs.
1608
- * @param accountName The name of the machine learning team account.
1609
- * @param workspaceName The name of the machine learning team account workspace.
1610
- * @param projectName The name of the machine learning project under a team account workspace.
1611
- * @param parameters The parameters for creating or updating a project.
1612
- * @param options The options parameters.
1613
- */
1614
- createOrUpdate(resourceGroupName, accountName, workspaceName, projectName, parameters, options) {
1615
- return this.client.sendOperationRequest({
1616
- resourceGroupName,
1617
- accountName,
1618
- workspaceName,
1619
- projectName,
1620
- parameters,
1621
- options
1622
- }, createOrUpdateOperationSpec);
1623
- }
1624
- /**
1625
- * Deletes a project.
1626
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1627
- * belongs.
1628
- * @param accountName The name of the machine learning team account.
1629
- * @param workspaceName The name of the machine learning team account workspace.
1630
- * @param projectName The name of the machine learning project under a team account workspace.
1631
- * @param options The options parameters.
1632
- */
1633
- delete(resourceGroupName, accountName, workspaceName, projectName, options) {
1634
- return this.client.sendOperationRequest({ resourceGroupName, accountName, workspaceName, projectName, options }, deleteOperationSpec);
1635
- }
1636
- /**
1637
- * Updates a project with the specified parameters.
1638
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1639
- * belongs.
1640
- * @param accountName The name of the machine learning team account.
1641
- * @param workspaceName The name of the machine learning team account workspace.
1642
- * @param projectName The name of the machine learning project under a team account workspace.
1643
- * @param parameters The parameters for updating a machine learning team account.
1644
- * @param options The options parameters.
1645
- */
1646
- update(resourceGroupName, accountName, workspaceName, projectName, parameters, options) {
1647
- return this.client.sendOperationRequest({
1648
- resourceGroupName,
1649
- accountName,
1650
- workspaceName,
1651
- projectName,
1652
- parameters,
1653
- options
1654
- }, updateOperationSpec);
1655
- }
1656
- /**
1657
- * Lists all the available machine learning projects under the specified workspace.
1658
- * @param accountName The name of the machine learning team account.
1659
- * @param workspaceName The name of the machine learning team account workspace.
1660
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1661
- * belongs.
1662
- * @param options The options parameters.
1663
- */
1664
- _listByWorkspace(accountName, workspaceName, resourceGroupName, options) {
1665
- return this.client.sendOperationRequest({ accountName, workspaceName, resourceGroupName, options }, listByWorkspaceOperationSpec);
1666
- }
1667
- /**
1668
- * ListByWorkspaceNext
1669
- * @param accountName The name of the machine learning team account.
1670
- * @param workspaceName The name of the machine learning team account workspace.
1671
- * @param resourceGroupName The name of the resource group to which the machine learning team account
1672
- * belongs.
1673
- * @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.
1674
- * @param options The options parameters.
1675
- */
1676
- _listByWorkspaceNext(accountName, workspaceName, resourceGroupName, nextLink, options) {
1677
- return this.client.sendOperationRequest({ accountName, workspaceName, resourceGroupName, nextLink, options }, listByWorkspaceNextOperationSpec);
1678
- }
1679
- }
1680
- // Operation Specifications
1681
- const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1682
- const getOperationSpec = {
1683
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
1684
- httpMethod: "GET",
1685
- responses: {
1686
- 200: {
1687
- bodyMapper: Project
1688
- },
1689
- default: {
1690
- bodyMapper: ErrorResponse
1691
- }
1692
- },
1693
- queryParameters: [apiVersion],
1694
- urlParameters: [
1695
- $host,
1696
- subscriptionId,
1697
- resourceGroupName,
1698
- accountName,
1699
- workspaceName,
1700
- projectName
1701
- ],
1702
- headerParameters: [accept],
1703
- serializer
1704
- };
1705
- const createOrUpdateOperationSpec = {
1706
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
1707
- httpMethod: "PUT",
1708
- responses: {
1709
- 200: {
1710
- bodyMapper: Project
1711
- },
1712
- 201: {
1713
- bodyMapper: Project
1714
- },
1715
- default: {
1716
- bodyMapper: ErrorResponse
1717
- }
1718
- },
1719
- requestBody: parameters4,
1720
- queryParameters: [apiVersion],
1721
- urlParameters: [
1722
- $host,
1723
- subscriptionId,
1724
- resourceGroupName,
1725
- accountName,
1726
- workspaceName,
1727
- projectName
1728
- ],
1729
- headerParameters: [accept, contentType],
1730
- mediaType: "json",
1731
- serializer
1732
- };
1733
- const deleteOperationSpec = {
1734
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
1735
- httpMethod: "DELETE",
1736
- responses: {
1737
- 200: {},
1738
- 204: {},
1739
- default: {
1740
- bodyMapper: ErrorResponse
1741
- }
1742
- },
1743
- queryParameters: [apiVersion],
1744
- urlParameters: [
1745
- $host,
1746
- subscriptionId,
1747
- resourceGroupName,
1748
- accountName,
1749
- workspaceName,
1750
- projectName
1751
- ],
1752
- headerParameters: [accept],
1753
- serializer
1754
- };
1755
- const updateOperationSpec = {
1756
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects/{projectName}",
1757
- httpMethod: "PATCH",
1758
- responses: {
1759
- 200: {
1760
- bodyMapper: Project
1761
- },
1762
- default: {
1763
- bodyMapper: ErrorResponse
1764
- }
1765
- },
1766
- requestBody: parameters5,
1767
- queryParameters: [apiVersion],
1768
- urlParameters: [
1769
- $host,
1770
- subscriptionId,
1771
- resourceGroupName,
1772
- accountName,
1773
- workspaceName,
1774
- projectName
1775
- ],
1776
- headerParameters: [accept, contentType],
1777
- mediaType: "json",
1778
- serializer
1779
- };
1780
- const listByWorkspaceOperationSpec = {
1781
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningExperimentation/accounts/{accountName}/workspaces/{workspaceName}/projects",
1782
- httpMethod: "GET",
1783
- responses: {
1784
- 200: {
1785
- bodyMapper: ProjectListResult
1786
- },
1787
- default: {
1788
- bodyMapper: ErrorResponse
1789
- }
1790
- },
1791
- queryParameters: [apiVersion],
1792
- urlParameters: [
1793
- $host,
1794
- subscriptionId,
1795
- resourceGroupName,
1796
- accountName,
1797
- workspaceName
1798
- ],
1799
- headerParameters: [accept],
1800
- serializer
1801
- };
1802
- const listByWorkspaceNextOperationSpec = {
1803
- path: "{nextLink}",
1804
- httpMethod: "GET",
1805
- responses: {
1806
- 200: {
1807
- bodyMapper: ProjectListResult
1808
- },
1809
- default: {
1810
- bodyMapper: ErrorResponse
1811
- }
1812
- },
1813
- urlParameters: [
1814
- $host,
1815
- subscriptionId,
1816
- resourceGroupName,
1817
- accountName,
1818
- nextLink,
1819
- workspaceName
1820
- ],
1821
- headerParameters: [accept],
1822
- serializer
1823
- };
1824
-
1825
- /*
1826
- * Copyright (c) Microsoft Corporation.
1827
- * Licensed under the MIT License.
1828
- *
1829
- * Code generated by Microsoft (R) AutoRest Code Generator.
1830
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1831
- */
1832
- class MLTeamAccountManagementClient extends coreClient__namespace.ServiceClient {
1833
- /**
1834
- * Initializes a new instance of the MLTeamAccountManagementClient class.
1835
- * @param credentials Subscription credentials which uniquely identify client subscription.
1836
- * @param subscriptionId The Microsoft Azure subscription ID.
1837
- * @param options The parameter options
1838
- */
1839
- constructor(credentials, subscriptionId, options) {
1840
- var _a, _b, _c;
1841
- if (credentials === undefined) {
1842
- throw new Error("'credentials' cannot be null");
1843
- }
1844
- if (subscriptionId === undefined) {
1845
- throw new Error("'subscriptionId' cannot be null");
1846
- }
1847
- // Initializing default values for options
1848
- if (!options) {
1849
- options = {};
1850
- }
1851
- const defaults = {
1852
- requestContentType: "application/json; charset=utf-8",
1853
- credential: credentials
1854
- };
1855
- const packageDetails = `azsdk-js-arm-machinelearningexperimentation/2.0.0-beta.4`;
1856
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
1857
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
1858
- : `${packageDetails}`;
1859
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
1860
- userAgentPrefix
1861
- }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
1862
- super(optionsWithDefaults);
1863
- let bearerTokenAuthenticationPolicyFound = false;
1864
- if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
1865
- const pipelinePolicies = options.pipeline.getOrderedPolicies();
1866
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
1867
- coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
1868
- }
1869
- if (!options ||
1870
- !options.pipeline ||
1871
- options.pipeline.getOrderedPolicies().length == 0 ||
1872
- !bearerTokenAuthenticationPolicyFound) {
1873
- this.pipeline.removePolicy({
1874
- name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
1875
- });
1876
- this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
1877
- credential: credentials,
1878
- scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
1879
- challengeCallbacks: {
1880
- authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
1881
- }
1882
- }));
1883
- }
1884
- // Parameter assignments
1885
- this.subscriptionId = subscriptionId;
1886
- // Assigning values to Constant parameters
1887
- this.$host = options.$host || "https://management.azure.com";
1888
- this.apiVersion = options.apiVersion || "2017-05-01-preview";
1889
- this.operations = new OperationsImpl(this);
1890
- this.accounts = new AccountsImpl(this);
1891
- this.workspaces = new WorkspacesImpl(this);
1892
- this.projects = new ProjectsImpl(this);
1893
- this.addCustomApiVersionPolicy(options.apiVersion);
1894
- }
1895
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
1896
- addCustomApiVersionPolicy(apiVersion) {
1897
- if (!apiVersion) {
1898
- return;
1899
- }
1900
- const apiVersionPolicy = {
1901
- name: "CustomApiVersionPolicy",
1902
- sendRequest(request, next) {
1903
- return tslib.__awaiter(this, void 0, void 0, function* () {
1904
- const param = request.url.split("?");
1905
- if (param.length > 1) {
1906
- const newParams = param[1].split("&").map((item) => {
1907
- if (item.indexOf("api-version") > -1) {
1908
- return "api-version=" + apiVersion;
1909
- }
1910
- else {
1911
- return item;
1912
- }
1913
- });
1914
- request.url = param[0] + "?" + newParams.join("&");
1915
- }
1916
- return next(request);
1917
- });
1918
- }
1919
- };
1920
- this.pipeline.addPolicy(apiVersionPolicy);
1921
- }
1922
- }
1923
-
1924
- exports.MLTeamAccountManagementClient = MLTeamAccountManagementClient;
1925
- exports.getContinuationToken = getContinuationToken;
1926
- //# sourceMappingURL=index.js.map