@openshift-migration-advisor/agent-sdk 0.8.0 → 0.12.0-4e95135f8529

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 (334) hide show
  1. package/.openapi-generator/FILES +74 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +80 -17
  4. package/dist/apis/DefaultApi.d.ts +1108 -95
  5. package/dist/apis/DefaultApi.js +1374 -263
  6. package/dist/esm/apis/DefaultApi.d.ts +1108 -95
  7. package/dist/esm/apis/DefaultApi.js +1350 -239
  8. package/dist/esm/models/AgentStatus.d.ts +1 -1
  9. package/dist/esm/models/AgentStatus.js +3 -3
  10. package/dist/esm/models/ApplicationListResponse.d.ts +33 -0
  11. package/dist/esm/models/ApplicationListResponse.js +44 -0
  12. package/dist/esm/models/ApplicationOverview.d.ts +51 -0
  13. package/dist/esm/models/ApplicationOverview.js +56 -0
  14. package/dist/esm/models/ApplicationVM.d.ts +38 -0
  15. package/dist/esm/models/ApplicationVM.js +47 -0
  16. package/dist/esm/models/BenchmarkRun.d.ts +104 -0
  17. package/dist/esm/models/BenchmarkRun.js +85 -0
  18. package/dist/esm/models/ClusterFeatures.d.ts +54 -0
  19. package/dist/esm/models/ClusterFeatures.js +54 -0
  20. package/dist/esm/models/ClusterUtilization.d.ts +68 -0
  21. package/dist/esm/models/ClusterUtilization.js +67 -0
  22. package/dist/esm/models/CollectorStartRequest.d.ts +12 -0
  23. package/dist/esm/models/CollectorStartRequest.js +4 -0
  24. package/dist/esm/models/CreateGroupRequest.d.ts +0 -6
  25. package/dist/esm/models/CreateGroupRequest.js +0 -2
  26. package/dist/esm/models/CredentialStatus.d.ts +38 -0
  27. package/dist/esm/models/CredentialStatus.js +47 -0
  28. package/dist/esm/models/DatastoreDetail.d.ts +90 -0
  29. package/dist/esm/models/DatastoreDetail.js +74 -0
  30. package/dist/esm/models/DatastorePair.d.ts +50 -0
  31. package/dist/esm/models/DatastorePair.js +53 -0
  32. package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +38 -0
  33. package/dist/esm/models/DeleteLabelGloballyResponse.js +47 -0
  34. package/dist/esm/models/EstimateRange.d.ts +44 -0
  35. package/dist/esm/models/EstimateRange.js +45 -0
  36. package/dist/esm/models/ForecastStats.d.ts +87 -0
  37. package/dist/esm/models/ForecastStats.js +64 -0
  38. package/dist/esm/models/ForecasterDatastoresRequest.d.ts +33 -0
  39. package/dist/esm/models/ForecasterDatastoresRequest.js +42 -0
  40. package/dist/esm/models/ForecasterPairStatus.d.ts +98 -0
  41. package/dist/esm/models/ForecasterPairStatus.js +82 -0
  42. package/dist/esm/models/ForecasterStartRequest.d.ts +58 -0
  43. package/dist/esm/models/ForecasterStartRequest.js +53 -0
  44. package/dist/esm/models/ForecasterStatus.d.ts +47 -0
  45. package/dist/esm/models/ForecasterStatus.js +53 -0
  46. package/dist/esm/models/Group.d.ts +0 -6
  47. package/dist/esm/models/Group.js +0 -2
  48. package/dist/esm/models/GroupResponse.d.ts +7 -0
  49. package/dist/esm/models/GroupResponse.js +3 -0
  50. package/dist/esm/models/InspectorStatus.d.ts +6 -10
  51. package/dist/esm/models/InspectorStatus.js +5 -9
  52. package/dist/esm/models/Inventory.d.ts +7 -1
  53. package/dist/esm/models/Inventory.js +5 -3
  54. package/dist/esm/models/InventoryData.d.ts +14 -0
  55. package/dist/esm/models/InventoryData.js +6 -0
  56. package/dist/esm/models/PairCapability.d.ts +60 -0
  57. package/dist/esm/models/PairCapability.js +64 -0
  58. package/dist/esm/models/PairCapabilityRequest.d.ts +40 -0
  59. package/dist/esm/models/PairCapabilityRequest.js +47 -0
  60. package/dist/esm/models/PutForecasterCredentials403Response.d.ts +38 -0
  61. package/dist/esm/models/PutForecasterCredentials403Response.js +43 -0
  62. package/dist/esm/models/RightsizingClusterListResponse.d.ts +39 -0
  63. package/dist/esm/models/RightsizingClusterListResponse.js +48 -0
  64. package/dist/esm/models/RightsizingClusterResponse.d.ts +39 -0
  65. package/dist/esm/models/RightsizingClusterResponse.js +48 -0
  66. package/dist/esm/models/RightsizingClusterUtilization.d.ts +112 -0
  67. package/dist/esm/models/RightsizingClusterUtilization.js +95 -0
  68. package/dist/esm/models/RightsizingCollectRequest.d.ts +70 -0
  69. package/dist/esm/models/RightsizingCollectRequest.js +56 -0
  70. package/dist/esm/models/RightsizingMetricStats.d.ts +62 -0
  71. package/dist/esm/models/RightsizingMetricStats.js +63 -0
  72. package/dist/esm/models/RightsizingReport.d.ts +81 -0
  73. package/dist/esm/models/RightsizingReport.js +76 -0
  74. package/dist/esm/models/RightsizingReportListResponse.d.ts +39 -0
  75. package/dist/esm/models/RightsizingReportListResponse.js +48 -0
  76. package/dist/esm/models/RightsizingReportSummary.d.ts +74 -0
  77. package/dist/esm/models/RightsizingReportSummary.js +71 -0
  78. package/dist/esm/models/RightsizingVMReport.d.ts +53 -0
  79. package/dist/esm/models/RightsizingVMReport.js +57 -0
  80. package/dist/esm/models/StartInspectionRequest.d.ts +39 -0
  81. package/dist/esm/models/{InspectorStartRequest.js → StartInspectionRequest.js} +12 -12
  82. package/dist/esm/models/StopForecasterPair202Response.d.ts +45 -0
  83. package/dist/esm/models/StopForecasterPair202Response.js +49 -0
  84. package/dist/esm/models/UpdateGroupRequest.d.ts +0 -6
  85. package/dist/esm/models/UpdateGroupRequest.js +0 -2
  86. package/dist/esm/models/UpdateLabelVMsRequest.d.ts +38 -0
  87. package/dist/esm/models/UpdateLabelVMsRequest.js +43 -0
  88. package/dist/esm/models/VMFilterOptionsResponse.d.ts +56 -0
  89. package/dist/esm/models/VMFilterOptionsResponse.js +59 -0
  90. package/dist/esm/models/VMLabelsResponse.d.ts +38 -0
  91. package/dist/esm/models/VMLabelsResponse.js +47 -0
  92. package/dist/esm/models/VMNIC.d.ts +12 -0
  93. package/dist/esm/models/VMNIC.js +4 -0
  94. package/dist/esm/models/VMs.d.ts +18 -0
  95. package/dist/esm/models/VMs.js +4 -0
  96. package/dist/esm/models/VcenterCredentials.d.ts +12 -0
  97. package/dist/esm/models/VcenterCredentials.js +4 -0
  98. package/dist/esm/models/VirtualMachine.d.ts +57 -3
  99. package/dist/esm/models/VirtualMachine.js +22 -6
  100. package/dist/esm/models/VirtualMachineDetail.d.ts +22 -3
  101. package/dist/esm/models/VirtualMachineDetail.js +10 -3
  102. package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +38 -0
  103. package/dist/esm/models/VirtualMachineUpdateRequest.js +43 -0
  104. package/dist/esm/models/VmInspectionConcern.d.ts +44 -0
  105. package/dist/esm/models/VmInspectionConcern.js +51 -0
  106. package/dist/esm/models/VmInspectionResults.d.ts +33 -0
  107. package/dist/esm/models/VmInspectionResults.js +42 -0
  108. package/dist/esm/models/VmInspectionStatus.d.ts +0 -1
  109. package/dist/esm/models/VmInspectionStatus.js +1 -2
  110. package/dist/esm/models/VmUtilizationDetails.d.ts +116 -0
  111. package/dist/esm/models/VmUtilizationDetails.js +99 -0
  112. package/dist/esm/models/index.d.ts +37 -1
  113. package/dist/esm/models/index.js +37 -1
  114. package/dist/esm/runtime.js +3 -2
  115. package/dist/models/AgentStatus.d.ts +1 -1
  116. package/dist/models/AgentStatus.js +3 -3
  117. package/dist/models/ApplicationListResponse.d.ts +33 -0
  118. package/dist/models/ApplicationListResponse.js +51 -0
  119. package/dist/models/ApplicationOverview.d.ts +51 -0
  120. package/dist/models/ApplicationOverview.js +63 -0
  121. package/dist/models/ApplicationVM.d.ts +38 -0
  122. package/dist/models/ApplicationVM.js +54 -0
  123. package/dist/models/BenchmarkRun.d.ts +104 -0
  124. package/dist/models/BenchmarkRun.js +92 -0
  125. package/dist/models/ClusterFeatures.d.ts +54 -0
  126. package/dist/models/ClusterFeatures.js +62 -0
  127. package/dist/models/ClusterUtilization.d.ts +68 -0
  128. package/dist/models/ClusterUtilization.js +74 -0
  129. package/dist/models/CollectorStartRequest.d.ts +12 -0
  130. package/dist/models/CollectorStartRequest.js +4 -0
  131. package/dist/models/CreateGroupRequest.d.ts +0 -6
  132. package/dist/models/CreateGroupRequest.js +0 -2
  133. package/dist/models/CredentialStatus.d.ts +38 -0
  134. package/dist/models/CredentialStatus.js +54 -0
  135. package/dist/models/DatastoreDetail.d.ts +90 -0
  136. package/dist/models/DatastoreDetail.js +82 -0
  137. package/dist/models/DatastorePair.d.ts +50 -0
  138. package/dist/models/DatastorePair.js +60 -0
  139. package/dist/models/DeleteLabelGloballyResponse.d.ts +38 -0
  140. package/dist/models/DeleteLabelGloballyResponse.js +54 -0
  141. package/dist/models/EstimateRange.d.ts +44 -0
  142. package/dist/models/EstimateRange.js +52 -0
  143. package/dist/models/ForecastStats.d.ts +87 -0
  144. package/dist/models/ForecastStats.js +71 -0
  145. package/dist/models/ForecasterDatastoresRequest.d.ts +33 -0
  146. package/dist/models/ForecasterDatastoresRequest.js +49 -0
  147. package/dist/models/ForecasterPairStatus.d.ts +98 -0
  148. package/dist/models/ForecasterPairStatus.js +90 -0
  149. package/dist/models/ForecasterStartRequest.d.ts +58 -0
  150. package/dist/models/ForecasterStartRequest.js +60 -0
  151. package/dist/models/ForecasterStatus.d.ts +47 -0
  152. package/dist/models/ForecasterStatus.js +61 -0
  153. package/dist/models/Group.d.ts +0 -6
  154. package/dist/models/Group.js +0 -2
  155. package/dist/models/GroupResponse.d.ts +7 -0
  156. package/dist/models/GroupResponse.js +3 -0
  157. package/dist/models/InspectorStatus.d.ts +6 -10
  158. package/dist/models/InspectorStatus.js +5 -9
  159. package/dist/models/Inventory.d.ts +7 -1
  160. package/dist/models/Inventory.js +5 -3
  161. package/dist/models/InventoryData.d.ts +14 -0
  162. package/dist/models/InventoryData.js +6 -0
  163. package/dist/models/PairCapability.d.ts +60 -0
  164. package/dist/models/PairCapability.js +72 -0
  165. package/dist/models/PairCapabilityRequest.d.ts +40 -0
  166. package/dist/models/PairCapabilityRequest.js +54 -0
  167. package/dist/models/PutForecasterCredentials403Response.d.ts +38 -0
  168. package/dist/models/PutForecasterCredentials403Response.js +50 -0
  169. package/dist/models/RightsizingClusterListResponse.d.ts +39 -0
  170. package/dist/models/RightsizingClusterListResponse.js +55 -0
  171. package/dist/models/RightsizingClusterResponse.d.ts +39 -0
  172. package/dist/models/RightsizingClusterResponse.js +55 -0
  173. package/dist/models/RightsizingClusterUtilization.d.ts +112 -0
  174. package/dist/models/RightsizingClusterUtilization.js +102 -0
  175. package/dist/models/RightsizingCollectRequest.d.ts +70 -0
  176. package/dist/models/RightsizingCollectRequest.js +63 -0
  177. package/dist/models/RightsizingMetricStats.d.ts +62 -0
  178. package/dist/models/RightsizingMetricStats.js +70 -0
  179. package/dist/models/RightsizingReport.d.ts +81 -0
  180. package/dist/models/RightsizingReport.js +83 -0
  181. package/dist/models/RightsizingReportListResponse.d.ts +39 -0
  182. package/dist/models/RightsizingReportListResponse.js +55 -0
  183. package/dist/models/RightsizingReportSummary.d.ts +74 -0
  184. package/dist/models/RightsizingReportSummary.js +78 -0
  185. package/dist/models/RightsizingVMReport.d.ts +53 -0
  186. package/dist/models/RightsizingVMReport.js +64 -0
  187. package/dist/models/StartInspectionRequest.d.ts +39 -0
  188. package/dist/models/StartInspectionRequest.js +55 -0
  189. package/dist/models/StopForecasterPair202Response.d.ts +45 -0
  190. package/dist/models/StopForecasterPair202Response.js +57 -0
  191. package/dist/models/UpdateGroupRequest.d.ts +0 -6
  192. package/dist/models/UpdateGroupRequest.js +0 -2
  193. package/dist/models/UpdateLabelVMsRequest.d.ts +38 -0
  194. package/dist/models/UpdateLabelVMsRequest.js +50 -0
  195. package/dist/models/VMFilterOptionsResponse.d.ts +56 -0
  196. package/dist/models/VMFilterOptionsResponse.js +66 -0
  197. package/dist/models/VMLabelsResponse.d.ts +38 -0
  198. package/dist/models/VMLabelsResponse.js +54 -0
  199. package/dist/models/VMNIC.d.ts +12 -0
  200. package/dist/models/VMNIC.js +4 -0
  201. package/dist/models/VMs.d.ts +18 -0
  202. package/dist/models/VMs.js +4 -0
  203. package/dist/models/VcenterCredentials.d.ts +12 -0
  204. package/dist/models/VcenterCredentials.js +4 -0
  205. package/dist/models/VirtualMachine.d.ts +57 -3
  206. package/dist/models/VirtualMachine.js +22 -6
  207. package/dist/models/VirtualMachineDetail.d.ts +22 -3
  208. package/dist/models/VirtualMachineDetail.js +10 -3
  209. package/dist/models/VirtualMachineUpdateRequest.d.ts +38 -0
  210. package/dist/models/VirtualMachineUpdateRequest.js +50 -0
  211. package/dist/models/VmInspectionConcern.d.ts +44 -0
  212. package/dist/models/VmInspectionConcern.js +58 -0
  213. package/dist/models/VmInspectionResults.d.ts +33 -0
  214. package/dist/models/VmInspectionResults.js +49 -0
  215. package/dist/models/VmInspectionStatus.d.ts +0 -1
  216. package/dist/models/VmInspectionStatus.js +1 -2
  217. package/dist/models/VmUtilizationDetails.d.ts +116 -0
  218. package/dist/models/VmUtilizationDetails.js +106 -0
  219. package/dist/models/index.d.ts +37 -1
  220. package/dist/models/index.js +37 -1
  221. package/dist/runtime.js +3 -2
  222. package/docs/AgentStatus.md +2 -2
  223. package/docs/ApplicationListResponse.md +34 -0
  224. package/docs/ApplicationOverview.md +40 -0
  225. package/docs/ApplicationVM.md +36 -0
  226. package/docs/BenchmarkRun.md +58 -0
  227. package/docs/ClusterFeatures.md +38 -0
  228. package/docs/ClusterUtilization.md +46 -0
  229. package/docs/CollectorStartRequest.md +4 -0
  230. package/docs/CreateGroupRequest.md +0 -2
  231. package/docs/CredentialStatus.md +36 -0
  232. package/docs/DatastoreDetail.md +50 -0
  233. package/docs/DatastorePair.md +40 -0
  234. package/docs/DefaultApi.md +2126 -310
  235. package/docs/DeleteLabelGloballyResponse.md +36 -0
  236. package/docs/EstimateRange.md +39 -0
  237. package/docs/ForecastStats.md +52 -0
  238. package/docs/ForecasterDatastoresRequest.md +34 -0
  239. package/docs/ForecasterPairStatus.md +52 -0
  240. package/docs/ForecasterStartRequest.md +42 -0
  241. package/docs/ForecasterStatus.md +36 -0
  242. package/docs/GetInventory200Response.md +4 -2
  243. package/docs/Group.md +0 -2
  244. package/docs/GroupResponse.md +2 -0
  245. package/docs/InspectorStatus.md +2 -2
  246. package/docs/Inventory.md +4 -2
  247. package/docs/InventoryData.md +4 -0
  248. package/docs/PairCapability.md +40 -0
  249. package/docs/PairCapabilityRequest.md +36 -0
  250. package/docs/PutForecasterCredentials403Response.md +36 -0
  251. package/docs/RightsizingClusterListResponse.md +36 -0
  252. package/docs/RightsizingClusterResponse.md +36 -0
  253. package/docs/RightsizingClusterUtilization.md +60 -0
  254. package/docs/RightsizingCollectRequest.md +46 -0
  255. package/docs/RightsizingMetricStats.md +44 -0
  256. package/docs/RightsizingReport.md +50 -0
  257. package/docs/RightsizingReportListResponse.md +36 -0
  258. package/docs/RightsizingReportSummary.md +49 -0
  259. package/docs/RightsizingVMReport.md +40 -0
  260. package/docs/{InspectorStartRequest.md → StartInspectionRequest.md} +7 -6
  261. package/docs/StopForecasterPair202Response.md +36 -0
  262. package/docs/UpdateGroupRequest.md +0 -2
  263. package/docs/UpdateLabelVMsRequest.md +36 -0
  264. package/docs/VMFilterOptionsResponse.md +42 -0
  265. package/docs/VMLabelsResponse.md +36 -0
  266. package/docs/VMNIC.md +4 -0
  267. package/docs/VMs.md +4 -0
  268. package/docs/VcenterCredentials.md +4 -0
  269. package/docs/VirtualMachine.md +22 -4
  270. package/docs/VirtualMachineDetail.md +7 -1
  271. package/docs/VirtualMachineUpdateRequest.md +36 -0
  272. package/docs/VmInspectionConcern.md +39 -0
  273. package/docs/VmInspectionResults.md +35 -0
  274. package/docs/VmUtilizationDetails.md +62 -0
  275. package/package.json +1 -1
  276. package/src/apis/DefaultApi.ts +2580 -491
  277. package/src/models/AgentStatus.ts +4 -4
  278. package/src/models/ApplicationListResponse.ts +74 -0
  279. package/src/models/ApplicationOverview.ts +101 -0
  280. package/src/models/ApplicationVM.ts +75 -0
  281. package/src/models/BenchmarkRun.ts +171 -0
  282. package/src/models/ClusterFeatures.ts +94 -0
  283. package/src/models/ClusterUtilization.ts +120 -0
  284. package/src/models/CollectorStartRequest.ts +16 -0
  285. package/src/models/CreateGroupRequest.ts +0 -8
  286. package/src/models/CredentialStatus.ts +75 -0
  287. package/src/models/DatastoreDetail.ts +146 -0
  288. package/src/models/DatastorePair.ts +92 -0
  289. package/src/models/DeleteLabelGloballyResponse.ts +75 -0
  290. package/src/models/EstimateRange.ts +81 -0
  291. package/src/models/ForecastStats.ts +147 -0
  292. package/src/models/ForecasterDatastoresRequest.ts +73 -0
  293. package/src/models/ForecasterPairStatus.ts +158 -0
  294. package/src/models/ForecasterStartRequest.ts +113 -0
  295. package/src/models/ForecasterStatus.ts +93 -0
  296. package/src/models/Group.ts +0 -8
  297. package/src/models/GroupResponse.ts +15 -0
  298. package/src/models/InspectorStatus.ts +15 -12
  299. package/src/models/Inventory.ts +12 -4
  300. package/src/models/InventoryData.ts +30 -0
  301. package/src/models/PairCapability.ts +106 -0
  302. package/src/models/PairCapabilityRequest.ts +89 -0
  303. package/src/models/PutForecasterCredentials403Response.ts +73 -0
  304. package/src/models/RightsizingClusterListResponse.ts +83 -0
  305. package/src/models/RightsizingClusterResponse.ts +83 -0
  306. package/src/models/RightsizingClusterUtilization.ts +185 -0
  307. package/src/models/RightsizingCollectRequest.ts +123 -0
  308. package/src/models/RightsizingMetricStats.ts +111 -0
  309. package/src/models/RightsizingReport.ts +146 -0
  310. package/src/models/RightsizingReportListResponse.ts +83 -0
  311. package/src/models/RightsizingReportSummary.ts +129 -0
  312. package/src/models/RightsizingVMReport.ts +101 -0
  313. package/src/models/StartInspectionRequest.ts +83 -0
  314. package/src/models/StopForecasterPair202Response.ts +83 -0
  315. package/src/models/UpdateGroupRequest.ts +0 -8
  316. package/src/models/UpdateLabelVMsRequest.ts +73 -0
  317. package/src/models/VMFilterOptionsResponse.ts +102 -0
  318. package/src/models/VMLabelsResponse.ts +75 -0
  319. package/src/models/VMNIC.ts +16 -0
  320. package/src/models/VMs.ts +18 -0
  321. package/src/models/VcenterCredentials.ts +16 -0
  322. package/src/models/VirtualMachine.ts +79 -8
  323. package/src/models/VirtualMachineDetail.ts +42 -11
  324. package/src/models/VirtualMachineUpdateRequest.ts +73 -0
  325. package/src/models/VmInspectionConcern.ts +84 -0
  326. package/src/models/VmInspectionResults.ts +73 -0
  327. package/src/models/VmInspectionStatus.ts +1 -2
  328. package/src/models/VmUtilizationDetails.ts +192 -0
  329. package/src/models/index.ts +37 -1
  330. package/src/runtime.ts +2 -3
  331. package/dist/esm/models/InspectorStartRequest.d.ts +0 -39
  332. package/dist/models/InspectorStartRequest.d.ts +0 -39
  333. package/dist/models/InspectorStartRequest.js +0 -55
  334. package/src/models/InspectorStartRequest.ts +0 -83
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ import type { VcenterCredentials } from './VcenterCredentials.js';
17
+ import {
18
+ VcenterCredentialsFromJSON,
19
+ VcenterCredentialsFromJSONTyped,
20
+ VcenterCredentialsToJSON,
21
+ VcenterCredentialsToJSONTyped,
22
+ } from './VcenterCredentials.js';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ForecasterDatastoresRequest
28
+ */
29
+ export interface ForecasterDatastoresRequest {
30
+ /**
31
+ *
32
+ * @type {VcenterCredentials}
33
+ * @memberof ForecasterDatastoresRequest
34
+ */
35
+ credentials?: VcenterCredentials;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the ForecasterDatastoresRequest interface.
40
+ */
41
+ export function instanceOfForecasterDatastoresRequest(value: object): value is ForecasterDatastoresRequest {
42
+ return true;
43
+ }
44
+
45
+ export function ForecasterDatastoresRequestFromJSON(json: any): ForecasterDatastoresRequest {
46
+ return ForecasterDatastoresRequestFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function ForecasterDatastoresRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForecasterDatastoresRequest {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'credentials': json['credentials'] == null ? undefined : VcenterCredentialsFromJSON(json['credentials']),
56
+ };
57
+ }
58
+
59
+ export function ForecasterDatastoresRequestToJSON(json: any): ForecasterDatastoresRequest {
60
+ return ForecasterDatastoresRequestToJSONTyped(json, false);
61
+ }
62
+
63
+ export function ForecasterDatastoresRequestToJSONTyped(value?: ForecasterDatastoresRequest | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'credentials': VcenterCredentialsToJSON(value['credentials']),
71
+ };
72
+ }
73
+
@@ -0,0 +1,158 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ForecasterPairStatus
20
+ */
21
+ export interface ForecasterPairStatus {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ForecasterPairStatus
26
+ */
27
+ pairName: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ForecasterPairStatus
32
+ */
33
+ sourceDatastore: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ForecasterPairStatus
38
+ */
39
+ targetDatastore: string;
40
+ /**
41
+ * ESXi host used for the benchmark (user-specified or auto-selected)
42
+ * @type {string}
43
+ * @memberof ForecasterPairStatus
44
+ */
45
+ host?: string;
46
+ /**
47
+ * Per-pair state within a benchmark run
48
+ * @type {ForecasterPairStatusStateEnum}
49
+ * @memberof ForecasterPairStatus
50
+ */
51
+ state: ForecasterPairStatusStateEnum;
52
+ /**
53
+ * Error message when pair state is error
54
+ * @type {string}
55
+ * @memberof ForecasterPairStatus
56
+ */
57
+ error?: string;
58
+ /**
59
+ * Number of completed iterations
60
+ * @type {number}
61
+ * @memberof ForecasterPairStatus
62
+ */
63
+ completedRuns: number;
64
+ /**
65
+ * Total iterations planned
66
+ * @type {number}
67
+ * @memberof ForecasterPairStatus
68
+ */
69
+ totalRuns: number;
70
+ /**
71
+ * Total bytes to upload during preparation (present during preparing state)
72
+ * @type {number}
73
+ * @memberof ForecasterPairStatus
74
+ */
75
+ prepBytesTotal?: number;
76
+ /**
77
+ * Bytes uploaded so far during preparation
78
+ * @type {number}
79
+ * @memberof ForecasterPairStatus
80
+ */
81
+ prepBytesUploaded?: number;
82
+ }
83
+
84
+
85
+ /**
86
+ * @export
87
+ */
88
+ export const ForecasterPairStatusStateEnum = {
89
+ ForecasterPairStatusStatePending: 'pending',
90
+ ForecasterPairStatusStatePreparing: 'preparing',
91
+ ForecasterPairStatusStateRunning: 'running',
92
+ ForecasterPairStatusStateCompleted: 'completed',
93
+ ForecasterPairStatusStateError: 'error',
94
+ ForecasterPairStatusStateCanceled: 'canceled'
95
+ } as const;
96
+ export type ForecasterPairStatusStateEnum = typeof ForecasterPairStatusStateEnum[keyof typeof ForecasterPairStatusStateEnum];
97
+
98
+
99
+ /**
100
+ * Check if a given object implements the ForecasterPairStatus interface.
101
+ */
102
+ export function instanceOfForecasterPairStatus(value: object): value is ForecasterPairStatus {
103
+ if (!('pairName' in value) || value['pairName'] === undefined) return false;
104
+ if (!('sourceDatastore' in value) || value['sourceDatastore'] === undefined) return false;
105
+ if (!('targetDatastore' in value) || value['targetDatastore'] === undefined) return false;
106
+ if (!('state' in value) || value['state'] === undefined) return false;
107
+ if (!('completedRuns' in value) || value['completedRuns'] === undefined) return false;
108
+ if (!('totalRuns' in value) || value['totalRuns'] === undefined) return false;
109
+ return true;
110
+ }
111
+
112
+ export function ForecasterPairStatusFromJSON(json: any): ForecasterPairStatus {
113
+ return ForecasterPairStatusFromJSONTyped(json, false);
114
+ }
115
+
116
+ export function ForecasterPairStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForecasterPairStatus {
117
+ if (json == null) {
118
+ return json;
119
+ }
120
+ return {
121
+
122
+ 'pairName': json['pairName'],
123
+ 'sourceDatastore': json['sourceDatastore'],
124
+ 'targetDatastore': json['targetDatastore'],
125
+ 'host': json['host'] == null ? undefined : json['host'],
126
+ 'state': json['state'],
127
+ 'error': json['error'] == null ? undefined : json['error'],
128
+ 'completedRuns': json['completedRuns'],
129
+ 'totalRuns': json['totalRuns'],
130
+ 'prepBytesTotal': json['prepBytesTotal'] == null ? undefined : json['prepBytesTotal'],
131
+ 'prepBytesUploaded': json['prepBytesUploaded'] == null ? undefined : json['prepBytesUploaded'],
132
+ };
133
+ }
134
+
135
+ export function ForecasterPairStatusToJSON(json: any): ForecasterPairStatus {
136
+ return ForecasterPairStatusToJSONTyped(json, false);
137
+ }
138
+
139
+ export function ForecasterPairStatusToJSONTyped(value?: ForecasterPairStatus | null, ignoreDiscriminator: boolean = false): any {
140
+ if (value == null) {
141
+ return value;
142
+ }
143
+
144
+ return {
145
+
146
+ 'pairName': value['pairName'],
147
+ 'sourceDatastore': value['sourceDatastore'],
148
+ 'targetDatastore': value['targetDatastore'],
149
+ 'host': value['host'],
150
+ 'state': value['state'],
151
+ 'error': value['error'],
152
+ 'completedRuns': value['completedRuns'],
153
+ 'totalRuns': value['totalRuns'],
154
+ 'prepBytesTotal': value['prepBytesTotal'],
155
+ 'prepBytesUploaded': value['prepBytesUploaded'],
156
+ };
157
+ }
158
+
@@ -0,0 +1,113 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ import type { VcenterCredentials } from './VcenterCredentials.js';
17
+ import {
18
+ VcenterCredentialsFromJSON,
19
+ VcenterCredentialsFromJSONTyped,
20
+ VcenterCredentialsToJSON,
21
+ VcenterCredentialsToJSONTyped,
22
+ } from './VcenterCredentials.js';
23
+ import type { DatastorePair } from './DatastorePair.js';
24
+ import {
25
+ DatastorePairFromJSON,
26
+ DatastorePairFromJSONTyped,
27
+ DatastorePairToJSON,
28
+ DatastorePairToJSONTyped,
29
+ } from './DatastorePair.js';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface ForecasterStartRequest
35
+ */
36
+ export interface ForecasterStartRequest {
37
+ /**
38
+ *
39
+ * @type {VcenterCredentials}
40
+ * @memberof ForecasterStartRequest
41
+ */
42
+ credentials?: VcenterCredentials;
43
+ /**
44
+ *
45
+ * @type {Array<DatastorePair>}
46
+ * @memberof ForecasterStartRequest
47
+ */
48
+ pairs: Array<DatastorePair>;
49
+ /**
50
+ * Disk size in GB for benchmark (default 10)
51
+ * @type {number}
52
+ * @memberof ForecasterStartRequest
53
+ */
54
+ diskSizeGb?: number;
55
+ /**
56
+ * Number of benchmark iterations per pair (default 5)
57
+ * @type {number}
58
+ * @memberof ForecasterStartRequest
59
+ */
60
+ iterations?: number;
61
+ /**
62
+ * Max parallel pairs (default 1, sequential)
63
+ * @type {number}
64
+ * @memberof ForecasterStartRequest
65
+ */
66
+ concurrency?: number;
67
+ }
68
+
69
+ /**
70
+ * Check if a given object implements the ForecasterStartRequest interface.
71
+ */
72
+ export function instanceOfForecasterStartRequest(value: object): value is ForecasterStartRequest {
73
+ if (!('pairs' in value) || value['pairs'] === undefined) return false;
74
+ return true;
75
+ }
76
+
77
+ export function ForecasterStartRequestFromJSON(json: any): ForecasterStartRequest {
78
+ return ForecasterStartRequestFromJSONTyped(json, false);
79
+ }
80
+
81
+ export function ForecasterStartRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForecasterStartRequest {
82
+ if (json == null) {
83
+ return json;
84
+ }
85
+ return {
86
+
87
+ 'credentials': json['credentials'] == null ? undefined : VcenterCredentialsFromJSON(json['credentials']),
88
+ 'pairs': ((json['pairs'] as Array<any>).map(DatastorePairFromJSON)),
89
+ 'diskSizeGb': json['diskSizeGb'] == null ? undefined : json['diskSizeGb'],
90
+ 'iterations': json['iterations'] == null ? undefined : json['iterations'],
91
+ 'concurrency': json['concurrency'] == null ? undefined : json['concurrency'],
92
+ };
93
+ }
94
+
95
+ export function ForecasterStartRequestToJSON(json: any): ForecasterStartRequest {
96
+ return ForecasterStartRequestToJSONTyped(json, false);
97
+ }
98
+
99
+ export function ForecasterStartRequestToJSONTyped(value?: ForecasterStartRequest | null, ignoreDiscriminator: boolean = false): any {
100
+ if (value == null) {
101
+ return value;
102
+ }
103
+
104
+ return {
105
+
106
+ 'credentials': VcenterCredentialsToJSON(value['credentials']),
107
+ 'pairs': ((value['pairs'] as Array<any>).map(DatastorePairToJSON)),
108
+ 'diskSizeGb': value['diskSizeGb'],
109
+ 'iterations': value['iterations'],
110
+ 'concurrency': value['concurrency'],
111
+ };
112
+ }
113
+
@@ -0,0 +1,93 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ import type { ForecasterPairStatus } from './ForecasterPairStatus.js';
17
+ import {
18
+ ForecasterPairStatusFromJSON,
19
+ ForecasterPairStatusFromJSONTyped,
20
+ ForecasterPairStatusToJSON,
21
+ ForecasterPairStatusToJSONTyped,
22
+ } from './ForecasterPairStatus.js';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ForecasterStatus
28
+ */
29
+ export interface ForecasterStatus {
30
+ /**
31
+ * Service-level state. Only two states exist — ready (idle) or running (benchmark in progress). When a benchmark finishes or is canceled, the service returns to ready.
32
+ * @type {ForecasterStatusStateEnum}
33
+ * @memberof ForecasterStatus
34
+ */
35
+ state: ForecasterStatusStateEnum;
36
+ /**
37
+ * Per-pair progress (present only when running)
38
+ * @type {Array<ForecasterPairStatus>}
39
+ * @memberof ForecasterStatus
40
+ */
41
+ pairs?: Array<ForecasterPairStatus>;
42
+ }
43
+
44
+
45
+ /**
46
+ * @export
47
+ */
48
+ export const ForecasterStatusStateEnum = {
49
+ ForecasterStatusStateReady: 'ready',
50
+ ForecasterStatusStateRunning: 'running'
51
+ } as const;
52
+ export type ForecasterStatusStateEnum = typeof ForecasterStatusStateEnum[keyof typeof ForecasterStatusStateEnum];
53
+
54
+
55
+ /**
56
+ * Check if a given object implements the ForecasterStatus interface.
57
+ */
58
+ export function instanceOfForecasterStatus(value: object): value is ForecasterStatus {
59
+ if (!('state' in value) || value['state'] === undefined) return false;
60
+ return true;
61
+ }
62
+
63
+ export function ForecasterStatusFromJSON(json: any): ForecasterStatus {
64
+ return ForecasterStatusFromJSONTyped(json, false);
65
+ }
66
+
67
+ export function ForecasterStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForecasterStatus {
68
+ if (json == null) {
69
+ return json;
70
+ }
71
+ return {
72
+
73
+ 'state': json['state'],
74
+ 'pairs': json['pairs'] == null ? undefined : ((json['pairs'] as Array<any>).map(ForecasterPairStatusFromJSON)),
75
+ };
76
+ }
77
+
78
+ export function ForecasterStatusToJSON(json: any): ForecasterStatus {
79
+ return ForecasterStatusToJSONTyped(json, false);
80
+ }
81
+
82
+ export function ForecasterStatusToJSONTyped(value?: ForecasterStatus | null, ignoreDiscriminator: boolean = false): any {
83
+ if (value == null) {
84
+ return value;
85
+ }
86
+
87
+ return {
88
+
89
+ 'state': value['state'],
90
+ 'pairs': value['pairs'] == null ? undefined : ((value['pairs'] as Array<any>).map(ForecasterPairStatusToJSON)),
91
+ };
92
+ }
93
+
@@ -43,12 +43,6 @@ export interface Group {
43
43
  * @memberof Group
44
44
  */
45
45
  filter: string;
46
- /**
47
- * Tags associated with this group (applied to matching VMs)
48
- * @type {Array<string>}
49
- * @memberof Group
50
- */
51
- tags?: Array<string>;
52
46
  /**
53
47
  * Timestamp when the group was created
54
48
  * @type {Date}
@@ -87,7 +81,6 @@ export function GroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): Gro
87
81
  'name': json['name'],
88
82
  'description': json['description'] == null ? undefined : json['description'],
89
83
  'filter': json['filter'],
90
- 'tags': json['tags'] == null ? undefined : json['tags'],
91
84
  'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
92
85
  'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
93
86
  };
@@ -108,7 +101,6 @@ export function GroupToJSONTyped(value?: Group | null, ignoreDiscriminator: bool
108
101
  'name': value['name'],
109
102
  'description': value['description'],
110
103
  'filter': value['filter'],
111
- 'tags': value['tags'],
112
104
  'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
113
105
  'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
114
106
  };
@@ -20,6 +20,13 @@ import {
20
20
  GroupToJSON,
21
21
  GroupToJSONTyped,
22
22
  } from './Group.js';
23
+ import type { Inventory } from './Inventory.js';
24
+ import {
25
+ InventoryFromJSON,
26
+ InventoryFromJSONTyped,
27
+ InventoryToJSON,
28
+ InventoryToJSONTyped,
29
+ } from './Inventory.js';
23
30
  import type { VirtualMachine } from './VirtualMachine.js';
24
31
  import {
25
32
  VirtualMachineFromJSON,
@@ -40,6 +47,12 @@ export interface GroupResponse {
40
47
  * @memberof GroupResponse
41
48
  */
42
49
  group: Group;
50
+ /**
51
+ *
52
+ * @type {Inventory}
53
+ * @memberof GroupResponse
54
+ */
55
+ inventory?: Inventory;
43
56
  /**
44
57
  *
45
58
  * @type {Array<VirtualMachine>}
@@ -89,6 +102,7 @@ export function GroupResponseFromJSONTyped(json: any, ignoreDiscriminator: boole
89
102
  return {
90
103
 
91
104
  'group': GroupFromJSON(json['group']),
105
+ 'inventory': json['inventory'] == null ? undefined : InventoryFromJSON(json['inventory']),
92
106
  'vms': ((json['vms'] as Array<any>).map(VirtualMachineFromJSON)),
93
107
  'total': json['total'],
94
108
  'page': json['page'],
@@ -108,6 +122,7 @@ export function GroupResponseToJSONTyped(value?: GroupResponse | null, ignoreDis
108
122
  return {
109
123
 
110
124
  'group': GroupToJSON(value['group']),
125
+ 'inventory': InventoryToJSON(value['inventory']),
111
126
  'vms': ((value['vms'] as Array<any>).map(VirtualMachineToJSON)),
112
127
  'total': value['total'],
113
128
  'page': value['page'],
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime.js';
16
+ import type { VddkProperties } from './VddkProperties.js';
17
+ import {
18
+ VddkPropertiesFromJSON,
19
+ VddkPropertiesFromJSONTyped,
20
+ VddkPropertiesToJSON,
21
+ VddkPropertiesToJSONTyped,
22
+ } from './VddkProperties.js';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -26,11 +34,11 @@ export interface InspectorStatus {
26
34
  */
27
35
  state: InspectorStatusStateEnum;
28
36
  /**
29
- * Error message when state is error
30
- * @type {string}
37
+ *
38
+ * @type {VddkProperties}
31
39
  * @memberof InspectorStatus
32
40
  */
33
- error?: string;
41
+ vddk?: VddkProperties;
34
42
  }
