@azure/arm-machinelearningcompute 3.0.0-beta.2 → 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 +14 -4
  2. package/LICENSE +4 -4
  3. package/README.md +30 -20
  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 -3
  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 +4 -2
  11. package/dist/browser/machineLearningComputeManagementClient.d.ts.map +1 -0
  12. package/dist/browser/machineLearningComputeManagementClient.js +108 -0
  13. package/dist/browser/machineLearningComputeManagementClient.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/index.d.ts +86 -21
  15. package/dist/browser/models/index.d.ts.map +1 -0
  16. package/{dist-esm/src → dist/browser}/models/index.js +65 -0
  17. package/dist/browser/models/index.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/models/mappers.js +25 -12
  19. package/dist/browser/models/mappers.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  21. package/dist/browser/models/parameters.js.map +1 -0
  22. package/dist/browser/operations/index.d.ts +3 -0
  23. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  24. package/{dist-esm/src → dist/browser}/operations/index.js +2 -2
  25. package/dist/browser/operations/index.js.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/machineLearningCompute.d.ts +3 -3
  27. package/dist/browser/operations/machineLearningCompute.d.ts.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/machineLearningCompute.js +3 -2
  29. package/dist/browser/operations/machineLearningCompute.js.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/operationalizationClusters.d.ts +3 -3
  31. package/dist/browser/operations/operationalizationClusters.d.ts.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/operationalizationClusters.js +168 -172
  33. package/dist/browser/operations/operationalizationClusters.js.map +1 -0
  34. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  35. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  36. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +2 -2
  37. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operationsInterfaces/machineLearningCompute.d.ts +1 -1
  39. package/{dist-esm/src → dist/browser}/operationsInterfaces/machineLearningCompute.d.ts.map +1 -1
  40. package/dist/browser/operationsInterfaces/machineLearningCompute.js.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operationsInterfaces/operationalizationClusters.d.ts +1 -1
  42. package/dist/browser/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
  43. package/dist/browser/operationsInterfaces/operationalizationClusters.js.map +1 -0
  44. package/dist/browser/package.json +3 -0
  45. package/dist/browser/pagingHelper.d.ts +13 -0
  46. package/dist/browser/pagingHelper.d.ts.map +1 -0
  47. package/dist/browser/pagingHelper.js +30 -0
  48. package/dist/browser/pagingHelper.js.map +1 -0
  49. package/dist/commonjs/index.d.ts +5 -0
  50. package/dist/commonjs/index.d.ts.map +1 -0
  51. package/dist/commonjs/index.js +19 -0
  52. package/dist/commonjs/index.js.map +1 -0
  53. package/dist/commonjs/lroImpl.d.ts +16 -0
  54. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  55. package/dist/commonjs/lroImpl.js +37 -0
  56. package/dist/commonjs/lroImpl.js.map +1 -0
  57. package/dist/commonjs/machineLearningComputeManagementClient.d.ts +21 -0
  58. package/dist/commonjs/machineLearningComputeManagementClient.d.ts.map +1 -0
  59. package/dist/commonjs/machineLearningComputeManagementClient.js +113 -0
  60. package/dist/commonjs/machineLearningComputeManagementClient.js.map +1 -0
  61. package/{types/arm-machinelearningcompute.d.ts → dist/commonjs/models/index.d.ts} +702 -826
  62. package/dist/commonjs/models/index.d.ts.map +1 -0
  63. package/dist/commonjs/models/index.js +169 -0
  64. package/dist/commonjs/models/index.js.map +1 -0
  65. package/dist/commonjs/models/mappers.d.ts +32 -0
  66. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  67. package/dist/commonjs/models/mappers.js +886 -0
  68. package/dist/commonjs/models/mappers.js.map +1 -0
  69. package/dist/commonjs/models/parameters.d.ts +14 -0
  70. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  71. package/dist/commonjs/models/parameters.js +133 -0
  72. package/dist/commonjs/models/parameters.js.map +1 -0
  73. package/dist/commonjs/operations/index.d.ts +3 -0
  74. package/dist/commonjs/operations/index.d.ts.map +1 -0
  75. package/dist/commonjs/operations/index.js +13 -0
  76. package/dist/commonjs/operations/index.js.map +1 -0
  77. package/dist/commonjs/operations/machineLearningCompute.d.ts +18 -0
  78. package/dist/commonjs/operations/machineLearningCompute.d.ts.map +1 -0
  79. package/dist/commonjs/operations/machineLearningCompute.js +49 -0
  80. package/dist/commonjs/operations/machineLearningCompute.js.map +1 -0
  81. package/dist/commonjs/operations/operationalizationClusters.d.ts +130 -0
  82. package/dist/commonjs/operations/operationalizationClusters.d.ts.map +1 -0
  83. package/dist/commonjs/operations/operationalizationClusters.js +586 -0
  84. package/dist/commonjs/operations/operationalizationClusters.js.map +1 -0
  85. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  86. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  87. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  88. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  89. package/dist/commonjs/operationsInterfaces/machineLearningCompute.d.ts +10 -0
  90. package/dist/commonjs/operationsInterfaces/machineLearningCompute.d.ts.map +1 -0
  91. package/dist/commonjs/operationsInterfaces/machineLearningCompute.js +10 -0
  92. package/dist/commonjs/operationsInterfaces/machineLearningCompute.js.map +1 -0
  93. package/dist/commonjs/operationsInterfaces/operationalizationClusters.d.ts +94 -0
  94. package/dist/commonjs/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
  95. package/dist/commonjs/operationsInterfaces/operationalizationClusters.js +10 -0
  96. package/dist/commonjs/operationsInterfaces/operationalizationClusters.js.map +1 -0
  97. package/dist/commonjs/package.json +3 -0
  98. package/dist/commonjs/pagingHelper.d.ts +13 -0
  99. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  100. package/dist/commonjs/pagingHelper.js +34 -0
  101. package/dist/commonjs/pagingHelper.js.map +1 -0
  102. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  103. package/dist/esm/index.d.ts +5 -0
  104. package/dist/esm/index.d.ts.map +1 -0
  105. package/{src/index.ts → dist/esm/index.js} +5 -4
  106. package/dist/esm/index.js.map +1 -0
  107. package/dist/esm/lroImpl.d.ts +16 -0
  108. package/dist/esm/lroImpl.d.ts.map +1 -0
  109. package/dist/esm/lroImpl.js +33 -0
  110. package/dist/esm/lroImpl.js.map +1 -0
  111. package/dist/esm/machineLearningComputeManagementClient.d.ts +21 -0
  112. package/dist/esm/machineLearningComputeManagementClient.d.ts.map +1 -0
  113. package/dist/esm/machineLearningComputeManagementClient.js +108 -0
  114. package/dist/esm/machineLearningComputeManagementClient.js.map +1 -0
  115. package/dist/esm/models/index.d.ts +702 -0
  116. package/dist/esm/models/index.d.ts.map +1 -0
  117. package/dist/esm/models/index.js +166 -0
  118. package/dist/esm/models/index.js.map +1 -0
  119. package/dist/esm/models/mappers.d.ts +32 -0
  120. package/dist/esm/models/mappers.d.ts.map +1 -0
  121. package/dist/esm/models/mappers.js +883 -0
  122. package/dist/esm/models/mappers.js.map +1 -0
  123. package/dist/esm/models/parameters.d.ts +14 -0
  124. package/dist/esm/models/parameters.d.ts.map +1 -0
  125. package/dist/esm/models/parameters.js +130 -0
  126. package/dist/esm/models/parameters.js.map +1 -0
  127. package/dist/esm/operations/index.d.ts +3 -0
  128. package/dist/esm/operations/index.d.ts.map +1 -0
  129. package/dist/esm/operations/index.js +10 -0
  130. package/dist/esm/operations/index.js.map +1 -0
  131. package/dist/esm/operations/machineLearningCompute.d.ts +18 -0
  132. package/dist/esm/operations/machineLearningCompute.d.ts.map +1 -0
  133. package/dist/esm/operations/machineLearningCompute.js +44 -0
  134. package/dist/esm/operations/machineLearningCompute.js.map +1 -0
  135. package/dist/esm/operations/operationalizationClusters.d.ts +130 -0
  136. package/dist/esm/operations/operationalizationClusters.d.ts.map +1 -0
  137. package/dist/esm/operations/operationalizationClusters.js +581 -0
  138. package/dist/esm/operations/operationalizationClusters.js.map +1 -0
  139. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  140. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  141. package/dist/esm/operationsInterfaces/index.js +10 -0
  142. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  143. package/dist/esm/operationsInterfaces/machineLearningCompute.d.ts +10 -0
  144. package/dist/esm/operationsInterfaces/machineLearningCompute.d.ts.map +1 -0
  145. package/{src/operations/index.ts → dist/esm/operationsInterfaces/machineLearningCompute.js} +2 -3
  146. package/dist/esm/operationsInterfaces/machineLearningCompute.js.map +1 -0
  147. package/dist/esm/operationsInterfaces/operationalizationClusters.d.ts +94 -0
  148. package/dist/esm/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
  149. package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/operationalizationClusters.js} +2 -3
  150. package/dist/esm/operationsInterfaces/operationalizationClusters.js.map +1 -0
  151. package/dist/esm/package.json +3 -0
  152. package/dist/esm/pagingHelper.d.ts +13 -0
  153. package/dist/esm/pagingHelper.d.ts.map +1 -0
  154. package/dist/esm/pagingHelper.js +30 -0
  155. package/dist/esm/pagingHelper.js.map +1 -0
  156. package/dist/react-native/index.d.ts +5 -0
  157. package/dist/react-native/index.d.ts.map +1 -0
  158. package/dist/react-native/index.js +13 -0
  159. package/dist/react-native/index.js.map +1 -0
  160. package/dist/react-native/lroImpl.d.ts +16 -0
  161. package/dist/react-native/lroImpl.d.ts.map +1 -0
  162. package/dist/react-native/lroImpl.js +33 -0
  163. package/dist/react-native/lroImpl.js.map +1 -0
  164. package/dist/react-native/machineLearningComputeManagementClient.d.ts +21 -0
  165. package/dist/react-native/machineLearningComputeManagementClient.d.ts.map +1 -0
  166. package/dist/react-native/machineLearningComputeManagementClient.js +108 -0
  167. package/dist/react-native/machineLearningComputeManagementClient.js.map +1 -0
  168. package/dist/react-native/models/index.d.ts +702 -0
  169. package/dist/react-native/models/index.d.ts.map +1 -0
  170. package/dist/react-native/models/index.js +166 -0
  171. package/dist/react-native/models/index.js.map +1 -0
  172. package/dist/react-native/models/mappers.d.ts +32 -0
  173. package/dist/react-native/models/mappers.d.ts.map +1 -0
  174. package/dist/react-native/models/mappers.js +883 -0
  175. package/dist/react-native/models/mappers.js.map +1 -0
  176. package/dist/react-native/models/parameters.d.ts +14 -0
  177. package/dist/react-native/models/parameters.d.ts.map +1 -0
  178. package/dist/react-native/models/parameters.js +130 -0
  179. package/dist/react-native/models/parameters.js.map +1 -0
  180. package/dist/react-native/operations/index.d.ts +3 -0
  181. package/dist/react-native/operations/index.d.ts.map +1 -0
  182. package/dist/react-native/operations/index.js +10 -0
  183. package/dist/react-native/operations/index.js.map +1 -0
  184. package/dist/react-native/operations/machineLearningCompute.d.ts +18 -0
  185. package/dist/react-native/operations/machineLearningCompute.d.ts.map +1 -0
  186. package/dist/react-native/operations/machineLearningCompute.js +44 -0
  187. package/dist/react-native/operations/machineLearningCompute.js.map +1 -0
  188. package/dist/react-native/operations/operationalizationClusters.d.ts +130 -0
  189. package/dist/react-native/operations/operationalizationClusters.d.ts.map +1 -0
  190. package/dist/react-native/operations/operationalizationClusters.js +581 -0
  191. package/dist/react-native/operations/operationalizationClusters.js.map +1 -0
  192. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  193. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  194. package/dist/react-native/operationsInterfaces/index.js +10 -0
  195. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  196. package/dist/react-native/operationsInterfaces/machineLearningCompute.d.ts +10 -0
  197. package/dist/react-native/operationsInterfaces/machineLearningCompute.d.ts.map +1 -0
  198. package/dist/react-native/operationsInterfaces/machineLearningCompute.js +9 -0
  199. package/dist/react-native/operationsInterfaces/machineLearningCompute.js.map +1 -0
  200. package/dist/react-native/operationsInterfaces/operationalizationClusters.d.ts +94 -0
  201. package/dist/react-native/operationsInterfaces/operationalizationClusters.d.ts.map +1 -0
  202. package/dist/react-native/operationsInterfaces/operationalizationClusters.js +9 -0
  203. package/dist/react-native/operationsInterfaces/operationalizationClusters.js.map +1 -0
  204. package/dist/react-native/package.json +3 -0
  205. package/dist/react-native/pagingHelper.d.ts +13 -0
  206. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  207. package/dist/react-native/pagingHelper.js +30 -0
  208. package/dist/react-native/pagingHelper.js.map +1 -0
  209. package/package.json +87 -74
  210. package/review/{arm-machinelearningcompute.api.md → arm-machinelearningcompute-node.api.md} +12 -74
  211. package/dist/index.js +0 -1880
  212. package/dist/index.js.map +0 -1
  213. package/dist/index.min.js +0 -1
  214. package/dist/index.min.js.map +0 -1
  215. package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.d.ts +0 -2
  216. package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.d.ts.map +0 -1
  217. package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.js +0 -31
  218. package/dist-esm/samples-dev/checkUpdateForAnOperationalizationCluster.js.map +0 -1
  219. package/dist-esm/samples-dev/deleteOperationalizationCluster.d.ts +0 -2
  220. package/dist-esm/samples-dev/deleteOperationalizationCluster.d.ts.map +0 -1
  221. package/dist-esm/samples-dev/deleteOperationalizationCluster.js +0 -31
  222. package/dist-esm/samples-dev/deleteOperationalizationCluster.js.map +0 -1
  223. package/dist-esm/samples-dev/getOperationalizationCluster.d.ts +0 -2
  224. package/dist-esm/samples-dev/getOperationalizationCluster.d.ts.map +0 -1
  225. package/dist-esm/samples-dev/getOperationalizationCluster.js +0 -31
  226. package/dist-esm/samples-dev/getOperationalizationCluster.js.map +0 -1
  227. package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.d.ts +0 -2
  228. package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.d.ts.map +0 -1
  229. package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.js +0 -31
  230. package/dist-esm/samples-dev/listKeysOfAnOperationalizationCluster.js.map +0 -1
  231. package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.d.ts +0 -2
  232. package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.d.ts.map +0 -1
  233. package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.js +0 -44
  234. package/dist-esm/samples-dev/listOperationalizationClustersByResourceGroup.js.map +0 -1
  235. package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.d.ts +0 -2
  236. package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.d.ts.map +0 -1
  237. package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.js +0 -43
  238. package/dist-esm/samples-dev/listOperationalizationClustersBySubscription.js.map +0 -1
  239. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.d.ts +0 -2
  240. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.d.ts.map +0 -1
  241. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.js +0 -29
  242. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperations.js.map +0 -1
  243. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.d.ts +0 -2
  244. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.d.ts.map +0 -1
  245. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.js +0 -29
  246. package/dist-esm/samples-dev/machineLearningComputeListAvailableOperationsSample.js.map +0 -1
  247. package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.d.ts +0 -2
  248. package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.d.ts.map +0 -1
  249. package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.js +0 -31
  250. package/dist-esm/samples-dev/operationalizationClustersCheckSystemServicesUpdatesAvailableSample.js.map +0 -1
  251. package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.d.ts +0 -2
  252. package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.d.ts.map +0 -1
  253. package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.js +0 -54
  254. package/dist-esm/samples-dev/operationalizationClustersCreateOrUpdateSample.js.map +0 -1
  255. package/dist-esm/samples-dev/operationalizationClustersDeleteSample.d.ts +0 -2
  256. package/dist-esm/samples-dev/operationalizationClustersDeleteSample.d.ts.map +0 -1
  257. package/dist-esm/samples-dev/operationalizationClustersDeleteSample.js +0 -31
  258. package/dist-esm/samples-dev/operationalizationClustersDeleteSample.js.map +0 -1
  259. package/dist-esm/samples-dev/operationalizationClustersGetSample.d.ts +0 -2
  260. package/dist-esm/samples-dev/operationalizationClustersGetSample.d.ts.map +0 -1
  261. package/dist-esm/samples-dev/operationalizationClustersGetSample.js +0 -31
  262. package/dist-esm/samples-dev/operationalizationClustersGetSample.js.map +0 -1
  263. package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.d.ts +0 -2
  264. package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.d.ts.map +0 -1
  265. package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.js +0 -44
  266. package/dist-esm/samples-dev/operationalizationClustersListByResourceGroupSample.js.map +0 -1
  267. package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.d.ts +0 -2
  268. package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.d.ts.map +0 -1
  269. package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.js +0 -43
  270. package/dist-esm/samples-dev/operationalizationClustersListBySubscriptionIdSample.js.map +0 -1
  271. package/dist-esm/samples-dev/operationalizationClustersListKeysSample.d.ts +0 -2
  272. package/dist-esm/samples-dev/operationalizationClustersListKeysSample.d.ts.map +0 -1
  273. package/dist-esm/samples-dev/operationalizationClustersListKeysSample.js +0 -31
  274. package/dist-esm/samples-dev/operationalizationClustersListKeysSample.js.map +0 -1
  275. package/dist-esm/samples-dev/operationalizationClustersUpdateSample.d.ts +0 -2
  276. package/dist-esm/samples-dev/operationalizationClustersUpdateSample.d.ts.map +0 -1
  277. package/dist-esm/samples-dev/operationalizationClustersUpdateSample.js +0 -34
  278. package/dist-esm/samples-dev/operationalizationClustersUpdateSample.js.map +0 -1
  279. package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.d.ts +0 -2
  280. package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.d.ts.map +0 -1
  281. package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.js +0 -31
  282. package/dist-esm/samples-dev/operationalizationClustersUpdateSystemServicesSample.js.map +0 -1
  283. package/dist-esm/samples-dev/patchOperationalizationCluster.d.ts +0 -2
  284. package/dist-esm/samples-dev/patchOperationalizationCluster.d.ts.map +0 -1
  285. package/dist-esm/samples-dev/patchOperationalizationCluster.js +0 -34
  286. package/dist-esm/samples-dev/patchOperationalizationCluster.js.map +0 -1
  287. package/dist-esm/samples-dev/putOperationalizationCluster.d.ts +0 -2
  288. package/dist-esm/samples-dev/putOperationalizationCluster.d.ts.map +0 -1
  289. package/dist-esm/samples-dev/putOperationalizationCluster.js +0 -54
  290. package/dist-esm/samples-dev/putOperationalizationCluster.js.map +0 -1
  291. package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.d.ts +0 -2
  292. package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.d.ts.map +0 -1
  293. package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.js +0 -31
  294. package/dist-esm/samples-dev/updateSystemServicesInAnOperationalizationCluster.js.map +0 -1
  295. package/dist-esm/src/index.d.ts +0 -5
  296. package/dist-esm/src/index.d.ts.map +0 -1
  297. package/dist-esm/src/index.js.map +0 -1
  298. package/dist-esm/src/lroImpl.js.map +0 -1
  299. package/dist-esm/src/machineLearningComputeManagementClient.d.ts.map +0 -1
  300. package/dist-esm/src/machineLearningComputeManagementClient.js +0 -70
  301. package/dist-esm/src/machineLearningComputeManagementClient.js.map +0 -1
  302. package/dist-esm/src/models/index.d.ts.map +0 -1
  303. package/dist-esm/src/models/index.js.map +0 -1
  304. package/dist-esm/src/models/mappers.js.map +0 -1
  305. package/dist-esm/src/models/parameters.js.map +0 -1
  306. package/dist-esm/src/operations/index.d.ts +0 -3
  307. package/dist-esm/src/operations/index.js.map +0 -1
  308. package/dist-esm/src/operations/machineLearningCompute.d.ts.map +0 -1
  309. package/dist-esm/src/operations/machineLearningCompute.js.map +0 -1
  310. package/dist-esm/src/operations/operationalizationClusters.d.ts.map +0 -1
  311. package/dist-esm/src/operations/operationalizationClusters.js.map +0 -1
  312. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  313. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  314. package/dist-esm/src/operationsInterfaces/machineLearningCompute.js.map +0 -1
  315. package/dist-esm/src/operationsInterfaces/operationalizationClusters.d.ts.map +0 -1
  316. package/dist-esm/src/operationsInterfaces/operationalizationClusters.js.map +0 -1
  317. package/dist-esm/test/sampleTest.d.ts +0 -2
  318. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  319. package/dist-esm/test/sampleTest.js +0 -40
  320. package/dist-esm/test/sampleTest.js.map +0 -1
  321. package/rollup.config.js +0 -122
  322. package/src/lroImpl.ts +0 -34
  323. package/src/machineLearningComputeManagementClient.ts +0 -108
  324. package/src/models/index.ts +0 -717
  325. package/src/models/mappers.ts +0 -914
  326. package/src/models/parameters.ts +0 -150
  327. package/src/operations/machineLearningCompute.ts +0 -59
  328. package/src/operations/operationalizationClusters.ts +0 -801
  329. package/src/operationsInterfaces/machineLearningCompute.ts +0 -23
  330. package/src/operationsInterfaces/operationalizationClusters.ts +0 -189
  331. package/tsconfig.json +0 -33
  332. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  333. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  334. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  335. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  336. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  337. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  338. /package/{dist-esm/src → dist/browser}/operationsInterfaces/machineLearningCompute.js +0 -0
  339. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationalizationClusters.js +0 -0
