@openshift-migration-advisor/agent-sdk 0.20.1 → 0.20.2-423f685e3a07

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 (643) hide show
  1. package/.openapi-generator/FILES +64 -48
  2. package/README.md +82 -86
  3. package/dist/apis/AgentApi.d.ts +95 -0
  4. package/dist/apis/AgentApi.js +109 -0
  5. package/dist/apis/ApplicationsApi.d.ts +64 -0
  6. package/dist/apis/ApplicationsApi.js +72 -0
  7. package/dist/apis/CollectionsApi.d.ts +231 -0
  8. package/dist/apis/CollectionsApi.js +226 -0
  9. package/dist/apis/CollectorApi.d.ts +154 -0
  10. package/dist/apis/CollectorApi.js +196 -0
  11. package/dist/apis/CredentialsApi.d.ts +168 -0
  12. package/dist/apis/CredentialsApi.js +187 -0
  13. package/dist/apis/ForecasterApi.d.ts +375 -0
  14. package/dist/apis/ForecasterApi.js +397 -0
  15. package/dist/apis/GroupsApi.d.ts +374 -0
  16. package/dist/apis/GroupsApi.js +351 -0
  17. package/dist/apis/InspectorApi.d.ts +202 -0
  18. package/dist/apis/InspectorApi.js +240 -0
  19. package/dist/apis/InventoriesApi.d.ts +94 -0
  20. package/dist/apis/InventoriesApi.js +107 -0
  21. package/dist/apis/RightsizingApi.d.ts +109 -0
  22. package/dist/apis/RightsizingApi.js +116 -0
  23. package/dist/apis/VersionApi.d.ts +56 -0
  24. package/dist/apis/VersionApi.js +68 -0
  25. package/dist/apis/VirtualMachinesApi.d.ts +578 -0
  26. package/dist/apis/VirtualMachinesApi.js +576 -0
  27. package/dist/apis/index.d.ts +12 -1
  28. package/dist/apis/index.js +12 -1
  29. package/dist/esm/apis/AgentApi.d.ts +95 -0
  30. package/dist/esm/apis/AgentApi.js +105 -0
  31. package/dist/esm/apis/ApplicationsApi.d.ts +64 -0
  32. package/dist/esm/apis/ApplicationsApi.js +68 -0
  33. package/dist/esm/apis/CollectionsApi.d.ts +231 -0
  34. package/dist/esm/apis/CollectionsApi.js +222 -0
  35. package/dist/esm/apis/CollectorApi.d.ts +154 -0
  36. package/dist/esm/apis/CollectorApi.js +192 -0
  37. package/dist/esm/apis/CredentialsApi.d.ts +168 -0
  38. package/dist/esm/apis/CredentialsApi.js +183 -0
  39. package/dist/esm/apis/ForecasterApi.d.ts +375 -0
  40. package/dist/esm/apis/ForecasterApi.js +393 -0
  41. package/dist/esm/apis/GroupsApi.d.ts +374 -0
  42. package/dist/esm/apis/GroupsApi.js +347 -0
  43. package/dist/esm/apis/InspectorApi.d.ts +202 -0
  44. package/dist/esm/apis/InspectorApi.js +236 -0
  45. package/dist/esm/apis/InventoriesApi.d.ts +94 -0
  46. package/dist/esm/apis/InventoriesApi.js +103 -0
  47. package/dist/esm/apis/RightsizingApi.d.ts +109 -0
  48. package/dist/esm/apis/RightsizingApi.js +112 -0
  49. package/dist/esm/apis/VersionApi.d.ts +56 -0
  50. package/dist/esm/apis/VersionApi.js +64 -0
  51. package/dist/esm/apis/VirtualMachinesApi.d.ts +578 -0
  52. package/dist/esm/apis/VirtualMachinesApi.js +572 -0
  53. package/dist/esm/apis/index.d.ts +12 -1
  54. package/dist/esm/apis/index.js +12 -1
  55. package/dist/esm/models/AgentModeRequest.d.ts +1 -1
  56. package/dist/esm/models/AgentModeRequest.js +1 -1
  57. package/dist/esm/models/AgentStatus.d.ts +6 -13
  58. package/dist/esm/models/AgentStatus.js +7 -13
  59. package/dist/esm/models/AgentStatusConsoleConnection.d.ts +42 -0
  60. package/dist/esm/models/AgentStatusConsoleConnection.js +52 -0
  61. package/dist/esm/models/ApplicationListResponse.d.ts +1 -1
  62. package/dist/esm/models/ApplicationListResponse.js +1 -1
  63. package/dist/esm/models/ApplicationOverview.d.ts +4 -4
  64. package/dist/esm/models/ApplicationOverview.js +1 -1
  65. package/dist/esm/models/ApplicationVM.d.ts +3 -3
  66. package/dist/esm/models/ApplicationVM.js +1 -1
  67. package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +1 -1
  68. package/dist/esm/models/BatchUpdateExclusionRequest.js +1 -1
  69. package/dist/esm/models/BenchmarkRun.d.ts +6 -6
  70. package/dist/esm/models/BenchmarkRun.js +9 -7
  71. package/dist/esm/models/CapabilityStatus.d.ts +1 -1
  72. package/dist/esm/models/CapabilityStatus.js +1 -1
  73. package/dist/esm/models/CapabilityStatusCapabilities.d.ts +1 -1
  74. package/dist/esm/models/CapabilityStatusCapabilities.js +1 -1
  75. package/dist/esm/models/ClusterFeatures.d.ts +1 -1
  76. package/dist/esm/models/ClusterFeatures.js +1 -1
  77. package/dist/esm/models/ClusterUtilization.d.ts +1 -1
  78. package/dist/esm/models/ClusterUtilization.js +1 -1
  79. package/dist/esm/models/Collection.d.ts +38 -0
  80. package/dist/esm/models/Collection.js +51 -0
  81. package/dist/esm/models/CollectionAggregate.d.ts +50 -0
  82. package/dist/esm/models/CollectionAggregate.js +63 -0
  83. package/dist/esm/models/CollectionComparisonDiff.d.ts +48 -0
  84. package/dist/esm/models/CollectionComparisonDiff.js +60 -0
  85. package/dist/esm/models/CollectionComparisonSummary.d.ts +36 -0
  86. package/dist/esm/models/CollectionComparisonSummary.js +49 -0
  87. package/dist/esm/models/CollectionComparisonSummaryDiff.d.ts +43 -0
  88. package/dist/esm/models/CollectionComparisonSummaryDiff.js +56 -0
  89. package/dist/esm/models/CollectionListResponse.d.ts +31 -0
  90. package/dist/esm/models/CollectionListResponse.js +44 -0
  91. package/dist/esm/models/CollectorStatus.d.ts +2 -1
  92. package/dist/esm/models/CollectorStatus.js +2 -1
  93. package/dist/esm/models/ComparisonDiffEntry.d.ts +38 -0
  94. package/dist/esm/models/ComparisonDiffEntry.js +47 -0
  95. package/dist/esm/models/ComparisonDiffPage.d.ts +42 -0
  96. package/dist/esm/models/ComparisonDiffPage.js +55 -0
  97. package/dist/esm/models/CreateGroupRequest.d.ts +4 -4
  98. package/dist/esm/models/CreateGroupRequest.js +1 -1
  99. package/dist/esm/models/CredentialStatus.d.ts +1 -1
  100. package/dist/esm/models/CredentialStatus.js +1 -1
  101. package/dist/esm/models/Datastore.d.ts +1 -1
  102. package/dist/esm/models/Datastore.js +1 -1
  103. package/dist/esm/models/DatastoreDetail.d.ts +7 -17
  104. package/dist/esm/models/DatastoreDetail.js +1 -10
  105. package/dist/esm/models/DatastorePairRequest.d.ts +42 -0
  106. package/dist/esm/models/{DatastorePair.js → DatastorePairRequest.js} +9 -9
  107. package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +5 -5
  108. package/dist/esm/models/DeleteLabelGloballyResponse.js +5 -5
  109. package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
  110. package/dist/esm/models/DiskSizeTierSummary.js +1 -1
  111. package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
  112. package/dist/esm/models/DiskTypeSummary.js +1 -1
  113. package/dist/esm/models/EstimateRange.d.ts +8 -8
  114. package/dist/esm/models/EstimateRange.js +10 -4
  115. package/dist/esm/models/ForecastPairStatus.d.ts +78 -0
  116. package/dist/esm/models/{ForecasterPairStatus.js → ForecastPairStatus.js} +22 -22
  117. package/dist/esm/models/ForecastStats.d.ts +11 -11
  118. package/dist/esm/models/ForecastStats.js +33 -17
  119. package/dist/esm/models/ForecasterStatus.d.ts +7 -7
  120. package/dist/esm/models/ForecasterStatus.js +8 -6
  121. package/dist/esm/models/Group.d.ts +4 -4
  122. package/dist/esm/models/Group.js +1 -1
  123. package/dist/esm/models/GroupListResponse.d.ts +4 -4
  124. package/dist/esm/models/GroupListResponse.js +1 -1
  125. package/dist/esm/models/GroupResponse.d.ts +6 -6
  126. package/dist/esm/models/GroupResponse.js +4 -4
  127. package/dist/esm/models/GuestNetwork.d.ts +6 -6
  128. package/dist/esm/models/GuestNetwork.js +1 -1
  129. package/dist/esm/models/Histogram.d.ts +1 -1
  130. package/dist/esm/models/Histogram.js +1 -1
  131. package/dist/esm/models/Host.d.ts +9 -1
  132. package/dist/esm/models/Host.js +5 -1
  133. package/dist/esm/models/Infra.d.ts +1 -1
  134. package/dist/esm/models/Infra.js +1 -1
  135. package/dist/esm/models/InspectionStatus.d.ts +49 -0
  136. package/dist/esm/models/InspectionStatus.js +57 -0
  137. package/dist/esm/models/InspectorStatus.d.ts +1 -1
  138. package/dist/esm/models/InspectorStatus.js +1 -1
  139. package/dist/esm/models/Inventory.d.ts +3 -17
  140. package/dist/esm/models/Inventory.js +5 -14
  141. package/dist/esm/models/Inventory1.d.ts +49 -0
  142. package/dist/esm/models/Inventory1.js +55 -0
  143. package/dist/esm/models/InventoryData.d.ts +1 -1
  144. package/dist/esm/models/InventoryData.js +1 -1
  145. package/dist/esm/models/IssuesBreakdown.d.ts +1 -1
  146. package/dist/esm/models/IssuesBreakdown.js +1 -1
  147. package/dist/esm/models/MigrationIssue.d.ts +1 -1
  148. package/dist/esm/models/MigrationIssue.js +1 -1
  149. package/dist/esm/models/Network.d.ts +1 -1
  150. package/dist/esm/models/Network.js +1 -1
  151. package/dist/esm/models/OperationCapability.d.ts +1 -1
  152. package/dist/esm/models/OperationCapability.js +1 -1
  153. package/dist/esm/models/OsInfo.d.ts +1 -1
  154. package/dist/esm/models/OsInfo.js +1 -1
  155. package/dist/esm/models/PairCapability.d.ts +3 -13
  156. package/dist/esm/models/PairCapability.js +1 -10
  157. package/dist/esm/models/PairCapabilityRequest.d.ts +3 -8
  158. package/dist/esm/models/PairCapabilityRequest.js +4 -7
  159. package/dist/esm/models/Process.d.ts +1 -1
  160. package/dist/esm/models/Process.js +1 -1
  161. package/dist/esm/models/RightsizingClusterResponse.d.ts +2 -2
  162. package/dist/esm/models/RightsizingClusterResponse.js +1 -1
  163. package/dist/esm/models/RightsizingClusterUtilization.d.ts +13 -15
  164. package/dist/esm/models/RightsizingClusterUtilization.js +1 -1
  165. package/dist/esm/models/StartForecasterRequest.d.ts +43 -0
  166. package/dist/esm/models/{ForecasterStartRequest.js → StartForecasterRequest.js} +12 -15
  167. package/dist/esm/models/StartInspectionRequest.d.ts +3 -8
  168. package/dist/esm/models/StartInspectionRequest.js +1 -4
  169. package/dist/esm/models/StopForecasterPair202Response.d.ts +1 -1
  170. package/dist/esm/models/StopForecasterPair202Response.js +1 -1
  171. package/dist/esm/models/StorageIoConfiguration.d.ts +1 -1
  172. package/dist/esm/models/StorageIoConfiguration.js +1 -1
  173. package/dist/esm/models/UpdateGroupRequest.d.ts +4 -4
  174. package/dist/esm/models/UpdateGroupRequest.js +1 -1
  175. package/dist/esm/models/UpdateInventory.d.ts +3 -3
  176. package/dist/esm/models/UpdateInventory.js +4 -4
  177. package/dist/esm/models/UpdateLabelVMsRequest.d.ts +1 -1
  178. package/dist/esm/models/UpdateLabelVMsRequest.js +1 -1
  179. package/dist/esm/models/VCenter.d.ts +1 -1
  180. package/dist/esm/models/VCenter.js +1 -1
  181. package/dist/esm/models/VMFilterOptionsResponse.d.ts +1 -1
  182. package/dist/esm/models/VMFilterOptionsResponse.js +1 -1
  183. package/dist/esm/models/VMLabelsResponse.d.ts +1 -1
  184. package/dist/esm/models/VMLabelsResponse.js +1 -1
  185. package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
  186. package/dist/esm/models/VMResourceBreakdown.js +1 -1
  187. package/dist/esm/models/VMs.d.ts +1 -1
  188. package/dist/esm/models/VMs.js +1 -1
  189. package/dist/esm/models/VcenterCredentials.d.ts +1 -1
  190. package/dist/esm/models/VcenterCredentials.js +1 -1
  191. package/dist/esm/models/VddkProperties.d.ts +2 -2
  192. package/dist/esm/models/VddkProperties.js +1 -1
  193. package/dist/esm/models/VersionInfo.d.ts +4 -4
  194. package/dist/esm/models/VersionInfo.js +1 -1
  195. package/dist/esm/models/VirtualMachine.d.ts +15 -11
  196. package/dist/esm/models/VirtualMachine.js +10 -6
  197. package/dist/esm/models/VirtualMachineDetail.d.ts +47 -38
  198. package/dist/esm/models/VirtualMachineDetail.js +23 -16
  199. package/dist/esm/models/VirtualMachineDevice.d.ts +30 -0
  200. package/dist/esm/models/{VMDevice.js → VirtualMachineDevice.js} +9 -9
  201. package/dist/esm/models/VirtualMachineDisk.d.ts +54 -0
  202. package/dist/esm/models/{VMDisk.js → VirtualMachineDisk.js} +9 -9
  203. package/dist/esm/models/VirtualMachineInspectionConcern.d.ts +38 -0
  204. package/dist/esm/models/{VmInspectionConcern.js → VirtualMachineInspectionConcern.js} +9 -9
  205. package/dist/esm/models/VirtualMachineInspectionResults.d.ts +31 -0
  206. package/dist/esm/models/VirtualMachineInspectionResults.js +42 -0
  207. package/dist/esm/models/VirtualMachineIssue.d.ts +50 -0
  208. package/dist/esm/models/{VMIssue.js → VirtualMachineIssue.js} +16 -16
  209. package/dist/esm/models/VirtualMachineListResponse.d.ts +3 -3
  210. package/dist/esm/models/VirtualMachineListResponse.js +4 -4
  211. package/dist/esm/models/VirtualMachineNIC.d.ts +38 -0
  212. package/dist/esm/models/{VMNIC.js → VirtualMachineNIC.js} +9 -13
  213. package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +1 -1
  214. package/dist/esm/models/VirtualMachineUpdateRequest.js +1 -1
  215. package/dist/esm/models/VmUtilizationDetails.d.ts +8 -8
  216. package/dist/esm/models/VmUtilizationDetails.js +1 -1
  217. package/dist/esm/models/index.d.ts +20 -23
  218. package/dist/esm/models/index.js +20 -23
  219. package/dist/esm/runtime.d.ts +1 -1
  220. package/dist/esm/runtime.js +2 -2
  221. package/dist/models/AgentModeRequest.d.ts +1 -1
  222. package/dist/models/AgentModeRequest.js +1 -1
  223. package/dist/models/AgentStatus.d.ts +6 -13
  224. package/dist/models/AgentStatus.js +8 -14
  225. package/dist/models/AgentStatusConsoleConnection.d.ts +42 -0
  226. package/dist/models/AgentStatusConsoleConnection.js +60 -0
  227. package/dist/models/ApplicationListResponse.d.ts +1 -1
  228. package/dist/models/ApplicationListResponse.js +1 -1
  229. package/dist/models/ApplicationOverview.d.ts +4 -4
  230. package/dist/models/ApplicationOverview.js +1 -1
  231. package/dist/models/ApplicationVM.d.ts +3 -3
  232. package/dist/models/ApplicationVM.js +1 -1
  233. package/dist/models/BatchUpdateExclusionRequest.d.ts +1 -1
  234. package/dist/models/BatchUpdateExclusionRequest.js +1 -1
  235. package/dist/models/BenchmarkRun.d.ts +6 -6
  236. package/dist/models/BenchmarkRun.js +9 -7
  237. package/dist/models/CapabilityStatus.d.ts +1 -1
  238. package/dist/models/CapabilityStatus.js +1 -1
  239. package/dist/models/CapabilityStatusCapabilities.d.ts +1 -1
  240. package/dist/models/CapabilityStatusCapabilities.js +1 -1
  241. package/dist/models/ClusterFeatures.d.ts +1 -1
  242. package/dist/models/ClusterFeatures.js +1 -1
  243. package/dist/models/ClusterUtilization.d.ts +1 -1
  244. package/dist/models/ClusterUtilization.js +1 -1
  245. package/dist/models/Collection.d.ts +38 -0
  246. package/dist/models/Collection.js +58 -0
  247. package/dist/models/CollectionAggregate.d.ts +50 -0
  248. package/dist/models/CollectionAggregate.js +70 -0
  249. package/dist/models/CollectionComparisonDiff.d.ts +48 -0
  250. package/dist/models/CollectionComparisonDiff.js +68 -0
  251. package/dist/models/CollectionComparisonSummary.d.ts +36 -0
  252. package/dist/models/CollectionComparisonSummary.js +56 -0
  253. package/dist/models/CollectionComparisonSummaryDiff.d.ts +43 -0
  254. package/dist/models/CollectionComparisonSummaryDiff.js +63 -0
  255. package/dist/models/CollectionListResponse.d.ts +31 -0
  256. package/dist/models/CollectionListResponse.js +51 -0
  257. package/dist/models/CollectorStatus.d.ts +2 -1
  258. package/dist/models/CollectorStatus.js +2 -1
  259. package/dist/models/ComparisonDiffEntry.d.ts +38 -0
  260. package/dist/models/ComparisonDiffEntry.js +54 -0
  261. package/dist/models/ComparisonDiffPage.d.ts +42 -0
  262. package/dist/models/ComparisonDiffPage.js +62 -0
  263. package/dist/models/CreateGroupRequest.d.ts +4 -4
  264. package/dist/models/CreateGroupRequest.js +1 -1
  265. package/dist/models/CredentialStatus.d.ts +1 -1
  266. package/dist/models/CredentialStatus.js +1 -1
  267. package/dist/models/Datastore.d.ts +1 -1
  268. package/dist/models/Datastore.js +1 -1
  269. package/dist/models/DatastoreDetail.d.ts +7 -17
  270. package/dist/models/DatastoreDetail.js +1 -11
  271. package/dist/models/DatastorePairRequest.d.ts +42 -0
  272. package/dist/models/{DatastorePair.js → DatastorePairRequest.js} +14 -14
  273. package/dist/models/DeleteLabelGloballyResponse.d.ts +5 -5
  274. package/dist/models/DeleteLabelGloballyResponse.js +5 -5
  275. package/dist/models/DiskSizeTierSummary.d.ts +1 -1
  276. package/dist/models/DiskSizeTierSummary.js +1 -1
  277. package/dist/models/DiskTypeSummary.d.ts +1 -1
  278. package/dist/models/DiskTypeSummary.js +1 -1
  279. package/dist/models/EstimateRange.d.ts +8 -8
  280. package/dist/models/EstimateRange.js +10 -4
  281. package/dist/models/ForecastPairStatus.d.ts +78 -0
  282. package/dist/models/{ForecasterPairStatus.js → ForecastPairStatus.js} +28 -28
  283. package/dist/models/ForecastStats.d.ts +11 -11
  284. package/dist/models/ForecastStats.js +33 -17
  285. package/dist/models/ForecasterStatus.d.ts +7 -7
  286. package/dist/models/ForecasterStatus.js +8 -6
  287. package/dist/models/Group.d.ts +4 -4
  288. package/dist/models/Group.js +1 -1
  289. package/dist/models/GroupListResponse.d.ts +4 -4
  290. package/dist/models/GroupListResponse.js +1 -1
  291. package/dist/models/GroupResponse.d.ts +6 -6
  292. package/dist/models/GroupResponse.js +4 -4
  293. package/dist/models/GuestNetwork.d.ts +6 -6
  294. package/dist/models/GuestNetwork.js +1 -1
  295. package/dist/models/Histogram.d.ts +1 -1
  296. package/dist/models/Histogram.js +1 -1
  297. package/dist/models/Host.d.ts +9 -1
  298. package/dist/models/Host.js +5 -1
  299. package/dist/models/Infra.d.ts +1 -1
  300. package/dist/models/Infra.js +1 -1
  301. package/dist/models/InspectionStatus.d.ts +49 -0
  302. package/dist/models/InspectionStatus.js +65 -0
  303. package/dist/models/InspectorStatus.d.ts +1 -1
  304. package/dist/models/InspectorStatus.js +1 -1
  305. package/dist/models/Inventory.d.ts +3 -17
  306. package/dist/models/Inventory.js +5 -14
  307. package/dist/models/Inventory1.d.ts +49 -0
  308. package/dist/models/Inventory1.js +62 -0
  309. package/dist/models/InventoryData.d.ts +1 -1
  310. package/dist/models/InventoryData.js +1 -1
  311. package/dist/models/IssuesBreakdown.d.ts +1 -1
  312. package/dist/models/IssuesBreakdown.js +1 -1
  313. package/dist/models/MigrationIssue.d.ts +1 -1
  314. package/dist/models/MigrationIssue.js +1 -1
  315. package/dist/models/Network.d.ts +1 -1
  316. package/dist/models/Network.js +1 -1
  317. package/dist/models/OperationCapability.d.ts +1 -1
  318. package/dist/models/OperationCapability.js +1 -1
  319. package/dist/models/OsInfo.d.ts +1 -1
  320. package/dist/models/OsInfo.js +1 -1
  321. package/dist/models/PairCapability.d.ts +3 -13
  322. package/dist/models/PairCapability.js +1 -11
  323. package/dist/models/PairCapabilityRequest.d.ts +3 -8
  324. package/dist/models/PairCapabilityRequest.js +4 -7
  325. package/dist/models/Process.d.ts +1 -1
  326. package/dist/models/Process.js +1 -1
  327. package/dist/models/RightsizingClusterResponse.d.ts +2 -2
  328. package/dist/models/RightsizingClusterResponse.js +1 -1
  329. package/dist/models/RightsizingClusterUtilization.d.ts +13 -15
  330. package/dist/models/RightsizingClusterUtilization.js +1 -1
  331. package/dist/models/StartForecasterRequest.d.ts +43 -0
  332. package/dist/models/StartForecasterRequest.js +57 -0
  333. package/dist/models/StartInspectionRequest.d.ts +3 -8
  334. package/dist/models/StartInspectionRequest.js +1 -4
  335. package/dist/models/StopForecasterPair202Response.d.ts +1 -1
  336. package/dist/models/StopForecasterPair202Response.js +1 -1
  337. package/dist/models/StorageIoConfiguration.d.ts +1 -1
  338. package/dist/models/StorageIoConfiguration.js +1 -1
  339. package/dist/models/UpdateGroupRequest.d.ts +4 -4
  340. package/dist/models/UpdateGroupRequest.js +1 -1
  341. package/dist/models/UpdateInventory.d.ts +3 -3
  342. package/dist/models/UpdateInventory.js +4 -4
  343. package/dist/models/UpdateLabelVMsRequest.d.ts +1 -1
  344. package/dist/models/UpdateLabelVMsRequest.js +1 -1
  345. package/dist/models/VCenter.d.ts +1 -1
  346. package/dist/models/VCenter.js +1 -1
  347. package/dist/models/VMFilterOptionsResponse.d.ts +1 -1
  348. package/dist/models/VMFilterOptionsResponse.js +1 -1
  349. package/dist/models/VMLabelsResponse.d.ts +1 -1
  350. package/dist/models/VMLabelsResponse.js +1 -1
  351. package/dist/models/VMResourceBreakdown.d.ts +1 -1
  352. package/dist/models/VMResourceBreakdown.js +1 -1
  353. package/dist/models/VMs.d.ts +1 -1
  354. package/dist/models/VMs.js +1 -1
  355. package/dist/models/VcenterCredentials.d.ts +1 -1
  356. package/dist/models/VcenterCredentials.js +1 -1
  357. package/dist/models/VddkProperties.d.ts +2 -2
  358. package/dist/models/VddkProperties.js +1 -1
  359. package/dist/models/VersionInfo.d.ts +4 -4
  360. package/dist/models/VersionInfo.js +1 -1
  361. package/dist/models/VirtualMachine.d.ts +15 -11
  362. package/dist/models/VirtualMachine.js +10 -6
  363. package/dist/models/VirtualMachineDetail.d.ts +47 -38
  364. package/dist/models/VirtualMachineDetail.js +23 -16
  365. package/dist/models/VirtualMachineDevice.d.ts +30 -0
  366. package/dist/models/VirtualMachineDevice.js +48 -0
  367. package/dist/models/VirtualMachineDisk.d.ts +54 -0
  368. package/dist/models/{VMDisk.js → VirtualMachineDisk.js} +14 -14
  369. package/dist/models/VirtualMachineInspectionConcern.d.ts +38 -0
  370. package/dist/models/{VmInspectionConcern.js → VirtualMachineInspectionConcern.js} +14 -14
  371. package/dist/models/VirtualMachineInspectionResults.d.ts +31 -0
  372. package/dist/models/VirtualMachineInspectionResults.js +49 -0
  373. package/dist/models/VirtualMachineIssue.d.ts +50 -0
  374. package/dist/models/VirtualMachineIssue.js +70 -0
  375. package/dist/models/VirtualMachineListResponse.d.ts +3 -3
  376. package/dist/models/VirtualMachineListResponse.js +4 -4
  377. package/dist/models/VirtualMachineNIC.d.ts +38 -0
  378. package/dist/models/{VMNIC.js → VirtualMachineNIC.js} +14 -18
  379. package/dist/models/VirtualMachineUpdateRequest.d.ts +1 -1
  380. package/dist/models/VirtualMachineUpdateRequest.js +1 -1
  381. package/dist/models/VmUtilizationDetails.d.ts +8 -8
  382. package/dist/models/VmUtilizationDetails.js +1 -1
  383. package/dist/models/index.d.ts +20 -23
  384. package/dist/models/index.js +20 -23
  385. package/dist/runtime.d.ts +1 -1
  386. package/dist/runtime.js +2 -2
  387. package/docs/AgentApi.md +136 -0
  388. package/docs/AgentStatus.md +4 -4
  389. package/docs/{ExportInventory500Response.md → AgentStatusConsoleConnection.md} +6 -4
  390. package/docs/ApplicationsApi.md +76 -0
  391. package/docs/BenchmarkRun.md +2 -2
  392. package/docs/{ExportInventory400Response.md → Collection.md} +10 -6
  393. package/docs/{RightsizingClusterListResponse.md → CollectionAggregate.md} +15 -7
  394. package/docs/CollectionComparisonDiff.md +38 -0
  395. package/docs/{ForecasterDatastoresRequest.md → CollectionComparisonSummary.md} +8 -6
  396. package/docs/CollectionComparisonSummaryDiff.md +41 -0
  397. package/docs/CollectionListResponse.md +34 -0
  398. package/docs/CollectionsApi.md +294 -0
  399. package/docs/CollectorApi.md +257 -0
  400. package/docs/{VmInspectionResults.md → ComparisonDiffEntry.md} +10 -7
  401. package/docs/{RightsizingReportListResponse.md → ComparisonDiffPage.md} +10 -6
  402. package/docs/CredentialsApi.md +264 -0
  403. package/docs/{DatastorePair.md → DatastorePairRequest.md} +4 -4
  404. package/docs/DeleteLabelGloballyResponse.md +2 -2
  405. package/docs/EstimateRange.md +0 -1
  406. package/docs/{ForecasterPairStatus.md → ForecastPairStatus.md} +8 -8
  407. package/docs/ForecastStats.md +16 -16
  408. package/docs/ForecasterApi.md +612 -0
  409. package/docs/ForecasterStatus.md +1 -1
  410. package/docs/GroupResponse.md +1 -1
  411. package/docs/GroupsApi.md +527 -0
  412. package/docs/Host.md +4 -0
  413. package/docs/{VmInspectionStatus.md → InspectionStatus.md} +6 -8
  414. package/docs/InspectorApi.md +334 -0
  415. package/docs/InventoriesApi.md +136 -0
  416. package/docs/Inventory.md +2 -8
  417. package/docs/{GetInventory200Response.md → Inventory1.md} +6 -8
  418. package/docs/PairCapabilityRequest.md +1 -3
  419. package/docs/RightsizingApi.md +148 -0
  420. package/docs/{ForecasterStartRequest.md → StartForecasterRequest.md} +5 -7
  421. package/docs/StartInspectionRequest.md +0 -3
  422. package/docs/UpdateInventory.md +1 -1
  423. package/docs/VMLabelsResponse.md +2 -2
  424. package/docs/VersionApi.md +66 -0
  425. package/docs/VirtualMachine.md +5 -3
  426. package/docs/VirtualMachineDetail.md +9 -5
  427. package/docs/{VMDevice.md → VirtualMachineDevice.md} +4 -4
  428. package/docs/{VMDisk.md → VirtualMachineDisk.md} +4 -4
  429. package/docs/{VmInspectionConcern.md → VirtualMachineInspectionConcern.md} +4 -5
  430. package/docs/VirtualMachineInspectionResults.md +35 -0
  431. package/docs/{VMIssue.md → VirtualMachineIssue.md} +4 -4
  432. package/docs/VirtualMachineListResponse.md +2 -2
  433. package/docs/{VMNIC.md → VirtualMachineNIC.md} +4 -8
  434. package/docs/VirtualMachineUpdateRequest.md +2 -2
  435. package/docs/VirtualMachinesApi.md +914 -0
  436. package/package.json +1 -1
  437. package/src/apis/AgentApi.ts +176 -0
  438. package/src/apis/ApplicationsApi.ts +111 -0
  439. package/src/apis/CollectionsApi.ts +429 -0
  440. package/src/apis/CollectorApi.ts +306 -0
  441. package/src/apis/CredentialsApi.ts +308 -0
  442. package/src/apis/ForecasterApi.ts +721 -0
  443. package/src/apis/GroupsApi.ts +718 -0
  444. package/src/apis/InspectorApi.ts +405 -0
  445. package/src/apis/InventoriesApi.ts +169 -0
  446. package/src/apis/RightsizingApi.ts +205 -0
  447. package/src/apis/VersionApi.ts +94 -0
  448. package/src/apis/VirtualMachinesApi.ts +1142 -0
  449. package/src/apis/index.ts +12 -1
  450. package/src/models/AgentModeRequest.ts +1 -1
  451. package/src/models/AgentStatus.ts +18 -19
  452. package/src/models/AgentStatusConsoleConnection.ts +81 -0
  453. package/src/models/ApplicationListResponse.ts +1 -1
  454. package/src/models/ApplicationOverview.ts +4 -4
  455. package/src/models/ApplicationVM.ts +3 -3
  456. package/src/models/BatchUpdateExclusionRequest.ts +1 -1
  457. package/src/models/BenchmarkRun.ts +13 -12
  458. package/src/models/CapabilityStatus.ts +1 -1
  459. package/src/models/CapabilityStatusCapabilities.ts +1 -1
  460. package/src/models/ClusterFeatures.ts +1 -1
  461. package/src/models/ClusterUtilization.ts +1 -1
  462. package/src/models/Collection.ts +78 -0
  463. package/src/models/CollectionAggregate.ts +99 -0
  464. package/src/models/CollectionComparisonDiff.ts +98 -0
  465. package/src/models/CollectionComparisonSummary.ts +86 -0
  466. package/src/models/CollectionComparisonSummaryDiff.ts +93 -0
  467. package/src/models/CollectionListResponse.ts +72 -0
  468. package/src/models/CollectorStatus.ts +2 -1
  469. package/src/models/ComparisonDiffEntry.ts +76 -0
  470. package/src/models/ComparisonDiffPage.ts +85 -0
  471. package/src/models/CreateGroupRequest.ts +4 -4
  472. package/src/models/CredentialStatus.ts +1 -1
  473. package/src/models/Datastore.ts +1 -1
  474. package/src/models/DatastoreDetail.ts +7 -20
  475. package/src/models/{DatastorePair.ts → DatastorePairRequest.ts} +15 -15
  476. package/src/models/DeleteLabelGloballyResponse.ts +8 -8
  477. package/src/models/DiskSizeTierSummary.ts +1 -1
  478. package/src/models/DiskTypeSummary.ts +1 -1
  479. package/src/models/EstimateRange.ts +14 -11
  480. package/src/models/{ForecasterPairStatus.ts → ForecastPairStatus.ts} +37 -37
  481. package/src/models/ForecastStats.ts +35 -27
  482. package/src/models/ForecasterStatus.ts +15 -14
  483. package/src/models/Group.ts +4 -4
  484. package/src/models/GroupListResponse.ts +4 -4
  485. package/src/models/GroupResponse.ts +13 -13
  486. package/src/models/GuestNetwork.ts +6 -6
  487. package/src/models/Histogram.ts +1 -1
  488. package/src/models/Host.ts +13 -1
  489. package/src/models/Infra.ts +1 -1
  490. package/src/models/InspectionStatus.ts +90 -0
  491. package/src/models/InspectorStatus.ts +1 -1
  492. package/src/models/Inventory.ts +11 -30
  493. package/src/models/Inventory1.ts +97 -0
  494. package/src/models/InventoryData.ts +1 -1
  495. package/src/models/IssuesBreakdown.ts +1 -1
  496. package/src/models/MigrationIssue.ts +1 -1
  497. package/src/models/Network.ts +1 -1
  498. package/src/models/OperationCapability.ts +1 -1
  499. package/src/models/OsInfo.ts +1 -1
  500. package/src/models/PairCapability.ts +3 -16
  501. package/src/models/PairCapabilityRequest.ts +10 -23
  502. package/src/models/Process.ts +1 -1
  503. package/src/models/RightsizingClusterResponse.ts +2 -2
  504. package/src/models/RightsizingClusterUtilization.ts +13 -15
  505. package/src/models/StartForecasterRequest.ts +90 -0
  506. package/src/models/StartInspectionRequest.ts +3 -17
  507. package/src/models/StopForecasterPair202Response.ts +1 -1
  508. package/src/models/StorageIoConfiguration.ts +1 -1
  509. package/src/models/UpdateGroupRequest.ts +4 -4
  510. package/src/models/UpdateInventory.ts +10 -10
  511. package/src/models/UpdateLabelVMsRequest.ts +1 -1
  512. package/src/models/VCenter.ts +1 -1
  513. package/src/models/VMFilterOptionsResponse.ts +1 -1
  514. package/src/models/VMLabelsResponse.ts +1 -1
  515. package/src/models/VMResourceBreakdown.ts +1 -1
  516. package/src/models/VMs.ts +1 -1
  517. package/src/models/VcenterCredentials.ts +1 -1
  518. package/src/models/VddkProperties.ts +2 -2
  519. package/src/models/VersionInfo.ts +4 -4
  520. package/src/models/VirtualMachine.ts +27 -20
  521. package/src/models/VirtualMachineDetail.ts +93 -73
  522. package/src/models/VirtualMachineDevice.ts +63 -0
  523. package/src/models/{VMDisk.ts → VirtualMachineDisk.ts} +17 -17
  524. package/src/models/{VmInspectionConcern.ts → VirtualMachineInspectionConcern.ts} +12 -12
  525. package/src/models/VirtualMachineInspectionResults.ts +71 -0
  526. package/src/models/VirtualMachineIssue.ts +93 -0
  527. package/src/models/VirtualMachineListResponse.ts +6 -6
  528. package/src/models/VirtualMachineNIC.ts +75 -0
  529. package/src/models/VirtualMachineUpdateRequest.ts +1 -1
  530. package/src/models/VmUtilizationDetails.ts +8 -8
  531. package/src/models/index.ts +20 -23
  532. package/src/runtime.ts +2 -2
  533. package/dist/apis/DefaultApi.d.ts +0 -1988
  534. package/dist/apis/DefaultApi.js +0 -2066
  535. package/dist/esm/apis/DefaultApi.d.ts +0 -1988
  536. package/dist/esm/apis/DefaultApi.js +0 -2062
  537. package/dist/esm/models/CollectorStartRequest.d.ts +0 -46
  538. package/dist/esm/models/CollectorStartRequest.js +0 -49
  539. package/dist/esm/models/DatastorePair.d.ts +0 -42
  540. package/dist/esm/models/ExportInventory400Response.d.ts +0 -30
  541. package/dist/esm/models/ExportInventory400Response.js +0 -41
  542. package/dist/esm/models/ExportInventory500Response.d.ts +0 -30
  543. package/dist/esm/models/ExportInventory500Response.js +0 -41
  544. package/dist/esm/models/ForecasterDatastoresRequest.d.ts +0 -31
  545. package/dist/esm/models/ForecasterDatastoresRequest.js +0 -42
  546. package/dist/esm/models/ForecasterPairStatus.d.ts +0 -78
  547. package/dist/esm/models/ForecasterStartRequest.d.ts +0 -48
  548. package/dist/esm/models/GetInventory200Response.d.ts +0 -23
  549. package/dist/esm/models/GetInventory200Response.js +0 -51
  550. package/dist/esm/models/PutForecasterCredentials403Response.d.ts +0 -34
  551. package/dist/esm/models/PutForecasterCredentials403Response.js +0 -43
  552. package/dist/esm/models/RightsizingClusterListResponse.d.ts +0 -35
  553. package/dist/esm/models/RightsizingClusterListResponse.js +0 -48
  554. package/dist/esm/models/RightsizingCollectRequest.d.ts +0 -56
  555. package/dist/esm/models/RightsizingCollectRequest.js +0 -56
  556. package/dist/esm/models/RightsizingMetricStats.d.ts +0 -50
  557. package/dist/esm/models/RightsizingMetricStats.js +0 -63
  558. package/dist/esm/models/RightsizingReport.d.ts +0 -63
  559. package/dist/esm/models/RightsizingReport.js +0 -76
  560. package/dist/esm/models/RightsizingReportListResponse.d.ts +0 -35
  561. package/dist/esm/models/RightsizingReportListResponse.js +0 -48
  562. package/dist/esm/models/RightsizingReportSummary.d.ts +0 -58
  563. package/dist/esm/models/RightsizingReportSummary.js +0 -71
  564. package/dist/esm/models/RightsizingVMReport.d.ts +0 -45
  565. package/dist/esm/models/RightsizingVMReport.js +0 -57
  566. package/dist/esm/models/VMDevice.d.ts +0 -30
  567. package/dist/esm/models/VMDisk.d.ts +0 -54
  568. package/dist/esm/models/VMIssue.d.ts +0 -50
  569. package/dist/esm/models/VMNIC.d.ts +0 -46
  570. package/dist/esm/models/VmInspectionConcern.d.ts +0 -38
  571. package/dist/esm/models/VmInspectionResults.d.ts +0 -31
  572. package/dist/esm/models/VmInspectionResults.js +0 -42
  573. package/dist/esm/models/VmInspectionStatus.d.ts +0 -53
  574. package/dist/esm/models/VmInspectionStatus.js +0 -61
  575. package/dist/models/CollectorStartRequest.d.ts +0 -46
  576. package/dist/models/CollectorStartRequest.js +0 -56
  577. package/dist/models/DatastorePair.d.ts +0 -42
  578. package/dist/models/ExportInventory400Response.d.ts +0 -30
  579. package/dist/models/ExportInventory400Response.js +0 -48
  580. package/dist/models/ExportInventory500Response.d.ts +0 -30
  581. package/dist/models/ExportInventory500Response.js +0 -48
  582. package/dist/models/ForecasterDatastoresRequest.d.ts +0 -31
  583. package/dist/models/ForecasterDatastoresRequest.js +0 -49
  584. package/dist/models/ForecasterPairStatus.d.ts +0 -78
  585. package/dist/models/ForecasterStartRequest.d.ts +0 -48
  586. package/dist/models/ForecasterStartRequest.js +0 -60
  587. package/dist/models/GetInventory200Response.d.ts +0 -23
  588. package/dist/models/GetInventory200Response.js +0 -57
  589. package/dist/models/PutForecasterCredentials403Response.d.ts +0 -34
  590. package/dist/models/PutForecasterCredentials403Response.js +0 -50
  591. package/dist/models/RightsizingClusterListResponse.d.ts +0 -35
  592. package/dist/models/RightsizingClusterListResponse.js +0 -55
  593. package/dist/models/RightsizingCollectRequest.d.ts +0 -56
  594. package/dist/models/RightsizingCollectRequest.js +0 -63
  595. package/dist/models/RightsizingMetricStats.d.ts +0 -50
  596. package/dist/models/RightsizingMetricStats.js +0 -70
  597. package/dist/models/RightsizingReport.d.ts +0 -63
  598. package/dist/models/RightsizingReport.js +0 -83
  599. package/dist/models/RightsizingReportListResponse.d.ts +0 -35
  600. package/dist/models/RightsizingReportListResponse.js +0 -55
  601. package/dist/models/RightsizingReportSummary.d.ts +0 -58
  602. package/dist/models/RightsizingReportSummary.js +0 -78
  603. package/dist/models/RightsizingVMReport.d.ts +0 -45
  604. package/dist/models/RightsizingVMReport.js +0 -64
  605. package/dist/models/VMDevice.d.ts +0 -30
  606. package/dist/models/VMDevice.js +0 -48
  607. package/dist/models/VMDisk.d.ts +0 -54
  608. package/dist/models/VMIssue.d.ts +0 -50
  609. package/dist/models/VMIssue.js +0 -70
  610. package/dist/models/VMNIC.d.ts +0 -46
  611. package/dist/models/VmInspectionConcern.d.ts +0 -38
  612. package/dist/models/VmInspectionResults.d.ts +0 -31
  613. package/dist/models/VmInspectionResults.js +0 -49
  614. package/dist/models/VmInspectionStatus.d.ts +0 -53
  615. package/dist/models/VmInspectionStatus.js +0 -69
  616. package/docs/CollectorStartRequest.md +0 -43
  617. package/docs/DefaultApi.md +0 -3361
  618. package/docs/PutForecasterCredentials403Response.md +0 -36
  619. package/docs/RightsizingCollectRequest.md +0 -46
  620. package/docs/RightsizingMetricStats.md +0 -44
  621. package/docs/RightsizingReport.md +0 -50
  622. package/docs/RightsizingReportSummary.md +0 -49
  623. package/docs/RightsizingVMReport.md +0 -40
  624. package/src/apis/DefaultApi.ts +0 -3986
  625. package/src/models/CollectorStartRequest.ts +0 -87
  626. package/src/models/ExportInventory400Response.ts +0 -63
  627. package/src/models/ExportInventory500Response.ts +0 -63
  628. package/src/models/ForecasterDatastoresRequest.ts +0 -71
  629. package/src/models/ForecasterStartRequest.ts +0 -103
  630. package/src/models/GetInventory200Response.ts +0 -76
  631. package/src/models/PutForecasterCredentials403Response.ts +0 -69
  632. package/src/models/RightsizingClusterListResponse.ts +0 -79
  633. package/src/models/RightsizingCollectRequest.ts +0 -109
  634. package/src/models/RightsizingMetricStats.ts +0 -99
  635. package/src/models/RightsizingReport.ts +0 -128
  636. package/src/models/RightsizingReportListResponse.ts +0 -79
  637. package/src/models/RightsizingReportSummary.ts +0 -113
  638. package/src/models/RightsizingVMReport.ts +0 -93
  639. package/src/models/VMDevice.ts +0 -63
  640. package/src/models/VMIssue.ts +0 -93
  641. package/src/models/VMNIC.ts +0 -87
  642. package/src/models/VmInspectionResults.ts +0 -71
  643. package/src/models/VmInspectionStatus.ts +0 -97