35
43
 
36
44
 
@@ -38,13 +46,8 @@ export interface InspectorStatus {
38
46
  * @export
39
47
  */
40
48
  export const InspectorStatusStateEnum = {
41
- InspectorStatusStateCanceled: 'ready',
42
- InspectorStatusStateCanceling: 'Initiating',
43
- InspectorStatusStateCompleted: 'running',
44
- InspectorStatusStateError: 'canceling',
45
- InspectorStatusStateInitiating: 'canceled',
46
- InspectorStatusStateReady: 'completed',
47
- InspectorStatusStateRunning: 'error'
49
+ InspectorStatusStateReady: 'ready',
50
+ InspectorStatusStateRunning: 'running'
48
51
  } as const;
49
52
  export type InspectorStatusStateEnum = typeof InspectorStatusStateEnum[keyof typeof InspectorStatusStateEnum];
50
53
 
@@ -68,7 +71,7 @@ export function InspectorStatusFromJSONTyped(json: any, ignoreDiscriminator: boo
68
71
  return {
69
72
 
70
73
  'state': json['state'],
71
- 'error': json['error'] == null ? undefined : json['error'],
74
+ 'vddk': json['vddk'] == null ? undefined : VddkPropertiesFromJSON(json['vddk']),
72
75
  };
73
76
  }
74
77
 
@@ -84,7 +87,7 @@ export function InspectorStatusToJSONTyped(value?: InspectorStatus | null, ignor
84
87
  return {
85
88
 
86
89
  'state': value['state'],
87
- 'error': value['error'],
90
+ 'vddk': VddkPropertiesToJSON(value['vddk']),
88
91
  };
89
92
  }
90
93
 
@@ -32,7 +32,13 @@ export interface Inventory {
32
32
  * @type {string}
33
33
  * @memberof Inventory
34
34
  */
35
- vcenterId: string;
35
+ vcenter_id: string;
36
+ /**
37
+ * Version of the vCenter api. For example "8.0.3.0"
38
+ * @type {string}
39
+ * @memberof Inventory
40
+ */
41
+ vcenter_version?: string;
36
42
  /**
37
43
  * Map of cluster names to their inventory data
38
44
  * @type {{ [key: string]: InventoryData; }}
@@ -51,7 +57,7 @@ export interface Inventory {
51
57
  * Check if a given object implements the Inventory interface.
52
58
  */
53
59
  export function instanceOfInventory(value: object): value is Inventory {
54
- if (!('vcenterId' in value) || value['vcenterId'] === undefined) return false;
60
+ if (!('vcenter_id' in value) || value['vcenter_id'] === undefined) return false;
55
61
  if (!('clusters' in value) || value['clusters'] === undefined) return false;
56
62
  return true;
57
63
  }
@@ -66,7 +72,8 @@ export function InventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean):
66
72
  }