package/dist/index.js DELETED
@@ -1,1880 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var coreClient = require('@azure/core-client');
6
- var coreRestPipeline = require('@azure/core-rest-pipeline');
7
- var tslib = require('tslib');
8
- var coreLro = require('@azure/core-lro');
9
-
10
- function _interopNamespace(e) {
11
- if (e && e.__esModule) return e;
12
- var n = Object.create(null);
13
- if (e) {
14
- Object.keys(e).forEach(function (k) {
15
- if (k !== 'default') {
16
- var d = Object.getOwnPropertyDescriptor(e, k);
17
- Object.defineProperty(n, k, d.get ? d : {
18
- enumerable: true,
19
- get: function () { return e[k]; }
20
- });
21
- }
22
- });
23
- }
24
- n["default"] = e;
25
- return Object.freeze(n);
26
- }
27
-
28
- var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
29
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
30
-
31
- /*
32
- * Copyright (c) Microsoft Corporation.
33
- * Licensed under the MIT License.
34
- *
35
- * Code generated by Microsoft (R) AutoRest Code Generator.
36
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
37
- */
38
- /** Known values of {@link OperationStatus} that the service accepts. */
39
- exports.KnownOperationStatus = void 0;
40
- (function (KnownOperationStatus) {
41
- KnownOperationStatus["Unknown"] = "Unknown";
42
- KnownOperationStatus["Updating"] = "Updating";
43
- KnownOperationStatus["Creating"] = "Creating";
44
- KnownOperationStatus["Deleting"] = "Deleting";
45
- KnownOperationStatus["Succeeded"] = "Succeeded";
46
- KnownOperationStatus["Failed"] = "Failed";
47
- KnownOperationStatus["Canceled"] = "Canceled";
48
- })(exports.KnownOperationStatus || (exports.KnownOperationStatus = {}));
49
- /** Known values of {@link ClusterType} that the service accepts. */
50
- exports.KnownClusterType = void 0;
51
- (function (KnownClusterType) {
52
- KnownClusterType["ACS"] = "ACS";
53
- KnownClusterType["Local"] = "Local";
54
- })(exports.KnownClusterType || (exports.KnownClusterType = {}));
55
- /** Known values of {@link OrchestratorType} that the service accepts. */
56
- exports.KnownOrchestratorType = void 0;
57
- (function (KnownOrchestratorType) {
58
- KnownOrchestratorType["Kubernetes"] = "Kubernetes";
59
- KnownOrchestratorType["None"] = "None";
60
- })(exports.KnownOrchestratorType || (exports.KnownOrchestratorType = {}));
61
- /** Known values of {@link SystemServiceType} that the service accepts. */
62
- exports.KnownSystemServiceType = void 0;
63
- (function (KnownSystemServiceType) {
64
- KnownSystemServiceType["None"] = "None";
65
- KnownSystemServiceType["ScoringFrontEnd"] = "ScoringFrontEnd";
66
- KnownSystemServiceType["BatchFrontEnd"] = "BatchFrontEnd";
67
- })(exports.KnownSystemServiceType || (exports.KnownSystemServiceType = {}));
68
- /** Known values of {@link AgentVMSizeTypes} that the service accepts. */
69
- exports.KnownAgentVMSizeTypes = void 0;
70
- (function (KnownAgentVMSizeTypes) {
71
- KnownAgentVMSizeTypes["StandardA0"] = "Standard_A0";
72
- KnownAgentVMSizeTypes["StandardA1"] = "Standard_A1";
73
- KnownAgentVMSizeTypes["StandardA2"] = "Standard_A2";
74
- KnownAgentVMSizeTypes["StandardA3"] = "Standard_A3";
75
- KnownAgentVMSizeTypes["StandardA4"] = "Standard_A4";
76
- KnownAgentVMSizeTypes["StandardA5"] = "Standard_A5";
77
- KnownAgentVMSizeTypes["StandardA6"] = "Standard_A6";
78
- KnownAgentVMSizeTypes["StandardA7"] = "Standard_A7";
79
- KnownAgentVMSizeTypes["StandardA8"] = "Standard_A8";
80
- KnownAgentVMSizeTypes["StandardA9"] = "Standard_A9";
81
- KnownAgentVMSizeTypes["StandardA10"] = "Standard_A10";
82
- KnownAgentVMSizeTypes["StandardA11"] = "Standard_A11";
83
- KnownAgentVMSizeTypes["StandardD1"] = "Standard_D1";
84
- KnownAgentVMSizeTypes["StandardD2"] = "Standard_D2";
85
- KnownAgentVMSizeTypes["StandardD3"] = "Standard_D3";
86
- KnownAgentVMSizeTypes["StandardD4"] = "Standard_D4";
87
- KnownAgentVMSizeTypes["StandardD11"] = "Standard_D11";
88
- KnownAgentVMSizeTypes["StandardD12"] = "Standard_D12";
89
- KnownAgentVMSizeTypes["StandardD13"] = "Standard_D13";
90
- KnownAgentVMSizeTypes["StandardD14"] = "Standard_D14";
91
- KnownAgentVMSizeTypes["StandardD1V2"] = "Standard_D1_v2";
92
- KnownAgentVMSizeTypes["StandardD2V2"] = "Standard_D2_v2";
93
- KnownAgentVMSizeTypes["StandardD3V2"] = "Standard_D3_v2";
94
- KnownAgentVMSizeTypes["StandardD4V2"] = "Standard_D4_v2";
95
- KnownAgentVMSizeTypes["StandardD5V2"] = "Standard_D5_v2";
96
- KnownAgentVMSizeTypes["StandardD11V2"] = "Standard_D11_v2";
97
- KnownAgentVMSizeTypes["StandardD12V2"] = "Standard_D12_v2";
98
- KnownAgentVMSizeTypes["StandardD13V2"] = "Standard_D13_v2";
99
- KnownAgentVMSizeTypes["StandardD14V2"] = "Standard_D14_v2";
100
- KnownAgentVMSizeTypes["StandardG1"] = "Standard_G1";
101
- KnownAgentVMSizeTypes["StandardG2"] = "Standard_G2";
102
- KnownAgentVMSizeTypes["StandardG3"] = "Standard_G3";
103
- KnownAgentVMSizeTypes["StandardG4"] = "Standard_G4";
104
- KnownAgentVMSizeTypes["StandardG5"] = "Standard_G5";
105
- KnownAgentVMSizeTypes["StandardDS1"] = "Standard_DS1";
106
- KnownAgentVMSizeTypes["StandardDS2"] = "Standard_DS2";
107
- KnownAgentVMSizeTypes["StandardDS3"] = "Standard_DS3";
108
- KnownAgentVMSizeTypes["StandardDS4"] = "Standard_DS4";
109
- KnownAgentVMSizeTypes["StandardDS11"] = "Standard_DS11";
110
- KnownAgentVMSizeTypes["StandardDS12"] = "Standard_DS12";
111
- KnownAgentVMSizeTypes["StandardDS13"] = "Standard_DS13";
112
- KnownAgentVMSizeTypes["StandardDS14"] = "Standard_DS14";
113
- KnownAgentVMSizeTypes["StandardGS1"] = "Standard_GS1";
114
- KnownAgentVMSizeTypes["StandardGS2"] = "Standard_GS2";
115
- KnownAgentVMSizeTypes["StandardGS3"] = "Standard_GS3";
116
- KnownAgentVMSizeTypes["StandardGS4"] = "Standard_GS4";
117
- KnownAgentVMSizeTypes["StandardGS5"] = "Standard_GS5";
118
- })(exports.KnownAgentVMSizeTypes || (exports.KnownAgentVMSizeTypes = {}));
119
- /** Known values of {@link Status} that the service accepts. */
120
- exports.KnownStatus = void 0;
121
- (function (KnownStatus) {
122
- KnownStatus["Enabled"] = "Enabled";
123
- KnownStatus["Disabled"] = "Disabled";
124
- })(exports.KnownStatus || (exports.KnownStatus = {}));
125
- /** Known values of {@link UpdatesAvailable} that the service accepts. */
126
- exports.KnownUpdatesAvailable = void 0;
127
- (function (KnownUpdatesAvailable) {
128
- KnownUpdatesAvailable["Yes"] = "Yes";
129
- KnownUpdatesAvailable["No"] = "No";
130
- })(exports.KnownUpdatesAvailable || (exports.KnownUpdatesAvailable = {}));
131
-
132
- /*
133
- * Copyright (c) Microsoft Corporation.
134
- * Licensed under the MIT License.
135
- *
136
- * Code generated by Microsoft (R) AutoRest Code Generator.
137
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
138
- */
139
- const ErrorResponseWrapper = {
140
- type: {
141
- name: "Composite",
142
- className: "ErrorResponseWrapper",
143
- modelProperties: {
144
- error: {
145
- serializedName: "error",
146
- type: {
147
- name: "Composite",
148
- className: "ErrorResponse"
149
- }
150
- }
151
- }
152
- }
153
- };
154
- const ErrorResponse = {
155
- type: {
156
- name: "Composite",
157
- className: "ErrorResponse",
158
- modelProperties: {
159
- code: {
160
- serializedName: "code",
161
- required: true,
162
- type: {
163
- name: "String"
164
- }
165
- },
166
- message: {
167
- serializedName: "message",
168
- required: true,
169
- type: {
170
- name: "String"
171
- }
172
- },
173
- details: {
174
- serializedName: "details",
175
- type: {
176
- name: "Sequence",
177
- element: {
178
- type: {
179
- name: "Composite",
180
- className: "ErrorDetail"
181
- }
182
- }
183
- }
184
- }
185
- }
186
- }
187
- };
188
- const ErrorDetail = {
189
- type: {
190
- name: "Composite",
191
- className: "ErrorDetail",
192
- modelProperties: {
193
- code: {
194
- serializedName: "code",
195
- required: true,
196
- type: {
197
- name: "String"
198
- }
199
- },
200
- message: {
201
- serializedName: "message",
202
- required: true,
203
- type: {
204
- name: "String"
205
- }
206
- }
207
- }
208
- }
209
- };
210
- const StorageAccountProperties = {
211
- type: {
212
- name: "Composite",
213
- className: "StorageAccountProperties",
214
- modelProperties: {
215
- resourceId: {
216
- serializedName: "resourceId",
217
- type: {
218
- name: "String"
219
- }
220
- }
221
- }
222
- }
223
- };
224
- const ContainerRegistryProperties = {
225
- type: {
226
- name: "Composite",
227
- className: "ContainerRegistryProperties",
228
- modelProperties: {
229
- resourceId: {
230
- serializedName: "resourceId",
231
- type: {
232
- name: "String"
233
- }
234
- }
235
- }
236
- }
237
- };
238
- const AcsClusterProperties = {
239
- type: {
240
- name: "Composite",
241
- className: "AcsClusterProperties",
242
- modelProperties: {
243
- clusterFqdn: {
244
- serializedName: "clusterFqdn",
245
- readOnly: true,
246
- type: {
247
- name: "String"
248
- }
249
- },
250
- orchestratorType: {
251
- serializedName: "orchestratorType",
252
- required: true,
253
- type: {
254
- name: "String"
255
- }
256
- },
257
- orchestratorProperties: {
258
- serializedName: "orchestratorProperties",
259
- type: {
260
- name: "Composite",
261
- className: "KubernetesClusterProperties"
262
- }
263
- },
264
- systemServices: {
265
- serializedName: "systemServices",
266
- type: {
267
- name: "Sequence",
268
- element: {
269
- type: {
270
- name: "Composite",
271
- className: "SystemService"
272
- }
273
- }
274
- }
275
- },
276
- masterCount: {
277
- defaultValue: 1,
278
- constraints: {
279
- InclusiveMaximum: 5,
280
- InclusiveMinimum: 1
281
- },
282
- serializedName: "masterCount",
283
- type: {
284
- name: "Number"
285
- }
286
- },
287
- agentCount: {
288
- defaultValue: 2,
289
- constraints: {
290
- InclusiveMaximum: 100,
291
- InclusiveMinimum: 1
292
- },
293
- serializedName: "agentCount",
294
- type: {
295
- name: "Number"
296
- }
297
- },
298
- agentVmSize: {
299
- defaultValue: "Standard_D3_v2",
300
- serializedName: "agentVmSize",
301
- type: {
302
- name: "String"
303
- }
304
- }
305
- }
306
- }
307
- };
308
- const KubernetesClusterProperties = {
309
- serializedName: "Kubernetes",
310
- type: {
311
- name: "Composite",
312
- className: "KubernetesClusterProperties",
313
- modelProperties: {
314
- servicePrincipal: {
315
- serializedName: "servicePrincipal",
316
- type: {
317
- name: "Composite",
318
- className: "ServicePrincipalProperties"
319
- }
320
- }
321
- }
322
- }
323
- };
324
- const ServicePrincipalProperties = {
325
- type: {
326
- name: "Composite",
327
- className: "ServicePrincipalProperties",
328
- modelProperties: {
329
- clientId: {
330
- serializedName: "clientId",
331
- required: true,
332
- type: {
333
- name: "String"
334
- }
335
- },
336
- secret: {
337
- serializedName: "secret",
338
- required: true,
339
- type: {
340
- name: "String"
341
- }
342
- }
343
- }
344
- }
345
- };
346
- const SystemService = {
347
- type: {
348
- name: "Composite",
349
- className: "SystemService",
350
- modelProperties: {
351
- systemServiceType: {
352
- serializedName: "systemServiceType",
353
- required: true,
354
- type: {
355
- name: "String"
356
- }
357
- },
358
- publicIpAddress: {
359
- serializedName: "publicIpAddress",
360
- readOnly: true,
361
- type: {
362
- name: "String"
363
- }
364
- },
365
- version: {
366
- serializedName: "version",
367
- readOnly: true,
368
- type: {
369
- name: "String"
370
- }
371
- }
372
- }
373
- }
374
- };
375
- const AppInsightsProperties = {
376
- type: {
377
- name: "Composite",
378
- className: "AppInsightsProperties",
379
- modelProperties: {
380
- resourceId: {
381
- serializedName: "resourceId",
382
- type: {
383
- name: "String"
384
- }
385
- }
386
- }
387
- }
388
- };
389
- const GlobalServiceConfiguration = {
390
- type: {
391
- name: "Composite",
392
- className: "GlobalServiceConfiguration",
393
- additionalProperties: { type: { name: "Object" } },
394
- modelProperties: {
395
- etag: {
396
- serializedName: "etag",
397
- type: {
398
- name: "String"
399
- }
400
- },
401
- ssl: {
402
- serializedName: "ssl",
403
- type: {
404
- name: "Composite",
405
- className: "SslConfiguration"
406
- }
407
- },
408
- serviceAuth: {
409
- serializedName: "serviceAuth",
410
- type: {
411
- name: "Composite",
412
- className: "ServiceAuthConfiguration"
413
- }
414
- },
415
- autoScale: {
416
- serializedName: "autoScale",
417
- type: {
418
- name: "Composite",
419
- className: "AutoScaleConfiguration"
420
- }
421
- }
422
- }
423
- }
424
- };
425
- const SslConfiguration = {
426
- type: {
427
- name: "Composite",
428
- className: "SslConfiguration",
429
- modelProperties: {
430
- status: {
431
- serializedName: "status",
432
- type: {
433
- name: "String"
434
- }
435
- },
436
- cert: {
437
- serializedName: "cert",
438
- type: {
439
- name: "String"
440
- }
441
- },
442
- key: {
443
- serializedName: "key",
444
- type: {
445
- name: "String"
446
- }
447
- },
448
- cname: {
449
- serializedName: "cname",
450
- type: {
451
- name: "String"
452
- }
453
- }
454
- }
455
- }
456
- };
457
- const ServiceAuthConfiguration = {
458
- type: {
459
- name: "Composite",
460
- className: "ServiceAuthConfiguration",
461
- modelProperties: {
462
- primaryAuthKeyHash: {
463
- serializedName: "primaryAuthKeyHash",
464
- required: true,
465
- type: {
466
- name: "String"
467
- }
468
- },
469
- secondaryAuthKeyHash: {
470
- serializedName: "secondaryAuthKeyHash",
471
- required: true,
472
- type: {
473
- name: "String"
474
- }
475
- }
476
- }
477
- }
478
- };
479
- const AutoScaleConfiguration = {
480
- type: {
481
- name: "Composite",
482
- className: "AutoScaleConfiguration",
483
- modelProperties: {
484
- status: {
485
- serializedName: "status",
486
- type: {
487
- name: "String"
488
- }
489
- },
490
- minReplicas: {
491
- defaultValue: 1,
492
- constraints: {
493
- InclusiveMinimum: 1
494
- },
495
- serializedName: "minReplicas",
496
- type: {
497
- name: "Number"
498
- }
499
- },
500
- maxReplicas: {
501
- defaultValue: 100,
502
- constraints: {
503
- InclusiveMinimum: 1
504
- },
505
- serializedName: "maxReplicas",
506
- type: {
507
- name: "Number"
508
- }
509
- },
510
- targetUtilization: {
511
- serializedName: "targetUtilization",
512
- type: {
513
- name: "Number"
514
- }
515
- },
516
- refreshPeriodInSeconds: {
517
- serializedName: "refreshPeriodInSeconds",
518
- type: {
519
- name: "Number"
520
- }
521
- }
522
- }
523
- }
524
- };
525
- const Resource = {
526
- type: {
527
- name: "Composite",
528
- className: "Resource",
529
- modelProperties: {
530
- id: {
531
- serializedName: "id",
532
- readOnly: true,
533
- type: {
534
- name: "String"
535
- }
536
- },
537
- name: {
538
- serializedName: "name",
539
- readOnly: true,
540
- type: {
541
- name: "String"
542
- }
543
- },
544
- location: {
545
- serializedName: "location",
546
- required: true,
547
- type: {
548
- name: "String"
549
- }
550
- },
551
- type: {
552
- serializedName: "type",
553
- readOnly: true,
554
- type: {
555
- name: "String"
556
- }
557
- },
558
- tags: {
559
- serializedName: "tags",
560
- type: {
561
- name: "Dictionary",
562
- value: { type: { name: "String" } }
563
- }
564
- }
565
- }
566
- }
567
- };
568
- const OperationalizationClusterUpdateParameters = {
569
- type: {
570
- name: "Composite",
571
- className: "OperationalizationClusterUpdateParameters",
572
- modelProperties: {
573
- tags: {
574
- serializedName: "tags",
575
- type: {
576
- name: "Dictionary",
577
- value: { type: { name: "String" } }
578
- }
579
- }
580
- }
581
- }
582
- };
583
- const OperationalizationClusterCredentials = {
584
- type: {
585
- name: "Composite",
586
- className: "OperationalizationClusterCredentials",
587
- modelProperties: {
588
- storageAccount: {
589
- serializedName: "storageAccount",
590
- type: {
591
- name: "Composite",
592
- className: "StorageAccountCredentials"
593
- }
594
- },
595
- containerRegistry: {
596
- serializedName: "containerRegistry",
597
- type: {
598
- name: "Composite",
599
- className: "ContainerRegistryCredentials"
600
- }
601
- },
602
- containerService: {
603
- serializedName: "containerService",
604
- type: {
605
- name: "Composite",
606
- className: "ContainerServiceCredentials"
607
- }
608
- },
609
- appInsights: {
610
- serializedName: "appInsights",
611
- type: {
612
- name: "Composite",
613
- className: "AppInsightsCredentials"
614
- }
615
- },
616
- serviceAuthConfiguration: {
617
- serializedName: "serviceAuthConfiguration",
618
- type: {
619
- name: "Composite",
620
- className: "ServiceAuthConfiguration"
621
- }
622
- },
623
- sslConfiguration: {
624
- serializedName: "sslConfiguration",
625
- type: {
626
- name: "Composite",
627
- className: "SslConfiguration"
628
- }
629
- }
630
- }
631
- }
632
- };
633
- const StorageAccountCredentials = {
634
- type: {
635
- name: "Composite",
636
- className: "StorageAccountCredentials",
637
- modelProperties: {
638
- resourceId: {
639
- serializedName: "resourceId",
640
- readOnly: true,
641
- type: {
642
- name: "String"
643
- }
644
- },
645
- primaryKey: {
646
- serializedName: "primaryKey",
647
- readOnly: true,
648
- type: {
649
- name: "String"
650
- }
651
- },
652
- secondaryKey: {
653
- serializedName: "secondaryKey",
654
- readOnly: true,
655
- type: {
656
- name: "String"
657
- }
658
- }
659
- }
660
- }
661
- };
662
- const ContainerRegistryCredentials = {
663
- type: {
664
- name: "Composite",
665
- className: "ContainerRegistryCredentials",
666
- modelProperties: {
667
- loginServer: {
668
- serializedName: "loginServer",
669
- readOnly: true,
670
- type: {
671
- name: "String"
672
- }
673
- },
674
- password: {
675
- serializedName: "password",
676
- readOnly: true,
677
- type: {
678
- name: "String"
679
- }
680
- },
681
- password2: {
682
- serializedName: "password2",
683
- readOnly: true,
684
- type: {
685
- name: "String"
686
- }
687
- },
688
- username: {
689
- serializedName: "username",
690
- readOnly: true,
691
- type: {
692
- name: "String"
693
- }
694
- }
695
- }
696
- }
697
- };
698
- const ContainerServiceCredentials = {
699
- type: {
700
- name: "Composite",
701
- className: "ContainerServiceCredentials",
702
- modelProperties: {
703
- acsKubeConfig: {
704
- serializedName: "acsKubeConfig",
705
- readOnly: true,
706
- type: {
707
- name: "String"
708
- }
709
- },
710
- servicePrincipalConfiguration: {
711
- serializedName: "servicePrincipalConfiguration",
712
- type: {
713
- name: "Composite",
714
- className: "ServicePrincipalProperties"
715
- }
716
- },
717
- imagePullSecretName: {
718
- serializedName: "imagePullSecretName",
719
- readOnly: true,
720
- type: {
721
- name: "String"
722
- }
723
- }
724
- }
725
- }
726
- };
727
- const AppInsightsCredentials = {
728
- type: {
729
- name: "Composite",
730
- className: "AppInsightsCredentials",
731
- modelProperties: {
732
- appId: {
733
- serializedName: "appId",
734
- type: {
735
- name: "String"
736
- }
737
- },
738
- instrumentationKey: {
739
- serializedName: "instrumentationKey",
740
- type: {
741
- name: "String"
742
- }
743
- }
744
- }
745
- }
746
- };
747
- const CheckSystemServicesUpdatesAvailableResponse = {
748
- type: {
749
- name: "Composite",
750
- className: "CheckSystemServicesUpdatesAvailableResponse",
751
- modelProperties: {
752
- updatesAvailable: {
753
- serializedName: "updatesAvailable",
754
- readOnly: true,
755
- type: {
756
- name: "String"
757
- }
758
- }
759
- }
760
- }
761
- };
762
- const UpdateSystemServicesResponse = {
763
- type: {
764
- name: "Composite",
765
- className: "UpdateSystemServicesResponse",
766
- modelProperties: {
767
- updateStatus: {
768
- serializedName: "updateStatus",
769
- readOnly: true,
770
- type: {
771
- name: "String"
772
- }
773
- },
774
- updateStartedOn: {
775
- serializedName: "updateStartedOn",
776
- readOnly: true,
777
- type: {
778
- name: "DateTime"
779
- }
780
- },
781
- updateCompletedOn: {
782
- serializedName: "updateCompletedOn",
783
- readOnly: true,
784
- type: {
785
- name: "DateTime"
786
- }
787
- }
788
- }
789
- }
790
- };
791
- const PaginatedOperationalizationClustersList = {
792
- type: {
793
- name: "Composite",
794
- className: "PaginatedOperationalizationClustersList",
795
- modelProperties: {
796
- value: {
797
- serializedName: "value",
798
- type: {
799
- name: "Sequence",
800
- element: {
801
- type: {
802
- name: "Composite",
803
- className: "OperationalizationCluster"
804
- }
805
- }
806
- }
807
- },
808
- nextLink: {
809
- serializedName: "nextLink",
810
- type: {
811
- name: "String"
812
- }
813
- }
814
- }
815
- }
816
- };
817
- const AvailableOperations = {
818
- type: {
819
- name: "Composite",
820
- className: "AvailableOperations",
821
- modelProperties: {
822
- value: {
823
- serializedName: "value",
824
- type: {
825
- name: "Sequence",
826
- element: {
827
- type: {
828
- name: "Composite",
829
- className: "ResourceOperation"
830
- }
831
- }
832
- }
833
- }
834
- }
835
- }
836
- };
837
- const ResourceOperation = {
838
- type: {
839
- name: "Composite",
840
- className: "ResourceOperation",
841
- modelProperties: {
842
- name: {
843
- serializedName: "name",
844
- type: {
845
- name: "String"
846
- }
847
- },
848
- display: {
849
- serializedName: "display",
850
- type: {
851
- name: "Composite",
852
- className: "ResourceOperationDisplay"
853
- }
854
- },
855
- origin: {
856
- serializedName: "origin",
857
- type: {
858
- name: "String"
859
- }
860
- }
861
- }
862
- }
863
- };
864
- const ResourceOperationDisplay = {
865
- type: {
866
- name: "Composite",
867
- className: "ResourceOperationDisplay",
868
- modelProperties: {
869
- provider: {
870
- serializedName: "provider",
871
- type: {
872
- name: "String"
873
- }
874
- },
875
- resource: {
876
- serializedName: "resource",
877
- type: {
878
- name: "String"
879
- }
880
- },
881
- operation: {
882
- serializedName: "operation",
883
- type: {
884
- name: "String"
885
- }
886
- },
887
- description: {
888
- serializedName: "description",
889
- type: {
890
- name: "String"
891
- }
892
- }
893
- }
894
- }
895
- };
896
- const OperationalizationCluster = {
897
- type: {
898
- name: "Composite",
899
- className: "OperationalizationCluster",
900
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { description: {
901
- serializedName: "properties.description",
902
- type: {
903
- name: "String"
904
- }
905
- }, createdOn: {
906
- serializedName: "properties.createdOn",
907
- readOnly: true,
908
- type: {
909
- name: "DateTime"
910
- }
911
- }, modifiedOn: {
912
- serializedName: "properties.modifiedOn",
913
- readOnly: true,
914
- type: {
915
- name: "DateTime"
916
- }
917
- }, provisioningState: {
918
- serializedName: "properties.provisioningState",
919
- readOnly: true,
920
- type: {
921
- name: "String"
922
- }
923
- }, provisioningErrors: {
924
- serializedName: "properties.provisioningErrors",
925
- readOnly: true,
926
- type: {
927
- name: "Sequence",
928
- element: {
929
- type: {
930
- name: "Composite",
931
- className: "ErrorResponseWrapper"
932
- }
933
- }
934
- }
935
- }, clusterType: {
936
- serializedName: "properties.clusterType",
937
- type: {
938
- name: "String"
939
- }
940
- }, storageAccount: {
941
- serializedName: "properties.storageAccount",
942
- type: {
943
- name: "Composite",
944
- className: "StorageAccountProperties"
945
- }
946
- }, containerRegistry: {
947
- serializedName: "properties.containerRegistry",
948
- type: {
949
- name: "Composite",
950
- className: "ContainerRegistryProperties"
951
- }
952
- }, containerService: {
953
- serializedName: "properties.containerService",
954
- type: {
955
- name: "Composite",
956
- className: "AcsClusterProperties"
957
- }
958
- }, appInsights: {
959
- serializedName: "properties.appInsights",
960
- type: {
961
- name: "Composite",
962
- className: "AppInsightsProperties"
963
- }
964
- }, globalServiceConfiguration: {
965
- serializedName: "properties.globalServiceConfiguration",
966
- type: {
967
- name: "Composite",
968
- className: "GlobalServiceConfiguration"
969
- }
970
- } })
971
- }
972
- };
973
- const OperationalizationClustersDeleteHeaders = {
974
- type: {
975
- name: "Composite",
976
- className: "OperationalizationClustersDeleteHeaders",
977
- modelProperties: {
978
- location: {
979
- serializedName: "location",
980
- type: {
981
- name: "String"
982
- }
983
- }
984
- }
985
- }
986
- };
987
- const OperationalizationClustersUpdateSystemServicesHeaders = {
988
- type: {
989
- name: "Composite",
990
- className: "OperationalizationClustersUpdateSystemServicesHeaders",
991
- modelProperties: {
992
- location: {
993
- serializedName: "location",
994
- type: {
995
- name: "String"
996
- }
997
- }
998
- }
999
- }
1000
- };
1001
-
1002
- var Mappers = /*#__PURE__*/Object.freeze({
1003
- __proto__: null,
1004
- ErrorResponseWrapper: ErrorResponseWrapper,
1005
- ErrorResponse: ErrorResponse,
1006
- ErrorDetail: ErrorDetail,
1007
- StorageAccountProperties: StorageAccountProperties,
1008
- ContainerRegistryProperties: ContainerRegistryProperties,
1009
- AcsClusterProperties: AcsClusterProperties,
1010
- KubernetesClusterProperties: KubernetesClusterProperties,
1011
- ServicePrincipalProperties: ServicePrincipalProperties,
1012
- SystemService: SystemService,
1013
- AppInsightsProperties: AppInsightsProperties,
1014
- GlobalServiceConfiguration: GlobalServiceConfiguration,
1015
- SslConfiguration: SslConfiguration,
1016
- ServiceAuthConfiguration: ServiceAuthConfiguration,
1017
- AutoScaleConfiguration: AutoScaleConfiguration,
1018
- Resource: Resource,
1019
- OperationalizationClusterUpdateParameters: OperationalizationClusterUpdateParameters,
1020
- OperationalizationClusterCredentials: OperationalizationClusterCredentials,
1021
- StorageAccountCredentials: StorageAccountCredentials,
1022
- ContainerRegistryCredentials: ContainerRegistryCredentials,
1023
- ContainerServiceCredentials: ContainerServiceCredentials,
1024
- AppInsightsCredentials: AppInsightsCredentials,
1025
- CheckSystemServicesUpdatesAvailableResponse: CheckSystemServicesUpdatesAvailableResponse,
1026
- UpdateSystemServicesResponse: UpdateSystemServicesResponse,
1027
- PaginatedOperationalizationClustersList: PaginatedOperationalizationClustersList,
1028
- AvailableOperations: AvailableOperations,
1029
- ResourceOperation: ResourceOperation,
1030
- ResourceOperationDisplay: ResourceOperationDisplay,
1031
- OperationalizationCluster: OperationalizationCluster,
1032
- OperationalizationClustersDeleteHeaders: OperationalizationClustersDeleteHeaders,
1033
- OperationalizationClustersUpdateSystemServicesHeaders: OperationalizationClustersUpdateSystemServicesHeaders
1034
- });
1035
-
1036
- /*
1037
- * Copyright (c) Microsoft Corporation.
1038
- * Licensed under the MIT License.
1039
- *
1040
- * Code generated by Microsoft (R) AutoRest Code Generator.
1041
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1042
- */
1043
- const contentType = {
1044
- parameterPath: ["options", "contentType"],
1045
- mapper: {
1046
- defaultValue: "application/json",
1047
- isConstant: true,
1048
- serializedName: "Content-Type",
1049
- type: {
1050
- name: "String"
1051
- }
1052
- }
1053
- };
1054
- const parameters = {
1055
- parameterPath: "parameters",
1056
- mapper: OperationalizationCluster
1057
- };
1058
- const accept = {
1059
- parameterPath: "accept",
1060
- mapper: {
1061
- defaultValue: "application/json",
1062
- isConstant: true,
1063
- serializedName: "Accept",
1064
- type: {
1065
- name: "String"
1066
- }
1067
- }
1068
- };
1069
- const $host = {
1070
- parameterPath: "$host",
1071
- mapper: {
1072
- serializedName: "$host",
1073
- required: true,
1074
- type: {
1075
- name: "String"
1076
- }
1077
- },
1078
- skipEncoding: true
1079
- };
1080
- const apiVersion = {
1081
- parameterPath: "apiVersion",
1082
- mapper: {
1083
- defaultValue: "2017-08-01-preview",
1084
- isConstant: true,
1085
- serializedName: "api-version",
1086
- type: {
1087
- name: "String"
1088
- }
1089
- }
1090
- };
1091
- const subscriptionId = {
1092
- parameterPath: "subscriptionId",
1093
- mapper: {
1094
- serializedName: "subscriptionId",
1095
- required: true,
1096
- type: {
1097
- name: "String"
1098
- }
1099
- }
1100
- };
1101
- const resourceGroupName = {
1102
- parameterPath: "resourceGroupName",
1103
- mapper: {
1104
- constraints: {
1105
- Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"),
1106
- MaxLength: 90,
1107
- MinLength: 1
1108
- },
1109
- serializedName: "resourceGroupName",
1110
- required: true,
1111
- type: {
1112
- name: "String"
1113
- }
1114
- }
1115
- };
1116
- const clusterName = {
1117
- parameterPath: "clusterName",
1118
- mapper: {
1119
- constraints: {
1120
- Pattern: new RegExp("^[a-zA-Z][-\\w\\._\\(\\)]+[a-zA-Z0-9]$"),
1121
- MaxLength: 90,
1122
- MinLength: 1
1123
- },
1124
- serializedName: "clusterName",
1125
- required: true,
1126
- type: {
1127
- name: "String"
1128
- }
1129
- }
1130
- };
1131
- const parameters1 = {
1132
- parameterPath: "parameters",
1133
- mapper: OperationalizationClusterUpdateParameters
1134
- };
1135
- const deleteAll = {
1136
- parameterPath: ["options", "deleteAll"],
1137
- mapper: {
1138
- serializedName: "deleteAll",
1139
- type: {
1140
- name: "Boolean"
1141
- }
1142
- }
1143
- };
1144
- const skiptoken = {
1145
- parameterPath: ["options", "skiptoken"],
1146
- mapper: {
1147
- serializedName: "$skiptoken",
1148
- type: {
1149
- name: "String"
1150
- }
1151
- }
1152
- };
1153
- const nextLink = {
1154
- parameterPath: "nextLink",
1155
- mapper: {
1156
- serializedName: "nextLink",
1157
- required: true,
1158
- type: {
1159
- name: "String"
1160
- }
1161
- },
1162
- skipEncoding: true
1163
- };
1164
-
1165
- /*
1166
- * Copyright (c) Microsoft Corporation.
1167
- * Licensed under the MIT License.
1168
- *
1169
- * Code generated by Microsoft (R) AutoRest Code Generator.
1170
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1171
- */
1172
- class LroImpl {
1173
- constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
1174
- this.sendOperationFn = sendOperationFn;
1175
- this.args = args;
1176
- this.spec = spec;
1177
- this.requestPath = requestPath;
1178
- this.requestMethod = requestMethod;
1179
- }
1180
- sendInitialRequest() {
1181
- return tslib.__awaiter(this, void 0, void 0, function* () {
1182
- return this.sendOperationFn(this.args, this.spec);
1183
- });
1184
- }
1185
- sendPollRequest(path) {
1186
- return tslib.__awaiter(this, void 0, void 0, function* () {
1187
- const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
1188
- return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
1189
- });
1190
- }
1191
- }
1192
-
1193
- /*
1194
- * Copyright (c) Microsoft Corporation.
1195
- * Licensed under the MIT License.
1196
- *
1197
- * Code generated by Microsoft (R) AutoRest Code Generator.
1198
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1199
- */
1200
- /// <reference lib="esnext.asynciterable" />
1201
- /** Class containing OperationalizationClusters operations. */
1202
- class OperationalizationClustersImpl {
1203
- /**
1204
- * Initialize a new instance of the class OperationalizationClusters class.
1205
- * @param client Reference to the service client
1206
- */
1207
- constructor(client) {
1208
- this.client = client;
1209
- }
1210
- /**
1211
- * Gets the clusters in the specified resource group.
1212
- * @param resourceGroupName Name of the resource group in which the cluster is located.
1213
- * @param options The options parameters.
1214
- */
1215
- listByResourceGroup(resourceGroupName, options) {
1216
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
1217
- return {
1218
- next() {
1219
- return iter.next();
1220
- },
1221
- [Symbol.asyncIterator]() {
1222
- return this;
1223
- },
1224
- byPage: () => {
1225
- return this.listByResourceGroupPagingPage(resourceGroupName, options);
1226
- }
1227
- };
1228
- }
1229
- listByResourceGroupPagingPage(resourceGroupName, options) {
1230
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
1231
- let result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
1232
- yield yield tslib.__await(result.value || []);
1233
- let continuationToken = result.nextLink;
1234
- while (continuationToken) {
1235
- result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
1236
- continuationToken = result.nextLink;
1237
- yield yield tslib.__await(result.value || []);
1238
- }
1239
- });
1240
- }
1241
- listByResourceGroupPagingAll(resourceGroupName, options) {
1242
- return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
1243
- var e_1, _a;
1244
- try {
1245
- for (var _b = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1246
- const page = _c.value;
1247
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1248
- }
1249
- }
1250
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
1251
- finally {
1252
- try {
1253
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1254
- }
1255
- finally { if (e_1) throw e_1.error; }
1256
- }
1257
- });
1258
- }
1259
- /**
1260
- * Gets the operationalization clusters in the specified subscription.
1261
- * @param options The options parameters.
1262
- */
1263
- listBySubscriptionId(options) {
1264
- const iter = this.listBySubscriptionIdPagingAll(options);
1265
- return {
1266
- next() {
1267
- return iter.next();
1268
- },
1269
- [Symbol.asyncIterator]() {
1270
- return this;
1271
- },
1272
- byPage: () => {
1273
- return this.listBySubscriptionIdPagingPage(options);
1274
- }
1275
- };
1276
- }
1277
- listBySubscriptionIdPagingPage(options) {
1278
- return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdPagingPage_1() {
1279
- let result = yield tslib.__await(this._listBySubscriptionId(options));
1280
- yield yield tslib.__await(result.value || []);
1281
- let continuationToken = result.nextLink;
1282
- while (continuationToken) {
1283
- result = yield tslib.__await(this._listBySubscriptionIdNext(continuationToken, options));
1284
- continuationToken = result.nextLink;
1285
- yield yield tslib.__await(result.value || []);
1286
- }
1287
- });
1288
- }
1289
- listBySubscriptionIdPagingAll(options) {
1290
- return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionIdPagingAll_1() {
1291
- var e_2, _a;
1292
- try {
1293
- for (var _b = tslib.__asyncValues(this.listBySubscriptionIdPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1294
- const page = _c.value;
1295
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1296
- }
1297
- }
1298
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
1299
- finally {
1300
- try {
1301
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1302
- }
1303
- finally { if (e_2) throw e_2.error; }
1304
- }
1305
- });
1306
- }
1307
- /**
1308
- * Create or update an operationalization cluster.
1309
- * @param resourceGroupName Name of the resource group in which the cluster is located.
1310
- * @param clusterName The name of the cluster.
1311
- * @param parameters Parameters supplied to create or update an Operationalization cluster.
1312
- * @param options The options parameters.
1313
- */
1314
- beginCreateOrUpdate(resourceGroupName, clusterName, parameters, options) {
1315
- return tslib.__awaiter(this, void 0, void 0, function* () {
1316
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
1317
- return this.client.sendOperationRequest(args, spec);
1318
- });
1319
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
1320
- var _a;
1321
- let currentRawResponse = undefined;
1322
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1323
- const callback = (rawResponse, flatResponse) => {
1324
- currentRawResponse = rawResponse;
1325
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1326
- };
1327
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1328
- const flatResponse = yield directSendOperation(updatedArgs, spec);
1329
- return {
1330
- flatResponse,
1331
- rawResponse: {
1332
- statusCode: currentRawResponse.status,
1333
- body: currentRawResponse.parsedBody,
1334
- headers: currentRawResponse.headers.toJSON()
1335
- }
1336
- };
1337
- });
1338
- const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, parameters, options }, createOrUpdateOperationSpec);
1339
- const poller = new coreLro.LroEngine(lro, {
1340
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1341
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1342
- });
1343
- yield poller.poll();
1344
- return poller;
1345
- });
1346
- }
1347
- /**
1348
- * Create or update an operationalization cluster.
1349
- * @param resourceGroupName Name of the resource group in which the cluster is located.
1350
- * @param clusterName The name of the cluster.
1351
- * @param parameters Parameters supplied to create or update an Operationalization cluster.
1352
- * @param options The options parameters.
1353
- */
1354
- beginCreateOrUpdateAndWait(resourceGroupName, clusterName, parameters, options) {
1355
- return tslib.__awaiter(this, void 0, void 0, function* () {
1356
- const poller = yield this.beginCreateOrUpdate(resourceGroupName, clusterName, parameters, options);
1357
- return poller.pollUntilDone();
1358
- });
1359
- }
1360
- /**
1361
- * Gets the operationalization cluster resource view. Note that the credentials are not returned by
1362
- * this call. Call ListKeys to get them.
1363
- * @param resourceGroupName Name of the resource group in which the cluster is located.
1364
- * @param clusterName The name of the cluster.
1365
- * @param options The options parameters.
1366
- */
1367
- get(resourceGroupName, clusterName, options) {
1368
- return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, getOperationSpec);
1369
- }
1370
- /**
1371
- * The PATCH operation can be used to update only the tags for a cluster. Use PUT operation to update
1372
- * other properties.
1373
- * @param resourceGroupName Name of the resource group in which the cluster is located.
1374
- * @param clusterName The name of the cluster.
1375
- * @param parameters The parameters supplied to patch the cluster.
1376
- * @param options The options parameters.
1377
- */
1378
- update(resourceGroupName, clusterName, parameters, options) {
1379
- return this.client.sendOperationRequest({ resourceGroupName, clusterName, parameters, options }, updateOperationSpec);
1380
- }
1381
- /**
1382
- * Deletes the specified cluster.
1383
- * @param resourceGroupName Name of the resource group in which the cluster is located.
1384
- * @param clusterName The name of the cluster.
1385
- * @param options The options parameters.
1386
- */
1387
- beginDelete(resourceGroupName, clusterName, options) {
1388
- return tslib.__awaiter(this, void 0, void 0, function* () {
1389
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
1390
- return this.client.sendOperationRequest(args, spec);
1391
- });
1392
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
1393
- var _a;
1394
- let currentRawResponse = undefined;
1395
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1396
- const callback = (rawResponse, flatResponse) => {
1397
- currentRawResponse = rawResponse;
1398
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1399
- };
1400
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1401
- const flatResponse = yield directSendOperation(updatedArgs, spec);
1402
- return {
1403
- flatResponse,
1404
- rawResponse: {
1405
- statusCode: currentRawResponse.status,
1406
- body: currentRawResponse.parsedBody,
1407
- headers: currentRawResponse.headers.toJSON()
1408
- }
1409
- };
1410
- });
1411
- const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, options }, deleteOperationSpec);
1412
- const poller = new coreLro.LroEngine(lro, {
1413
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1414
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1415
- });
1416
- yield poller.poll();
1417
- return poller;
1418
- });
1419
- }
1420
- /**
1421
- * Deletes the specified cluster.
1422
- * @param resourceGroupName Name of the resource group in which the cluster is located.
1423
- * @param clusterName The name of the cluster.
1424
- * @param options The options parameters.
1425
- */
1426
- beginDeleteAndWait(resourceGroupName, clusterName, options) {
1427
- return tslib.__awaiter(this, void 0, void 0, function* () {
1428
- const poller = yield this.beginDelete(resourceGroupName, clusterName, options);
1429
- return poller.pollUntilDone();
1430
- });
1431
- }
1432
- /**
1433
- * Gets the credentials for the specified cluster such as Storage, ACR and ACS credentials. This is a
1434
- * long running operation because it fetches keys from dependencies.
1435
- * @param resourceGroupName Name of the resource group in which the cluster is located.
1436
- * @param clusterName The name of the cluster.
1437
- * @param options The options parameters.
1438
- */
1439
- listKeys(resourceGroupName, clusterName, options) {
1440
- return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listKeysOperationSpec);
1441
- }
1442
- /**
1443
- * Checks if updates are available for system services in the cluster.
1444
- * @param resourceGroupName Name of the resource group in which the cluster is located.
1445
- * @param clusterName The name of the cluster.
1446
- * @param options The options parameters.
1447
- */
1448
- checkSystemServicesUpdatesAvailable(resourceGroupName, clusterName, options) {
1449
- return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, checkSystemServicesUpdatesAvailableOperationSpec);
1450
- }
1451
- /**
1452
- * Updates system services in a cluster.
1453
- * @param resourceGroupName Name of the resource group in which the cluster is located.
1454
- * @param clusterName The name of the cluster.
1455
- * @param options The options parameters.
1456
- */
1457
- beginUpdateSystemServices(resourceGroupName, clusterName, options) {
1458
- return tslib.__awaiter(this, void 0, void 0, function* () {
1459
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
1460
- return this.client.sendOperationRequest(args, spec);
1461
- });
1462
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
1463
- var _a;
1464
- let currentRawResponse = undefined;
1465
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
1466
- const callback = (rawResponse, flatResponse) => {
1467
- currentRawResponse = rawResponse;
1468
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
1469
- };
1470
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
1471
- const flatResponse = yield directSendOperation(updatedArgs, spec);
1472
- return {
1473
- flatResponse,
1474
- rawResponse: {
1475
- statusCode: currentRawResponse.status,
1476
- body: currentRawResponse.parsedBody,
1477
- headers: currentRawResponse.headers.toJSON()
1478
- }
1479
- };
1480
- });
1481
- const lro = new LroImpl(sendOperation, { resourceGroupName, clusterName, options }, updateSystemServicesOperationSpec);
1482
- const poller = new coreLro.LroEngine(lro, {
1483
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1484
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
1485
- });
1486
- yield poller.poll();
1487
- return poller;
1488
- });
1489
- }
1490
- /**
1491
- * Updates system services in a cluster.
1492
- * @param resourceGroupName Name of the resource group in which the cluster is located.
1493
- * @param clusterName The name of the cluster.
1494
- * @param options The options parameters.
1495
- */
1496
- beginUpdateSystemServicesAndWait(resourceGroupName, clusterName, options) {
1497
- return tslib.__awaiter(this, void 0, void 0, function* () {
1498
- const poller = yield this.beginUpdateSystemServices(resourceGroupName, clusterName, options);
1499
- return poller.pollUntilDone();
1500
- });
1501
- }
1502
- /**
1503
- * Gets the clusters in the specified resource group.
1504
- * @param resourceGroupName Name of the resource group in which the cluster is located.
1505
- * @param options The options parameters.
1506
- */
1507
- _listByResourceGroup(resourceGroupName, options) {
1508
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
1509
- }
1510
- /**
1511
- * Gets the operationalization clusters in the specified subscription.
1512
- * @param options The options parameters.
1513
- */
1514
- _listBySubscriptionId(options) {
1515
- return this.client.sendOperationRequest({ options }, listBySubscriptionIdOperationSpec);
1516
- }
1517
- /**
1518
- * ListByResourceGroupNext
1519
- * @param resourceGroupName Name of the resource group in which the cluster is located.
1520
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
1521
- * @param options The options parameters.
1522
- */
1523
- _listByResourceGroupNext(resourceGroupName, nextLink, options) {
1524
- return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
1525
- }
1526
- /**
1527
- * ListBySubscriptionIdNext
1528
- * @param nextLink The nextLink from the previous successful call to the ListBySubscriptionId method.
1529
- * @param options The options parameters.
1530
- */
1531
- _listBySubscriptionIdNext(nextLink, options) {
1532
- return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionIdNextOperationSpec);
1533
- }
1534
- }
1535
- // Operation Specifications
1536
- const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1537
- const createOrUpdateOperationSpec = {
1538
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
1539
- httpMethod: "PUT",
1540
- responses: {
1541
- 200: {
1542
- bodyMapper: OperationalizationCluster
1543
- },
1544
- 201: {
1545
- bodyMapper: OperationalizationCluster
1546
- },
1547
- 202: {
1548
- bodyMapper: OperationalizationCluster
1549
- },
1550
- 204: {
1551
- bodyMapper: OperationalizationCluster
1552
- },
1553
- default: {
1554
- bodyMapper: ErrorResponseWrapper
1555
- }
1556
- },
1557
- requestBody: parameters,
1558
- queryParameters: [apiVersion],
1559
- urlParameters: [
1560
- $host,
1561
- subscriptionId,
1562
- resourceGroupName,
1563
- clusterName
1564
- ],
1565
- headerParameters: [contentType, accept],
1566
- mediaType: "json",
1567
- serializer: serializer$1
1568
- };
1569
- const getOperationSpec = {
1570
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
1571
- httpMethod: "GET",
1572
- responses: {
1573
- 200: {
1574
- bodyMapper: OperationalizationCluster
1575
- },
1576
- default: {
1577
- bodyMapper: ErrorResponseWrapper
1578
- }
1579
- },
1580
- queryParameters: [apiVersion],
1581
- urlParameters: [
1582
- $host,
1583
- subscriptionId,
1584
- resourceGroupName,
1585
- clusterName
1586
- ],
1587
- headerParameters: [accept],
1588
- serializer: serializer$1
1589
- };
1590
- const updateOperationSpec = {
1591
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
1592
- httpMethod: "PATCH",
1593
- responses: {
1594
- 200: {
1595
- bodyMapper: OperationalizationCluster
1596
- },
1597
- default: {
1598
- bodyMapper: ErrorResponseWrapper
1599
- }
1600
- },
1601
- requestBody: parameters1,
1602
- queryParameters: [apiVersion],
1603
- urlParameters: [
1604
- $host,
1605
- subscriptionId,
1606
- resourceGroupName,
1607
- clusterName
1608
- ],
1609
- headerParameters: [contentType, accept],
1610
- mediaType: "json",
1611
- serializer: serializer$1
1612
- };
1613
- const deleteOperationSpec = {
1614
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}",
1615
- httpMethod: "DELETE",
1616
- responses: {
1617
- 200: {
1618
- headersMapper: OperationalizationClustersDeleteHeaders
1619
- },
1620
- 201: {
1621
- headersMapper: OperationalizationClustersDeleteHeaders
1622
- },
1623
- 202: {
1624
- headersMapper: OperationalizationClustersDeleteHeaders
1625
- },
1626
- 204: {
1627
- headersMapper: OperationalizationClustersDeleteHeaders
1628
- },
1629
- default: {
1630
- bodyMapper: ErrorResponseWrapper
1631
- }
1632
- },
1633
- queryParameters: [apiVersion, deleteAll],
1634
- urlParameters: [
1635
- $host,
1636
- subscriptionId,
1637
- resourceGroupName,
1638
- clusterName
1639
- ],
1640
- headerParameters: [accept],
1641
- serializer: serializer$1
1642
- };
1643
- const listKeysOperationSpec = {
1644
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/listKeys",
1645
- httpMethod: "POST",
1646
- responses: {
1647
- 200: {
1648
- bodyMapper: OperationalizationClusterCredentials
1649
- }
1650
- },
1651
- queryParameters: [apiVersion],
1652
- urlParameters: [
1653
- $host,
1654
- subscriptionId,
1655
- resourceGroupName,
1656
- clusterName
1657
- ],
1658
- headerParameters: [accept],
1659
- serializer: serializer$1
1660
- };
1661
- const checkSystemServicesUpdatesAvailableOperationSpec = {
1662
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/checkSystemServicesUpdatesAvailable",
1663
- httpMethod: "POST",
1664
- responses: {
1665
- 200: {
1666
- bodyMapper: CheckSystemServicesUpdatesAvailableResponse
1667
- }
1668
- },
1669
- queryParameters: [apiVersion],
1670
- urlParameters: [
1671
- $host,
1672
- subscriptionId,
1673
- resourceGroupName,
1674
- clusterName
1675
- ],
1676
- headerParameters: [accept],
1677
- serializer: serializer$1
1678
- };
1679
- const updateSystemServicesOperationSpec = {
1680
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters/{clusterName}/updateSystemServices",
1681
- httpMethod: "POST",
1682
- responses: {
1683
- 200: {
1684
- bodyMapper: UpdateSystemServicesResponse
1685
- },
1686
- 201: {
1687
- bodyMapper: UpdateSystemServicesResponse
1688
- },
1689
- 202: {
1690
- bodyMapper: UpdateSystemServicesResponse
1691
- },
1692
- 204: {
1693
- bodyMapper: UpdateSystemServicesResponse
1694
- }
1695
- },
1696
- queryParameters: [apiVersion],
1697
- urlParameters: [
1698
- $host,
1699
- subscriptionId,
1700
- resourceGroupName,
1701
- clusterName
1702
- ],
1703
- headerParameters: [accept],
1704
- serializer: serializer$1
1705
- };
1706
- const listByResourceGroupOperationSpec = {
1707
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningCompute/operationalizationClusters",
1708
- httpMethod: "GET",
1709
- responses: {
1710
- 200: {
1711
- bodyMapper: PaginatedOperationalizationClustersList
1712
- }
1713
- },
1714
- queryParameters: [apiVersion, skiptoken],
1715
- urlParameters: [
1716
- $host,
1717
- subscriptionId,
1718
- resourceGroupName
1719
- ],
1720
- headerParameters: [accept],
1721
- serializer: serializer$1
1722
- };
1723
- const listBySubscriptionIdOperationSpec = {
1724
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningCompute/operationalizationClusters",
1725
- httpMethod: "GET",
1726
- responses: {
1727
- 200: {
1728
- bodyMapper: PaginatedOperationalizationClustersList
1729
- }
1730
- },
1731
- queryParameters: [apiVersion, skiptoken],
1732
- urlParameters: [$host, subscriptionId],
1733
- headerParameters: [accept],
1734
- serializer: serializer$1
1735
- };
1736
- const listByResourceGroupNextOperationSpec = {
1737
- path: "{nextLink}",
1738
- httpMethod: "GET",
1739
- responses: {
1740
- 200: {
1741
- bodyMapper: PaginatedOperationalizationClustersList
1742
- }
1743
- },
1744
- queryParameters: [apiVersion, skiptoken],
1745
- urlParameters: [
1746
- $host,
1747
- subscriptionId,
1748
- resourceGroupName,
1749
- nextLink
1750
- ],
1751
- headerParameters: [accept],
1752
- serializer: serializer$1
1753
- };
1754
- const listBySubscriptionIdNextOperationSpec = {
1755
- path: "{nextLink}",
1756
- httpMethod: "GET",
1757
- responses: {
1758
- 200: {
1759
- bodyMapper: PaginatedOperationalizationClustersList
1760
- }
1761
- },
1762
- queryParameters: [apiVersion, skiptoken],
1763
- urlParameters: [
1764
- $host,
1765
- subscriptionId,
1766
- nextLink
1767
- ],
1768
- headerParameters: [accept],
1769
- serializer: serializer$1
1770
- };
1771
-
1772
- /*
1773
- * Copyright (c) Microsoft Corporation.
1774
- * Licensed under the MIT License.
1775
- *
1776
- * Code generated by Microsoft (R) AutoRest Code Generator.
1777
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1778
- */
1779
- /** Class containing MachineLearningCompute operations. */
1780
- class MachineLearningComputeImpl {
1781
- /**
1782
- * Initialize a new instance of the class MachineLearningCompute class.
1783
- * @param client Reference to the service client
1784
- */
1785
- constructor(client) {
1786
- this.client = client;
1787
- }
1788
- /**
1789
- * Gets all available operations.
1790
- * @param options The options parameters.
1791
- */
1792
- listAvailableOperations(options) {
1793
- return this.client.sendOperationRequest({ options }, listAvailableOperationsOperationSpec);
1794
- }
1795
- }
1796
- // Operation Specifications
1797
- const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1798
- const listAvailableOperationsOperationSpec = {
1799
- path: "/providers/Microsoft.MachineLearningCompute/operations",
1800
- httpMethod: "GET",
1801
- responses: {
1802
- 200: {
1803
- bodyMapper: AvailableOperations
1804
- }
1805
- },
1806
- queryParameters: [apiVersion],
1807
- urlParameters: [$host],
1808
- headerParameters: [accept],
1809
- serializer
1810
- };
1811
-
1812
- /*
1813
- * Copyright (c) Microsoft Corporation.
1814
- * Licensed under the MIT License.
1815
- *
1816
- * Code generated by Microsoft (R) AutoRest Code Generator.
1817
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1818
- */
1819
- class MachineLearningComputeManagementClient extends coreClient__namespace.ServiceClient {
1820
- /**
1821
- * Initializes a new instance of the MachineLearningComputeManagementClient class.
1822
- * @param credentials Subscription credentials which uniquely identify client subscription.
1823
- * @param subscriptionId The Azure subscription ID.
1824
- * @param options The parameter options
1825
- */
1826
- constructor(credentials, subscriptionId, options) {
1827
- var _a, _b;
1828
- if (credentials === undefined) {
1829
- throw new Error("'credentials' cannot be null");
1830
- }
1831
- if (subscriptionId === undefined) {
1832
- throw new Error("'subscriptionId' cannot be null");
1833
- }
1834
- // Initializing default values for options
1835
- if (!options) {
1836
- options = {};
1837
- }
1838
- const defaults = {
1839
- requestContentType: "application/json; charset=utf-8",
1840
- credential: credentials
1841
- };
1842
- const packageDetails = `azsdk-js-arm-machinelearningcompute/3.0.0-beta.2`;
1843
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
1844
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
1845
- : `${packageDetails}`;
1846
- if (!options.credentialScopes) {
1847
- options.credentialScopes = ["https://management.azure.com/.default"];
1848
- }
1849
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
1850
- userAgentPrefix
1851
- }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
1852
- super(optionsWithDefaults);
1853
- if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
1854
- const pipelinePolicies = options.pipeline.getOrderedPolicies();
1855
- const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
1856
- coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
1857
- if (!bearerTokenAuthenticationPolicyFound) {
1858
- this.pipeline.removePolicy({
1859
- name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
1860
- });
1861
- this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
1862
- scopes: `${optionsWithDefaults.baseUri}/.default`,
1863
- challengeCallbacks: {
1864
- authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
1865
- }
1866
- }));
1867
- }
1868
- }
1869
- // Parameter assignments
1870
- this.subscriptionId = subscriptionId;
1871
- // Assigning values to Constant parameters
1872
- this.$host = options.$host || "https://management.azure.com";
1873
- this.apiVersion = options.apiVersion || "2017-08-01-preview";
1874
- this.operationalizationClusters = new OperationalizationClustersImpl(this);
1875
- this.machineLearningCompute = new MachineLearningComputeImpl(this);
1876
- }
1877
- }
1878
-
1879
- exports.MachineLearningComputeManagementClient = MachineLearningComputeManagementClient;
1880
- //# sourceMappingURL=index.js.map