@azure/arm-machinelearningcompute 3.0.0-beta.3 → 3.0.0-beta.4

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 (339) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/LICENSE +4 -4
  3. package/README.md +29 -19
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/index.js +4 -4
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
  9. package/dist/browser/lroImpl.js.map +1 -0
  10. package/{dist-esm/src → dist/browser}/machineLearningComputeManagementClient.d.ts +2 -2
  11. package/dist/browser/machineLearningComputeManagementClient.d.ts.map +1 -0
  12. package/{dist-esm/src → dist/browser}/machineLearningComputeManagementClient.js +31 -24
  13. package/dist/browser/machineLearningComputeManagementClient.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/index.d.ts +19 -19
  15. package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
  16. package/dist/browser/models/index.js.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/mappers.js +25 -12
  18. package/dist/browser/models/mappers.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  20. package/dist/browser/models/parameters.js.map +1 -0
  21. package/dist/browser/operations/index.d.ts +3 -0
  22. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  23. package/{dist-esm/src → dist/browser}/operations/index.js +2 -2
  24. package/dist/browser/operations/index.js.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/machineLearningCompute.d.ts +3 -3
  26. package/dist/browser/operations/machineLearningCompute.d.ts.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/machineLearningCompute.js +3 -2
  28. package/dist/browser/operations/machineLearningCompute.js.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/operationalizationClusters.d.ts +3 -3
  30. package/dist/browser/operations/operationalizationClusters.d.ts.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/operationalizationClusters.js +160 -187
  32. package/dist/browser/operations/operationalizationClusters.js.map +1 -0
  33. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  34. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  35. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +2 -2
  36. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operationsInterfaces/machineLearningCompute.d.ts +1 -1
  38. package/{dist-esm/src → dist/browser}/operationsInterfaces/machineLearningCompute.d.ts.map +1 -1
  39. package/dist/browser/operationsInterfaces/machineLearningCompute.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operationsInterfaces/operationalizationClusters.d.ts +1 -1
  41. package/dist/browser/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
  42. package/dist/browser/operationsInterfaces/operationalizationClusters.js.map +1 -0
  43. package/dist/browser/package.json +3 -0
  44. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  45. package/dist/browser/pagingHelper.js.map +1 -0
  46. package/dist/commonjs/index.d.ts +5 -0
  47. package/dist/commonjs/index.d.ts.map +1 -0
  48. package/dist/commonjs/index.js +19 -0
  49. package/dist/commonjs/index.js.map +1 -0
  50. package/dist/commonjs/lroImpl.d.ts +16 -0
  51. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  52. package/dist/commonjs/lroImpl.js +37 -0
  53. package/dist/commonjs/lroImpl.js.map +1 -0
  54. package/dist/commonjs/machineLearningComputeManagementClient.d.ts +21 -0
  55. package/dist/commonjs/machineLearningComputeManagementClient.d.ts.map +1 -0
  56. package/dist/commonjs/machineLearningComputeManagementClient.js +113 -0
  57. package/dist/commonjs/machineLearningComputeManagementClient.js.map +1 -0
  58. package/{types/arm-machinelearningcompute.d.ts → dist/commonjs/models/index.d.ts} +702 -902
  59. package/dist/commonjs/models/index.d.ts.map +1 -0
  60. package/dist/commonjs/models/index.js +169 -0
  61. package/dist/commonjs/models/index.js.map +1 -0
  62. package/dist/commonjs/models/mappers.d.ts +32 -0
  63. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  64. package/dist/commonjs/models/mappers.js +886 -0
  65. package/dist/commonjs/models/mappers.js.map +1 -0
  66. package/dist/commonjs/models/parameters.d.ts +14 -0
  67. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  68. package/dist/commonjs/models/parameters.js +133 -0
  69. package/dist/commonjs/models/parameters.js.map +1 -0
  70. package/dist/commonjs/operations/index.d.ts +3 -0
  71. package/dist/commonjs/operations/index.d.ts.map +1 -0
  72. package/dist/commonjs/operations/index.js +13 -0
  73. package/dist/commonjs/operations/index.js.map +1 -0
  74. package/dist/commonjs/operations/machineLearningCompute.d.ts +18 -0
  75. package/dist/commonjs/operations/machineLearningCompute.d.ts.map +1 -0
  76. package/dist/commonjs/operations/machineLearningCompute.js +49 -0
  77. package/dist/commonjs/operations/machineLearningCompute.js.map +1 -0
  78. package/dist/commonjs/operations/operationalizationClusters.d.ts +130 -0
  79. package/dist/commonjs/operations/operationalizationClusters.d.ts.map +1 -0
  80. package/dist/commonjs/operations/operationalizationClusters.js +586 -0
  81. package/dist/commonjs/operations/operationalizationClusters.js.map +1 -0
  82. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  83. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  84. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  85. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  86. package/dist/commonjs/operationsInterfaces/machineLearningCompute.d.ts +10 -0
  87. package/dist/commonjs/operationsInterfaces/machineLearningCompute.d.ts.map +1 -0
  88. package/dist/commonjs/operationsInterfaces/machineLearningCompute.js +10 -0
  89. package/dist/commonjs/operationsInterfaces/machineLearningCompute.js.map +1 -0
  90. package/dist/commonjs/operationsInterfaces/operationalizationClusters.d.ts +94 -0
  91. package/dist/commonjs/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
  92. package/dist/commonjs/operationsInterfaces/operationalizationClusters.js +10 -0
  93. package/dist/commonjs/operationsInterfaces/operationalizationClusters.js.map +1 -0
  94. package/dist/commonjs/package.json +3 -0
  95. package/dist/commonjs/pagingHelper.d.ts +13 -0
  96. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  97. package/dist/commonjs/pagingHelper.js +34 -0
  98. package/dist/commonjs/pagingHelper.js.map +1 -0
  99. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  100. package/dist/esm/index.d.ts +5 -0
  101. package/dist/esm/index.d.ts.map +1 -0
  102. package/{src/index.ts → dist/esm/index.js} +5 -5
  103. package/dist/esm/index.js.map +1 -0
  104. package/dist/esm/lroImpl.d.ts +16 -0
  105. package/dist/esm/lroImpl.d.ts.map +1 -0
  106. package/dist/esm/lroImpl.js +33 -0
  107. package/dist/esm/lroImpl.js.map +1 -0
  108. package/dist/esm/machineLearningComputeManagementClient.d.ts +21 -0
  109. package/dist/esm/machineLearningComputeManagementClient.d.ts.map +1 -0
  110. package/dist/esm/machineLearningComputeManagementClient.js +108 -0
  111. package/dist/esm/machineLearningComputeManagementClient.js.map +1 -0
  112. package/dist/esm/models/index.d.ts +702 -0
  113. package/dist/esm/models/index.d.ts.map +1 -0
  114. package/dist/esm/models/index.js +166 -0
  115. package/dist/esm/models/index.js.map +1 -0
  116. package/dist/esm/models/mappers.d.ts +32 -0
  117. package/dist/esm/models/mappers.d.ts.map +1 -0
  118. package/dist/esm/models/mappers.js +883 -0
  119. package/dist/esm/models/mappers.js.map +1 -0
  120. package/dist/esm/models/parameters.d.ts +14 -0
  121. package/dist/esm/models/parameters.d.ts.map +1 -0
  122. package/dist/esm/models/parameters.js +130 -0
  123. package/dist/esm/models/parameters.js.map +1 -0
  124. package/dist/esm/operations/index.d.ts +3 -0
  125. package/dist/esm/operations/index.d.ts.map +1 -0
  126. package/dist/esm/operations/index.js +10 -0
  127. package/dist/esm/operations/index.js.map +1 -0
  128. package/dist/esm/operations/machineLearningCompute.d.ts +18 -0
  129. package/dist/esm/operations/machineLearningCompute.d.ts.map +1 -0
  130. package/dist/esm/operations/machineLearningCompute.js +44 -0
  131. package/dist/esm/operations/machineLearningCompute.js.map +1 -0
  132. package/dist/esm/operations/operationalizationClusters.d.ts +130 -0
  133. package/dist/esm/operations/operationalizationClusters.d.ts.map +1 -0
  134. package/dist/esm/operations/operationalizationClusters.js +581 -0
  135. package/dist/esm/operations/operationalizationClusters.js.map +1 -0
  136. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  137. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  138. package/dist/esm/operationsInterfaces/index.js +10 -0
  139. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  140. package/dist/esm/operationsInterfaces/machineLearningCompute.d.ts +10 -0
  141. package/dist/esm/operationsInterfaces/machineLearningCompute.d.ts.map +1 -0
  142. package/{src/operations/index.ts → dist/esm/operationsInterfaces/machineLearningCompute.js} +2 -3
  143. package/dist/esm/operationsInterfaces/machineLearningCompute.js.map +1 -0
  144. package/dist/esm/operationsInterfaces/operationalizationClusters.d.ts +94 -0
  145. package/dist/esm/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
  146. package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/operationalizationClusters.js} +2 -3
  147. package/dist/esm/operationsInterfaces/operationalizationClusters.js.map +1 -0
  148. package/dist/esm/package.json +3 -0
  149. package/dist/esm/pagingHelper.d.ts +13 -0
  150. package/dist/esm/pagingHelper.d.ts.map +1 -0
  151. package/dist/esm/pagingHelper.js +30 -0
  152. package/dist/esm/pagingHelper.js.map +1 -0
  153. package/dist/react-native/index.d.ts +5 -0
  154. package/dist/react-native/index.d.ts.map +1 -0
  155. package/dist/react-native/index.js +13 -0
  156. package/dist/react-native/index.js.map +1 -0
  157. package/dist/react-native/lroImpl.d.ts +16 -0
  158. package/dist/react-native/lroImpl.d.ts.map +1 -0
  159. package/dist/react-native/lroImpl.js +33 -0
  160. package/dist/react-native/lroImpl.js.map +1 -0
  161. package/dist/react-native/machineLearningComputeManagementClient.d.ts +21 -0
  162. package/dist/react-native/machineLearningComputeManagementClient.d.ts.map +1 -0
  163. package/dist/react-native/machineLearningComputeManagementClient.js +108 -0
  164. package/dist/react-native/machineLearningComputeManagementClient.js.map +1 -0
  165. package/dist/react-native/models/index.d.ts +702 -0
  166. package/dist/react-native/models/index.d.ts.map +1 -0
  167. package/dist/react-native/models/index.js +166 -0
  168. package/dist/react-native/models/index.js.map +1 -0
  169. package/dist/react-native/models/mappers.d.ts +32 -0
  170. package/dist/react-native/models/mappers.d.ts.map +1 -0
  171. package/dist/react-native/models/mappers.js +883 -0
  172. package/dist/react-native/models/mappers.js.map +1 -0
  173. package/dist/react-native/models/parameters.d.ts +14 -0
  174. package/dist/react-native/models/parameters.d.ts.map +1 -0
  175. package/dist/react-native/models/parameters.js +130 -0
  176. package/dist/react-native/models/parameters.js.map +1 -0
  177. package/dist/react-native/operations/index.d.ts +3 -0
  178. package/dist/react-native/operations/index.d.ts.map +1 -0
  179. package/dist/react-native/operations/index.js +10 -0
  180. package/dist/react-native/operations/index.js.map +1 -0
  181. package/dist/react-native/operations/machineLearningCompute.d.ts +18 -0
  182. package/dist/react-native/operations/machineLearningCompute.d.ts.map +1 -0
  183. package/dist/react-native/operations/machineLearningCompute.js +44 -0
  184. package/dist/react-native/operations/machineLearningCompute.js.map +1 -0
  185. package/dist/react-native/operations/operationalizationClusters.d.ts +130 -0
  186. package/dist/react-native/operations/operationalizationClusters.d.ts.map +1 -0
  187. package/dist/react-native/operations/operationalizationClusters.js +581 -0
  188. package/dist/react-native/operations/operationalizationClusters.js.map +1 -0
  189. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  190. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  191. package/dist/react-native/operationsInterfaces/index.js +10 -0
  192. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  193. package/dist/react-native/operationsInterfaces/machineLearningCompute.d.ts +10 -0
  194. package/dist/react-native/operationsInterfaces/machineLearningCompute.d.ts.map +1 -0
  195. package/dist/react-native/operationsInterfaces/machineLearningCompute.js +9 -0
  196. package/dist/react-native/operationsInterfaces/machineLearningCompute.js.map +1 -0
  197. package/dist/react-native/operationsInterfaces/operationalizationClusters.d.ts +94 -0
  198. package/dist/react-native/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
  199. package/dist/react-native/operationsInterfaces/operationalizationClusters.js +9 -0
  200. package/dist/react-native/operationsInterfaces/operationalizationClusters.js.map +1 -0
  201. package/dist/react-native/package.json +3 -0
  202. package/dist/react-native/pagingHelper.d.ts +13 -0
  203. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  204. package/dist/react-native/pagingHelper.js +30 -0
  205. package/dist/react-native/pagingHelper.js.map +1 -0
  206. package/package.json +85 -76
  207. package/dist/index.js +0 -2030
  208. package/dist/index.js.map +0 -1
  209. package/dist/index.min.js +0 -1
  210. package/dist/index.min.js.map +0 -1
  211. package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.d.ts +0 -2
  212. package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.d.ts.map +0 -1
  213. package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.js +0 -31
  214. package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.js.map +0 -1
  215. package/dist-esm/samples-dev/deleteOperationalizationCluster.d.ts +0 -2
  216. package/dist-esm/samples-dev/deleteOperationalizationCluster.d.ts.map +0 -1
  217. package/dist-esm/samples-dev/deleteOperationalizationCluster.js +0 -31
  218. package/dist-esm/samples-dev/deleteOperationalizationCluster.js.map +0 -1
  219. package/dist-esm/samples-dev/getOperationalizationCluster.d.ts +0 -2
  220. package/dist-esm/samples-dev/getOperationalizationCluster.d.ts.map +0 -1
  221. package/dist-esm/samples-dev/getOperationalizationCluster.js +0 -31
  222. package/dist-esm/samples-dev/getOperationalizationCluster.js.map +0 -1
  223. package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.d.ts +0 -2
  224. package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.d.ts.map +0 -1
  225. package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.js +0 -31
  226. package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.js.map +0 -1
  227. package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.d.ts +0 -2
  228. package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.d.ts.map +0 -1
  229. package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.js +0 -44
  230. package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.js.map +0 -1
  231. package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.d.ts +0 -2
  232. package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.d.ts.map +0 -1
  233. package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.js +0 -43
  234. package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.js.map +0 -1
  235. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.d.ts +0 -2
  236. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.d.ts.map +0 -1
  237. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.js +0 -29
  238. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.js.map +0 -1
  239. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.d.ts +0 -2
  240. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.d.ts.map +0 -1
  241. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.js +0 -29
  242. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.js.map +0 -1
  243. package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.d.ts +0 -2
  244. package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.d.ts.map +0 -1
  245. package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.js +0 -31
  246. package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.js.map +0 -1
  247. package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.d.ts +0 -2
  248. package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.d.ts.map +0 -1
  249. package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.js +0 -54
  250. package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.js.map +0 -1
  251. package/dist-esm/samples-dev/operationalizationClustersDeleteSample.d.ts +0 -2
  252. package/dist-esm/samples-dev/operationalizationClustersDeleteSample.d.ts.map +0 -1
  253. package/dist-esm/samples-dev/operationalizationClustersDeleteSample.js +0 -31
  254. package/dist-esm/samples-dev/operationalizationClustersDeleteSample.js.map +0 -1
  255. package/dist-esm/samples-dev/operationalizationClustersGetSample.d.ts +0 -2
  256. package/dist-esm/samples-dev/operationalizationClustersGetSample.d.ts.map +0 -1
  257. package/dist-esm/samples-dev/operationalizationClustersGetSample.js +0 -31
  258. package/dist-esm/samples-dev/operationalizationClustersGetSample.js.map +0 -1
  259. package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.d.ts +0 -2
  260. package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.d.ts.map +0 -1
  261. package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.js +0 -44
  262. package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.js.map +0 -1
  263. package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.d.ts +0 -2
  264. package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.d.ts.map +0 -1
  265. package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.js +0 -43
  266. package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.js.map +0 -1
  267. package/dist-esm/samples-dev/operationalizationClustersListKeysSample.d.ts +0 -2
  268. package/dist-esm/samples-dev/operationalizationClustersListKeysSample.d.ts.map +0 -1
  269. package/dist-esm/samples-dev/operationalizationClustersListKeysSample.js +0 -31
  270. package/dist-esm/samples-dev/operationalizationClustersListKeysSample.js.map +0 -1
  271. package/dist-esm/samples-dev/operationalizationClustersUpdateSample.d.ts +0 -2
  272. package/dist-esm/samples-dev/operationalizationClustersUpdateSample.d.ts.map +0 -1
  273. package/dist-esm/samples-dev/operationalizationClustersUpdateSample.js +0 -34
  274. package/dist-esm/samples-dev/operationalizationClustersUpdateSample.js.map +0 -1
  275. package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.d.ts +0 -2
  276. package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.d.ts.map +0 -1
  277. package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.js +0 -31
  278. package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.js.map +0 -1
  279. package/dist-esm/samples-dev/patchOperationalizationCluster.d.ts +0 -2
  280. package/dist-esm/samples-dev/patchOperationalizationCluster.d.ts.map +0 -1
  281. package/dist-esm/samples-dev/patchOperationalizationCluster.js +0 -34
  282. package/dist-esm/samples-dev/patchOperationalizationCluster.js.map +0 -1
  283. package/dist-esm/samples-dev/putOperationalizationCluster.d.ts +0 -2
  284. package/dist-esm/samples-dev/putOperationalizationCluster.d.ts.map +0 -1
  285. package/dist-esm/samples-dev/putOperationalizationCluster.js +0 -54
  286. package/dist-esm/samples-dev/putOperationalizationCluster.js.map +0 -1
  287. package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.d.ts +0 -2
  288. package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.d.ts.map +0 -1
  289. package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.js +0 -31
  290. package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.js.map +0 -1
  291. package/dist-esm/src/index.d.ts +0 -6
  292. package/dist-esm/src/index.d.ts.map +0 -1
  293. package/dist-esm/src/index.js.map +0 -1
  294. package/dist-esm/src/lroImpl.js.map +0 -1
  295. package/dist-esm/src/machineLearningComputeManagementClient.d.ts.map +0 -1
  296. package/dist-esm/src/machineLearningComputeManagementClient.js.map +0 -1
  297. package/dist-esm/src/models/index.js.map +0 -1
  298. package/dist-esm/src/models/mappers.js.map +0 -1
  299. package/dist-esm/src/models/parameters.js.map +0 -1
  300. package/dist-esm/src/operations/index.d.ts +0 -3
  301. package/dist-esm/src/operations/index.js.map +0 -1
  302. package/dist-esm/src/operations/machineLearningCompute.d.ts.map +0 -1
  303. package/dist-esm/src/operations/machineLearningCompute.js.map +0 -1
  304. package/dist-esm/src/operations/operationalizationClusters.d.ts.map +0 -1
  305. package/dist-esm/src/operations/operationalizationClusters.js.map +0 -1
  306. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  307. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  308. package/dist-esm/src/operationsInterfaces/machineLearningCompute.js.map +0 -1
  309. package/dist-esm/src/operationsInterfaces/operationalizationClusters.d.ts.map +0 -1
  310. package/dist-esm/src/operationsInterfaces/operationalizationClusters.js.map +0 -1
  311. package/dist-esm/src/pagingHelper.js.map +0 -1
  312. package/dist-esm/test/sampleTest.d.ts +0 -2
  313. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  314. package/dist-esm/test/sampleTest.js +0 -38
  315. package/dist-esm/test/sampleTest.js.map +0 -1
  316. package/rollup.config.js +0 -122
  317. package/src/lroImpl.ts +0 -34
  318. package/src/machineLearningComputeManagementClient.ts +0 -148
  319. package/src/models/index.ts +0 -782
  320. package/src/models/mappers.ts +0 -914
  321. package/src/models/parameters.ts +0 -150
  322. package/src/operations/machineLearningCompute.ts +0 -59
  323. package/src/operations/operationalizationClusters.ts +0 -830
  324. package/src/operationsInterfaces/machineLearningCompute.ts +0 -23
  325. package/src/operationsInterfaces/operationalizationClusters.ts +0 -189
  326. package/src/pagingHelper.ts +0 -39
  327. package/tsconfig.json +0 -33
  328. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  329. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  330. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  331. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  332. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  333. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  334. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  335. /package/{dist-esm/src → dist/browser}/operationsInterfaces/machineLearningCompute.js +0 -0
  336. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationalizationClusters.js +0 -0
  337. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  338. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  339. /package/review/{arm-machinelearningcompute.api.md → arm-machinelearningcompute-node.api.md} +0 -0
