@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,581 @@
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 { setContinuationToken } from "../pagingHelper.js";
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
+ import { LroEngine } from "@azure/core-lro";
13
+ import { LroImpl } from "../lroImpl.js";
14
+ /// <reference lib="esnext.asynciterable" />
15
+ /** Class containing OperationalizationClusters operations. */
16
+ export class OperationalizationClustersImpl {
17
+ client;
18
+ /**
19
+ * Initialize a new instance of the class OperationalizationClusters class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * Gets the clusters in the specified resource group.
27
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
28
+ * @param options The options parameters.
29
+ */
30
+ listByResourceGroup(resourceGroupName, options) {
31
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
32
+ return {
33
+ next() {
34
+ return iter.next();
35
+ },
36
+ [Symbol.asyncIterator]() {
37
+ return this;
38
+ },
39
+ byPage: (settings) => {
40
+ if (settings?.maxPageSize) {
41
+ throw new Error("maxPageSize is not supported by this operation.");
42
+ }
43
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
44
+ }
45
+ };
46
+ }
47
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
48
+ let result;
49
+ let continuationToken = settings?.continuationToken;
50
+ if (!continuationToken) {
51
+ result = await this._listByResourceGroup(resourceGroupName, options);
52
+ let page = result.value || [];
53
+ continuationToken = result.nextLink;
54
+ setContinuationToken(page, continuationToken);
55
+ yield page;
56
+ }
57
+ while (continuationToken) {
58
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
59
+ continuationToken = result.nextLink;
60
+ let page = result.value || [];
61
+ setContinuationToken(page, continuationToken);
62
+ yield page;
63
+ }
64
+ }
65
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
66
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
67
+ yield* page;
68
+ }
69
+ }
70
+ /**
71
+ * Gets the operationalization clusters in the specified subscription.
72
+ * @param options The options parameters.
73
+ */
74
+ listBySubscriptionId(options) {
75
+ const iter = this.listBySubscriptionIdPagingAll(options);
76
+ return {
77
+ next() {
78
+ return iter.next();
79
+ },
80
+ [Symbol.asyncIterator]() {
81
+ return this;
82
+ },
83
+ byPage: (settings) => {
84
+ if (settings?.maxPageSize) {
85
+ throw new Error("maxPageSize is not supported by this operation.");
86
+ }
87
+ return this.listBySubscriptionIdPagingPage(options, settings);
88
+ }
89
+ };
90
+ }
91
+ async *listBySubscriptionIdPagingPage(options, settings) {
92
+ let result;
93
+ let continuationToken = settings?.continuationToken;
94
+ if (!continuationToken) {
95
+ result = await this._listBySubscriptionId(options);
96
+ let page = result.value || [];
97
+ continuationToken = result.nextLink;
98
+ setContinuationToken(page, continuationToken);
99
+ yield page;
100
+ }
101
+ while (continuationToken) {
102
+ result = await this._listBySubscriptionIdNext(continuationToken, options);
103
+ continuationToken = result.nextLink;
104
+ let page = result.value || [];
105
+ setContinuationToken(page, continuationToken);
106
+ yield page;
107
+ }
108
+ }
109
+ async *listBySubscriptionIdPagingAll(options) {
110
+ for await (const page of this.listBySubscriptionIdPagingPage(options)) {
111
+ yield* page;
112
+ }
113
+ }
114
+ /**
115
+ * Create or update an operationalization cluster.
116
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
117
+ * @param clusterName The name of the cluster.
118
+ * @param parameters Parameters supplied to create or update an Operationalization cluster.
119
+ * @param options The options parameters.
120
+ */
121
+ async beginCreateOrUpdate(resourceGroupName, clusterName, parameters, options) {
122
+ const directSendOperation = async (args, spec) => {
123
+ return this.client.sendOperationRequest(args, spec);
124
+ };
125
+ const sendOperation = async (args, spec) => {
126
+ let currentRawResponse = undefined;
127
+ const providedCallback = args.options?.onResponse;
128
+ const callback = (rawResponse, flatResponse) => {
129
+ currentRawResponse = rawResponse;
130
+ providedCallback?.(rawResponse, flatResponse);
131
+ };
132
+ const updatedArgs = {
133
+ ...args,
134
+ options: {
135
+ ...args.options,
136
+ onResponse: callback
137
+ }
138
+ };
139
+ const flatResponse = await directSendOperation(updatedArgs, spec);
140
+ return {
141
+ flatResponse,
142
+ rawResponse: {
143
+ statusCode: currentRawResponse.status,
144
+ body: currentRawResponse.parsedBody,
145
+ headers: currentRawResponse.headers.toJSON()
146
+ }
147
+ };
148
+ };
149
+ const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, parameters, options }, createOrUpdateOperationSpec);
150
+ const poller = new LroEngine(lro, {
151
+ resumeFrom: options?.resumeFrom,
152
+ intervalInMs: options?.updateIntervalInMs
153
+ });
154
+ await poller.poll();
155
+ return poller;
156
+ }
157
+ /**
158
+ * Create or update an operationalization cluster.
159
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
160
+ * @param clusterName The name of the cluster.
161
+ * @param parameters Parameters supplied to create or update an Operationalization cluster.
162
+ * @param options The options parameters.
163
+ */
164
+ async beginCreateOrUpdateAndWait(resourceGroupName, clusterName, parameters, options) {
165
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, clusterName, parameters, options);
166
+ return poller.pollUntilDone();
167
+ }
168
+ /**
169
+ * Gets the operationalization cluster resource view. Note that the credentials are not returned by
170
+ * this call. Call ListKeys to get them.
171
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
172
+ * @param clusterName The name of the cluster.
173
+ * @param options The options parameters.
174
+ */
175
+ get(resourceGroupName, clusterName, options) {
176
+ return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, getOperationSpec);
177
+ }
178
+ /**
179
+ * The PATCH operation can be used to update only the tags for a cluster. Use PUT operation to update
180
+ * other properties.
181
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
182
+ * @param clusterName The name of the cluster.
183
+ * @param parameters The parameters supplied to patch the cluster.
184
+ * @param options The options parameters.
185
+ */
186
+ update(resourceGroupName, clusterName, parameters, options) {
187
+ return this.client.sendOperationRequest({ resourceGroupName, clusterName, parameters, options }, updateOperationSpec);
188
+ }
189
+ /**
190
+ * Deletes the specified cluster.
191
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
192
+ * @param clusterName The name of the cluster.
193
+ * @param options The options parameters.
194
+ */
195
+ async beginDelete(resourceGroupName, clusterName, options) {
196
+ const directSendOperation = async (args, spec) => {
197
+ return this.client.sendOperationRequest(args, spec);
198
+ };
199
+ const sendOperation = async (args, spec) => {
200
+ let currentRawResponse = undefined;
201
+ const providedCallback = args.options?.onResponse;
202
+ const callback = (rawResponse, flatResponse) => {
203
+ currentRawResponse = rawResponse;
204
+ providedCallback?.(rawResponse, flatResponse);
205
+ };
206
+ const updatedArgs = {
207
+ ...args,
208
+ options: {
209
+ ...args.options,
210
+ onResponse: callback
211
+ }
212
+ };
213
+ const flatResponse = await directSendOperation(updatedArgs, spec);
214
+ return {
215
+ flatResponse,
216
+ rawResponse: {
217
+ statusCode: currentRawResponse.status,
218
+ body: currentRawResponse.parsedBody,
219
+ headers: currentRawResponse.headers.toJSON()
220
+ }
221
+ };
222
+ };
223
+ const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, options }, deleteOperationSpec);
224
+ const poller = new LroEngine(lro, {
225
+ resumeFrom: options?.resumeFrom,
226
+ intervalInMs: options?.updateIntervalInMs
227
+ });
228
+ await poller.poll();
229
+ return poller;
230
+ }
231
+ /**
232
+ * Deletes the specified cluster.
233
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
234
+ * @param clusterName The name of the cluster.
235
+ * @param options The options parameters.
236
+ */
237
+ async beginDeleteAndWait(resourceGroupName, clusterName, options) {
238
+ const poller = await this.beginDelete(resourceGroupName, clusterName, options);
239
+ return poller.pollUntilDone();
240
+ }
241
+ /**
242
+ * Gets the credentials for the specified cluster such as Storage, ACR and ACS credentials. This is a
243
+ * long running operation because it fetches keys from dependencies.
244
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
245
+ * @param clusterName The name of the cluster.
246
+ * @param options The options parameters.
247
+ */
248
+ listKeys(resourceGroupName, clusterName, options) {
249
+ return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listKeysOperationSpec);
250
+ }
251
+ /**
252
+ * Checks if updates are available for system services in the cluster.
253
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
254
+ * @param clusterName The name of the cluster.
255
+ * @param options The options parameters.
256
+ */
257
+ checkSystemServicesUpdatesAvailable(resourceGroupName, clusterName, options) {
258
+ return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, checkSystemServicesUpdatesAvailableOperationSpec);
259
+ }
260
+ /**
261
+ * Updates system services in a cluster.
262
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
263
+ * @param clusterName The name of the cluster.
264
+ * @param options The options parameters.
265
+ */
266
+ async beginUpdateSystemServices(resourceGroupName, clusterName, options) {
267
+ const directSendOperation = async (args, spec) => {
268
+ return this.client.sendOperationRequest(args, spec);
269
+ };
270
+ const sendOperation = async (args, spec) => {
271
+ let currentRawResponse = undefined;
272
+ const providedCallback = args.options?.onResponse;
273
+ const callback = (rawResponse, flatResponse) => {
274
+ currentRawResponse = rawResponse;
275
+ providedCallback?.(rawResponse, flatResponse);
276
+ };
277
+ const updatedArgs = {
278
+ ...args,
279
+ options: {
280
+ ...args.options,
281
+ onResponse: callback
282
+ }
283
+ };
284
+ const flatResponse = await directSendOperation(updatedArgs, spec);
285
+ return {
286
+ flatResponse,
287
+ rawResponse: {
288
+ statusCode: currentRawResponse.status,
289
+ body: currentRawResponse.parsedBody,
290
+ headers: currentRawResponse.headers.toJSON()
291
+ }
292
+ };
293
+ };
294
+ const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, options }, updateSystemServicesOperationSpec);
295
+ const poller = new LroEngine(lro, {
296
+ resumeFrom: options?.resumeFrom,
297
+ intervalInMs: options?.updateIntervalInMs
298
+ });
299
+ await poller.poll();
300
+ return poller;
301
+ }
302
+ /**
303
+ * Updates system services in a cluster.
304
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
305
+ * @param clusterName The name of the cluster.
306
+ * @param options The options parameters.
307
+ */
308
+ async beginUpdateSystemServicesAndWait(resourceGroupName, clusterName, options) {
309
+ const poller = await this.beginUpdateSystemServices(resourceGroupName, clusterName, options);
310
+ return poller.pollUntilDone();
311
+ }
312
+ /**
313
+ * Gets the clusters in the specified resource group.
314
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
315
+ * @param options The options parameters.
316
+ */
317
+ _listByResourceGroup(resourceGroupName, options) {
318
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
319
+ }
320
+ /**
321
+ * Gets the operationalization clusters in the specified subscription.
322
+ * @param options The options parameters.
323
+ */
324
+ _listBySubscriptionId(options) {
325
+ return this.client.sendOperationRequest({ options }, listBySubscriptionIdOperationSpec);
326
+ }
327
+ /**
328
+ * ListByResourceGroupNext
329
+ * @param resourceGroupName Name of the resource group in which the cluster is located.
330
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
331
+ * @param options The options parameters.
332
+ */
333
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
334
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
335
+ }
336
+ /**
337
+ * ListBySubscriptionIdNext
338
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscriptionId method.
339
+ * @param options The options parameters.
340
+ */
341
+ _listBySubscriptionIdNext(nextLink, options) {
342
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionIdNextOperationSpec);
343
+ }
344
+ }
345
+ // Operation Specifications
346
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
347
+ const createOrUpdateOperationSpec = {
348
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
349
+ httpMethod: "PUT",
350
+ responses: {
351
+ 200: {
352
+ bodyMapper: Mappers.OperationalizationCluster
353
+ },
354
+ 201: {
355
+ bodyMapper: Mappers.OperationalizationCluster
356
+ },
357
+ 202: {
358
+ bodyMapper: Mappers.OperationalizationCluster
359
+ },
360
+ 204: {
361
+ bodyMapper: Mappers.OperationalizationCluster
362
+ },
363
+ default: {
364
+ bodyMapper: Mappers.ErrorResponseWrapper
365
+ }
366
+ },
367
+ requestBody: Parameters.parameters,
368
+ queryParameters: [Parameters.apiVersion],
369
+ urlParameters: [
370
+ Parameters.$host,
371
+ Parameters.subscriptionId,
372
+ Parameters.resourceGroupName,
373
+ Parameters.clusterName
374
+ ],
375
+ headerParameters: [Parameters.contentType, Parameters.accept],
376
+ mediaType: "json",
377
+ serializer
378
+ };
379
+ const getOperationSpec = {
380
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
381
+ httpMethod: "GET",
382
+ responses: {
383
+ 200: {
384
+ bodyMapper: Mappers.OperationalizationCluster
385
+ },
386
+ default: {
387
+ bodyMapper: Mappers.ErrorResponseWrapper
388
+ }
389
+ },
390
+ queryParameters: [Parameters.apiVersion],
391
+ urlParameters: [
392
+ Parameters.$host,
393
+ Parameters.subscriptionId,
394
+ Parameters.resourceGroupName,
395
+ Parameters.clusterName
396
+ ],
397
+ headerParameters: [Parameters.accept],
398
+ serializer
399
+ };
400
+ const updateOperationSpec = {
401
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
402
+ httpMethod: "PATCH",
403
+ responses: {
404
+ 200: {
405
+ bodyMapper: Mappers.OperationalizationCluster
406
+ },
407
+ default: {
408
+ bodyMapper: Mappers.ErrorResponseWrapper
409
+ }
410
+ },
411
+ requestBody: Parameters.parameters1,
412
+ queryParameters: [Parameters.apiVersion],
413
+ urlParameters: [
414
+ Parameters.$host,
415
+ Parameters.subscriptionId,
416
+ Parameters.resourceGroupName,
417
+ Parameters.clusterName
418
+ ],
419
+ headerParameters: [Parameters.contentType, Parameters.accept],
420
+ mediaType: "json",
421
+ serializer
422
+ };
423
+ const deleteOperationSpec = {
424
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
425
+ httpMethod: "DELETE",
426
+ responses: {
427
+ 200: {
428
+ headersMapper: Mappers.OperationalizationClustersDeleteHeaders
429
+ },
430
+ 201: {
431
+ headersMapper: Mappers.OperationalizationClustersDeleteHeaders
432
+ },
433
+ 202: {
434
+ headersMapper: Mappers.OperationalizationClustersDeleteHeaders
435
+ },
436
+ 204: {
437
+ headersMapper: Mappers.OperationalizationClustersDeleteHeaders
438
+ },
439
+ default: {
440
+ bodyMapper: Mappers.ErrorResponseWrapper
441
+ }
442
+ },
443
+ queryParameters: [Parameters.apiVersion, Parameters.deleteAll],
444
+ urlParameters: [
445
+ Parameters.$host,
446
+ Parameters.subscriptionId,
447
+ Parameters.resourceGroupName,
448
+ Parameters.clusterName
449
+ ],
450
+ headerParameters: [Parameters.accept],
451
+ serializer
452
+ };
453
+ const listKeysOperationSpec = {
454
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/listKeys",
455
+ httpMethod: "POST",
456
+ responses: {
457
+ 200: {
458
+ bodyMapper: Mappers.OperationalizationClusterCredentials
459
+ }
460
+ },
461
+ queryParameters: [Parameters.apiVersion],
462
+ urlParameters: [
463
+ Parameters.$host,
464
+ Parameters.subscriptionId,
465
+ Parameters.resourceGroupName,
466
+ Parameters.clusterName
467
+ ],
468
+ headerParameters: [Parameters.accept],
469
+ serializer
470
+ };
471
+ const checkSystemServicesUpdatesAvailableOperationSpec = {
472
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/checkSystemServicesUpdatesAvailable",
473
+ httpMethod: "POST",
474
+ responses: {
475
+ 200: {
476
+ bodyMapper: Mappers.CheckSystemServicesUpdatesAvailableResponse
477
+ }
478
+ },
479
+ queryParameters: [Parameters.apiVersion],
480
+ urlParameters: [
481
+ Parameters.$host,
482
+ Parameters.subscriptionId,
483
+ Parameters.resourceGroupName,
484
+ Parameters.clusterName
485
+ ],
486
+ headerParameters: [Parameters.accept],
487
+ serializer
488
+ };
489
+ const updateSystemServicesOperationSpec = {
490
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/updateSystemServices",
491
+ httpMethod: "POST",
492
+ responses: {
493
+ 200: {
494
+ bodyMapper: Mappers.UpdateSystemServicesResponse
495
+ },
496
+ 201: {
497
+ bodyMapper: Mappers.UpdateSystemServicesResponse
498
+ },
499
+ 202: {
500
+ bodyMapper: Mappers.UpdateSystemServicesResponse
501
+ },
502
+ 204: {
503
+ bodyMapper: Mappers.UpdateSystemServicesResponse
504
+ }
505
+ },
506
+ queryParameters: [Parameters.apiVersion],
507
+ urlParameters: [
508
+ Parameters.$host,
509
+ Parameters.subscriptionId,
510
+ Parameters.resourceGroupName,
511
+ Parameters.clusterName
512
+ ],
513
+ headerParameters: [Parameters.accept],
514
+ serializer
515
+ };
516
+ const listByResourceGroupOperationSpec = {
517
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters",
518
+ httpMethod: "GET",
519
+ responses: {
520
+ 200: {
521
+ bodyMapper: Mappers.PaginatedOperationalizationClustersList
522
+ }
523
+ },
524
+ queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
525
+ urlParameters: [
526
+ Parameters.$host,
527
+ Parameters.subscriptionId,
528
+ Parameters.resourceGroupName
529
+ ],
530
+ headerParameters: [Parameters.accept],
531
+ serializer
532
+ };
533
+ const listBySubscriptionIdOperationSpec = {
534
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningCompute/operationalizationClusters",
535
+ httpMethod: "GET",
536
+ responses: {
537
+ 200: {
538
+ bodyMapper: Mappers.PaginatedOperationalizationClustersList
539
+ }
540
+ },
541
+ queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
542
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
543
+ headerParameters: [Parameters.accept],
544
+ serializer
545
+ };
546
+ const listByResourceGroupNextOperationSpec = {
547
+ path: "{nextLink}",
548
+ httpMethod: "GET",
549
+ responses: {
550
+ 200: {
551
+ bodyMapper: Mappers.PaginatedOperationalizationClustersList
552
+ }
553
+ },
554
+ queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
555
+ urlParameters: [
556
+ Parameters.$host,
557
+ Parameters.subscriptionId,
558
+ Parameters.resourceGroupName,
559
+ Parameters.nextLink
560
+ ],
561
+ headerParameters: [Parameters.accept],
562
+ serializer
563
+ };
564
+ const listBySubscriptionIdNextOperationSpec = {
565
+ path: "{nextLink}",
566
+ httpMethod: "GET",
567
+ responses: {
568
+ 200: {
569
+ bodyMapper: Mappers.PaginatedOperationalizationClustersList
570
+ }
571
+ },
572
+ queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
573
+ urlParameters: [
574
+ Parameters.$host,
575
+ Parameters.subscriptionId,
576
+ Parameters.nextLink
577
+ ],
578
+ headerParameters: [Parameters.accept],
579
+ serializer
580
+ };
581
+ //# sourceMappingURL=operationalizationClusters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationalizationClusters.js","sourceRoot":"","sources":["../../../src/operations/operationalizationClusters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AA4BxC,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,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,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ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SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uCAAuC;SAC5D;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,SAAS,CAAC;IAC9D,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uCAAuC;SAC5D;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,SAAS,CAAC;IAC9D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qCAAqC,GAA6B;IACtE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uCAAuC;SAC5D;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,SAAS,CAAC;IAC9D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,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 { 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"]}