@azure/arm-workspaces 1.1.1-alpha.20250207.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
@@ -1,123 +0,0 @@
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
-
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
- import {
11
- Workspace,
12
- WorkspacesListByResourceGroupOptionalParams,
13
- WorkspacesListOptionalParams,
14
- WorkspacesGetOptionalParams,
15
- WorkspacesGetResponse,
16
- WorkspacesCreateOrUpdateOptionalParams,
17
- WorkspacesCreateOrUpdateResponse,
18
- WorkspacesDeleteOptionalParams,
19
- WorkspaceUpdateParameters,
20
- WorkspacesUpdateOptionalParams,
21
- WorkspacesUpdateResponse,
22
- WorkspacesResyncStorageKeysOptionalParams,
23
- WorkspacesListWorkspaceKeysOptionalParams,
24
- WorkspacesListWorkspaceKeysResponse
25
- } from "../models";
26
-
27
- /// <reference lib="esnext.asynciterable" />
28
- /** Interface representing a Workspaces. */
29
- export interface Workspaces {
30
- /**
31
- * Lists all the available machine learning workspaces under the specified resource group.
32
- * @param resourceGroupName The name of the resource group to which the machine learning workspace
33
- * belongs.
34
- * @param options The options parameters.
35
- */
36
- listByResourceGroup(
37
- resourceGroupName: string,
38
- options?: WorkspacesListByResourceGroupOptionalParams
39
- ): PagedAsyncIterableIterator<Workspace>;
40
- /**
41
- * Lists all the available machine learning workspaces under the specified subscription.
42
- * @param options The options parameters.
43
- */
44
- list(
45
- options?: WorkspacesListOptionalParams
46
- ): PagedAsyncIterableIterator<Workspace>;
47
- /**
48
- * Gets the properties of the specified machine learning workspace.
49
- * @param resourceGroupName The name of the resource group to which the machine learning workspace
50
- * belongs.
51
- * @param workspaceName The name of the machine learning workspace.
52
- * @param options The options parameters.
53
- */
54
- get(
55
- resourceGroupName: string,
56
- workspaceName: string,
57
- options?: WorkspacesGetOptionalParams
58
- ): Promise<WorkspacesGetResponse>;
59
- /**
60
- * Creates or updates a workspace with the specified parameters.
61
- * @param resourceGroupName The name of the resource group to which the machine learning workspace
62
- * belongs.
63
- * @param workspaceName The name of the machine learning workspace.
64
- * @param parameters The parameters for creating or updating a machine learning workspace.
65
- * @param options The options parameters.
66
- */
67
- createOrUpdate(
68
- resourceGroupName: string,
69
- workspaceName: string,
70
- parameters: Workspace,
71
- options?: WorkspacesCreateOrUpdateOptionalParams
72
- ): Promise<WorkspacesCreateOrUpdateResponse>;
73
- /**
74
- * Deletes a machine learning workspace.
75
- * @param resourceGroupName The name of the resource group to which the machine learning workspace
76
- * belongs.
77
- * @param workspaceName The name of the machine learning workspace.
78
- * @param options The options parameters.
79
- */
80
- delete(
81
- resourceGroupName: string,
82
- workspaceName: string,
83
- options?: WorkspacesDeleteOptionalParams
84
- ): Promise<void>;
85
- /**
86
- * Updates a machine learning workspace with the specified parameters.
87
- * @param resourceGroupName The name of the resource group to which the machine learning workspace
88
- * belongs.
89
- * @param workspaceName The name of the machine learning workspace.
90
- * @param parameters The parameters for updating a machine learning workspace.
91
- * @param options The options parameters.
92
- */
93
- update(
94
- resourceGroupName: string,
95
- workspaceName: string,
96
- parameters: WorkspaceUpdateParameters,
97
- options?: WorkspacesUpdateOptionalParams
98
- ): Promise<WorkspacesUpdateResponse>;
99
- /**
100
- * Resync storage keys associated with this workspace.
101
- * @param workspaceName The name of the machine learning workspace.
102
- * @param resourceGroupName The name of the resource group to which the machine learning workspace
103
- * belongs.
104
- * @param options The options parameters.
105
- */
106
- resyncStorageKeys(
107
- workspaceName: string,
108
- resourceGroupName: string,
109
- options?: WorkspacesResyncStorageKeysOptionalParams
110
- ): Promise<void>;
111
- /**
112
- * List the authorization keys associated with this workspace.
113
- * @param workspaceName The name of the machine learning workspace.
114
- * @param resourceGroupName The name of the resource group to which the machine learning workspace
115
- * belongs.
116
- * @param options The options parameters.
117
- */
118
- listWorkspaceKeys(
119
- workspaceName: string,
120
- resourceGroupName: string,
121
- options?: WorkspacesListWorkspaceKeysOptionalParams
122
- ): Promise<WorkspacesListWorkspaceKeysResponse>;
123
- }
@@ -1,39 +0,0 @@
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
-
9
- export interface PageInfo {
10
- continuationToken?: string;
11
- }
12
-
13
- const pageMap = new WeakMap<object, PageInfo>();
14
-
15
- /**
16
- * Given a result page from a pageable operation, returns a
17
- * continuation token that can be used to begin paging from
18
- * that point later.
19
- * @param page A result object from calling .byPage() on a paged operation.
20
- * @returns The continuation token that can be passed into byPage().
21
- */
22
- export function getContinuationToken(page: unknown): string | undefined {
23
- if (typeof page !== "object" || page === null) {
24
- return undefined;
25
- }
26
- return pageMap.get(page)?.continuationToken;
27
- }
28
-
29
- export function setContinuationToken(
30
- page: unknown,
31
- continuationToken: string | undefined
32
- ): void {
33
- if (typeof page !== "object" || page === null || !continuationToken) {
34
- return;
35
- }
36
- const pageInfo = pageMap.get(page) ?? {};
37
- pageInfo.continuationToken = continuationToken;
38
- pageMap.set(page, pageInfo);
39
- }
package/tsconfig.json DELETED
@@ -1,37 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "module": "es6",
4
- "moduleResolution": "node",
5
- "strict": true,
6
- "target": "es6",
7
- "sourceMap": true,
8
- "declarationMap": true,
9
- "esModuleInterop": true,
10
- "allowSyntheticDefaultImports": true,
11
- "forceConsistentCasingInFileNames": true,
12
- "lib": [
13
- "es6",
14
- "dom"
15
- ],
16
- "declaration": true,
17
- "outDir": "./dist-esm",
18
- "importHelpers": true,
19
- "paths": {
20
- "@azure/arm-workspaces": [
21
- "./src/index"
22
- ]
23
- }
24
- },
25
- "include": [
26
- "./src/**/*.ts",
27
- "./test/**/*.ts",
28
- "samples-dev/**/*.ts",
29
- "./test/**/*.ts",
30
- "samples-dev/**/*.ts",
31
- "./test/**/*.ts",
32
- "samples-dev/**/*.ts"
33
- ],
34
- "exclude": [
35
- "node_modules"
36
- ]
37
- }
@@ -1,327 +0,0 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
-
5
- /** The error response send when an operation fails. */
6
- export declare interface ErrorResponse {
7
- /** error code */
8
- code: string;
9
- /** error message */
10
- message: string;
11
- }
12
-
13
- /**
14
- * Given a result page from a pageable operation, returns a
15
- * continuation token that can be used to begin paging from
16
- * that point later.
17
- * @param page A result object from calling .byPage() on a paged operation.
18
- * @returns The continuation token that can be passed into byPage().
19
- */
20
- export declare function getContinuationToken(page: unknown): string | undefined;
21
-
22
- export declare class MachineLearningWorkspacesManagementClient extends coreClient.ServiceClient {
23
- $host: string;
24
- apiVersion: string;
25
- subscriptionId: string;
26
- /**
27
- * Initializes a new instance of the MachineLearningWorkspacesManagementClient class.
28
- * @param credentials Subscription credentials which uniquely identify client subscription.
29
- * @param subscriptionId The Microsoft Azure subscription ID.
30
- * @param options The parameter options
31
- */
32
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MachineLearningWorkspacesManagementClientOptionalParams);
33
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
34
- private addCustomApiVersionPolicy;
35
- operations: Operations;
36
- workspaces: Workspaces;
37
- }
38
-
39
- /** Optional parameters. */
40
- export declare interface MachineLearningWorkspacesManagementClientOptionalParams extends coreClient.ServiceClientOptions {
41
- /** server parameter */
42
- $host?: string;
43
- /** Api Version */
44
- apiVersion?: string;
45
- /** Overrides client endpoint. */
46
- endpoint?: string;
47
- }
48
-
49
- /** Azure Machine Learning Studio REST API operation */
50
- export declare interface Operation {
51
- /** Operation name: {provider}/{resource}/{operation} */
52
- name?: string;
53
- /** Display name of operation */
54
- display?: OperationDisplay;
55
- }
56
-
57
- /** Display name of operation */
58
- export declare interface OperationDisplay {
59
- /** The resource provider name: Microsoft.MachineLearning */
60
- provider?: string;
61
- /** The resource on which the operation is performed. */
62
- resource?: string;
63
- /** The operation that users can perform. */
64
- operation?: string;
65
- /** The description for the operation. */
66
- description?: string;
67
- }
68
-
69
- /** An array of operations supported by the resource provider. */
70
- export declare interface OperationListResult {
71
- /** List of AML Studio operations supported by the AML Studio resource provider. */
72
- value?: Operation[];
73
- }
74
-
75
- /** Interface representing a Operations. */
76
- export declare interface Operations {
77
- /**
78
- * Lists all of the available Azure Machine Learning Studio REST API operations.
79
- * @param options The options parameters.
80
- */
81
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
82
- }
83
-
84
- /** Optional parameters. */
85
- export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
86
- }
87
-
88
- /** Contains response data for the list operation. */
89
- export declare type OperationsListResponse = OperationListResult;
90
-
91
- /** An Azure resource. */
92
- export declare interface Resource {
93
- /**
94
- * The resource ID.
95
- * NOTE: This property will not be serialized. It can only be populated by the server.
96
- */
97
- readonly id?: string;
98
- /**
99
- * The name of the resource.
100
- * NOTE: This property will not be serialized. It can only be populated by the server.
101
- */
102
- readonly name?: string;
103
- /**
104
- * The type of the resource.
105
- * NOTE: This property will not be serialized. It can only be populated by the server.
106
- */
107
- readonly type?: string;
108
- /** The location of the resource. This cannot be changed after the resource is created. */
109
- location: string;
110
- /** The tags of the resource. */
111
- tags?: {
112
- [propertyName: string]: string;
113
- };
114
- /** The sku of the workspace. */
115
- sku?: Sku;
116
- }
117
-
118
- /** Sku of the resource */
119
- export declare interface Sku {
120
- /** Name of the sku */
121
- name?: string;
122
- /** Tier of the sku like Basic or Enterprise */
123
- tier?: string;
124
- }
125
-
126
- /** An object that represents a machine learning workspace. */
127
- export declare interface Workspace extends Resource {
128
- /** The fully qualified arm id of the storage account associated with this workspace. */
129
- userStorageAccountId?: string;
130
- /** The email id of the owner for this workspace. */
131
- ownerEmail?: string;
132
- /**
133
- * The type of this workspace.
134
- * NOTE: This property will not be serialized. It can only be populated by the server.
135
- */
136
- readonly workspaceType?: WorkspaceType;
137
- /**
138
- * The current state of workspace resource.
139
- * NOTE: This property will not be serialized. It can only be populated by the server.
140
- */
141
- readonly workspaceState?: WorkspaceState;
142
- /**
143
- * The immutable id associated with this workspace.
144
- * NOTE: This property will not be serialized. It can only be populated by the server.
145
- */
146
- readonly workspaceId?: string;
147
- /**
148
- * The creation time for this workspace resource.
149
- * NOTE: This property will not be serialized. It can only be populated by the server.
150
- */
151
- readonly creationTime?: string;
152
- /**
153
- * The regional endpoint for the machine learning studio service which hosts this workspace.
154
- * NOTE: This property will not be serialized. It can only be populated by the server.
155
- */
156
- readonly studioEndpoint?: string;
157
- /** The key vault identifier used for encrypted workspaces. */
158
- keyVaultIdentifierId?: string;
159
- }
160
-
161
- /** Workspace authorization keys for a workspace. */
162
- export declare interface WorkspaceKeysResponse {
163
- /** Primary authorization key for this workspace. */
164
- primaryToken?: string;
165
- /** Secondary authorization key for this workspace. */
166
- secondaryToken?: string;
167
- }
168
-
169
- /** The result of a request to list machine learning workspace keys. */
170
- export declare interface WorkspaceListResult {
171
- /** 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. */
172
- value?: Workspace[];
173
- /** The URI that can be used to request the next list of machine learning workspaces. */
174
- nextLink?: string;
175
- }
176
-
177
- /** Interface representing a Workspaces. */
178
- export declare interface Workspaces {
179
- /**
180
- * Lists all the available machine learning workspaces under the specified resource group.
181
- * @param resourceGroupName The name of the resource group to which the machine learning workspace
182
- * belongs.
183
- * @param options The options parameters.
184
- */
185
- listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Workspace>;
186
- /**
187
- * Lists all the available machine learning workspaces under the specified subscription.
188
- * @param options The options parameters.
189
- */
190
- list(options?: WorkspacesListOptionalParams): PagedAsyncIterableIterator<Workspace>;
191
- /**
192
- * Gets the properties of the specified machine learning workspace.
193
- * @param resourceGroupName The name of the resource group to which the machine learning workspace
194
- * belongs.
195
- * @param workspaceName The name of the machine learning workspace.
196
- * @param options The options parameters.
197
- */
198
- get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<WorkspacesGetResponse>;
199
- /**
200
- * Creates or updates a workspace with the specified parameters.
201
- * @param resourceGroupName The name of the resource group to which the machine learning workspace
202
- * belongs.
203
- * @param workspaceName The name of the machine learning workspace.
204
- * @param parameters The parameters for creating or updating a machine learning workspace.
205
- * @param options The options parameters.
206
- */
207
- createOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<WorkspacesCreateOrUpdateResponse>;
208
- /**
209
- * Deletes a machine learning workspace.
210
- * @param resourceGroupName The name of the resource group to which the machine learning workspace
211
- * belongs.
212
- * @param workspaceName The name of the machine learning workspace.
213
- * @param options The options parameters.
214
- */
215
- delete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<void>;
216
- /**
217
- * Updates a machine learning workspace with the specified parameters.
218
- * @param resourceGroupName The name of the resource group to which the machine learning workspace
219
- * belongs.
220
- * @param workspaceName The name of the machine learning workspace.
221
- * @param parameters The parameters for updating a machine learning workspace.
222
- * @param options The options parameters.
223
- */
224
- update(resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdateParameters, options?: WorkspacesUpdateOptionalParams): Promise<WorkspacesUpdateResponse>;
225
- /**
226
- * Resync storage keys associated with this workspace.
227
- * @param workspaceName The name of the machine learning workspace.
228
- * @param resourceGroupName The name of the resource group to which the machine learning workspace
229
- * belongs.
230
- * @param options The options parameters.
231
- */
232
- resyncStorageKeys(workspaceName: string, resourceGroupName: string, options?: WorkspacesResyncStorageKeysOptionalParams): Promise<void>;
233
- /**
234
- * List the authorization keys associated with this workspace.
235
- * @param workspaceName The name of the machine learning workspace.
236
- * @param resourceGroupName The name of the resource group to which the machine learning workspace
237
- * belongs.
238
- * @param options The options parameters.
239
- */
240
- listWorkspaceKeys(workspaceName: string, resourceGroupName: string, options?: WorkspacesListWorkspaceKeysOptionalParams): Promise<WorkspacesListWorkspaceKeysResponse>;
241
- }
242
-
243
- /** Optional parameters. */
244
- export declare interface WorkspacesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
245
- }
246
-
247
- /** Contains response data for the createOrUpdate operation. */
248
- export declare type WorkspacesCreateOrUpdateResponse = Workspace;
249
-
250
- /** Optional parameters. */
251
- export declare interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions {
252
- }
253
-
254
- /** Optional parameters. */
255
- export declare interface WorkspacesGetOptionalParams extends coreClient.OperationOptions {
256
- }
257
-
258
- /** Contains response data for the get operation. */
259
- export declare type WorkspacesGetResponse = Workspace;
260
-
261
- /** Optional parameters. */
262
- export declare interface WorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
263
- }
264
-
265
- /** Contains response data for the listByResourceGroupNext operation. */
266
- export declare type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult;
267
-
268
- /** Optional parameters. */
269
- export declare interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
270
- }
271
-
272
- /** Contains response data for the listByResourceGroup operation. */
273
- export declare type WorkspacesListByResourceGroupResponse = WorkspaceListResult;
274
-
275
- /** Optional parameters. */
276
- export declare interface WorkspacesListNextOptionalParams extends coreClient.OperationOptions {
277
- }
278
-
279
- /** Contains response data for the listNext operation. */
280
- export declare type WorkspacesListNextResponse = WorkspaceListResult;
281
-
282
- /** Optional parameters. */
283
- export declare interface WorkspacesListOptionalParams extends coreClient.OperationOptions {
284
- }
285
-
286
- /** Contains response data for the list operation. */
287
- export declare type WorkspacesListResponse = WorkspaceListResult;
288
-
289
- /** Optional parameters. */
290
- export declare interface WorkspacesListWorkspaceKeysOptionalParams extends coreClient.OperationOptions {
291
- }
292
-
293
- /** Contains response data for the listWorkspaceKeys operation. */
294
- export declare type WorkspacesListWorkspaceKeysResponse = WorkspaceKeysResponse;
295
-
296
- /** Optional parameters. */
297
- export declare interface WorkspacesResyncStorageKeysOptionalParams extends coreClient.OperationOptions {
298
- }
299
-
300
- /** Defines values for WorkspaceState. */
301
- export declare type WorkspaceState = "Deleted" | "Enabled" | "Disabled" | "Migrated" | "Updated" | "Registered" | "Unregistered";
302
-
303
- /** Optional parameters. */
304
- export declare interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions {
305
- }
306
-
307
- /** Contains response data for the update operation. */
308
- export declare type WorkspacesUpdateResponse = Workspace;
309
-
310
- /** Defines values for WorkspaceType. */
311
- export declare type WorkspaceType = "Production" | "Free" | "Anonymous" | "PaidStandard" | "PaidPremium";
312
-
313
- /** The parameters for updating a machine learning workspace. */
314
- export declare interface WorkspaceUpdateParameters {
315
- /** The resource tags for the machine learning workspace. */
316
- tags?: {
317
- [propertyName: string]: string;
318
- };
319
- /** The current state of workspace resource. */
320
- workspaceState?: WorkspaceState;
321
- /** The key vault identifier used for encrypted workspaces. */
322
- keyVaultIdentifierId?: string;
323
- /** The sku of the workspace. */
324
- sku?: Sku;
325
- }
326
-
327
- export { }
File without changes
File without changes
File without changes