@azure/arm-workspaces 1.1.1-alpha.20250210.1 → 1.1.1-alpha.20250211.2

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 (302) hide show
  1. package/README.md +21 -14
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/{dist-esm/src → dist/browser}/machineLearningWorkspacesManagementClient.d.ts +2 -2
  7. package/dist/browser/machineLearningWorkspacesManagementClient.d.ts.map +1 -0
  8. package/{dist-esm/src → dist/browser}/machineLearningWorkspacesManagementClient.js +15 -18
  9. package/dist/browser/machineLearningWorkspacesManagementClient.js.map +1 -0
  10. package/dist/browser/models/index.js.map +1 -0
  11. package/dist/browser/models/mappers.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  13. package/dist/browser/models/parameters.js.map +1 -0
  14. package/dist/browser/operations/index.d.ts +3 -0
  15. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  16. package/{dist-esm/src → dist/browser}/operations/index.js +2 -2
  17. package/dist/browser/operations/index.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  19. package/dist/browser/operations/operations.d.ts.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
  21. package/dist/browser/operations/operations.js.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/workspaces.d.ts +3 -3
  23. package/dist/browser/operations/workspaces.d.ts.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/workspaces.js +3 -3
  25. package/dist/browser/operations/workspaces.js.map +1 -0
  26. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  27. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  28. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +2 -2
  29. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  31. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  32. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.d.ts +1 -1
  34. package/dist/browser/operationsInterfaces/workspaces.d.ts.map +1 -0
  35. package/dist/browser/operationsInterfaces/workspaces.js.map +1 -0
  36. package/dist/browser/package.json +3 -0
  37. package/dist/browser/pagingHelper.js.map +1 -0
  38. package/dist/commonjs/index.d.ts +5 -0
  39. package/dist/commonjs/index.d.ts.map +1 -0
  40. package/dist/commonjs/index.js +19 -0
  41. package/dist/commonjs/index.js.map +1 -0
  42. package/dist/commonjs/machineLearningWorkspacesManagementClient.d.ts +21 -0
  43. package/dist/commonjs/machineLearningWorkspacesManagementClient.d.ts.map +1 -0
  44. package/dist/commonjs/machineLearningWorkspacesManagementClient.js +103 -0
  45. package/dist/commonjs/machineLearningWorkspacesManagementClient.js.map +1 -0
  46. package/dist/commonjs/models/index.d.ts +190 -0
  47. package/dist/commonjs/models/index.d.ts.map +1 -0
  48. package/dist/commonjs/models/index.js +10 -0
  49. package/dist/commonjs/models/index.js.map +1 -0
  50. package/dist/commonjs/models/mappers.d.ts +12 -0
  51. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  52. package/dist/commonjs/models/mappers.js +333 -0
  53. package/dist/commonjs/models/mappers.js.map +1 -0
  54. package/dist/commonjs/models/parameters.d.ts +12 -0
  55. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  56. package/dist/commonjs/models/parameters.js +105 -0
  57. package/dist/commonjs/models/parameters.js.map +1 -0
  58. package/dist/commonjs/operations/index.d.ts +3 -0
  59. package/dist/commonjs/operations/index.d.ts.map +1 -0
  60. package/dist/commonjs/operations/index.js +13 -0
  61. package/dist/commonjs/operations/index.js.map +1 -0
  62. package/dist/commonjs/operations/operations.d.ts +26 -0
  63. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  64. package/dist/commonjs/operations/operations.js +100 -0
  65. package/dist/commonjs/operations/operations.js.map +1 -0
  66. package/dist/commonjs/operations/workspaces.d.ts +106 -0
  67. package/dist/commonjs/operations/workspaces.d.ts.map +1 -0
  68. package/dist/commonjs/operations/workspaces.js +454 -0
  69. package/dist/commonjs/operations/workspaces.js.map +1 -0
  70. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  71. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  72. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  73. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  74. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  75. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  76. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  77. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  78. package/dist/commonjs/operationsInterfaces/workspaces.d.ts +68 -0
  79. package/dist/commonjs/operationsInterfaces/workspaces.d.ts.map +1 -0
  80. package/dist/commonjs/operationsInterfaces/workspaces.js +10 -0
  81. package/dist/commonjs/operationsInterfaces/workspaces.js.map +1 -0
  82. package/dist/commonjs/package.json +3 -0
  83. package/dist/commonjs/pagingHelper.d.ts +13 -0
  84. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  85. package/dist/commonjs/pagingHelper.js +36 -0
  86. package/dist/commonjs/pagingHelper.js.map +1 -0
  87. package/dist/esm/index.d.ts +5 -0
  88. package/dist/esm/index.d.ts.map +1 -0
  89. package/{src/index.ts → dist/esm/index.js} +5 -5
  90. package/dist/esm/index.js.map +1 -0
  91. package/dist/esm/machineLearningWorkspacesManagementClient.d.ts +21 -0
  92. package/dist/esm/machineLearningWorkspacesManagementClient.d.ts.map +1 -0
  93. package/dist/esm/machineLearningWorkspacesManagementClient.js +98 -0
  94. package/dist/esm/machineLearningWorkspacesManagementClient.js.map +1 -0
  95. package/dist/esm/models/index.d.ts +190 -0
  96. package/dist/esm/models/index.d.ts.map +1 -0
  97. package/{src/operations/index.ts → dist/esm/models/index.js} +2 -3
  98. package/dist/esm/models/index.js.map +1 -0
  99. package/dist/esm/models/mappers.d.ts +12 -0
  100. package/dist/esm/models/mappers.d.ts.map +1 -0
  101. package/dist/esm/models/mappers.js +330 -0
  102. package/dist/esm/models/mappers.js.map +1 -0
  103. package/dist/esm/models/parameters.d.ts +12 -0
  104. package/dist/esm/models/parameters.d.ts.map +1 -0
  105. package/dist/esm/models/parameters.js +102 -0
  106. package/dist/esm/models/parameters.js.map +1 -0
  107. package/dist/esm/operations/index.d.ts +3 -0
  108. package/dist/esm/operations/index.d.ts.map +1 -0
  109. package/dist/esm/operations/index.js +10 -0
  110. package/dist/esm/operations/index.js.map +1 -0
  111. package/dist/esm/operations/operations.d.ts +26 -0
  112. package/dist/esm/operations/operations.d.ts.map +1 -0
  113. package/dist/esm/operations/operations.js +96 -0
  114. package/dist/esm/operations/operations.js.map +1 -0
  115. package/dist/esm/operations/workspaces.d.ts +106 -0
  116. package/dist/esm/operations/workspaces.d.ts.map +1 -0
  117. package/dist/esm/operations/workspaces.js +450 -0
  118. package/dist/esm/operations/workspaces.js.map +1 -0
  119. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  120. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  121. package/dist/esm/operationsInterfaces/index.js +10 -0
  122. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  123. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  124. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  125. package/dist/esm/operationsInterfaces/operations.js +9 -0
  126. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  127. package/dist/esm/operationsInterfaces/workspaces.d.ts +68 -0
  128. package/dist/esm/operationsInterfaces/workspaces.d.ts.map +1 -0
  129. package/dist/esm/operationsInterfaces/workspaces.js +9 -0
  130. package/dist/esm/operationsInterfaces/workspaces.js.map +1 -0
  131. package/dist/esm/package.json +3 -0
  132. package/dist/esm/pagingHelper.d.ts +13 -0
  133. package/dist/esm/pagingHelper.d.ts.map +1 -0
  134. package/dist/esm/pagingHelper.js +32 -0
  135. package/dist/esm/pagingHelper.js.map +1 -0
  136. package/dist/react-native/index.d.ts +5 -0
  137. package/dist/react-native/index.d.ts.map +1 -0
  138. package/dist/react-native/index.js +13 -0
  139. package/dist/react-native/index.js.map +1 -0
  140. package/dist/react-native/machineLearningWorkspacesManagementClient.d.ts +21 -0
  141. package/dist/react-native/machineLearningWorkspacesManagementClient.d.ts.map +1 -0
  142. package/dist/react-native/machineLearningWorkspacesManagementClient.js +98 -0
  143. package/dist/react-native/machineLearningWorkspacesManagementClient.js.map +1 -0
  144. package/dist/react-native/models/index.d.ts +190 -0
  145. package/dist/react-native/models/index.d.ts.map +1 -0
  146. package/dist/react-native/models/index.js +9 -0
  147. package/dist/react-native/models/index.js.map +1 -0
  148. package/dist/react-native/models/mappers.d.ts +12 -0
  149. package/dist/react-native/models/mappers.d.ts.map +1 -0
  150. package/dist/react-native/models/mappers.js +330 -0
  151. package/dist/react-native/models/mappers.js.map +1 -0
  152. package/dist/react-native/models/parameters.d.ts +12 -0
  153. package/dist/react-native/models/parameters.d.ts.map +1 -0
  154. package/dist/react-native/models/parameters.js +102 -0
  155. package/dist/react-native/models/parameters.js.map +1 -0
  156. package/dist/react-native/operations/index.d.ts +3 -0
  157. package/dist/react-native/operations/index.d.ts.map +1 -0
  158. package/dist/react-native/operations/index.js +10 -0
  159. package/dist/react-native/operations/index.js.map +1 -0
  160. package/dist/react-native/operations/operations.d.ts +26 -0
  161. package/dist/react-native/operations/operations.d.ts.map +1 -0
  162. package/dist/react-native/operations/operations.js +96 -0
  163. package/dist/react-native/operations/operations.js.map +1 -0
  164. package/dist/react-native/operations/workspaces.d.ts +106 -0
  165. package/dist/react-native/operations/workspaces.d.ts.map +1 -0
  166. package/dist/react-native/operations/workspaces.js +450 -0
  167. package/dist/react-native/operations/workspaces.js.map +1 -0
  168. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  169. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  170. package/dist/react-native/operationsInterfaces/index.js +10 -0
  171. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  172. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  173. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  174. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  175. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  176. package/dist/react-native/operationsInterfaces/workspaces.d.ts +68 -0
  177. package/dist/react-native/operationsInterfaces/workspaces.d.ts.map +1 -0
  178. package/dist/react-native/operationsInterfaces/workspaces.js +9 -0
  179. package/dist/react-native/operationsInterfaces/workspaces.js.map +1 -0
  180. package/dist/react-native/package.json +3 -0
  181. package/dist/react-native/pagingHelper.d.ts +13 -0
  182. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  183. package/dist/react-native/pagingHelper.js +32 -0
  184. package/dist/react-native/pagingHelper.js.map +1 -0
  185. package/package.json +69 -40
  186. package/dist/index.js +0 -1142
  187. package/dist/index.js.map +0 -1
  188. package/dist/index.min.js +0 -1
  189. package/dist/index.min.js.map +0 -1
  190. package/dist-esm/samples-dev/listWorkspaceKeys.d.ts +0 -2
  191. package/dist-esm/samples-dev/listWorkspaceKeys.d.ts.map +0 -1
  192. package/dist-esm/samples-dev/listWorkspaceKeys.js +0 -29
  193. package/dist-esm/samples-dev/listWorkspaceKeys.js.map +0 -1
  194. package/dist-esm/samples-dev/resyncStorageKeys.d.ts +0 -2
  195. package/dist-esm/samples-dev/resyncStorageKeys.d.ts.map +0 -1
  196. package/dist-esm/samples-dev/resyncStorageKeys.js +0 -29
  197. package/dist-esm/samples-dev/resyncStorageKeys.js.map +0 -1
  198. package/dist-esm/samples-dev/workspaceCreate.d.ts +0 -2
  199. package/dist-esm/samples-dev/workspaceCreate.d.ts.map +0 -1
  200. package/dist-esm/samples-dev/workspaceCreate.js +0 -23
  201. package/dist-esm/samples-dev/workspaceCreate.js.map +0 -1
  202. package/dist-esm/samples-dev/workspaceDelete.d.ts +0 -2
  203. package/dist-esm/samples-dev/workspaceDelete.d.ts.map +0 -1
  204. package/dist-esm/samples-dev/workspaceDelete.js +0 -29
  205. package/dist-esm/samples-dev/workspaceDelete.js.map +0 -1
  206. package/dist-esm/samples-dev/workspaceGet.d.ts +0 -2
  207. package/dist-esm/samples-dev/workspaceGet.d.ts.map +0 -1
  208. package/dist-esm/samples-dev/workspaceGet.js +0 -29
  209. package/dist-esm/samples-dev/workspaceGet.js.map +0 -1
  210. package/dist-esm/samples-dev/workspaceGetBySubscription.d.ts +0 -2
  211. package/dist-esm/samples-dev/workspaceGetBySubscription.d.ts.map +0 -1
  212. package/dist-esm/samples-dev/workspaceGetBySubscription.js +0 -43
  213. package/dist-esm/samples-dev/workspaceGetBySubscription.js.map +0 -1
  214. package/dist-esm/samples-dev/workspaceListResourceGroup.d.ts +0 -2
  215. package/dist-esm/samples-dev/workspaceListResourceGroup.d.ts.map +0 -1
  216. package/dist-esm/samples-dev/workspaceListResourceGroup.js +0 -44
  217. package/dist-esm/samples-dev/workspaceListResourceGroup.js.map +0 -1
  218. package/dist-esm/samples-dev/workspaceUpdate.d.ts +0 -2
  219. package/dist-esm/samples-dev/workspaceUpdate.d.ts.map +0 -1
  220. package/dist-esm/samples-dev/workspaceUpdate.js +0 -21
  221. package/dist-esm/samples-dev/workspaceUpdate.js.map +0 -1
  222. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts +0 -2
  223. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts.map +0 -1
  224. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +0 -29
  225. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +0 -1
  226. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +0 -2
  227. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +0 -1
  228. package/dist-esm/samples-dev/workspacesDeleteSample.js +0 -29
  229. package/dist-esm/samples-dev/workspacesDeleteSample.js.map +0 -1
  230. package/dist-esm/samples-dev/workspacesGetSample.d.ts +0 -2
  231. package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +0 -1
  232. package/dist-esm/samples-dev/workspacesGetSample.js +0 -29
  233. package/dist-esm/samples-dev/workspacesGetSample.js.map +0 -1
  234. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts +0 -2
  235. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts.map +0 -1
  236. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +0 -44
  237. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +0 -1
  238. package/dist-esm/samples-dev/workspacesListSample.d.ts +0 -2
  239. package/dist-esm/samples-dev/workspacesListSample.d.ts.map +0 -1
  240. package/dist-esm/samples-dev/workspacesListSample.js +0 -43
  241. package/dist-esm/samples-dev/workspacesListSample.js.map +0 -1
  242. package/dist-esm/samples-dev/workspacesListWorkspaceKeysSample.d.ts +0 -2
  243. package/dist-esm/samples-dev/workspacesListWorkspaceKeysSample.d.ts.map +0 -1
  244. package/dist-esm/samples-dev/workspacesListWorkspaceKeysSample.js +0 -29
  245. package/dist-esm/samples-dev/workspacesListWorkspaceKeysSample.js.map +0 -1
  246. package/dist-esm/samples-dev/workspacesResyncStorageKeysSample.d.ts +0 -2
  247. package/dist-esm/samples-dev/workspacesResyncStorageKeysSample.d.ts.map +0 -1
  248. package/dist-esm/samples-dev/workspacesResyncStorageKeysSample.js +0 -29
  249. package/dist-esm/samples-dev/workspacesResyncStorageKeysSample.js.map +0 -1
  250. package/dist-esm/samples-dev/workspacesUpdateSample.d.ts +0 -2
  251. package/dist-esm/samples-dev/workspacesUpdateSample.d.ts.map +0 -1
  252. package/dist-esm/samples-dev/workspacesUpdateSample.js +0 -27
  253. package/dist-esm/samples-dev/workspacesUpdateSample.js.map +0 -1
  254. package/dist-esm/src/index.d.ts +0 -5
  255. package/dist-esm/src/index.js.map +0 -1
  256. package/dist-esm/src/machineLearningWorkspacesManagementClient.d.ts.map +0 -1
  257. package/dist-esm/src/machineLearningWorkspacesManagementClient.js.map +0 -1
  258. package/dist-esm/src/models/index.js.map +0 -1
  259. package/dist-esm/src/models/mappers.js.map +0 -1
  260. package/dist-esm/src/models/parameters.js.map +0 -1
  261. package/dist-esm/src/operations/index.d.ts +0 -3
  262. package/dist-esm/src/operations/index.js.map +0 -1
  263. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  264. package/dist-esm/src/operations/operations.js.map +0 -1
  265. package/dist-esm/src/operations/workspaces.d.ts.map +0 -1
  266. package/dist-esm/src/operations/workspaces.js.map +0 -1
  267. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  268. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  269. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  270. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +0 -1
  271. package/dist-esm/src/operationsInterfaces/workspaces.js.map +0 -1
  272. package/dist-esm/src/pagingHelper.js.map +0 -1
  273. package/dist-esm/test/sampleTest.d.ts +0 -2
  274. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  275. package/dist-esm/test/sampleTest.js +0 -42
  276. package/dist-esm/test/sampleTest.js.map +0 -1
  277. package/src/machineLearningWorkspacesManagementClient.ts +0 -142
  278. package/src/models/index.ts +0 -238
  279. package/src/models/mappers.ts +0 -351
  280. package/src/models/parameters.ts +0 -120
  281. package/src/operations/operations.ts +0 -103
  282. package/src/operations/workspaces.ts +0 -561
  283. package/src/operationsInterfaces/index.ts +0 -10
  284. package/src/operationsInterfaces/operations.ts +0 -22
  285. package/src/operationsInterfaces/workspaces.ts +0 -123
  286. package/src/pagingHelper.ts +0 -39
  287. package/tsconfig.json +0 -37
  288. package/types/arm-workspaces.d.ts +0 -327
  289. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  290. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  291. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  292. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  293. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  294. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  295. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  296. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  297. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  298. /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.js +0 -0
  299. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  300. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  301. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  302. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists all of the available Azure Machine Learning Studio REST API operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