67
73
  return {
68
74
 
69
- 'vcenterId': json['vcenter_id'],
75
+ 'vcenter_id': json['vcenter_id'],
76
+ 'vcenter_version': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
70
77
  'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
71
78
  'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
72
79
  };
@@ -83,7 +90,8 @@ export function InventoryToJSONTyped(value?: Inventory | null, ignoreDiscriminat
83
90
 
84
91
  return {
85
92
 
86
- 'vcenter_id': value['vcenterId'],
93
+ 'vcenter_id': value['vcenter_id'],
94
+ 'vcenter_version': value['vcenter_version'],
87
95
  'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
88
96
  'vcenter': InventoryDataToJSON(value['vcenter']),
89
97
  };
@@ -27,6 +27,13 @@ import {
27
27
  InfraToJSON,
28
28
  InfraToJSONTyped,
29
29
  } from './Infra.js';
30
+ import type { ClusterUtilization } from './ClusterUtilization.js';
31
+ import {
32
+ ClusterUtilizationFromJSON,
33
+ ClusterUtilizationFromJSONTyped,
34
+ ClusterUtilizationToJSON,
35
+ ClusterUtilizationToJSONTyped,
36
+ } from './ClusterUtilization.js';
30
37
  import type { VMs } from './VMs.js';
31
38
  import {
32
39
  VMsFromJSON,
@@ -34,6 +41,13 @@ import {
34
41
  VMsToJSON,
35
42
  VMsToJSONTyped,
36
43
  } from './VMs.js';
44
+ import type { ClusterFeatures } from './ClusterFeatures.js';
45
+ import {
46
+ ClusterFeaturesFromJSON,
47
+ ClusterFeaturesFromJSONTyped,
48
+ ClusterFeaturesToJSON,
49
+ ClusterFeaturesToJSONTyped,
50
+ } from './ClusterFeatures.js';
37
51
 
38
52
  /**
39
53
  *
@@ -47,6 +61,18 @@ export interface InventoryData {
47
61
  * @memberof InventoryData
48
62
  */
49
63
  vcenter?: VCenter;
64
+ /**
65
+ *
66
+ * @type {ClusterFeatures}
67
+ * @memberof InventoryData
68
+ */
69
+ clusterFeatures?: ClusterFeatures;
70
+ /**
71
+ *
72
+ * @type {ClusterUtilization}
73
+ * @memberof InventoryData
74
+ */
75
+ clusterUtilization?: ClusterUtilization;
50
76
  /**
51
77
  *
52
78
  * @type {VMs}
@@ -81,6 +107,8 @@ export function InventoryDataFromJSONTyped(json: any, ignoreDiscriminator: boole
81
107
  return {
82
108
 
83
109
  'vcenter': json['vcenter'] == null ? undefined : VCenterFromJSON(json['vcenter']),
110
+ 'clusterFeatures': json['clusterFeatures'] == null ? undefined : ClusterFeaturesFromJSON(json['clusterFeatures']),
111
+ 'clusterUtilization': json['clusterUtilization'] == null ? undefined : ClusterUtilizationFromJSON(json['clusterUtilization']),
84
112
  'vms': VMsFromJSON(json['vms']),
85
113
  'infra': InfraFromJSON(json['infra']),
86
114
  };
@@ -98,6 +126,8 @@ export function InventoryDataToJSONTyped(value?: InventoryData | null, ignoreDis
98
126
  return {
99
127
 
100
128
  'vcenter': VCenterToJSON(value['vcenter']),
129
+ 'clusterFeatures': ClusterFeaturesToJSON(value['clusterFeatures']),
130
+ 'clusterUtilization': ClusterUtilizationToJSON(value['clusterUtilization']),
101
131
  'vms': VMsToJSON(value['vms']),
102
132
  'infra': InfraToJSON(value['infra']),
103
133
  };