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