@@ -0,0 +1,68 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Workspace, WorkspacesListByResourceGroupOptionalParams, WorkspacesListOptionalParams, WorkspacesGetOptionalParams, WorkspacesGetResponse, WorkspacesCreateOrUpdateOptionalParams, WorkspacesCreateOrUpdateResponse, WorkspacesDeleteOptionalParams, WorkspaceUpdateParameters, WorkspacesUpdateOptionalParams, WorkspacesUpdateResponse, WorkspacesResyncStorageKeysOptionalParams, WorkspacesListWorkspaceKeysOptionalParams, WorkspacesListWorkspaceKeysResponse } from "../models/index.js";
3
+ /** Interface representing a Workspaces. */
4
+ export interface Workspaces {
5
+ /**
6
+ * Lists all the available machine learning workspaces under the specified resource group.
7
+ * @param resourceGroupName The name of the resource group to which the machine learning workspace
8
+ * belongs.
9
+ * @param options The options parameters.
10
+ */
11
+ listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Workspace>;
12
+ /**
13
+ * Lists all the available machine learning workspaces under the specified subscription.
14
+ * @param options The options parameters.
15
+ */
16
+ list(options?: WorkspacesListOptionalParams): PagedAsyncIterableIterator<Workspace>;
17
+ /**
18
+ * Gets the properties of the specified machine learning workspace.
19
+ * @param resourceGroupName The name of the resource group to which the machine learning workspace
20
+ * belongs.
21
+ * @param workspaceName The name of the machine learning workspace.
22
+ * @param options The options parameters.
23
+ */
24
+ get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<WorkspacesGetResponse>;
25
+ /**
26
+ * Creates or updates a workspace with the specified parameters.
27
+ * @param resourceGroupName The name of the resource group to which the machine learning workspace
28
+ * belongs.
29
+ * @param workspaceName The name of the machine learning workspace.
30
+ * @param parameters The parameters for creating or updating a machine learning workspace.
31
+ * @param options The options parameters.
32
+ */
33
+ createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<WorkspacesCreateOrUpdateResponse>;
34
+ /**
35
+ * Deletes a machine learning workspace.
36
+ * @param resourceGroupName The name of the resource group to which the machine learning workspace
37
+ * belongs.
38
+ * @param workspaceName The name of the machine learning workspace.
39
+ * @param options The options parameters.
40
+ */
41
+ delete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<void>;
42
+ /**
43
+ * Updates a machine learning workspace with the specified parameters.
44
+ * @param resourceGroupName The name of the resource group to which the machine learning workspace
45
+ * belongs.
46
+ * @param workspaceName The name of the machine learning workspace.
47
+ * @param parameters The parameters for updating a machine learning workspace.
48
+ * @param options The options parameters.
49
+ */
50
+ update(resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise<WorkspacesUpdateResponse>;
51
+ /**
52
+ * Resync storage keys associated with this workspace.
53
+ * @param workspaceName The name of the machine learning workspace.
54
+ * @param resourceGroupName The name of the resource group to which the machine learning workspace
55
+ * belongs.
56
+ * @param options The options parameters.
57
+ */
58
+ resyncStorageKeys(workspaceName: string, resourceGroupName: string, options?: WorkspacesResyncStorageKeysOptionalParams): Promise<void>;
59
+ /**
60
+ * List the authorization keys associated with this workspace.
61
+ * @param workspaceName The name of the machine learning workspace.
62
+ * @param resourceGroupName The name of the resource group to which the machine learning workspace
63
+ * belongs.
64
+ * @param options The options parameters.
65
+ */
66
+ listWorkspaceKeys(workspaceName: string, resourceGroupName: string, options?: WorkspacesListWorkspaceKeysOptionalParams): Promise<WorkspacesListWorkspaceKeysResponse>;
67
+ }
68
+ //# sourceMappingURL=workspaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/workspaces.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,SAAS,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C,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,iBAAiB,CACf,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=workspaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/workspaces.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n Workspace,\n WorkspacesListByResourceGroupOptionalParams,\n WorkspacesListOptionalParams,\n WorkspacesGetOptionalParams,\n WorkspacesGetResponse,\n WorkspacesCreateOrUpdateOptionalParams,\n WorkspacesCreateOrUpdateResponse,\n WorkspacesDeleteOptionalParams,\n WorkspaceUpdateParameters,\n WorkspacesUpdateOptionalParams,\n WorkspacesUpdateResponse,\n WorkspacesResyncStorageKeysOptionalParams,\n WorkspacesListWorkspaceKeysOptionalParams,\n WorkspacesListWorkspaceKeysResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Workspaces. */\nexport interface Workspaces {\n /**\n * Lists all the available machine learning workspaces under the specified resource group.\n * @param resourceGroupName The name of the resource group to which the machine learning workspace\n * belongs.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: WorkspacesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Workspace>;\n /**\n * Lists all the available machine learning workspaces under the specified subscription.\n * @param options The options parameters.\n */\n list(\n options?: WorkspacesListOptionalParams\n ): PagedAsyncIterableIterator<Workspace>;\n /**\n * Gets the properties of the specified machine learning workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning workspace\n * belongs.\n * @param workspaceName The name of the machine learning workspace.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n workspaceName: string,\n options?: WorkspacesGetOptionalParams\n ): Promise<WorkspacesGetResponse>;\n /**\n * Creates or updates a workspace with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the machine learning workspace\n * belongs.\n * @param workspaceName The name of the machine learning workspace.\n * @param parameters The parameters for creating or updating a machine learning workspace.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n workspaceName: string,\n parameters: Workspace,\n options?: WorkspacesCreateOrUpdateOptionalParams\n ): Promise<WorkspacesCreateOrUpdateResponse>;\n /**\n * Deletes a machine learning workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning workspace\n * belongs.\n * @param workspaceName The name of the machine learning workspace.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n workspaceName: string,\n options?: WorkspacesDeleteOptionalParams\n ): Promise<void>;\n /**\n * Updates a machine learning workspace with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the machine learning workspace\n * belongs.\n * @param workspaceName The name of the machine learning workspace.\n * @param parameters The parameters for updating a machine learning workspace.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n workspaceName: string,\n parameters: WorkspaceUpdateParameters,\n options?: WorkspacesUpdateOptionalParams\n ): Promise<WorkspacesUpdateResponse>;\n /**\n * Resync storage keys associated with this workspace.\n * @param workspaceName The name of the machine learning workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning workspace\n * belongs.\n * @param options The options parameters.\n */\n resyncStorageKeys(\n workspaceName: string,\n resourceGroupName: string,\n options?: WorkspacesResyncStorageKeysOptionalParams\n ): Promise<void>;\n /**\n * List the authorization keys associated with this workspace.\n * @param workspaceName The name of the machine learning workspace.\n * @param resourceGroupName The name of the resource group to which the machine learning workspace\n * belongs.\n * @param options The options parameters.\n */\n listWorkspaceKeys(\n workspaceName: string,\n resourceGroupName: string,\n options?: WorkspacesListWorkspaceKeysOptionalParams\n ): Promise<WorkspacesListWorkspaceKeysResponse>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,13 @@
1
+ export interface PageInfo {
2
+ continuationToken?: string;
3
+ }
4
+ /**
5
+ * Given a result page from a pageable operation, returns a
6
+ * continuation token that can be used to begin paging from
7
+ * that point later.
8
+ * @param page A result object from calling .byPage() on a paged operation.
9
+ * @returns The continuation token that can be passed into byPage().
10
+ */
11
+ export declare function getContinuationToken(page: unknown): string | undefined;
12
+ export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
13
+ //# sourceMappingURL=pagingHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
@@ -0,0 +1,32 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ const pageMap = new WeakMap();
9
+ /**
10
+ * Given a result page from a pageable operation, returns a
11
+ * continuation token that can be used to begin paging from
12
+ * that point later.
13
+ * @param page A result object from calling .byPage() on a paged operation.
14
+ * @returns The continuation token that can be passed into byPage().
15
+ */
16
+ export function getContinuationToken(page) {
17
+ var _a;
18
+ if (typeof page !== "object" || page === null) {
19
+ return undefined;
20
+ }
21
+ return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
22
+ }
23
+ export function setContinuationToken(page, continuationToken) {
24
+ var _a;
25
+ if (typeof page !== "object" || page === null || !continuationToken) {
26
+ return;
27
+ }
28
+ const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
29
+ pageInfo.continuationToken = continuationToken;
30
+ pageMap.set(page, pageInfo);
31
+ }
32
+ //# sourceMappingURL=pagingHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { MachineLearningWorkspacesManagementClient } from "./machineLearningWorkspacesManagementClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,yCAAyC,EAAE,MAAM,gDAAgD,CAAC;AAC3G,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,13 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ /// <reference lib="esnext.asynciterable" />
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { MachineLearningWorkspacesManagementClient } from "./machineLearningWorkspacesManagementClient.js";
12
+ export * from "./operationsInterfaces/index.js";
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,yCAAyC,EAAE,MAAM,gDAAgD,CAAC;AAC3G,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { MachineLearningWorkspacesManagementClient } from \"./machineLearningWorkspacesManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -0,0 +1,21 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { Operations, Workspaces } from "./operationsInterfaces/index.js";
4
+ import { MachineLearningWorkspacesManagementClientOptionalParams } from "./models/index.js";
5
+ export declare class MachineLearningWorkspacesManagementClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ subscriptionId: string;
9
+ /**
10
+ * Initializes a new instance of the MachineLearningWorkspacesManagementClient class.
11
+ * @param credentials Subscription credentials which uniquely identify client subscription.
12
+ * @param subscriptionId The Microsoft Azure subscription ID.
13
+ * @param options The parameter options
14
+ */
15
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MachineLearningWorkspacesManagementClientOptionalParams);
16
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
+ private addCustomApiVersionPolicy;
18
+ operations: Operations;
19
+ workspaces: Workspaces;
20
+ }
21
+ //# sourceMappingURL=machineLearningWorkspacesManagementClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"machineLearningWorkspacesManagementClient.d.ts","sourceRoot":"","sources":["../../src/machineLearningWorkspacesManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,uDAAuD,EAAE,MAAM,mBAAmB,CAAC;AAE5F,qBAAa,yCAA0C,SAAQ,UAAU,CAAC,aAAa;IACrF,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,uDAAuD;IA6EnE,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;CACxB"}
@@ -0,0 +1,98 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
+ import { OperationsImpl, WorkspacesImpl } from "./operations/index.js";
11
+ export class MachineLearningWorkspacesManagementClient extends coreClient.ServiceClient {
12
+ /**
13
+ * Initializes a new instance of the MachineLearningWorkspacesManagementClient class.
14
+ * @param credentials Subscription credentials which uniquely identify client subscription.
15
+ * @param subscriptionId The Microsoft Azure subscription ID.
16
+ * @param options The parameter options
17
+ */
18
+ constructor(credentials, subscriptionId, options) {
19
+ var _a, _b, _c;
20
+ if (credentials === undefined) {
21
+ throw new Error("'credentials' cannot be null");
22
+ }
23
+ if (subscriptionId === undefined) {
24
+ throw new Error("'subscriptionId' cannot be null");
25
+ }
26
+ // Initializing default values for options
27
+ if (!options) {
28
+ options = {};
29
+ }
30
+ const defaults = {
31
+ requestContentType: "application/json; charset=utf-8",
32
+ credential: credentials
33
+ };
34
+ const packageDetails = `azsdk-js-arm-workspaces/1.1.1`;
35
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
36
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
37
+ : `${packageDetails}`;
38
+ const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
39
+ userAgentPrefix
40
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
41
+ super(optionsWithDefaults);
42
+ let bearerTokenAuthenticationPolicyFound = false;
43
+ if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
44
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
45
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
46
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
47
+ }
48
+ if (!options ||
49
+ !options.pipeline ||
50
+ options.pipeline.getOrderedPolicies().length == 0 ||
51
+ !bearerTokenAuthenticationPolicyFound) {
52
+ this.pipeline.removePolicy({
53
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
54
+ });
55
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
56
+ credential: credentials,
57
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
58
+ challengeCallbacks: {
59
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
60
+ }
61
+ }));
62
+ }
63
+ // Parameter assignments
64
+ this.subscriptionId = subscriptionId;
65
+ // Assigning values to Constant parameters
66
+ this.$host = options.$host || "https://management.azure.com";
67
+ this.apiVersion = options.apiVersion || "2019-10-01";
68
+ this.operations = new OperationsImpl(this);
69
+ this.workspaces = new WorkspacesImpl(this);
70
+ this.addCustomApiVersionPolicy(options.apiVersion);
71
+ }
72
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
73
+ addCustomApiVersionPolicy(apiVersion) {
74
+ if (!apiVersion) {
75
+ return;
76
+ }
77
+ const apiVersionPolicy = {
78
+ name: "CustomApiVersionPolicy",
79
+ async sendRequest(request, next) {
80
+ const param = request.url.split("?");
81
+ if (param.length > 1) {
82
+ const newParams = param[1].split("&").map((item) => {
83
+ if (item.indexOf("api-version") > -1) {
84
+ return "api-version=" + apiVersion;
85
+ }
86
+ else {
87
+ return item;
88
+ }
89
+ });
90
+ request.url = param[0] + "?" + newParams.join("&");
91
+ }
92
+ return next(request);
93
+ }
94
+ };
95
+ this.pipeline.addPolicy(apiVersionPolicy);
96
+ }
97
+ }
98
+ //# sourceMappingURL=machineLearningWorkspacesManagementClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"machineLearningWorkspacesManagementClient.js","sourceRoot":"","sources":["../../src/machineLearningWorkspacesManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAIvE,MAAM,OAAO,yCAA0C,SAAQ,UAAU,CAAC,aAAa;IAKrF;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAiE;;QAEj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C,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAIF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { OperationsImpl, WorkspacesImpl } from \"./operations/index.js\";\nimport { Operations, Workspaces } from \"./operationsInterfaces/index.js\";\nimport { MachineLearningWorkspacesManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class MachineLearningWorkspacesManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the MachineLearningWorkspacesManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The Microsoft Azure subscription ID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: MachineLearningWorkspacesManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: MachineLearningWorkspacesManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-workspaces/1.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2019-10-01\";\n this.operations = new OperationsImpl(this);\n this.workspaces = new WorkspacesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n workspaces: Workspaces;\n}\n"]}
@@ -0,0 +1,190 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ /** An array of operations supported by the resource provider. */
3
+ export interface OperationListResult {
4
+ /** List of AML Studio operations supported by the AML Studio resource provider. */
5
+ value?: Operation[];
6
+ }
7
+ /** Azure Machine Learning Studio REST API operation */
8
+ export interface Operation {
9
+ /** Operation name: {provider}/{resource}/{operation} */
10
+ name?: string;
11
+ /** Display name of operation */
12
+ display?: OperationDisplay;
13
+ }
14
+ /** Display name of operation */
15
+ export interface OperationDisplay {
16
+ /** The resource provider name: Microsoft.MachineLearning */
17
+ provider?: string;
18
+ /** The resource on which the operation is performed. */
19
+ resource?: string;
20
+ /** The operation that users can perform. */
21
+ operation?: string;
22
+ /** The description for the operation. */
23
+ description?: string;
24
+ }
25
+ /** The error response send when an operation fails. */
26
+ export interface ErrorResponse {
27
+ /** error code */
28
+ code: string;
29
+ /** error message */
30
+ message: string;
31
+ }
32
+ /** An Azure resource. */
33
+ export interface Resource {
34
+ /**
35
+ * The resource ID.
36
+ * NOTE: This property will not be serialized. It can only be populated by the server.
37
+ */
38
+ readonly id?: string;
39
+ /**
40
+ * The name of the resource.
41
+ * NOTE: This property will not be serialized. It can only be populated by the server.
42
+ */
43
+ readonly name?: string;
44
+ /**
45
+ * The type of the resource.
46
+ * NOTE: This property will not be serialized. It can only be populated by the server.
47
+ */
48
+ readonly type?: string;
49
+ /** The location of the resource. This cannot be changed after the resource is created. */
50
+ location: string;
51
+ /** The tags of the resource. */
52
+ tags?: {
53
+ [propertyName: string]: string;
54
+ };
55
+ /** The sku of the workspace. */
56
+ sku?: Sku;
57
+ }
58
+ /** Sku of the resource */
59
+ export interface Sku {
60
+ /** Name of the sku */
61
+ name?: string;
62
+ /** Tier of the sku like Basic or Enterprise */
63
+ tier?: string;
64
+ }
65
+ /** The parameters for updating a machine learning workspace. */
66
+ export interface WorkspaceUpdateParameters {
67
+ /** The resource tags for the machine learning workspace. */
68
+ tags?: {
69
+ [propertyName: string]: string;
70
+ };
71
+ /** The current state of workspace resource. */
72
+ workspaceState?: WorkspaceState;
73
+ /** The key vault identifier used for encrypted workspaces. */
74
+ keyVaultIdentifierId?: string;
75
+ /** The sku of the workspace. */
76
+ sku?: Sku;
77
+ }
78
+ /** Workspace authorization keys for a workspace. */
79
+ export interface WorkspaceKeysResponse {
80
+ /** Primary authorization key for this workspace. */
81
+ primaryToken?: string;
82
+ /** Secondary authorization key for this workspace. */
83
+ secondaryToken?: string;
84
+ }
85
+ /** The result of a request to list machine learning workspace keys. */
86
+ export interface WorkspaceListResult {
87
+ /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */
88
+ value?: Workspace[];
89
+ /** The URI that can be used to request the next list of machine learning workspaces. */
90
+ nextLink?: string;
91
+ }
92
+ /** An object that represents a machine learning workspace. */
93
+ export interface Workspace extends Resource {
94
+ /** The fully qualified arm id of the storage account associated with this workspace. */
95
+ userStorageAccountId?: string;
96
+ /** The email id of the owner for this workspace. */
97
+ ownerEmail?: string;
98
+ /**
99
+ * The type of this workspace.
100
+ * NOTE: This property will not be serialized. It can only be populated by the server.
101
+ */
102
+ readonly workspaceType?: WorkspaceType;
103
+ /**
104
+ * The current state of workspace resource.
105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
106
+ */
107
+ readonly workspaceState?: WorkspaceState;
108
+ /**
109
+ * The immutable id associated with this workspace.
110
+ * NOTE: This property will not be serialized. It can only be populated by the server.
111
+ */
112
+ readonly workspaceId?: string;
113
+ /**
114
+ * The creation time for this workspace resource.
115
+ * NOTE: This property will not be serialized. It can only be populated by the server.
116
+ */
117
+ readonly creationTime?: string;
118
+ /**
119
+ * The regional endpoint for the machine learning studio service which hosts this workspace.
120
+ * NOTE: This property will not be serialized. It can only be populated by the server.
121
+ */
122
+ readonly studioEndpoint?: string;
123
+ /** The key vault identifier used for encrypted workspaces. */
124
+ keyVaultIdentifierId?: string;
125
+ }
126
+ /** Defines values for WorkspaceType. */
127
+ export type WorkspaceType = "Production" | "Free" | "Anonymous" | "PaidStandard" | "PaidPremium";
128
+ /** Defines values for WorkspaceState. */
129
+ export type WorkspaceState = "Deleted" | "Enabled" | "Disabled" | "Migrated" | "Updated" | "Registered" | "Unregistered";
130
+ /** Optional parameters. */
131
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
132
+ }
133
+ /** Contains response data for the list operation. */
134
+ export type OperationsListResponse = OperationListResult;
135
+ /** Optional parameters. */
136
+ export interface WorkspacesGetOptionalParams extends coreClient.OperationOptions {
137
+ }
138
+ /** Contains response data for the get operation. */
139
+ export type WorkspacesGetResponse = Workspace;
140
+ /** Optional parameters. */
141
+ export interface WorkspacesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
142
+ }
143
+ /** Contains response data for the createOrUpdate operation. */
144
+ export type WorkspacesCreateOrUpdateResponse = Workspace;
145
+ /** Optional parameters. */
146
+ export interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions {
147
+ }
148
+ /** Optional parameters. */
149
+ export interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions {
150
+ }
151
+ /** Contains response data for the update operation. */
152
+ export type WorkspacesUpdateResponse = Workspace;
153
+ /** Optional parameters. */
154
+ export interface WorkspacesResyncStorageKeysOptionalParams extends coreClient.OperationOptions {
155
+ }
156
+ /** Optional parameters. */
157
+ export interface WorkspacesListWorkspaceKeysOptionalParams extends coreClient.OperationOptions {
158
+ }
159
+ /** Contains response data for the listWorkspaceKeys operation. */
160
+ export type WorkspacesListWorkspaceKeysResponse = WorkspaceKeysResponse;
161
+ /** Optional parameters. */
162
+ export interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
163
+ }
164
+ /** Contains response data for the listByResourceGroup operation. */
165
+ export type WorkspacesListByResourceGroupResponse = WorkspaceListResult;
166
+ /** Optional parameters. */
167
+ export interface WorkspacesListOptionalParams extends coreClient.OperationOptions {
168
+ }
169
+ /** Contains response data for the list operation. */
170
+ export type WorkspacesListResponse = WorkspaceListResult;
171
+ /** Optional parameters. */
172
+ export interface WorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
173
+ }
174
+ /** Contains response data for the listByResourceGroupNext operation. */
175
+ export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult;
176
+ /** Optional parameters. */
177
+ export interface WorkspacesListNextOptionalParams extends coreClient.OperationOptions {
178
+ }
179
+ /** Contains response data for the listNext operation. */
180
+ export type WorkspacesListNextResponse = WorkspaceListResult;
181
+ /** Optional parameters. */
182
+ export interface MachineLearningWorkspacesManagementClientOptionalParams extends coreClient.ServiceClientOptions {
183
+ /** server parameter */
184
+ $host?: string;
185
+ /** Api Version */
186
+ apiVersion?: string;
187
+ /** Overrides client endpoint. */
188
+ endpoint?: string;
189
+ }
190
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":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MAAM,MAAM,sBAAsB,GAAG,mBAAmB,CAAC;AAEzD,2BAA2B;AAC3B,MAAM,WAAW,+CACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,wEAAwE;AACxE,MAAM,MAAM,yCAAyC,GAAG,mBAAmB,CAAC;AAE5E,2BAA2B;AAC3B,MAAM,WAAW,gCACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,yDAAyD;AACzD,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,CAAC;AAE7D,2BAA2B;AAC3B,MAAM,WAAW,uDACf,SAAQ,UAAU,CAAC,oBAAoB;IACvC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** An array of operations supported by the resource provider. */\nexport interface OperationListResult {\n /** List of AML Studio operations supported by the AML Studio resource provider. */\n value?: Operation[];\n}\n\n/** Azure Machine Learning Studio REST API operation */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** Display name of operation */\n display?: OperationDisplay;\n}\n\n/** Display name of operation */\nexport interface OperationDisplay {\n /** The resource provider name: Microsoft.MachineLearning */\n provider?: string;\n /** The resource on which the operation is performed. */\n resource?: string;\n /** The operation that users can perform. */\n operation?: string;\n /** The description for the operation. */\n description?: string;\n}\n\n/** The error response send when an operation fails. */\nexport interface ErrorResponse {\n /** error code */\n code: string;\n /** error message */\n message: string;\n}\n\n/** An Azure resource. */\nexport interface Resource {\n /**\n * The resource ID.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** The location of the resource. This cannot be changed after the resource is created. */\n location: string;\n /** The tags of the resource. */\n tags?: { [propertyName: string]: string };\n /** The sku of the workspace. */\n sku?: Sku;\n}\n\n/** Sku of the resource */\nexport interface Sku {\n /** Name of the sku */\n name?: string;\n /** Tier of the sku like Basic or Enterprise */\n tier?: string;\n}\n\n/** The parameters for updating a machine learning workspace. */\nexport interface WorkspaceUpdateParameters {\n /** The resource tags for the machine learning workspace. */\n tags?: { [propertyName: string]: string };\n /** The current state of workspace resource. */\n workspaceState?: WorkspaceState;\n /** The key vault identifier used for encrypted workspaces. */\n keyVaultIdentifierId?: string;\n /** The sku of the workspace. */\n sku?: Sku;\n}\n\n/** Workspace authorization keys for a workspace. */\nexport interface WorkspaceKeysResponse {\n /** Primary authorization key for this workspace. */\n primaryToken?: string;\n /** Secondary authorization key for this workspace. */\n secondaryToken?: string;\n}\n\n/** The result of a request to list machine learning workspace keys. */\nexport interface WorkspaceListResult {\n /** The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces. */\n value?: Workspace[];\n /** The URI that can be used to request the next list of machine learning workspaces. */\n nextLink?: string;\n}\n\n/** An object that represents a machine learning workspace. */\nexport interface Workspace extends Resource {\n /** The fully qualified arm id of the storage account associated with this workspace. */\n userStorageAccountId?: string;\n /** The email id of the owner for this workspace. */\n ownerEmail?: string;\n /**\n * The type of this workspace.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly workspaceType?: WorkspaceType;\n /**\n * The current state of workspace resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly workspaceState?: WorkspaceState;\n /**\n * The immutable id associated with this workspace.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly workspaceId?: string;\n /**\n * The creation time for this workspace resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly creationTime?: string;\n /**\n * The regional endpoint for the machine learning studio service which hosts this workspace.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly studioEndpoint?: string;\n /** The key vault identifier used for encrypted workspaces. */\n keyVaultIdentifierId?: string;\n}\n\n/** Defines values for WorkspaceType. */\nexport type WorkspaceType =\n | \"Production\"\n | \"Free\"\n | \"Anonymous\"\n | \"PaidStandard\"\n | \"PaidPremium\";\n/** Defines values for WorkspaceState. */\nexport type WorkspaceState =\n | \"Deleted\"\n | \"Enabled\"\n | \"Disabled\"\n | \"Migrated\"\n | \"Updated\"\n | \"Registered\"\n | \"Unregistered\";\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface WorkspacesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type WorkspacesGetResponse = Workspace;\n\n/** Optional parameters. */\nexport interface WorkspacesCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type WorkspacesCreateOrUpdateResponse = Workspace;\n\n/** Optional parameters. */\nexport interface WorkspacesDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WorkspacesUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type WorkspacesUpdateResponse = Workspace;\n\n/** Optional parameters. */\nexport interface WorkspacesResyncStorageKeysOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WorkspacesListWorkspaceKeysOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listWorkspaceKeys operation. */\nexport type WorkspacesListWorkspaceKeysResponse = WorkspaceKeysResponse;\n\n/** Optional parameters. */\nexport interface WorkspacesListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type WorkspacesListByResourceGroupResponse = WorkspaceListResult;\n\n/** Optional parameters. */\nexport interface WorkspacesListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type WorkspacesListResponse = WorkspaceListResult;\n\n/** Optional parameters. */\nexport interface WorkspacesListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult;\n\n/** Optional parameters. */\nexport interface WorkspacesListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type WorkspacesListNextResponse = WorkspaceListResult;\n\n/** Optional parameters. */\nexport interface MachineLearningWorkspacesManagementClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -0,0 +1,12 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ export declare const OperationListResult: coreClient.CompositeMapper;
3
+ export declare const Operation: coreClient.CompositeMapper;
4
+ export declare const OperationDisplay: coreClient.CompositeMapper;
5
+ export declare const ErrorResponse: coreClient.CompositeMapper;
6
+ export declare const Resource: coreClient.CompositeMapper;
7
+ export declare const Sku: coreClient.CompositeMapper;
8
+ export declare const WorkspaceUpdateParameters: coreClient.CompositeMapper;
9
+ export declare const WorkspaceKeysResponse: coreClient.CompositeMapper;
10
+ export declare const WorkspaceListResult: coreClient.CompositeMapper;
11
+ export declare const Workspace: coreClient.CompositeMapper;
12
+ //# sourceMappingURL=mappers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAmB5C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,UAAU,CAAC,eAoBlC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,eA+BzC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,eAqBtC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,UAAU,CAAC,eAiDjC,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,UAAU,CAAC,eAmB5B,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,UAAU,CAAC,eA0ClD,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAmB9C,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAyB5C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,UAAU,CAAC,eA6ElC,CAAC"}