@@ -0,0 +1,236 @@
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: v2
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime.js';
24
+ import { InspectorStatusFromJSON, } from '../models/InspectorStatus.js';
25
+ import { StartInspectionRequestToJSON, } from '../models/StartInspectionRequest.js';
26
+ import { VddkPropertiesFromJSON, } from '../models/VddkProperties.js';
27
+ /**
28
+ *
29
+ */
30
+ export class InspectorApi extends runtime.BaseAPI {
31
+ /**
32
+ * Creates request options for getInspectorStatus without sending the request
33
+ */
34
+ getInspectorStatusRequestOpts(requestParameters) {
35
+ return __awaiter(this, void 0, void 0, function* () {
36
+ const queryParameters = {};
37
+ if (requestParameters['includeVddk'] != null) {
38
+ queryParameters['includeVddk'] = requestParameters['includeVddk'];
39
+ }
40
+ const headerParameters = {};
41
+ let urlPath = `/inspector`;
42
+ return {
43
+ path: urlPath,
44
+ method: 'GET',
45
+ headers: headerParameters,
46
+ query: queryParameters,
47
+ };
48
+ });
49
+ }
50
+ /**
51
+ * Get inspector status
52
+ */
53
+ getInspectorStatusRaw(requestParameters, initOverrides) {
54
+ return __awaiter(this, void 0, void 0, function* () {
55
+ const requestOptions = yield this.getInspectorStatusRequestOpts(requestParameters);
56
+ const response = yield this.request(requestOptions, initOverrides);
57
+ return new runtime.JSONApiResponse(response, (jsonValue) => InspectorStatusFromJSON(jsonValue));
58
+ });
59
+ }
60
+ /**
61
+ * Get inspector status
62
+ */
63
+ getInspectorStatus() {
64
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
65
+ const response = yield this.getInspectorStatusRaw(requestParameters, initOverrides);
66
+ return yield response.value();
67
+ });
68
+ }
69
+ /**
70
+ * Creates request options for getInspectorVddkStatus without sending the request
71
+ */
72
+ getInspectorVddkStatusRequestOpts() {
73
+ return __awaiter(this, void 0, void 0, function* () {
74
+ const queryParameters = {};
75
+ const headerParameters = {};
76
+ let urlPath = `/inspector/vddk`;
77
+ return {
78
+ path: urlPath,
79
+ method: 'GET',
80
+ headers: headerParameters,
81
+ query: queryParameters,
82
+ };
83
+ });
84
+ }
85
+ /**
86
+ * Get VDDK upload status
87
+ */
88
+ getInspectorVddkStatusRaw(initOverrides) {
89
+ return __awaiter(this, void 0, void 0, function* () {
90
+ const requestOptions = yield this.getInspectorVddkStatusRequestOpts();
91
+ const response = yield this.request(requestOptions, initOverrides);
92
+ return new runtime.JSONApiResponse(response, (jsonValue) => VddkPropertiesFromJSON(jsonValue));
93
+ });
94
+ }
95
+ /**
96
+ * Get VDDK upload status
97
+ */
98
+ getInspectorVddkStatus(initOverrides) {
99
+ return __awaiter(this, void 0, void 0, function* () {
100
+ const response = yield this.getInspectorVddkStatusRaw(initOverrides);
101
+ return yield response.value();
102
+ });
103
+ }
104
+ /**
105
+ * Creates request options for putInspectorVddk without sending the request
106
+ */
107
+ putInspectorVddkRequestOpts(requestParameters) {
108
+ return __awaiter(this, void 0, void 0, function* () {
109
+ if (requestParameters['file'] == null) {
110
+ throw new runtime.RequiredError('file', 'Required parameter "file" was null or undefined when calling putInspectorVddk().');
111
+ }
112
+ const queryParameters = {};
113
+ const headerParameters = {};
114
+ const consumes = [
115
+ { contentType: 'multipart/form-data' },
116
+ ];
117
+ // @ts-ignore: canConsumeForm may be unused
118
+ const canConsumeForm = runtime.canConsumeForm(consumes);
119
+ let formParams;
120
+ let useForm = false;
121
+ // use FormData to transmit files using content-type "multipart/form-data"
122
+ useForm = canConsumeForm;
123
+ if (useForm) {
124
+ formParams = new FormData();
125
+ }
126
+ else {
127
+ formParams = new URLSearchParams();
128
+ }
129
+ if (requestParameters['file'] != null) {
130
+ formParams.append('file', requestParameters['file']);
131
+ }
132
+ let urlPath = `/inspector/vddk`;
133
+ return {
134
+ path: urlPath,
135
+ method: 'PUT',
136
+ headers: headerParameters,
137
+ query: queryParameters,
138
+ body: formParams,
139
+ };
140
+ });
141
+ }
142
+ /**
143
+ * Upload VDDK tarball
144
+ */
145
+ putInspectorVddkRaw(requestParameters, initOverrides) {
146
+ return __awaiter(this, void 0, void 0, function* () {
147
+ const requestOptions = yield this.putInspectorVddkRequestOpts(requestParameters);
148
+ const response = yield this.request(requestOptions, initOverrides);
149
+ return new runtime.JSONApiResponse(response, (jsonValue) => VddkPropertiesFromJSON(jsonValue));
150
+ });
151
+ }
152
+ /**
153
+ * Upload VDDK tarball
154
+ */
155
+ putInspectorVddk(requestParameters, initOverrides) {
156
+ return __awaiter(this, void 0, void 0, function* () {
157
+ const response = yield this.putInspectorVddkRaw(requestParameters, initOverrides);
158
+ return yield response.value();
159
+ });
160
+ }
161
+ /**
162
+ * Creates request options for startInspection without sending the request
163
+ */
164
+ startInspectionRequestOpts(requestParameters) {
165
+ return __awaiter(this, void 0, void 0, function* () {
166
+ if (requestParameters['startInspectionRequest'] == null) {
167
+ throw new runtime.RequiredError('startInspectionRequest', 'Required parameter "startInspectionRequest" was null or undefined when calling startInspection().');
168
+ }
169
+ const queryParameters = {};
170
+ const headerParameters = {};
171
+ headerParameters['Content-Type'] = 'application/json';
172
+ let urlPath = `/inspector`;
173
+ return {
174
+ path: urlPath,
175
+ method: 'POST',
176
+ headers: headerParameters,
177
+ query: queryParameters,
178
+ body: StartInspectionRequestToJSON(requestParameters['startInspectionRequest']),
179
+ };
180
+ });
181
+ }
182
+ /**
183
+ * Start deep inspection for VMs
184
+ */
185
+ startInspectionRaw(requestParameters, initOverrides) {
186
+ return __awaiter(this, void 0, void 0, function* () {
187
+ const requestOptions = yield this.startInspectionRequestOpts(requestParameters);
188
+ const response = yield this.request(requestOptions, initOverrides);
189
+ return new runtime.JSONApiResponse(response, (jsonValue) => InspectorStatusFromJSON(jsonValue));
190
+ });
191
+ }
192
+ /**
193
+ * Start deep inspection for VMs
194
+ */
195
+ startInspection(requestParameters, initOverrides) {
196
+ return __awaiter(this, void 0, void 0, function* () {
197
+ const response = yield this.startInspectionRaw(requestParameters, initOverrides);
198
+ return yield response.value();
199
+ });
200
+ }
201
+ /**
202
+ * Creates request options for stopInspection without sending the request
203
+ */
204
+ stopInspectionRequestOpts() {
205
+ return __awaiter(this, void 0, void 0, function* () {
206
+ const queryParameters = {};
207
+ const headerParameters = {};
208
+ let urlPath = `/inspector`;
209
+ return {
210
+ path: urlPath,
211
+ method: 'DELETE',
212
+ headers: headerParameters,
213
+ query: queryParameters,
214
+ };
215
+ });
216
+ }
217
+ /**
218
+ * Stop inspector
219
+ */
220
+ stopInspectionRaw(initOverrides) {
221
+ return __awaiter(this, void 0, void 0, function* () {
222
+ const requestOptions = yield this.stopInspectionRequestOpts();
223
+ const response = yield this.request(requestOptions, initOverrides);
224
+ return new runtime.JSONApiResponse(response, (jsonValue) => InspectorStatusFromJSON(jsonValue));
225
+ });
226
+ }
227
+ /**
228
+ * Stop inspector
229
+ */
230
+ stopInspection(initOverrides) {
231
+ return __awaiter(this, void 0, void 0, function* () {
232
+ const response = yield this.stopInspectionRaw(initOverrides);
233
+ return yield response.value();
234
+ });
235
+ }
236
+ }
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime.js';
13
+ import { type Inventory } from '../models/Inventory.js';
14
+ export interface GetInventoryRequest {
15
+ /**
16
+ * Collection ID
17
+ */
18
+ id: string;
19
+ }
20
+ /**
21
+ * InventoriesApi - interface
22
+ *
23
+ * @export
24
+ * @interface InventoriesApiInterface
25
+ */
26
+ export interface InventoriesApiInterface {
27
+ /**
28
+ * Creates request options for getInventory without sending the request
29
+ * @param {string} id Collection ID
30
+ * @throws {RequiredError}
31
+ * @memberof InventoriesApiInterface
32
+ */
33
+ getInventoryRequestOpts(requestParameters: GetInventoryRequest): Promise<runtime.RequestOpts>;
34
+ /**
35
+ *
36
+ * @summary Get collected inventory for a collection
37
+ * @param {string} id Collection ID
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ * @memberof InventoriesApiInterface
41
+ */
42
+ getInventoryRaw(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>>;
43
+ /**
44
+ * Get collected inventory for a collection
45
+ */
46
+ getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory>;
47
+ /**
48
+ * Creates request options for getLatestInventory without sending the request
49
+ * @throws {RequiredError}
50
+ * @memberof InventoriesApiInterface
51
+ */
52
+ getLatestInventoryRequestOpts(): Promise<runtime.RequestOpts>;
53
+ /**
54
+ *
55
+ * @summary Get inventory from the latest collection
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ * @memberof InventoriesApiInterface
59
+ */
60
+ getLatestInventoryRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>>;
61
+ /**
62
+ * Get inventory from the latest collection
63
+ */
64
+ getLatestInventory(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory>;
65
+ }
66
+ /**
67
+ *
68
+ */
69
+ export declare class InventoriesApi extends runtime.BaseAPI implements InventoriesApiInterface {
70
+ /**
71
+ * Creates request options for getInventory without sending the request
72
+ */
73
+ getInventoryRequestOpts(requestParameters: GetInventoryRequest): Promise<runtime.RequestOpts>;
74
+ /**
75
+ * Get collected inventory for a collection
76
+ */
77
+ getInventoryRaw(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>>;
78
+ /**
79
+ * Get collected inventory for a collection
80
+ */
81
+ getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory>;
82
+ /**
83
+ * Creates request options for getLatestInventory without sending the request
84
+ */
85
+ getLatestInventoryRequestOpts(): Promise<runtime.RequestOpts>;
86
+ /**
87
+ * Get inventory from the latest collection
88
+ */
89
+ getLatestInventoryRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>>;
90
+ /**
91
+ * Get inventory from the latest collection
92
+ */
93
+ getLatestInventory(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory>;
94
+ }
@@ -0,0 +1,103 @@
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: v2
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime.js';
24
+ import { InventoryFromJSON, } from '../models/Inventory.js';
25
+ /**
26
+ *
27
+ */
28
+ export class InventoriesApi extends runtime.BaseAPI {
29
+ /**
30
+ * Creates request options for getInventory without sending the request
31
+ */
32
+ getInventoryRequestOpts(requestParameters) {
33
+ return __awaiter(this, void 0, void 0, function* () {
34
+ if (requestParameters['id'] == null) {
35
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getInventory().');
36
+ }
37
+ const queryParameters = {};
38
+ const headerParameters = {};
39
+ let urlPath = `/collections/{id}/inventory`;
40
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
41
+ return {
42
+ path: urlPath,
43
+ method: 'GET',
44
+ headers: headerParameters,
45
+ query: queryParameters,
46
+ };
47
+ });
48
+ }
49
+ /**
50
+ * Get collected inventory for a collection
51
+ */
52
+ getInventoryRaw(requestParameters, initOverrides) {
53
+ return __awaiter(this, void 0, void 0, function* () {
54
+ const requestOptions = yield this.getInventoryRequestOpts(requestParameters);
55
+ const response = yield this.request(requestOptions, initOverrides);
56
+ return new runtime.JSONApiResponse(response, (jsonValue) => InventoryFromJSON(jsonValue));
57
+ });
58
+ }
59
+ /**
60
+ * Get collected inventory for a collection
61
+ */
62
+ getInventory(requestParameters, initOverrides) {
63
+ return __awaiter(this, void 0, void 0, function* () {
64
+ const response = yield this.getInventoryRaw(requestParameters, initOverrides);
65
+ return yield response.value();
66
+ });
67
+ }
68
+ /**
69
+ * Creates request options for getLatestInventory without sending the request
70
+ */
71
+ getLatestInventoryRequestOpts() {
72
+ return __awaiter(this, void 0, void 0, function* () {
73
+ const queryParameters = {};
74
+ const headerParameters = {};
75
+ let urlPath = `/inventory`;
76
+ return {
77
+ path: urlPath,
78
+ method: 'GET',
79
+ headers: headerParameters,
80
+ query: queryParameters,
81
+ };
82
+ });
83
+ }
84
+ /**
85
+ * Get inventory from the latest collection
86
+ */
87
+ getLatestInventoryRaw(initOverrides) {
88
+ return __awaiter(this, void 0, void 0, function* () {
89
+ const requestOptions = yield this.getLatestInventoryRequestOpts();
90
+ const response = yield this.request(requestOptions, initOverrides);
91
+ return new runtime.JSONApiResponse(response, (jsonValue) => InventoryFromJSON(jsonValue));
92
+ });
93
+ }
94
+ /**
95
+ * Get inventory from the latest collection
96
+ */
97
+ getLatestInventory(initOverrides) {
98
+ return __awaiter(this, void 0, void 0, function* () {
99
+ const response = yield this.getLatestInventoryRaw(initOverrides);
100
+ return yield response.value();
101
+ });
102
+ }
103
+ }
@@ -0,0 +1,109 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime.js';
13
+ import { type RightsizingClusterResponse } from '../models/RightsizingClusterResponse.js';
14
+ import { type VmUtilizationDetails } from '../models/VmUtilizationDetails.js';
15
+ export interface GetClusterUtilizationRequest {
16
+ /**
17
+ * Collection ID
18
+ */
19
+ id: string;
20
+ /**
21
+ * vSphere MoRef (e.g. "domain-c123") or generated cluster ID
22
+ */
23
+ clusterId: string;
24
+ }
25
+ export interface GetLatestVMUtilizationRequest {
26
+ /**
27
+ * VirtualMachine MoRef ID
28
+ */
29
+ vmId: string;
30
+ }
31
+ /**
32
+ * RightsizingApi - interface
33
+ *
34
+ * @export
35
+ * @interface RightsizingApiInterface
36
+ */
37
+ export interface RightsizingApiInterface {
38
+ /**
39
+ * Creates request options for getClusterUtilization without sending the request
40
+ * @param {string} id Collection ID
41
+ * @param {string} clusterId vSphere MoRef (e.g. \&quot;domain-c123\&quot;) or generated cluster ID
42
+ * @throws {RequiredError}
43
+ * @memberof RightsizingApiInterface
44
+ */
45
+ getClusterUtilizationRequestOpts(requestParameters: GetClusterUtilizationRequest): Promise<runtime.RequestOpts>;
46
+ /**
47
+ *
48
+ * @summary Get latest cluster utilization by cluster ID
49
+ * @param {string} id Collection ID
50
+ * @param {string} clusterId vSphere MoRef (e.g. \&quot;domain-c123\&quot;) or generated cluster ID
51
+ * @param {*} [options] Override http request option.
52
+ * @throws {RequiredError}
53
+ * @memberof RightsizingApiInterface
54
+ */
55
+ getClusterUtilizationRaw(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterResponse>>;
56
+ /**
57
+ * Get latest cluster utilization by cluster ID
58
+ */
59
+ getClusterUtilization(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
60
+ /**
61
+ * Creates request options for getLatestVMUtilization without sending the request
62
+ * @param {string} vmId VirtualMachine MoRef ID
63
+ * @throws {RequiredError}
64
+ * @memberof RightsizingApiInterface
65
+ */
66
+ getLatestVMUtilizationRequestOpts(requestParameters: GetLatestVMUtilizationRequest): Promise<runtime.RequestOpts>;
67
+ /**
68
+ *
69
+ * @summary Get utilization breakdown for a specific VM from the latest collection
70
+ * @param {string} vmId VirtualMachine MoRef ID
71
+ * @param {*} [options] Override http request option.
72
+ * @throws {RequiredError}
73
+ * @memberof RightsizingApiInterface
74
+ */
75
+ getLatestVMUtilizationRaw(requestParameters: GetLatestVMUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VmUtilizationDetails>>;
76
+ /**
77
+ * Get utilization breakdown for a specific VM from the latest collection
78
+ */
79
+ getLatestVMUtilization(requestParameters: GetLatestVMUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VmUtilizationDetails>;
80
+ }
81
+ /**
82
+ *
83
+ */
84
+ export declare class RightsizingApi extends runtime.BaseAPI implements RightsizingApiInterface {
85
+ /**
86
+ * Creates request options for getClusterUtilization without sending the request
87
+ */
88
+ getClusterUtilizationRequestOpts(requestParameters: GetClusterUtilizationRequest): Promise<runtime.RequestOpts>;
89
+ /**
90
+ * Get latest cluster utilization by cluster ID
91
+ */
92
+ getClusterUtilizationRaw(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterResponse>>;
93
+ /**
94
+ * Get latest cluster utilization by cluster ID
95
+ */
96
+ getClusterUtilization(requestParameters: GetClusterUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
97
+ /**
98
+ * Creates request options for getLatestVMUtilization without sending the request
99
+ */
100
+ getLatestVMUtilizationRequestOpts(requestParameters: GetLatestVMUtilizationRequest): Promise<runtime.RequestOpts>;
101
+ /**
102
+ * Get utilization breakdown for a specific VM from the latest collection
103
+ */
104
+ getLatestVMUtilizationRaw(requestParameters: GetLatestVMUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VmUtilizationDetails>>;
105
+ /**
106
+ * Get utilization breakdown for a specific VM from the latest collection
107
+ */
108
+ getLatestVMUtilization(requestParameters: GetLatestVMUtilizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VmUtilizationDetails>;
109
+ }
@@ -0,0 +1,112 @@
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: v2
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime.js';
24
+ import { RightsizingClusterResponseFromJSON, } from '../models/RightsizingClusterResponse.js';
25
+ import { VmUtilizationDetailsFromJSON, } from '../models/VmUtilizationDetails.js';
26
+ /**
27
+ *
28
+ */
29
+ export class RightsizingApi extends runtime.BaseAPI {
30
+ /**
31
+ * Creates request options for getClusterUtilization without sending the request
32
+ */
33
+ getClusterUtilizationRequestOpts(requestParameters) {
34
+ return __awaiter(this, void 0, void 0, function* () {
35
+ if (requestParameters['id'] == null) {
36
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getClusterUtilization().');
37
+ }
38
+ if (requestParameters['clusterId'] == null) {
39
+ throw new runtime.RequiredError('clusterId', 'Required parameter "clusterId" was null or undefined when calling getClusterUtilization().');
40
+ }
41
+ const queryParameters = {};
42
+ const headerParameters = {};
43
+ let urlPath = `/collections/{id}/clusters/{clusterId}/utilization`;
44
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
45
+ urlPath = urlPath.replace('{clusterId}', encodeURIComponent(String(requestParameters['clusterId'])));
46
+ return {
47
+ path: urlPath,
48
+ method: 'GET',
49
+ headers: headerParameters,
50
+ query: queryParameters,
51
+ };
52
+ });
53
+ }
54
+ /**
55
+ * Get latest cluster utilization by cluster ID
56
+ */
57
+ getClusterUtilizationRaw(requestParameters, initOverrides) {
58
+ return __awaiter(this, void 0, void 0, function* () {
59
+ const requestOptions = yield this.getClusterUtilizationRequestOpts(requestParameters);
60
+ const response = yield this.request(requestOptions, initOverrides);
61
+ return new runtime.JSONApiResponse(response, (jsonValue) => RightsizingClusterResponseFromJSON(jsonValue));
62
+ });
63
+ }
64
+ /**
65
+ * Get latest cluster utilization by cluster ID
66
+ */
67
+ getClusterUtilization(requestParameters, initOverrides) {
68
+ return __awaiter(this, void 0, void 0, function* () {
69
+ const response = yield this.getClusterUtilizationRaw(requestParameters, initOverrides);
70
+ return yield response.value();
71
+ });
72
+ }
73
+ /**
74
+ * Creates request options for getLatestVMUtilization without sending the request
75
+ */
76
+ getLatestVMUtilizationRequestOpts(requestParameters) {
77
+ return __awaiter(this, void 0, void 0, function* () {
78
+ if (requestParameters['vmId'] == null) {
79
+ throw new runtime.RequiredError('vmId', 'Required parameter "vmId" was null or undefined when calling getLatestVMUtilization().');
80
+ }
81
+ const queryParameters = {};
82
+ const headerParameters = {};
83
+ let urlPath = `/virtualmachines/{vmId}/utilization`;
84
+ urlPath = urlPath.replace('{vmId}', encodeURIComponent(String(requestParameters['vmId'])));
85
+ return {
86
+ path: urlPath,
87
+ method: 'GET',
88
+ headers: headerParameters,
89
+ query: queryParameters,
90
+ };
91
+ });
92
+ }
93
+ /**
94
+ * Get utilization breakdown for a specific VM from the latest collection
95
+ */
96
+ getLatestVMUtilizationRaw(requestParameters, initOverrides) {
97
+ return __awaiter(this, void 0, void 0, function* () {
98
+ const requestOptions = yield this.getLatestVMUtilizationRequestOpts(requestParameters);
99
+ const response = yield this.request(requestOptions, initOverrides);
100
+ return new runtime.JSONApiResponse(response, (jsonValue) => VmUtilizationDetailsFromJSON(jsonValue));
101
+ });
102
+ }
103
+ /**
104
+ * Get utilization breakdown for a specific VM from the latest collection
105
+ */
106
+ getLatestVMUtilization(requestParameters, initOverrides) {
107
+ return __awaiter(this, void 0, void 0, function* () {
108
+ const response = yield this.getLatestVMUtilizationRaw(requestParameters, initOverrides);
109
+ return yield response.value();
110
+ });
111
+ }
112
+ }