@@ -0,0 +1,586 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.OperationalizationClustersImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ const core_lro_1 = require("@azure/core-lro");
17
+ const lroImpl_js_1 = require("../lroImpl.js");
18
+ /// <reference lib="esnext.asynciterable" />
19
+ /** Class containing OperationalizationClusters operations. */
20
+ class OperationalizationClustersImpl {
21
+ client;
22
+ /**
23
+ * Initialize a new instance of the class OperationalizationClusters class.
24
+ * @param client Reference to the service client
25
+ */
26
+ constructor(client) {
27
+ this.client = client;
28
+ }
29
+ /**
30
+ * Gets the clusters in the specified resource group.
31
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
32
+ * @param options The options parameters.
33
+ */
34
+ listByResourceGroup(resourceGroupName, options) {
35
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
36
+ return {
37
+ next() {
38
+ return iter.next();
39
+ },
40
+ [Symbol.asyncIterator]() {
41
+ return this;
42
+ },
43
+ byPage: (settings) => {
44
+ if (settings?.maxPageSize) {
45
+ throw new Error("maxPageSize is not supported by this operation.");
46
+ }
47
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
48
+ }
49
+ };
50
+ }
51
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
52
+ let result;
53
+ let continuationToken = settings?.continuationToken;
54
+ if (!continuationToken) {
55
+ result = await this._listByResourceGroup(resourceGroupName, options);
56
+ let page = result.value || [];
57
+ continuationToken = result.nextLink;
58
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
59
+ yield page;
60
+ }
61
+ while (continuationToken) {
62
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
63
+ continuationToken = result.nextLink;
64
+ let page = result.value || [];
65
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
66
+ yield page;
67
+ }
68
+ }
69
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
70
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
71
+ yield* page;
72
+ }
73
+ }
74
+ /**
75
+ * Gets the operationalization clusters in the specified subscription.
76
+ * @param options The options parameters.
77
+ */
78
+ listBySubscriptionId(options) {
79
+ const iter = this.listBySubscriptionIdPagingAll(options);
80
+ return {
81
+ next() {
82
+ return iter.next();
83
+ },
84
+ [Symbol.asyncIterator]() {
85
+ return this;
86
+ },
87
+ byPage: (settings) => {
88
+ if (settings?.maxPageSize) {
89
+ throw new Error("maxPageSize is not supported by this operation.");
90
+ }
91
+ return this.listBySubscriptionIdPagingPage(options, settings);
92
+ }
93
+ };
94
+ }
95
+ async *listBySubscriptionIdPagingPage(options, settings) {
96
+ let result;
97
+ let continuationToken = settings?.continuationToken;
98
+ if (!continuationToken) {
99
+ result = await this._listBySubscriptionId(options);
100
+ let page = result.value || [];
101
+ continuationToken = result.nextLink;
102
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
103
+ yield page;
104
+ }
105
+ while (continuationToken) {
106
+ result = await this._listBySubscriptionIdNext(continuationToken, options);
107
+ continuationToken = result.nextLink;
108
+ let page = result.value || [];
109
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
110
+ yield page;
111
+ }
112
+ }
113
+ async *listBySubscriptionIdPagingAll(options) {
114
+ for await (const page of this.listBySubscriptionIdPagingPage(options)) {
115
+ yield* page;
116
+ }
117
+ }
118
+ /**
119
+ * Create or update an operationalization cluster.
120
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
121
+ * @param clusterName The name of the cluster.
122
+ * @param parameters Parameters supplied to create or update an Operationalization cluster.
123
+ * @param options The options parameters.
124
+ */
125
+ async beginCreateOrUpdate(resourceGroupName, clusterName, parameters, options) {
126
+ const directSendOperation = async (args, spec) => {
127
+ return this.client.sendOperationRequest(args, spec);
128
+ };
129
+ const sendOperation = async (args, spec) => {
130
+ let currentRawResponse = undefined;
131
+ const providedCallback = args.options?.onResponse;
132
+ const callback = (rawResponse, flatResponse) => {
133
+ currentRawResponse = rawResponse;
134
+ providedCallback?.(rawResponse, flatResponse);
135
+ };
136
+ const updatedArgs = {
137
+ ...args,
138
+ options: {
139
+ ...args.options,
140
+ onResponse: callback
141
+ }
142
+ };
143
+ const flatResponse = await directSendOperation(updatedArgs, spec);
144
+ return {
145
+ flatResponse,
146
+ rawResponse: {
147
+ statusCode: currentRawResponse.status,
148
+ body: currentRawResponse.parsedBody,
149
+ headers: currentRawResponse.headers.toJSON()
150
+ }
151
+ };
152
+ };
153
+ const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, clusterName, parameters, options }, createOrUpdateOperationSpec);
154
+ const poller = new core_lro_1.LroEngine(lro, {
155
+ resumeFrom: options?.resumeFrom,
156
+ intervalInMs: options?.updateIntervalInMs
157
+ });
158
+ await poller.poll();
159
+ return poller;
160
+ }
161
+ /**
162
+ * Create or update an operationalization cluster.
163
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
164
+ * @param clusterName The name of the cluster.
165
+ * @param parameters Parameters supplied to create or update an Operationalization cluster.
166
+ * @param options The options parameters.
167
+ */
168
+ async beginCreateOrUpdateAndWait(resourceGroupName, clusterName, parameters, options) {
169
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, clusterName, parameters, options);
170
+ return poller.pollUntilDone();
171
+ }
172
+ /**
173
+ * Gets the operationalization cluster resource view. Note that the credentials are not returned by
174
+ * this call. Call ListKeys to get them.
175
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
176
+ * @param clusterName The name of the cluster.
177
+ * @param options The options parameters.
178
+ */
179
+ get(resourceGroupName, clusterName, options) {
180
+ return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, getOperationSpec);
181
+ }
182
+ /**
183
+ * The PATCH operation can be used to update only the tags for a cluster. Use PUT operation to update
184
+ * other properties.
185
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
186
+ * @param clusterName The name of the cluster.
187
+ * @param parameters The parameters supplied to patch the cluster.
188
+ * @param options The options parameters.
189
+ */
190
+ update(resourceGroupName, clusterName, parameters, options) {
191
+ return this.client.sendOperationRequest({ resourceGroupName, clusterName, parameters, options }, updateOperationSpec);
192
+ }
193
+ /**
194
+ * Deletes the specified cluster.
195
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
196
+ * @param clusterName The name of the cluster.
197
+ * @param options The options parameters.
198
+ */
199
+ async beginDelete(resourceGroupName, clusterName, options) {
200
+ const directSendOperation = async (args, spec) => {
201
+ return this.client.sendOperationRequest(args, spec);
202
+ };
203
+ const sendOperation = async (args, spec) => {
204
+ let currentRawResponse = undefined;
205
+ const providedCallback = args.options?.onResponse;
206
+ const callback = (rawResponse, flatResponse) => {
207
+ currentRawResponse = rawResponse;
208
+ providedCallback?.(rawResponse, flatResponse);
209
+ };
210
+ const updatedArgs = {
211
+ ...args,
212
+ options: {
213
+ ...args.options,
214
+ onResponse: callback
215
+ }
216
+ };
217
+ const flatResponse = await directSendOperation(updatedArgs, spec);
218
+ return {
219
+ flatResponse,
220
+ rawResponse: {
221
+ statusCode: currentRawResponse.status,
222
+ body: currentRawResponse.parsedBody,
223
+ headers: currentRawResponse.headers.toJSON()
224
+ }
225
+ };
226
+ };
227
+ const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, clusterName, options }, deleteOperationSpec);
228
+ const poller = new core_lro_1.LroEngine(lro, {
229
+ resumeFrom: options?.resumeFrom,
230
+ intervalInMs: options?.updateIntervalInMs
231
+ });
232
+ await poller.poll();
233
+ return poller;
234
+ }
235
+ /**
236
+ * Deletes the specified cluster.
237
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
238
+ * @param clusterName The name of the cluster.
239
+ * @param options The options parameters.
240
+ */
241
+ async beginDeleteAndWait(resourceGroupName, clusterName, options) {
242
+ const poller = await this.beginDelete(resourceGroupName, clusterName, options);
243
+ return poller.pollUntilDone();
244
+ }
245
+ /**
246
+ * Gets the credentials for the specified cluster such as Storage, ACR and ACS credentials. This is a
247
+ * long running operation because it fetches keys from dependencies.
248
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
249
+ * @param clusterName The name of the cluster.
250
+ * @param options The options parameters.
251
+ */
252
+ listKeys(resourceGroupName, clusterName, options) {
253
+ return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listKeysOperationSpec);
254
+ }
255
+ /**
256
+ * Checks if updates are available for system services in the cluster.
257
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
258
+ * @param clusterName The name of the cluster.
259
+ * @param options The options parameters.
260
+ */
261
+ checkSystemServicesUpdatesAvailable(resourceGroupName, clusterName, options) {
262
+ return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, checkSystemServicesUpdatesAvailableOperationSpec);
263
+ }
264
+ /**
265
+ * Updates system services in a cluster.
266
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
267
+ * @param clusterName The name of the cluster.
268
+ * @param options The options parameters.
269
+ */
270
+ async beginUpdateSystemServices(resourceGroupName, clusterName, options) {
271
+ const directSendOperation = async (args, spec) => {
272
+ return this.client.sendOperationRequest(args, spec);
273
+ };
274
+ const sendOperation = async (args, spec) => {
275
+ let currentRawResponse = undefined;
276
+ const providedCallback = args.options?.onResponse;
277
+ const callback = (rawResponse, flatResponse) => {
278
+ currentRawResponse = rawResponse;
279
+ providedCallback?.(rawResponse, flatResponse);
280
+ };
281
+ const updatedArgs = {
282
+ ...args,
283
+ options: {
284
+ ...args.options,
285
+ onResponse: callback
286
+ }
287
+ };
288
+ const flatResponse = await directSendOperation(updatedArgs, spec);
289
+ return {
290
+ flatResponse,
291
+ rawResponse: {
292
+ statusCode: currentRawResponse.status,
293
+ body: currentRawResponse.parsedBody,
294
+ headers: currentRawResponse.headers.toJSON()
295
+ }
296
+ };
297
+ };
298
+ const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, clusterName, options }, updateSystemServicesOperationSpec);
299
+ const poller = new core_lro_1.LroEngine(lro, {
300
+ resumeFrom: options?.resumeFrom,
301
+ intervalInMs: options?.updateIntervalInMs
302
+ });
303
+ await poller.poll();
304
+ return poller;
305
+ }
306
+ /**
307
+ * Updates system services in a cluster.
308
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
309
+ * @param clusterName The name of the cluster.
310
+ * @param options The options parameters.
311
+ */
312
+ async beginUpdateSystemServicesAndWait(resourceGroupName, clusterName, options) {
313
+ const poller = await this.beginUpdateSystemServices(resourceGroupName, clusterName, options);
314
+ return poller.pollUntilDone();
315
+ }
316
+ /**
317
+ * Gets the clusters in the specified resource group.
318
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
319
+ * @param options The options parameters.
320
+ */
321
+ _listByResourceGroup(resourceGroupName, options) {
322
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
323
+ }
324
+ /**
325
+ * Gets the operationalization clusters in the specified subscription.
326
+ * @param options The options parameters.
327
+ */
328
+ _listBySubscriptionId(options) {
329
+ return this.client.sendOperationRequest({ options }, listBySubscriptionIdOperationSpec);
330
+ }
331
+ /**
332
+ * ListByResourceGroupNext
333
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
334
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
335
+ * @param options The options parameters.
336
+ */
337
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
338
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
339
+ }
340
+ /**
341
+ * ListBySubscriptionIdNext
342
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscriptionId method.
343
+ * @param options The options parameters.
344
+ */
345
+ _listBySubscriptionIdNext(nextLink, options) {
346
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionIdNextOperationSpec);
347
+ }
348
+ }
349
+ exports.OperationalizationClustersImpl = OperationalizationClustersImpl;
350
+ // Operation Specifications
351
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
352
+ const createOrUpdateOperationSpec = {
353
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
354
+ httpMethod: "PUT",
355
+ responses: {
356
+ 200: {
357
+ bodyMapper: Mappers.OperationalizationCluster
358
+ },
359
+ 201: {
360
+ bodyMapper: Mappers.OperationalizationCluster
361
+ },
362
+ 202: {
363
+ bodyMapper: Mappers.OperationalizationCluster
364
+ },
365
+ 204: {
366
+ bodyMapper: Mappers.OperationalizationCluster
367
+ },
368
+ default: {
369
+ bodyMapper: Mappers.ErrorResponseWrapper
370
+ }
371
+ },
372
+ requestBody: Parameters.parameters,
373
+ queryParameters: [Parameters.apiVersion],
374
+ urlParameters: [
375
+ Parameters.$host,
376
+ Parameters.subscriptionId,
377
+ Parameters.resourceGroupName,
378
+ Parameters.clusterName
379
+ ],
380
+ headerParameters: [Parameters.contentType, Parameters.accept],
381
+ mediaType: "json",
382
+ serializer
383
+ };
384
+ const getOperationSpec = {
385
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
386
+ httpMethod: "GET",
387
+ responses: {
388
+ 200: {
389
+ bodyMapper: Mappers.OperationalizationCluster
390
+ },
391
+ default: {
392
+ bodyMapper: Mappers.ErrorResponseWrapper
393
+ }
394
+ },
395
+ queryParameters: [Parameters.apiVersion],
396
+ urlParameters: [
397
+ Parameters.$host,
398
+ Parameters.subscriptionId,
399
+ Parameters.resourceGroupName,
400
+ Parameters.clusterName
401
+ ],
402
+ headerParameters: [Parameters.accept],
403
+ serializer
404
+ };
405
+ const updateOperationSpec = {
406
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
407
+ httpMethod: "PATCH",
408
+ responses: {
409
+ 200: {
410
+ bodyMapper: Mappers.OperationalizationCluster
411
+ },
412
+ default: {
413
+ bodyMapper: Mappers.ErrorResponseWrapper
414
+ }
415
+ },
416
+ requestBody: Parameters.parameters1,
417
+ queryParameters: [Parameters.apiVersion],
418
+ urlParameters: [
419
+ Parameters.$host,
420
+ Parameters.subscriptionId,
421
+ Parameters.resourceGroupName,
422
+ Parameters.clusterName
423
+ ],
424
+ headerParameters: [Parameters.contentType, Parameters.accept],
425
+ mediaType: "json",
426
+ serializer
427
+ };
428
+ const deleteOperationSpec = {
429
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
430
+ httpMethod: "DELETE",
431
+ responses: {
432
+ 200: {
433
+ headersMapper: Mappers.OperationalizationClustersDeleteHeaders
434
+ },
435
+ 201: {
436
+ headersMapper: Mappers.OperationalizationClustersDeleteHeaders
437
+ },
438
+ 202: {
439
+ headersMapper: Mappers.OperationalizationClustersDeleteHeaders
440
+ },
441
+ 204: {
442
+ headersMapper: Mappers.OperationalizationClustersDeleteHeaders
443
+ },
444
+ default: {
445
+ bodyMapper: Mappers.ErrorResponseWrapper
446
+ }
447
+ },
448
+ queryParameters: [Parameters.apiVersion, Parameters.deleteAll],
449
+ urlParameters: [
450
+ Parameters.$host,
451
+ Parameters.subscriptionId,
452
+ Parameters.resourceGroupName,
453
+ Parameters.clusterName
454
+ ],
455
+ headerParameters: [Parameters.accept],
456
+ serializer
457
+ };
458
+ const listKeysOperationSpec = {
459
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/listKeys",
460
+ httpMethod: "POST",
461
+ responses: {
462
+ 200: {
463
+ bodyMapper: Mappers.OperationalizationClusterCredentials
464
+ }
465
+ },
466
+ queryParameters: [Parameters.apiVersion],
467
+ urlParameters: [
468
+ Parameters.$host,
469
+ Parameters.subscriptionId,
470
+ Parameters.resourceGroupName,
471
+ Parameters.clusterName
472
+ ],
473
+ headerParameters: [Parameters.accept],
474
+ serializer
475
+ };
476
+ const checkSystemServicesUpdatesAvailableOperationSpec = {
477
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/checkSystemServicesUpdatesAvailable",
478
+ httpMethod: "POST",
479
+ responses: {
480
+ 200: {
481
+ bodyMapper: Mappers.CheckSystemServicesUpdatesAvailableResponse
482
+ }
483
+ },
484
+ queryParameters: [Parameters.apiVersion],
485
+ urlParameters: [
486
+ Parameters.$host,
487
+ Parameters.subscriptionId,
488
+ Parameters.resourceGroupName,
489
+ Parameters.clusterName
490
+ ],
491
+ headerParameters: [Parameters.accept],
492
+ serializer
493
+ };
494
+ const updateSystemServicesOperationSpec = {
495
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/updateSystemServices",
496
+ httpMethod: "POST",
497
+ responses: {
498
+ 200: {
499
+ bodyMapper: Mappers.UpdateSystemServicesResponse
500
+ },
501
+ 201: {
502
+ bodyMapper: Mappers.UpdateSystemServicesResponse
503
+ },
504
+ 202: {
505
+ bodyMapper: Mappers.UpdateSystemServicesResponse
506
+ },
507
+ 204: {
508
+ bodyMapper: Mappers.UpdateSystemServicesResponse
509
+ }
510
+ },
511
+ queryParameters: [Parameters.apiVersion],
512
+ urlParameters: [
513
+ Parameters.$host,
514
+ Parameters.subscriptionId,
515
+ Parameters.resourceGroupName,
516
+ Parameters.clusterName
517
+ ],
518
+ headerParameters: [Parameters.accept],
519
+ serializer
520
+ };
521
+ const listByResourceGroupOperationSpec = {
522
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters",
523
+ httpMethod: "GET",
524
+ responses: {
525
+ 200: {
526
+ bodyMapper: Mappers.PaginatedOperationalizationClustersList
527
+ }
528
+ },
529
+ queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
530
+ urlParameters: [
531
+ Parameters.$host,
532
+ Parameters.subscriptionId,
533
+ Parameters.resourceGroupName
534
+ ],
535
+ headerParameters: [Parameters.accept],
536
+ serializer
537
+ };
538
+ const listBySubscriptionIdOperationSpec = {
539
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningCompute/operationalizationClusters",
540
+ httpMethod: "GET",
541
+ responses: {
542
+ 200: {
543
+ bodyMapper: Mappers.PaginatedOperationalizationClustersList
544
+ }
545
+ },
546
+ queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
547
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
548
+ headerParameters: [Parameters.accept],
549
+ serializer
550
+ };
551
+ const listByResourceGroupNextOperationSpec = {
552
+ path: "{nextLink}",
553
+ httpMethod: "GET",
554
+ responses: {
555
+ 200: {
556
+ bodyMapper: Mappers.PaginatedOperationalizationClustersList
557
+ }
558
+ },
559
+ queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
560
+ urlParameters: [
561
+ Parameters.$host,
562
+ Parameters.subscriptionId,
563
+ Parameters.resourceGroupName,
564
+ Parameters.nextLink
565
+ ],
566
+ headerParameters: [Parameters.accept],
567
+ serializer
568
+ };
569
+ const listBySubscriptionIdNextOperationSpec = {
570
+ path: "{nextLink}",
571
+ httpMethod: "GET",
572
+ responses: {
573
+ 200: {
574
+ bodyMapper: Mappers.PaginatedOperationalizationClustersList
575
+ }
576
+ },
577
+ queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
578
+ urlParameters: [
579
+ Parameters.$host,
580
+ Parameters.subscriptionId,
581
+ Parameters.nextLink
582
+ ],
583
+ headerParameters: [Parameters.accept],
584
+ serializer
585
+ };
586
+ //# sourceMappingURL=operationalizationClusters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationalizationClusters.js","sourceRoot":"","sources":["../../../src/operations/operationalizationClusters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AA4BxC,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAa,8BAA8B;IAExB,MAAM,CAAyC;IAEhE;;;OAGG;IACH,YAAY,MAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAqE;QAErE,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,M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,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 { setContinuationToken } from \"../pagingHelper.js\";\nimport { OperationalizationClusters } 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 { MachineLearningComputeManagementClient } from \"../machineLearningComputeManagementClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n OperationalizationCluster,\n OperationalizationClustersListByResourceGroupNextOptionalParams,\n OperationalizationClustersListByResourceGroupOptionalParams,\n OperationalizationClustersListByResourceGroupResponse,\n OperationalizationClustersListBySubscriptionIdNextOptionalParams,\n OperationalizationClustersListBySubscriptionIdOptionalParams,\n OperationalizationClustersListBySubscriptionIdResponse,\n OperationalizationClustersCreateOrUpdateOptionalParams,\n OperationalizationClustersCreateOrUpdateResponse,\n OperationalizationClustersGetOptionalParams,\n OperationalizationClustersGetResponse,\n OperationalizationClusterUpdateParameters,\n OperationalizationClustersUpdateOptionalParams,\n OperationalizationClustersUpdateResponse,\n OperationalizationClustersDeleteOptionalParams,\n OperationalizationClustersDeleteResponse,\n OperationalizationClustersListKeysOptionalParams,\n OperationalizationClustersListKeysResponse,\n OperationalizationClustersCheckSystemServicesUpdatesAvailableOptionalParams,\n OperationalizationClustersCheckSystemServicesUpdatesAvailableResponse,\n OperationalizationClustersUpdateSystemServicesOptionalParams,\n OperationalizationClustersUpdateSystemServicesResponse,\n OperationalizationClustersListByResourceGroupNextResponse,\n OperationalizationClustersListBySubscriptionIdNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing OperationalizationClusters operations. */\nexport class OperationalizationClustersImpl\n implements OperationalizationClusters {\n private readonly client: MachineLearningComputeManagementClient;\n\n /**\n * Initialize a new instance of the class OperationalizationClusters class.\n * @param client Reference to the service client\n */\n constructor(client: MachineLearningComputeManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the clusters in the specified resource group.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: OperationalizationClustersListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<OperationalizationCluster> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, 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.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: OperationalizationClustersListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<OperationalizationCluster[]> {\n let result: OperationalizationClustersListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: OperationalizationClustersListByResourceGroupOptionalParams\n ): AsyncIterableIterator<OperationalizationCluster> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the operationalization clusters in the specified subscription.\n * @param options The options parameters.\n */\n public listBySubscriptionId(\n options?: OperationalizationClustersListBySubscriptionIdOptionalParams\n ): PagedAsyncIterableIterator<OperationalizationCluster> {\n const iter = this.listBySubscriptionIdPagingAll(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.listBySubscriptionIdPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionIdPagingPage(\n options?: OperationalizationClustersListBySubscriptionIdOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<OperationalizationCluster[]> {\n let result: OperationalizationClustersListBySubscriptionIdResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscriptionId(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionIdNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionIdPagingAll(\n options?: OperationalizationClustersListBySubscriptionIdOptionalParams\n ): AsyncIterableIterator<OperationalizationCluster> {\n for await (const page of this.listBySubscriptionIdPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Create or update an operationalization cluster.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param parameters Parameters supplied to create or update an Operationalization cluster.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n clusterName: string,\n parameters: OperationalizationCluster,\n options?: OperationalizationClustersCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<OperationalizationClustersCreateOrUpdateResponse>,\n OperationalizationClustersCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<OperationalizationClustersCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, clusterName, parameters, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update an operationalization cluster.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param parameters Parameters supplied to create or update an Operationalization cluster.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n clusterName: string,\n parameters: OperationalizationCluster,\n options?: OperationalizationClustersCreateOrUpdateOptionalParams\n ): Promise<OperationalizationClustersCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n clusterName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the operationalization cluster resource view. Note that the credentials are not returned by\n * this call. Call ListKeys to get them.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersGetOptionalParams\n ): Promise<OperationalizationClustersGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n getOperationSpec\n );\n }\n\n /**\n * The PATCH operation can be used to update only the tags for a cluster. Use PUT operation to update\n * other properties.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param parameters The parameters supplied to patch the cluster.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n clusterName: string,\n parameters: OperationalizationClusterUpdateParameters,\n options?: OperationalizationClustersUpdateOptionalParams\n ): Promise<OperationalizationClustersUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, parameters, options },\n updateOperationSpec\n );\n }\n\n /**\n * Deletes the specified cluster.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersDeleteOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<OperationalizationClustersDeleteResponse>,\n OperationalizationClustersDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<OperationalizationClustersDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, clusterName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified cluster.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersDeleteOptionalParams\n ): Promise<OperationalizationClustersDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n clusterName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the credentials for the specified cluster such as Storage, ACR and ACS credentials. This is a\n * long running operation because it fetches keys from dependencies.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersListKeysOptionalParams\n ): Promise<OperationalizationClustersListKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n listKeysOperationSpec\n );\n }\n\n /**\n * Checks if updates are available for system services in the cluster.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n checkSystemServicesUpdatesAvailable(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersCheckSystemServicesUpdatesAvailableOptionalParams\n ): Promise<\n OperationalizationClustersCheckSystemServicesUpdatesAvailableResponse\n > {\n return this.client.sendOperationRequest(\n { resourceGroupName, clusterName, options },\n checkSystemServicesUpdatesAvailableOperationSpec\n );\n }\n\n /**\n * Updates system services in a cluster.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n async beginUpdateSystemServices(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersUpdateSystemServicesOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<\n OperationalizationClustersUpdateSystemServicesResponse\n >,\n OperationalizationClustersUpdateSystemServicesResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<OperationalizationClustersUpdateSystemServicesResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, clusterName, options },\n updateSystemServicesOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates system services in a cluster.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param clusterName The name of the cluster.\n * @param options The options parameters.\n */\n async beginUpdateSystemServicesAndWait(\n resourceGroupName: string,\n clusterName: string,\n options?: OperationalizationClustersUpdateSystemServicesOptionalParams\n ): Promise<OperationalizationClustersUpdateSystemServicesResponse> {\n const poller = await this.beginUpdateSystemServices(\n resourceGroupName,\n clusterName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the clusters in the specified resource group.\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: OperationalizationClustersListByResourceGroupOptionalParams\n ): Promise<OperationalizationClustersListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets the operationalization clusters in the specified subscription.\n * @param options The options parameters.\n */\n private _listBySubscriptionId(\n options?: OperationalizationClustersListBySubscriptionIdOptionalParams\n ): Promise<OperationalizationClustersListBySubscriptionIdResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionIdOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName Name of the resource group in which the cluster is located.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: OperationalizationClustersListByResourceGroupNextOptionalParams\n ): Promise<OperationalizationClustersListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionIdNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscriptionId method.\n * @param options The options parameters.\n */\n private _listBySubscriptionIdNext(\n nextLink: string,\n options?: OperationalizationClustersListBySubscriptionIdNextOptionalParams\n ): Promise<OperationalizationClustersListBySubscriptionIdNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionIdNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationalizationCluster\n },\n 201: {\n bodyMapper: Mappers.OperationalizationCluster\n },\n 202: {\n bodyMapper: Mappers.OperationalizationCluster\n },\n 204: {\n bodyMapper: Mappers.OperationalizationCluster\n },\n default: {\n bodyMapper: Mappers.ErrorResponseWrapper\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationalizationCluster\n },\n default: {\n bodyMapper: Mappers.ErrorResponseWrapper\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationalizationCluster\n },\n default: {\n bodyMapper: Mappers.ErrorResponseWrapper\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.OperationalizationClustersDeleteHeaders\n },\n 201: {\n headersMapper: Mappers.OperationalizationClustersDeleteHeaders\n },\n 202: {\n headersMapper: Mappers.OperationalizationClustersDeleteHeaders\n },\n 204: {\n headersMapper: Mappers.OperationalizationClustersDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorResponseWrapper\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.deleteAll],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listKeysOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/listKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationalizationClusterCredentials\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst checkSystemServicesUpdatesAvailableOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/checkSystemServicesUpdatesAvailable\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckSystemServicesUpdatesAvailableResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateSystemServicesOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/updateSystemServices\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.UpdateSystemServicesResponse\n },\n 201: {\n bodyMapper: Mappers.UpdateSystemServicesResponse\n },\n 202: {\n bodyMapper: Mappers.UpdateSystemServicesResponse\n },\n 204: {\n bodyMapper: Mappers.UpdateSystemServicesResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.clusterName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PaginatedOperationalizationClustersList\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skiptoken],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionIdOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningCompute/operationalizationClusters\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PaginatedOperationalizationClustersList\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skiptoken],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PaginatedOperationalizationClustersList\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skiptoken],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionIdNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PaginatedOperationalizationClustersList\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skiptoken],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}