@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,330 @@
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 const OperationListResult = {
9
+ type: {
10
+ name: "Composite",
11
+ className: "OperationListResult",
12
+ modelProperties: {
13
+ value: {
14
+ serializedName: "value",
15
+ type: {
16
+ name: "Sequence",
17
+ element: {
18
+ type: {
19
+ name: "Composite",
20
+ className: "Operation"
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
26
+ }
27
+ };
28
+ export const Operation = {
29
+ type: {
30
+ name: "Composite",
31
+ className: "Operation",
32
+ modelProperties: {
33
+ name: {
34
+ serializedName: "name",
35
+ type: {
36
+ name: "String"
37
+ }
38
+ },
39
+ display: {
40
+ serializedName: "display",
41
+ type: {
42
+ name: "Composite",
43
+ className: "OperationDisplay"
44
+ }
45
+ }
46
+ }
47
+ }
48
+ };
49
+ export const OperationDisplay = {
50
+ type: {
51
+ name: "Composite",
52
+ className: "OperationDisplay",
53
+ modelProperties: {
54
+ provider: {
55
+ serializedName: "provider",
56
+ type: {
57
+ name: "String"
58
+ }
59
+ },
60
+ resource: {
61
+ serializedName: "resource",
62
+ type: {
63
+ name: "String"
64
+ }
65
+ },
66
+ operation: {
67
+ serializedName: "operation",
68
+ type: {
69
+ name: "String"
70
+ }
71
+ },
72
+ description: {
73
+ serializedName: "description",
74
+ type: {
75
+ name: "String"
76
+ }
77
+ }
78
+ }
79
+ }
80
+ };
81
+ export const ErrorResponse = {
82
+ type: {
83
+ name: "Composite",
84
+ className: "ErrorResponse",
85
+ modelProperties: {
86
+ code: {
87
+ serializedName: "code",
88
+ required: true,
89
+ type: {
90
+ name: "String"
91
+ }
92
+ },
93
+ message: {
94
+ serializedName: "message",
95
+ required: true,
96
+ type: {
97
+ name: "String"
98
+ }
99
+ }
100
+ }
101
+ }
102
+ };
103
+ export const Resource = {
104
+ type: {
105
+ name: "Composite",
106
+ className: "Resource",
107
+ modelProperties: {
108
+ id: {
109
+ serializedName: "id",
110
+ readOnly: true,
111
+ type: {
112
+ name: "String"
113
+ }
114
+ },
115
+ name: {
116
+ serializedName: "name",
117
+ readOnly: true,
118
+ type: {
119
+ name: "String"
120
+ }
121
+ },
122
+ type: {
123
+ serializedName: "type",
124
+ readOnly: true,
125
+ type: {
126
+ name: "String"
127
+ }
128
+ },
129
+ location: {
130
+ serializedName: "location",
131
+ required: true,
132
+ type: {
133
+ name: "String"
134
+ }
135
+ },
136
+ tags: {
137
+ serializedName: "tags",
138
+ type: {
139
+ name: "Dictionary",
140
+ value: { type: { name: "String" } }
141
+ }
142
+ },
143
+ sku: {
144
+ serializedName: "sku",
145
+ type: {
146
+ name: "Composite",
147
+ className: "Sku"
148
+ }
149
+ }
150
+ }
151
+ }
152
+ };
153
+ export const Sku = {
154
+ type: {
155
+ name: "Composite",
156
+ className: "Sku",
157
+ modelProperties: {
158
+ name: {
159
+ serializedName: "name",
160
+ type: {
161
+ name: "String"
162
+ }
163
+ },
164
+ tier: {
165
+ serializedName: "tier",
166
+ type: {
167
+ name: "String"
168
+ }
169
+ }
170
+ }
171
+ }
172
+ };
173
+ export const WorkspaceUpdateParameters = {
174
+ type: {
175
+ name: "Composite",
176
+ className: "WorkspaceUpdateParameters",
177
+ modelProperties: {
178
+ tags: {
179
+ serializedName: "tags",
180
+ type: {
181
+ name: "Dictionary",
182
+ value: { type: { name: "String" } }
183
+ }
184
+ },
185
+ workspaceState: {
186
+ serializedName: "properties.workspaceState",
187
+ type: {
188
+ name: "Enum",
189
+ allowedValues: [
190
+ "Deleted",
191
+ "Enabled",
192
+ "Disabled",
193
+ "Migrated",
194
+ "Updated",
195
+ "Registered",
196
+ "Unregistered"
197
+ ]
198
+ }
199
+ },
200
+ keyVaultIdentifierId: {
201
+ serializedName: "properties.keyVaultIdentifierId",
202
+ type: {
203
+ name: "String"
204
+ }
205
+ },
206
+ sku: {
207
+ serializedName: "properties.sku",
208
+ type: {
209
+ name: "Composite",
210
+ className: "Sku"
211
+ }
212
+ }
213
+ }
214
+ }
215
+ };
216
+ export const WorkspaceKeysResponse = {
217
+ type: {
218
+ name: "Composite",
219
+ className: "WorkspaceKeysResponse",
220
+ modelProperties: {
221
+ primaryToken: {
222
+ serializedName: "primaryToken",
223
+ type: {
224
+ name: "String"
225
+ }
226
+ },
227
+ secondaryToken: {
228
+ serializedName: "secondaryToken",
229
+ type: {
230
+ name: "String"
231
+ }
232
+ }
233
+ }
234
+ }
235
+ };
236
+ export const WorkspaceListResult = {
237
+ type: {
238
+ name: "Composite",
239
+ className: "WorkspaceListResult",
240
+ modelProperties: {
241
+ value: {
242
+ serializedName: "value",
243
+ type: {
244
+ name: "Sequence",
245
+ element: {
246
+ type: {
247
+ name: "Composite",
248
+ className: "Workspace"
249
+ }
250
+ }
251
+ }
252
+ },
253
+ nextLink: {
254
+ serializedName: "nextLink",
255
+ type: {
256
+ name: "String"
257
+ }
258
+ }
259
+ }
260
+ }
261
+ };
262
+ export const Workspace = {
263
+ type: {
264
+ name: "Composite",
265
+ className: "Workspace",
266
+ modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { userStorageAccountId: {
267
+ serializedName: "properties.userStorageAccountId",
268
+ type: {
269
+ name: "String"
270
+ }
271
+ }, ownerEmail: {
272
+ serializedName: "properties.ownerEmail",
273
+ type: {
274
+ name: "String"
275
+ }
276
+ }, workspaceType: {
277
+ serializedName: "properties.workspaceType",
278
+ readOnly: true,
279
+ type: {
280
+ name: "Enum",
281
+ allowedValues: [
282
+ "Production",
283
+ "Free",
284
+ "Anonymous",
285
+ "PaidStandard",
286
+ "PaidPremium"
287
+ ]
288
+ }
289
+ }, workspaceState: {
290
+ serializedName: "properties.workspaceState",
291
+ readOnly: true,
292
+ type: {
293
+ name: "Enum",
294
+ allowedValues: [
295
+ "Deleted",
296
+ "Enabled",
297
+ "Disabled",
298
+ "Migrated",
299
+ "Updated",
300
+ "Registered",
301
+ "Unregistered"
302
+ ]
303
+ }
304
+ }, workspaceId: {
305
+ serializedName: "properties.workspaceId",
306
+ readOnly: true,
307
+ type: {
308
+ name: "String"
309
+ }
310
+ }, creationTime: {
311
+ serializedName: "properties.creationTime",
312
+ readOnly: true,
313
+ type: {
314
+ name: "String"
315
+ }
316
+ }, studioEndpoint: {
317
+ serializedName: "properties.studioEndpoint",
318
+ readOnly: true,
319
+ type: {
320
+ name: "String"
321
+ }
322
+ }, keyVaultIdentifierId: {
323
+ serializedName: "properties.keyVaultIdentifierId",
324
+ type: {
325
+ name: "String"
326
+ }
327
+ } })
328
+ }
329
+ };
330
+ //# sourceMappingURL=mappers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAA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,cAAc;wBACd,aAAa;qBACd;iBACF;aACF,EACD,cAAc,EAAE;gBACd,cAAc,EAAE,2BAA2B;gBAC3C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,MAAM;oBACZ,aAAa,EAAE;wBACb,SAAS;wBACT,SAAS;wBACT,UAAU;wBACV,UAAU;wBACV,SAAS;wBACT,YAAY;wBACZ,cAAc;qBACf;iBACF;aACF,EACD,WAAW,EAAE;gBACX,cAAc,EAAE,wBAAwB;gBACxC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,YAAY,EAAE;gBACZ,cAAc,EAAE,yBAAyB;gBACzC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,cAAc,EAAE;gBACd,cAAc,EAAE,2BAA2B;gBAC3C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,oBAAoB,EAAE;gBACpB,cAAc,EAAE,iCAAiC;gBACjD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,GACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n sku: {\n serializedName: \"sku\",\n type: {\n name: \"Composite\",\n className: \"Sku\"\n }\n }\n }\n }\n};\n\nexport const Sku: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Sku\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n tier: {\n serializedName: \"tier\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WorkspaceUpdateParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WorkspaceUpdateParameters\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n workspaceState: {\n serializedName: \"properties.workspaceState\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Deleted\",\n \"Enabled\",\n \"Disabled\",\n \"Migrated\",\n \"Updated\",\n \"Registered\",\n \"Unregistered\"\n ]\n }\n },\n keyVaultIdentifierId: {\n serializedName: \"properties.keyVaultIdentifierId\",\n type: {\n name: \"String\"\n }\n },\n sku: {\n serializedName: \"properties.sku\",\n type: {\n name: \"Composite\",\n className: \"Sku\"\n }\n }\n }\n }\n};\n\nexport const WorkspaceKeysResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WorkspaceKeysResponse\",\n modelProperties: {\n primaryToken: {\n serializedName: \"primaryToken\",\n type: {\n name: \"String\"\n }\n },\n secondaryToken: {\n serializedName: \"secondaryToken\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WorkspaceListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WorkspaceListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Workspace\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Workspace: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Workspace\",\n modelProperties: {\n ...Resource.type.modelProperties,\n userStorageAccountId: {\n serializedName: \"properties.userStorageAccountId\",\n type: {\n name: \"String\"\n }\n },\n ownerEmail: {\n serializedName: \"properties.ownerEmail\",\n type: {\n name: \"String\"\n }\n },\n workspaceType: {\n serializedName: \"properties.workspaceType\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Production\",\n \"Free\",\n \"Anonymous\",\n \"PaidStandard\",\n \"PaidPremium\"\n ]\n }\n },\n workspaceState: {\n serializedName: \"properties.workspaceState\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Deleted\",\n \"Enabled\",\n \"Disabled\",\n \"Migrated\",\n \"Updated\",\n \"Registered\",\n \"Unregistered\"\n ]\n }\n },\n workspaceId: {\n serializedName: \"properties.workspaceId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n creationTime: {\n serializedName: \"properties.creationTime\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n studioEndpoint: {\n serializedName: \"properties.studioEndpoint\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n keyVaultIdentifierId: {\n serializedName: \"properties.keyVaultIdentifierId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
@@ -0,0 +1,12 @@
1
+ import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
2
+ export declare const accept: OperationParameter;
3
+ export declare const $host: OperationURLParameter;
4
+ export declare const apiVersion: OperationQueryParameter;
5
+ export declare const subscriptionId: OperationURLParameter;
6
+ export declare const resourceGroupName: OperationURLParameter;
7
+ export declare const workspaceName: OperationURLParameter;
8
+ export declare const contentType: OperationParameter;
9
+ export declare const parameters: OperationParameter;
10
+ export declare const parameters1: OperationParameter;
11
+ export declare const nextLink: OperationURLParameter;
12
+ //# sourceMappingURL=parameters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAM5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAS/B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAS3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,kBAGxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC"}
@@ -0,0 +1,102 @@
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 { Workspace as WorkspaceMapper, WorkspaceUpdateParameters as WorkspaceUpdateParametersMapper } from "../models/mappers.js";
9
+ export const accept = {
10
+ parameterPath: "accept",
11
+ mapper: {
12
+ defaultValue: "application/json",
13
+ isConstant: true,
14
+ serializedName: "Accept",
15
+ type: {
16
+ name: "String"
17
+ }
18
+ }
19
+ };
20
+ export const $host = {
21
+ parameterPath: "$host",
22
+ mapper: {
23
+ serializedName: "$host",
24
+ required: true,
25
+ type: {
26
+ name: "String"
27
+ }
28
+ },
29
+ skipEncoding: true
30
+ };
31
+ export const apiVersion = {
32
+ parameterPath: "apiVersion",
33
+ mapper: {
34
+ defaultValue: "2019-10-01",
35
+ isConstant: true,
36
+ serializedName: "api-version",
37
+ type: {
38
+ name: "String"
39
+ }
40
+ }
41
+ };
42
+ export const subscriptionId = {
43
+ parameterPath: "subscriptionId",
44
+ mapper: {
45
+ serializedName: "subscriptionId",
46
+ required: true,
47
+ type: {
48
+ name: "String"
49
+ }
50
+ }
51
+ };
52
+ export const resourceGroupName = {
53
+ parameterPath: "resourceGroupName",
54
+ mapper: {
55
+ serializedName: "resourceGroupName",
56
+ required: true,
57
+ type: {
58
+ name: "String"
59
+ }
60
+ }
61
+ };
62
+ export const workspaceName = {
63
+ parameterPath: "workspaceName",
64
+ mapper: {
65
+ serializedName: "workspaceName",
66
+ required: true,
67
+ type: {
68
+ name: "String"
69
+ }
70
+ }
71
+ };
72
+ export const contentType = {
73
+ parameterPath: ["options", "contentType"],
74
+ mapper: {
75
+ defaultValue: "application/json",
76
+ isConstant: true,
77
+ serializedName: "Content-Type",
78
+ type: {
79
+ name: "String"
80
+ }
81
+ }
82
+ };
83
+ export const parameters = {
84
+ parameterPath: "parameters",
85
+ mapper: WorkspaceMapper
86
+ };
87
+ export const parameters1 = {
88
+ parameterPath: "parameters",
89
+ mapper: WorkspaceUpdateParametersMapper
90
+ };
91
+ export const nextLink = {
92
+ parameterPath: "nextLink",
93
+ mapper: {
94
+ serializedName: "nextLink",
95
+ required: true,
96
+ type: {
97
+ name: "String"
98
+ }
99
+ },
100
+ skipEncoding: true
101
+ };
102
+ //# sourceMappingURL=parameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,SAAS,IAAI,eAAe,EAC5B,yBAAyB,IAAI,+BAA+B,EAC7D,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY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M,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n Workspace as WorkspaceMapper,\n WorkspaceUpdateParameters as WorkspaceUpdateParametersMapper\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2019-10-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const workspaceName: OperationURLParameter = {\n parameterPath: \"workspaceName\",\n mapper: {\n serializedName: \"workspaceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: WorkspaceMapper\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: WorkspaceUpdateParametersMapper\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n"]}
@@ -0,0 +1,3 @@
1
+ export * from "./operations.js";
2
+ export * from "./workspaces.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,10 @@
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 * from "./operations.js";
9
+ export * from "./workspaces.js";
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,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 * from \"./operations.js\";\nexport * from \"./workspaces.js\";\n"]}
@@ -0,0 +1,26 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operations } from "../operationsInterfaces/index.js";
3
+ import { MachineLearningWorkspacesManagementClient } from "../machineLearningWorkspacesManagementClient.js";
4
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
5
+ /** Class containing Operations operations. */
6
+ export declare class OperationsImpl implements Operations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Operations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: MachineLearningWorkspacesManagementClient);
13
+ /**
14
+ * Lists all of the available Azure Machine Learning Studio REST API operations.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Lists all of the available Azure Machine Learning Studio REST API operations.
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ }
26
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,yCAAyC,EAAE,MAAM,iDAAiD,CAAC;AAC5G,OAAO,EACL,SAAS,EACT,4BAA4B,EAE7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4C;IAEnE;;;OAGG;gBACS,MAAM,EAAE,yCAAyC;IAI7D;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YASd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAKd"}
@@ -0,0 +1,96 @@
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Operations operations. */
14
+ export class OperationsImpl {
15
+ /**
16
+ * Initialize a new instance of the class Operations class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Lists all of the available Azure Machine Learning Studio REST API operations.
24
+ * @param options The options parameters.
25
+ */
26
+ list(options) {
27
+ const iter = this.listPagingAll(options);
28
+ return {
29
+ next() {
30
+ return iter.next();
31
+ },
32
+ [Symbol.asyncIterator]() {
33
+ return this;
34
+ },
35
+ byPage: (settings) => {
36
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
37
+ throw new Error("maxPageSize is not supported by this operation.");
38
+ }
39
+ return this.listPagingPage(options, settings);
40
+ }
41
+ };
42
+ }
43
+ listPagingPage(options, _settings) {
44
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
45
+ let result;
46
+ result = yield __await(this._list(options));
47
+ yield yield __await(result.value || []);
48
+ });
49
+ }
50
+ listPagingAll(options) {
51
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
52
+ var _a, e_1, _b, _c;
53
+ try {
54
+ for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
55
+ _c = _f.value;
56
+ _d = false;
57
+ const page = _c;
58
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
59
+ }
60
+ }
61
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
62
+ finally {
63
+ try {
64
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
65
+ }
66
+ finally { if (e_1) throw e_1.error; }
67
+ }
68
+ });
69
+ }
70
+ /**
71
+ * Lists all of the available Azure Machine Learning Studio REST API operations.
72
+ * @param options The options parameters.
73
+ */
74
+ _list(options) {
75
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
76
+ }
77
+ }
78
+ // Operation Specifications
79
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
80
+ const listOperationSpec = {
81
+ path: "/providers/Microsoft.MachineLearning/operations",
82
+ httpMethod: "GET",
83
+ responses: {
84
+ 200: {
85
+ bodyMapper: Mappers.OperationListResult
86
+ },
87
+ default: {
88
+ bodyMapper: Mappers.ErrorResponse
89
+ }
90
+ },
91
+ queryParameters: [Parameters.apiVersion],
92
+ urlParameters: [Parameters.$host],
93
+ headerParameters: [Parameters.accept],
94
+ serializer
95
+ };
96
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAiD;QAC3D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI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AAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MachineLearningWorkspacesManagementClient } from \"../machineLearningWorkspacesManagementClient.js\";\nimport {\n Operation,\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: MachineLearningWorkspacesManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: MachineLearningWorkspacesManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Azure Machine Learning Studio REST API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Azure Machine Learning Studio REST API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.MachineLearning/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}