@openshift-migration-advisor/agent-sdk 0.20.2-d385a5a71ef0 → 0.20.3

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 (641) hide show
  1. package/.openapi-generator/FILES +48 -64
  2. package/README.md +86 -82
  3. package/dist/apis/DefaultApi.d.ts +1988 -0
  4. package/dist/apis/DefaultApi.js +2066 -0
  5. package/dist/apis/index.d.ts +1 -12
  6. package/dist/apis/index.js +1 -12
  7. package/dist/esm/apis/DefaultApi.d.ts +1988 -0
  8. package/dist/esm/apis/DefaultApi.js +2062 -0
  9. package/dist/esm/apis/index.d.ts +1 -12
  10. package/dist/esm/apis/index.js +1 -12
  11. package/dist/esm/models/AgentModeRequest.d.ts +1 -1
  12. package/dist/esm/models/AgentModeRequest.js +1 -1
  13. package/dist/esm/models/AgentStatus.d.ts +13 -6
  14. package/dist/esm/models/AgentStatus.js +13 -7
  15. package/dist/esm/models/ApplicationListResponse.d.ts +1 -1
  16. package/dist/esm/models/ApplicationListResponse.js +1 -1
  17. package/dist/esm/models/ApplicationOverview.d.ts +4 -4
  18. package/dist/esm/models/ApplicationOverview.js +1 -1
  19. package/dist/esm/models/ApplicationVM.d.ts +3 -3
  20. package/dist/esm/models/ApplicationVM.js +1 -1
  21. package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +1 -1
  22. package/dist/esm/models/BatchUpdateExclusionRequest.js +1 -1
  23. package/dist/esm/models/BenchmarkRun.d.ts +6 -6
  24. package/dist/esm/models/BenchmarkRun.js +5 -7
  25. package/dist/esm/models/CapabilityStatus.d.ts +1 -1
  26. package/dist/esm/models/CapabilityStatus.js +1 -1
  27. package/dist/esm/models/CapabilityStatusCapabilities.d.ts +1 -1
  28. package/dist/esm/models/CapabilityStatusCapabilities.js +1 -1
  29. package/dist/esm/models/ClusterFeatures.d.ts +1 -1
  30. package/dist/esm/models/ClusterFeatures.js +1 -1
  31. package/dist/esm/models/ClusterUtilization.d.ts +1 -1
  32. package/dist/esm/models/ClusterUtilization.js +1 -1
  33. package/dist/esm/models/CollectorStartRequest.d.ts +46 -0
  34. package/dist/esm/models/CollectorStartRequest.js +49 -0
  35. package/dist/esm/models/CollectorStatus.d.ts +1 -2
  36. package/dist/esm/models/CollectorStatus.js +1 -2
  37. package/dist/esm/models/CreateGroupRequest.d.ts +4 -4
  38. package/dist/esm/models/CreateGroupRequest.js +1 -1
  39. package/dist/esm/models/CredentialStatus.d.ts +1 -1
  40. package/dist/esm/models/CredentialStatus.js +1 -1
  41. package/dist/esm/models/Datastore.d.ts +1 -1
  42. package/dist/esm/models/Datastore.js +1 -1
  43. package/dist/esm/models/DatastoreDetail.d.ts +17 -7
  44. package/dist/esm/models/DatastoreDetail.js +10 -1
  45. package/dist/esm/models/DatastorePair.d.ts +42 -0
  46. package/dist/esm/models/{DatastorePairRequest.js → DatastorePair.js} +9 -9
  47. package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +5 -5
  48. package/dist/esm/models/DeleteLabelGloballyResponse.js +5 -5
  49. package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
  50. package/dist/esm/models/DiskSizeTierSummary.js +1 -1
  51. package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
  52. package/dist/esm/models/DiskTypeSummary.js +1 -1
  53. package/dist/esm/models/EstimateRange.d.ts +8 -8
  54. package/dist/esm/models/EstimateRange.js +4 -10
  55. package/dist/esm/models/ExportInventory400Response.d.ts +30 -0
  56. package/dist/esm/models/ExportInventory400Response.js +41 -0
  57. package/dist/esm/models/ExportInventory500Response.d.ts +30 -0
  58. package/dist/esm/models/ExportInventory500Response.js +41 -0
  59. package/dist/esm/models/ForecastStats.d.ts +11 -11
  60. package/dist/esm/models/ForecastStats.js +17 -33
  61. package/dist/esm/models/ForecasterDatastoresRequest.d.ts +31 -0
  62. package/dist/esm/models/ForecasterDatastoresRequest.js +42 -0
  63. package/dist/esm/models/ForecasterPairStatus.d.ts +78 -0
  64. package/dist/esm/models/{ForecastPairStatus.js → ForecasterPairStatus.js} +22 -22
  65. package/dist/esm/models/ForecasterStartRequest.d.ts +48 -0
  66. package/dist/esm/models/{StartForecasterRequest.js → ForecasterStartRequest.js} +15 -12
  67. package/dist/esm/models/ForecasterStatus.d.ts +7 -7
  68. package/dist/esm/models/ForecasterStatus.js +6 -8
  69. package/dist/esm/models/GetInventory200Response.d.ts +23 -0
  70. package/dist/esm/models/GetInventory200Response.js +51 -0
  71. package/dist/esm/models/Group.d.ts +4 -4
  72. package/dist/esm/models/Group.js +1 -1
  73. package/dist/esm/models/GroupListResponse.d.ts +4 -4
  74. package/dist/esm/models/GroupListResponse.js +1 -1
  75. package/dist/esm/models/GroupResponse.d.ts +6 -6
  76. package/dist/esm/models/GroupResponse.js +4 -4
  77. package/dist/esm/models/GuestNetwork.d.ts +6 -6
  78. package/dist/esm/models/GuestNetwork.js +1 -1
  79. package/dist/esm/models/Histogram.d.ts +1 -1
  80. package/dist/esm/models/Histogram.js +1 -1
  81. package/dist/esm/models/Host.d.ts +1 -1
  82. package/dist/esm/models/Host.js +1 -1
  83. package/dist/esm/models/Infra.d.ts +1 -1
  84. package/dist/esm/models/Infra.js +1 -1
  85. package/dist/esm/models/InspectorStatus.d.ts +1 -1
  86. package/dist/esm/models/InspectorStatus.js +1 -1
  87. package/dist/esm/models/Inventory.d.ts +21 -3
  88. package/dist/esm/models/Inventory.js +16 -5
  89. package/dist/esm/models/InventoryData.d.ts +1 -1
  90. package/dist/esm/models/InventoryData.js +1 -1
  91. package/dist/esm/models/IssuesBreakdown.d.ts +1 -1
  92. package/dist/esm/models/IssuesBreakdown.js +1 -1
  93. package/dist/esm/models/MigrationIssue.d.ts +1 -1
  94. package/dist/esm/models/MigrationIssue.js +1 -1
  95. package/dist/esm/models/Network.d.ts +1 -1
  96. package/dist/esm/models/Network.js +1 -1
  97. package/dist/esm/models/OperationCapability.d.ts +1 -1
  98. package/dist/esm/models/OperationCapability.js +1 -1
  99. package/dist/esm/models/OsInfo.d.ts +1 -1
  100. package/dist/esm/models/OsInfo.js +1 -1
  101. package/dist/esm/models/PairCapability.d.ts +13 -3
  102. package/dist/esm/models/PairCapability.js +10 -1
  103. package/dist/esm/models/PairCapabilityRequest.d.ts +8 -3
  104. package/dist/esm/models/PairCapabilityRequest.js +7 -4
  105. package/dist/esm/models/Process.d.ts +1 -1
  106. package/dist/esm/models/Process.js +1 -1
  107. package/dist/esm/models/PutForecasterCredentials403Response.d.ts +34 -0
  108. package/dist/esm/models/PutForecasterCredentials403Response.js +43 -0
  109. package/dist/esm/models/RightsizingClusterListResponse.d.ts +35 -0
  110. package/dist/esm/models/RightsizingClusterListResponse.js +48 -0
  111. package/dist/esm/models/RightsizingClusterResponse.d.ts +2 -2
  112. package/dist/esm/models/RightsizingClusterResponse.js +1 -1
  113. package/dist/esm/models/RightsizingClusterUtilization.d.ts +15 -13
  114. package/dist/esm/models/RightsizingClusterUtilization.js +1 -1
  115. package/dist/esm/models/RightsizingCollectRequest.d.ts +56 -0
  116. package/dist/esm/models/RightsizingCollectRequest.js +56 -0
  117. package/dist/esm/models/RightsizingMetricStats.d.ts +50 -0
  118. package/dist/esm/models/RightsizingMetricStats.js +63 -0
  119. package/dist/esm/models/RightsizingReport.d.ts +63 -0
  120. package/dist/esm/models/RightsizingReport.js +76 -0
  121. package/dist/esm/models/RightsizingReportListResponse.d.ts +35 -0
  122. package/dist/esm/models/RightsizingReportListResponse.js +48 -0
  123. package/dist/esm/models/RightsizingReportSummary.d.ts +58 -0
  124. package/dist/esm/models/RightsizingReportSummary.js +71 -0
  125. package/dist/esm/models/RightsizingVMReport.d.ts +45 -0
  126. package/dist/esm/models/RightsizingVMReport.js +57 -0
  127. package/dist/esm/models/StartInspectionRequest.d.ts +8 -3
  128. package/dist/esm/models/StartInspectionRequest.js +4 -1
  129. package/dist/esm/models/StopForecasterPair202Response.d.ts +1 -1
  130. package/dist/esm/models/StopForecasterPair202Response.js +1 -1
  131. package/dist/esm/models/StorageIoConfiguration.d.ts +1 -1
  132. package/dist/esm/models/StorageIoConfiguration.js +1 -1
  133. package/dist/esm/models/UpdateGroupRequest.d.ts +4 -4
  134. package/dist/esm/models/UpdateGroupRequest.js +1 -1
  135. package/dist/esm/models/UpdateInventory.d.ts +3 -3
  136. package/dist/esm/models/UpdateInventory.js +4 -4
  137. package/dist/esm/models/UpdateLabelVMsRequest.d.ts +1 -1
  138. package/dist/esm/models/UpdateLabelVMsRequest.js +1 -1
  139. package/dist/esm/models/VCenter.d.ts +1 -1
  140. package/dist/esm/models/VCenter.js +1 -1
  141. package/dist/esm/models/VMDevice.d.ts +30 -0
  142. package/dist/esm/models/{VirtualMachineDevice.js → VMDevice.js} +9 -9
  143. package/dist/esm/models/VMDisk.d.ts +54 -0
  144. package/dist/esm/models/{VirtualMachineDisk.js → VMDisk.js} +9 -9
  145. package/dist/esm/models/VMFilterOptionsResponse.d.ts +1 -1
  146. package/dist/esm/models/VMFilterOptionsResponse.js +1 -1
  147. package/dist/esm/models/VMIssue.d.ts +50 -0
  148. package/dist/esm/models/{VirtualMachineIssue.js → VMIssue.js} +16 -16
  149. package/dist/esm/models/VMLabelsResponse.d.ts +1 -1
  150. package/dist/esm/models/VMLabelsResponse.js +1 -1
  151. package/dist/esm/models/VMNIC.d.ts +46 -0
  152. package/dist/esm/models/{VirtualMachineNIC.js → VMNIC.js} +13 -9
  153. package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
  154. package/dist/esm/models/VMResourceBreakdown.js +1 -1
  155. package/dist/esm/models/VMs.d.ts +1 -1
  156. package/dist/esm/models/VMs.js +1 -1
  157. package/dist/esm/models/VcenterCredentials.d.ts +1 -1
  158. package/dist/esm/models/VcenterCredentials.js +1 -1
  159. package/dist/esm/models/VddkProperties.d.ts +2 -2
  160. package/dist/esm/models/VddkProperties.js +1 -1
  161. package/dist/esm/models/VersionInfo.d.ts +4 -4
  162. package/dist/esm/models/VersionInfo.js +1 -1
  163. package/dist/esm/models/VirtualMachine.d.ts +11 -15
  164. package/dist/esm/models/VirtualMachine.js +6 -10
  165. package/dist/esm/models/VirtualMachineDetail.d.ts +38 -47
  166. package/dist/esm/models/VirtualMachineDetail.js +16 -23
  167. package/dist/esm/models/VirtualMachineListResponse.d.ts +3 -3
  168. package/dist/esm/models/VirtualMachineListResponse.js +4 -4
  169. package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +1 -1
  170. package/dist/esm/models/VirtualMachineUpdateRequest.js +1 -1
  171. package/dist/esm/models/VmInspectionConcern.d.ts +38 -0
  172. package/dist/esm/models/{VirtualMachineInspectionConcern.js → VmInspectionConcern.js} +9 -9
  173. package/dist/esm/models/VmInspectionResults.d.ts +31 -0
  174. package/dist/esm/models/VmInspectionResults.js +42 -0
  175. package/dist/esm/models/VmInspectionStatus.d.ts +53 -0
  176. package/dist/esm/models/VmInspectionStatus.js +61 -0
  177. package/dist/esm/models/VmUtilizationDetails.d.ts +8 -8
  178. package/dist/esm/models/VmUtilizationDetails.js +1 -1
  179. package/dist/esm/models/index.d.ts +23 -20
  180. package/dist/esm/models/index.js +23 -20
  181. package/dist/esm/runtime.d.ts +1 -1
  182. package/dist/esm/runtime.js +2 -2
  183. package/dist/models/AgentModeRequest.d.ts +1 -1
  184. package/dist/models/AgentModeRequest.js +1 -1
  185. package/dist/models/AgentStatus.d.ts +13 -6
  186. package/dist/models/AgentStatus.js +14 -8
  187. package/dist/models/ApplicationListResponse.d.ts +1 -1
  188. package/dist/models/ApplicationListResponse.js +1 -1
  189. package/dist/models/ApplicationOverview.d.ts +4 -4
  190. package/dist/models/ApplicationOverview.js +1 -1
  191. package/dist/models/ApplicationVM.d.ts +3 -3
  192. package/dist/models/ApplicationVM.js +1 -1
  193. package/dist/models/BatchUpdateExclusionRequest.d.ts +1 -1
  194. package/dist/models/BatchUpdateExclusionRequest.js +1 -1
  195. package/dist/models/BenchmarkRun.d.ts +6 -6
  196. package/dist/models/BenchmarkRun.js +5 -7
  197. package/dist/models/CapabilityStatus.d.ts +1 -1
  198. package/dist/models/CapabilityStatus.js +1 -1
  199. package/dist/models/CapabilityStatusCapabilities.d.ts +1 -1
  200. package/dist/models/CapabilityStatusCapabilities.js +1 -1
  201. package/dist/models/ClusterFeatures.d.ts +1 -1
  202. package/dist/models/ClusterFeatures.js +1 -1
  203. package/dist/models/ClusterUtilization.d.ts +1 -1
  204. package/dist/models/ClusterUtilization.js +1 -1
  205. package/dist/models/CollectorStartRequest.d.ts +46 -0
  206. package/dist/models/CollectorStartRequest.js +56 -0
  207. package/dist/models/CollectorStatus.d.ts +1 -2
  208. package/dist/models/CollectorStatus.js +1 -2
  209. package/dist/models/CreateGroupRequest.d.ts +4 -4
  210. package/dist/models/CreateGroupRequest.js +1 -1
  211. package/dist/models/CredentialStatus.d.ts +1 -1
  212. package/dist/models/CredentialStatus.js +1 -1
  213. package/dist/models/Datastore.d.ts +1 -1
  214. package/dist/models/Datastore.js +1 -1
  215. package/dist/models/DatastoreDetail.d.ts +17 -7
  216. package/dist/models/DatastoreDetail.js +11 -1
  217. package/dist/models/DatastorePair.d.ts +42 -0
  218. package/dist/models/{DatastorePairRequest.js → DatastorePair.js} +14 -14
  219. package/dist/models/DeleteLabelGloballyResponse.d.ts +5 -5
  220. package/dist/models/DeleteLabelGloballyResponse.js +5 -5
  221. package/dist/models/DiskSizeTierSummary.d.ts +1 -1
  222. package/dist/models/DiskSizeTierSummary.js +1 -1
  223. package/dist/models/DiskTypeSummary.d.ts +1 -1
  224. package/dist/models/DiskTypeSummary.js +1 -1
  225. package/dist/models/EstimateRange.d.ts +8 -8
  226. package/dist/models/EstimateRange.js +4 -10
  227. package/dist/models/ExportInventory400Response.d.ts +30 -0
  228. package/dist/models/ExportInventory400Response.js +48 -0
  229. package/dist/models/ExportInventory500Response.d.ts +30 -0
  230. package/dist/models/ExportInventory500Response.js +48 -0
  231. package/dist/models/ForecastStats.d.ts +11 -11
  232. package/dist/models/ForecastStats.js +17 -33
  233. package/dist/models/ForecasterDatastoresRequest.d.ts +31 -0
  234. package/dist/models/ForecasterDatastoresRequest.js +49 -0
  235. package/dist/models/ForecasterPairStatus.d.ts +78 -0
  236. package/dist/models/{ForecastPairStatus.js → ForecasterPairStatus.js} +28 -28
  237. package/dist/models/ForecasterStartRequest.d.ts +48 -0
  238. package/dist/models/ForecasterStartRequest.js +60 -0
  239. package/dist/models/ForecasterStatus.d.ts +7 -7
  240. package/dist/models/ForecasterStatus.js +6 -8
  241. package/dist/models/GetInventory200Response.d.ts +23 -0
  242. package/dist/models/GetInventory200Response.js +57 -0
  243. package/dist/models/Group.d.ts +4 -4
  244. package/dist/models/Group.js +1 -1
  245. package/dist/models/GroupListResponse.d.ts +4 -4
  246. package/dist/models/GroupListResponse.js +1 -1
  247. package/dist/models/GroupResponse.d.ts +6 -6
  248. package/dist/models/GroupResponse.js +4 -4
  249. package/dist/models/GuestNetwork.d.ts +6 -6
  250. package/dist/models/GuestNetwork.js +1 -1
  251. package/dist/models/Histogram.d.ts +1 -1
  252. package/dist/models/Histogram.js +1 -1
  253. package/dist/models/Host.d.ts +1 -1
  254. package/dist/models/Host.js +1 -1
  255. package/dist/models/Infra.d.ts +1 -1
  256. package/dist/models/Infra.js +1 -1
  257. package/dist/models/InspectorStatus.d.ts +1 -1
  258. package/dist/models/InspectorStatus.js +1 -1
  259. package/dist/models/Inventory.d.ts +21 -3
  260. package/dist/models/Inventory.js +16 -5
  261. package/dist/models/InventoryData.d.ts +1 -1
  262. package/dist/models/InventoryData.js +1 -1
  263. package/dist/models/IssuesBreakdown.d.ts +1 -1
  264. package/dist/models/IssuesBreakdown.js +1 -1
  265. package/dist/models/MigrationIssue.d.ts +1 -1
  266. package/dist/models/MigrationIssue.js +1 -1
  267. package/dist/models/Network.d.ts +1 -1
  268. package/dist/models/Network.js +1 -1
  269. package/dist/models/OperationCapability.d.ts +1 -1
  270. package/dist/models/OperationCapability.js +1 -1
  271. package/dist/models/OsInfo.d.ts +1 -1
  272. package/dist/models/OsInfo.js +1 -1
  273. package/dist/models/PairCapability.d.ts +13 -3
  274. package/dist/models/PairCapability.js +11 -1
  275. package/dist/models/PairCapabilityRequest.d.ts +8 -3
  276. package/dist/models/PairCapabilityRequest.js +7 -4
  277. package/dist/models/Process.d.ts +1 -1
  278. package/dist/models/Process.js +1 -1
  279. package/dist/models/PutForecasterCredentials403Response.d.ts +34 -0
  280. package/dist/models/PutForecasterCredentials403Response.js +50 -0
  281. package/dist/models/RightsizingClusterListResponse.d.ts +35 -0
  282. package/dist/models/RightsizingClusterListResponse.js +55 -0
  283. package/dist/models/RightsizingClusterResponse.d.ts +2 -2
  284. package/dist/models/RightsizingClusterResponse.js +1 -1
  285. package/dist/models/RightsizingClusterUtilization.d.ts +15 -13
  286. package/dist/models/RightsizingClusterUtilization.js +1 -1
  287. package/dist/models/RightsizingCollectRequest.d.ts +56 -0
  288. package/dist/models/RightsizingCollectRequest.js +63 -0
  289. package/dist/models/RightsizingMetricStats.d.ts +50 -0
  290. package/dist/models/RightsizingMetricStats.js +70 -0
  291. package/dist/models/RightsizingReport.d.ts +63 -0
  292. package/dist/models/RightsizingReport.js +83 -0
  293. package/dist/models/RightsizingReportListResponse.d.ts +35 -0
  294. package/dist/models/RightsizingReportListResponse.js +55 -0
  295. package/dist/models/RightsizingReportSummary.d.ts +58 -0
  296. package/dist/models/RightsizingReportSummary.js +78 -0
  297. package/dist/models/RightsizingVMReport.d.ts +45 -0
  298. package/dist/models/RightsizingVMReport.js +64 -0
  299. package/dist/models/StartInspectionRequest.d.ts +8 -3
  300. package/dist/models/StartInspectionRequest.js +4 -1
  301. package/dist/models/StopForecasterPair202Response.d.ts +1 -1
  302. package/dist/models/StopForecasterPair202Response.js +1 -1
  303. package/dist/models/StorageIoConfiguration.d.ts +1 -1
  304. package/dist/models/StorageIoConfiguration.js +1 -1
  305. package/dist/models/UpdateGroupRequest.d.ts +4 -4
  306. package/dist/models/UpdateGroupRequest.js +1 -1
  307. package/dist/models/UpdateInventory.d.ts +3 -3
  308. package/dist/models/UpdateInventory.js +4 -4
  309. package/dist/models/UpdateLabelVMsRequest.d.ts +1 -1
  310. package/dist/models/UpdateLabelVMsRequest.js +1 -1
  311. package/dist/models/VCenter.d.ts +1 -1
  312. package/dist/models/VCenter.js +1 -1
  313. package/dist/models/VMDevice.d.ts +30 -0
  314. package/dist/models/VMDevice.js +48 -0
  315. package/dist/models/VMDisk.d.ts +54 -0
  316. package/dist/models/{VirtualMachineDisk.js → VMDisk.js} +14 -14
  317. package/dist/models/VMFilterOptionsResponse.d.ts +1 -1
  318. package/dist/models/VMFilterOptionsResponse.js +1 -1
  319. package/dist/models/VMIssue.d.ts +50 -0
  320. package/dist/models/VMIssue.js +70 -0
  321. package/dist/models/VMLabelsResponse.d.ts +1 -1
  322. package/dist/models/VMLabelsResponse.js +1 -1
  323. package/dist/models/VMNIC.d.ts +46 -0
  324. package/dist/models/{VirtualMachineNIC.js → VMNIC.js} +18 -14
  325. package/dist/models/VMResourceBreakdown.d.ts +1 -1
  326. package/dist/models/VMResourceBreakdown.js +1 -1
  327. package/dist/models/VMs.d.ts +1 -1
  328. package/dist/models/VMs.js +1 -1
  329. package/dist/models/VcenterCredentials.d.ts +1 -1
  330. package/dist/models/VcenterCredentials.js +1 -1
  331. package/dist/models/VddkProperties.d.ts +2 -2
  332. package/dist/models/VddkProperties.js +1 -1
  333. package/dist/models/VersionInfo.d.ts +4 -4
  334. package/dist/models/VersionInfo.js +1 -1
  335. package/dist/models/VirtualMachine.d.ts +11 -15
  336. package/dist/models/VirtualMachine.js +6 -10
  337. package/dist/models/VirtualMachineDetail.d.ts +38 -47
  338. package/dist/models/VirtualMachineDetail.js +16 -23
  339. package/dist/models/VirtualMachineListResponse.d.ts +3 -3
  340. package/dist/models/VirtualMachineListResponse.js +4 -4
  341. package/dist/models/VirtualMachineUpdateRequest.d.ts +1 -1
  342. package/dist/models/VirtualMachineUpdateRequest.js +1 -1
  343. package/dist/models/VmInspectionConcern.d.ts +38 -0
  344. package/dist/models/{VirtualMachineInspectionConcern.js → VmInspectionConcern.js} +14 -14
  345. package/dist/models/VmInspectionResults.d.ts +31 -0
  346. package/dist/models/VmInspectionResults.js +49 -0
  347. package/dist/models/VmInspectionStatus.d.ts +53 -0
  348. package/dist/models/VmInspectionStatus.js +69 -0
  349. package/dist/models/VmUtilizationDetails.d.ts +8 -8
  350. package/dist/models/VmUtilizationDetails.js +1 -1
  351. package/dist/models/index.d.ts +23 -20
  352. package/dist/models/index.js +23 -20
  353. package/dist/runtime.d.ts +1 -1
  354. package/dist/runtime.js +2 -2
  355. package/docs/AgentStatus.md +4 -4
  356. package/docs/BenchmarkRun.md +2 -2
  357. package/docs/{CollectionAggregate.md → CollectorStartRequest.md} +15 -16
  358. package/docs/{DatastorePairRequest.md → DatastorePair.md} +4 -4
  359. package/docs/DefaultApi.md +3361 -0
  360. package/docs/DeleteLabelGloballyResponse.md +2 -2
  361. package/docs/EstimateRange.md +1 -0
  362. package/docs/{Collection.md → ExportInventory400Response.md} +6 -10
  363. package/docs/{AgentStatusConsoleConnection.md → ExportInventory500Response.md} +4 -6
  364. package/docs/ForecastStats.md +16 -16
  365. package/docs/{CollectionListResponse.md → ForecasterDatastoresRequest.md} +6 -6
  366. package/docs/{ForecastPairStatus.md → ForecasterPairStatus.md} +8 -8
  367. package/docs/{StartForecasterRequest.md → ForecasterStartRequest.md} +7 -5
  368. package/docs/ForecasterStatus.md +1 -1
  369. package/docs/{Inventory1.md → GetInventory200Response.md} +8 -4
  370. package/docs/GroupResponse.md +1 -1
  371. package/docs/Inventory.md +10 -2
  372. package/docs/PairCapabilityRequest.md +3 -1
  373. package/docs/PutForecasterCredentials403Response.md +36 -0
  374. package/docs/RightsizingClusterListResponse.md +36 -0
  375. package/docs/RightsizingCollectRequest.md +46 -0
  376. package/docs/{CollectionComparisonDiff.md → RightsizingMetricStats.md} +16 -10
  377. package/docs/RightsizingReport.md +50 -0
  378. package/docs/{ComparisonDiffPage.md → RightsizingReportListResponse.md} +6 -10
  379. package/docs/RightsizingReportSummary.md +49 -0
  380. package/docs/RightsizingVMReport.md +40 -0
  381. package/docs/StartInspectionRequest.md +3 -0
  382. package/docs/UpdateInventory.md +1 -1
  383. package/docs/{VirtualMachineDevice.md → VMDevice.md} +4 -4
  384. package/docs/{VirtualMachineDisk.md → VMDisk.md} +4 -4
  385. package/docs/{VirtualMachineIssue.md → VMIssue.md} +4 -4
  386. package/docs/VMLabelsResponse.md +2 -2
  387. package/docs/{VirtualMachineNIC.md → VMNIC.md} +8 -4
  388. package/docs/VirtualMachine.md +3 -5
  389. package/docs/VirtualMachineDetail.md +5 -9
  390. package/docs/VirtualMachineListResponse.md +2 -2
  391. package/docs/VirtualMachineUpdateRequest.md +2 -2
  392. package/docs/{VirtualMachineInspectionConcern.md → VmInspectionConcern.md} +5 -4
  393. package/docs/{ComparisonDiffEntry.md → VmInspectionResults.md} +7 -10
  394. package/docs/{InspectionStatus.md → VmInspectionStatus.md} +8 -6
  395. package/package.json +1 -1
  396. package/src/apis/DefaultApi.ts +3986 -0
  397. package/src/apis/index.ts +1 -12
  398. package/src/models/AgentModeRequest.ts +1 -1
  399. package/src/models/AgentStatus.ts +19 -18
  400. package/src/models/ApplicationListResponse.ts +1 -1
  401. package/src/models/ApplicationOverview.ts +4 -4
  402. package/src/models/ApplicationVM.ts +3 -3
  403. package/src/models/BatchUpdateExclusionRequest.ts +1 -1
  404. package/src/models/BenchmarkRun.ts +10 -11
  405. package/src/models/CapabilityStatus.ts +1 -1
  406. package/src/models/CapabilityStatusCapabilities.ts +1 -1
  407. package/src/models/ClusterFeatures.ts +1 -1
  408. package/src/models/ClusterUtilization.ts +1 -1
  409. package/src/models/CollectorStartRequest.ts +87 -0
  410. package/src/models/CollectorStatus.ts +1 -2
  411. package/src/models/CreateGroupRequest.ts +4 -4
  412. package/src/models/CredentialStatus.ts +1 -1
  413. package/src/models/Datastore.ts +1 -1
  414. package/src/models/DatastoreDetail.ts +20 -7
  415. package/src/models/{DatastorePairRequest.ts → DatastorePair.ts} +15 -15
  416. package/src/models/DeleteLabelGloballyResponse.ts +8 -8
  417. package/src/models/DiskSizeTierSummary.ts +1 -1
  418. package/src/models/DiskTypeSummary.ts +1 -1
  419. package/src/models/EstimateRange.ts +11 -14
  420. package/src/models/ExportInventory400Response.ts +63 -0
  421. package/src/models/ExportInventory500Response.ts +63 -0
  422. package/src/models/ForecastStats.ts +27 -35
  423. package/src/models/ForecasterDatastoresRequest.ts +71 -0
  424. package/src/models/{ForecastPairStatus.ts → ForecasterPairStatus.ts} +37 -37
  425. package/src/models/ForecasterStartRequest.ts +103 -0
  426. package/src/models/ForecasterStatus.ts +14 -15
  427. package/src/models/GetInventory200Response.ts +76 -0
  428. package/src/models/Group.ts +4 -4
  429. package/src/models/GroupListResponse.ts +4 -4
  430. package/src/models/GroupResponse.ts +13 -13
  431. package/src/models/GuestNetwork.ts +6 -6
  432. package/src/models/Histogram.ts +1 -1
  433. package/src/models/Host.ts +1 -1
  434. package/src/models/Infra.ts +1 -1
  435. package/src/models/InspectorStatus.ts +1 -1
  436. package/src/models/Inventory.ts +36 -11
  437. package/src/models/InventoryData.ts +1 -1
  438. package/src/models/IssuesBreakdown.ts +1 -1
  439. package/src/models/MigrationIssue.ts +1 -1
  440. package/src/models/Network.ts +1 -1
  441. package/src/models/OperationCapability.ts +1 -1
  442. package/src/models/OsInfo.ts +1 -1
  443. package/src/models/PairCapability.ts +16 -3
  444. package/src/models/PairCapabilityRequest.ts +23 -10
  445. package/src/models/Process.ts +1 -1
  446. package/src/models/PutForecasterCredentials403Response.ts +69 -0
  447. package/src/models/RightsizingClusterListResponse.ts +79 -0
  448. package/src/models/RightsizingClusterResponse.ts +2 -2
  449. package/src/models/RightsizingClusterUtilization.ts +15 -13
  450. package/src/models/RightsizingCollectRequest.ts +109 -0
  451. package/src/models/RightsizingMetricStats.ts +99 -0
  452. package/src/models/RightsizingReport.ts +128 -0
  453. package/src/models/RightsizingReportListResponse.ts +79 -0
  454. package/src/models/RightsizingReportSummary.ts +113 -0
  455. package/src/models/RightsizingVMReport.ts +93 -0
  456. package/src/models/StartInspectionRequest.ts +17 -3
  457. package/src/models/StopForecasterPair202Response.ts +1 -1
  458. package/src/models/StorageIoConfiguration.ts +1 -1
  459. package/src/models/UpdateGroupRequest.ts +4 -4
  460. package/src/models/UpdateInventory.ts +10 -10
  461. package/src/models/UpdateLabelVMsRequest.ts +1 -1
  462. package/src/models/VCenter.ts +1 -1
  463. package/src/models/VMDevice.ts +63 -0
  464. package/src/models/{VirtualMachineDisk.ts → VMDisk.ts} +17 -17
  465. package/src/models/VMFilterOptionsResponse.ts +1 -1
  466. package/src/models/VMIssue.ts +93 -0
  467. package/src/models/VMLabelsResponse.ts +1 -1
  468. package/src/models/VMNIC.ts +87 -0
  469. package/src/models/VMResourceBreakdown.ts +1 -1
  470. package/src/models/VMs.ts +1 -1
  471. package/src/models/VcenterCredentials.ts +1 -1
  472. package/src/models/VddkProperties.ts +2 -2
  473. package/src/models/VersionInfo.ts +4 -4
  474. package/src/models/VirtualMachine.ts +20 -27
  475. package/src/models/VirtualMachineDetail.ts +73 -93
  476. package/src/models/VirtualMachineListResponse.ts +6 -6
  477. package/src/models/VirtualMachineUpdateRequest.ts +1 -1
  478. package/src/models/{VirtualMachineInspectionConcern.ts → VmInspectionConcern.ts} +12 -12
  479. package/src/models/VmInspectionResults.ts +71 -0
  480. package/src/models/VmInspectionStatus.ts +97 -0
  481. package/src/models/VmUtilizationDetails.ts +8 -8
  482. package/src/models/index.ts +23 -20
  483. package/src/runtime.ts +2 -2
  484. package/dist/apis/AgentApi.d.ts +0 -95
  485. package/dist/apis/AgentApi.js +0 -109
  486. package/dist/apis/ApplicationsApi.d.ts +0 -64
  487. package/dist/apis/ApplicationsApi.js +0 -72
  488. package/dist/apis/CollectionsApi.d.ts +0 -231
  489. package/dist/apis/CollectionsApi.js +0 -226
  490. package/dist/apis/CollectorApi.d.ts +0 -154
  491. package/dist/apis/CollectorApi.js +0 -196
  492. package/dist/apis/CredentialsApi.d.ts +0 -168
  493. package/dist/apis/CredentialsApi.js +0 -187
  494. package/dist/apis/ForecasterApi.d.ts +0 -375
  495. package/dist/apis/ForecasterApi.js +0 -397
  496. package/dist/apis/GroupsApi.d.ts +0 -374
  497. package/dist/apis/GroupsApi.js +0 -351
  498. package/dist/apis/InspectorApi.d.ts +0 -202
  499. package/dist/apis/InspectorApi.js +0 -240
  500. package/dist/apis/InventoriesApi.d.ts +0 -94
  501. package/dist/apis/InventoriesApi.js +0 -107
  502. package/dist/apis/RightsizingApi.d.ts +0 -109
  503. package/dist/apis/RightsizingApi.js +0 -116
  504. package/dist/apis/VersionApi.d.ts +0 -56
  505. package/dist/apis/VersionApi.js +0 -68
  506. package/dist/apis/VirtualMachinesApi.d.ts +0 -578
  507. package/dist/apis/VirtualMachinesApi.js +0 -576
  508. package/dist/esm/apis/AgentApi.d.ts +0 -95
  509. package/dist/esm/apis/AgentApi.js +0 -105
  510. package/dist/esm/apis/ApplicationsApi.d.ts +0 -64
  511. package/dist/esm/apis/ApplicationsApi.js +0 -68
  512. package/dist/esm/apis/CollectionsApi.d.ts +0 -231
  513. package/dist/esm/apis/CollectionsApi.js +0 -222
  514. package/dist/esm/apis/CollectorApi.d.ts +0 -154
  515. package/dist/esm/apis/CollectorApi.js +0 -192
  516. package/dist/esm/apis/CredentialsApi.d.ts +0 -168
  517. package/dist/esm/apis/CredentialsApi.js +0 -183
  518. package/dist/esm/apis/ForecasterApi.d.ts +0 -375
  519. package/dist/esm/apis/ForecasterApi.js +0 -393
  520. package/dist/esm/apis/GroupsApi.d.ts +0 -374
  521. package/dist/esm/apis/GroupsApi.js +0 -347
  522. package/dist/esm/apis/InspectorApi.d.ts +0 -202
  523. package/dist/esm/apis/InspectorApi.js +0 -236
  524. package/dist/esm/apis/InventoriesApi.d.ts +0 -94
  525. package/dist/esm/apis/InventoriesApi.js +0 -103
  526. package/dist/esm/apis/RightsizingApi.d.ts +0 -109
  527. package/dist/esm/apis/RightsizingApi.js +0 -112
  528. package/dist/esm/apis/VersionApi.d.ts +0 -56
  529. package/dist/esm/apis/VersionApi.js +0 -64
  530. package/dist/esm/apis/VirtualMachinesApi.d.ts +0 -578
  531. package/dist/esm/apis/VirtualMachinesApi.js +0 -572
  532. package/dist/esm/models/AgentStatusConsoleConnection.d.ts +0 -42
  533. package/dist/esm/models/AgentStatusConsoleConnection.js +0 -52
  534. package/dist/esm/models/Collection.d.ts +0 -38
  535. package/dist/esm/models/Collection.js +0 -51
  536. package/dist/esm/models/CollectionAggregate.d.ts +0 -50
  537. package/dist/esm/models/CollectionAggregate.js +0 -63
  538. package/dist/esm/models/CollectionComparisonDiff.d.ts +0 -48
  539. package/dist/esm/models/CollectionComparisonDiff.js +0 -60
  540. package/dist/esm/models/CollectionComparisonSummary.d.ts +0 -36
  541. package/dist/esm/models/CollectionComparisonSummary.js +0 -49
  542. package/dist/esm/models/CollectionComparisonSummaryDiff.d.ts +0 -43
  543. package/dist/esm/models/CollectionComparisonSummaryDiff.js +0 -56
  544. package/dist/esm/models/CollectionListResponse.d.ts +0 -31
  545. package/dist/esm/models/CollectionListResponse.js +0 -44
  546. package/dist/esm/models/ComparisonDiffEntry.d.ts +0 -38
  547. package/dist/esm/models/ComparisonDiffEntry.js +0 -47
  548. package/dist/esm/models/ComparisonDiffPage.d.ts +0 -42
  549. package/dist/esm/models/ComparisonDiffPage.js +0 -55
  550. package/dist/esm/models/DatastorePairRequest.d.ts +0 -42
  551. package/dist/esm/models/ForecastPairStatus.d.ts +0 -78
  552. package/dist/esm/models/InspectionStatus.d.ts +0 -49
  553. package/dist/esm/models/InspectionStatus.js +0 -57
  554. package/dist/esm/models/Inventory1.d.ts +0 -49
  555. package/dist/esm/models/Inventory1.js +0 -55
  556. package/dist/esm/models/StartForecasterRequest.d.ts +0 -43
  557. package/dist/esm/models/VirtualMachineDevice.d.ts +0 -30
  558. package/dist/esm/models/VirtualMachineDisk.d.ts +0 -54
  559. package/dist/esm/models/VirtualMachineInspectionConcern.d.ts +0 -38
  560. package/dist/esm/models/VirtualMachineInspectionResults.d.ts +0 -31
  561. package/dist/esm/models/VirtualMachineInspectionResults.js +0 -42
  562. package/dist/esm/models/VirtualMachineIssue.d.ts +0 -50
  563. package/dist/esm/models/VirtualMachineNIC.d.ts +0 -38
  564. package/dist/models/AgentStatusConsoleConnection.d.ts +0 -42
  565. package/dist/models/AgentStatusConsoleConnection.js +0 -60
  566. package/dist/models/Collection.d.ts +0 -38
  567. package/dist/models/Collection.js +0 -58
  568. package/dist/models/CollectionAggregate.d.ts +0 -50
  569. package/dist/models/CollectionAggregate.js +0 -70
  570. package/dist/models/CollectionComparisonDiff.d.ts +0 -48
  571. package/dist/models/CollectionComparisonDiff.js +0 -68
  572. package/dist/models/CollectionComparisonSummary.d.ts +0 -36
  573. package/dist/models/CollectionComparisonSummary.js +0 -56
  574. package/dist/models/CollectionComparisonSummaryDiff.d.ts +0 -43
  575. package/dist/models/CollectionComparisonSummaryDiff.js +0 -63
  576. package/dist/models/CollectionListResponse.d.ts +0 -31
  577. package/dist/models/CollectionListResponse.js +0 -51
  578. package/dist/models/ComparisonDiffEntry.d.ts +0 -38
  579. package/dist/models/ComparisonDiffEntry.js +0 -54
  580. package/dist/models/ComparisonDiffPage.d.ts +0 -42
  581. package/dist/models/ComparisonDiffPage.js +0 -62
  582. package/dist/models/DatastorePairRequest.d.ts +0 -42
  583. package/dist/models/ForecastPairStatus.d.ts +0 -78
  584. package/dist/models/InspectionStatus.d.ts +0 -49
  585. package/dist/models/InspectionStatus.js +0 -65
  586. package/dist/models/Inventory1.d.ts +0 -49
  587. package/dist/models/Inventory1.js +0 -62
  588. package/dist/models/StartForecasterRequest.d.ts +0 -43
  589. package/dist/models/StartForecasterRequest.js +0 -57
  590. package/dist/models/VirtualMachineDevice.d.ts +0 -30
  591. package/dist/models/VirtualMachineDevice.js +0 -48
  592. package/dist/models/VirtualMachineDisk.d.ts +0 -54
  593. package/dist/models/VirtualMachineInspectionConcern.d.ts +0 -38
  594. package/dist/models/VirtualMachineInspectionResults.d.ts +0 -31
  595. package/dist/models/VirtualMachineInspectionResults.js +0 -49
  596. package/dist/models/VirtualMachineIssue.d.ts +0 -50
  597. package/dist/models/VirtualMachineIssue.js +0 -70
  598. package/dist/models/VirtualMachineNIC.d.ts +0 -38
  599. package/docs/AgentApi.md +0 -136
  600. package/docs/ApplicationsApi.md +0 -76
  601. package/docs/CollectionComparisonSummary.md +0 -36
  602. package/docs/CollectionComparisonSummaryDiff.md +0 -41
  603. package/docs/CollectionsApi.md +0 -294
  604. package/docs/CollectorApi.md +0 -257
  605. package/docs/CredentialsApi.md +0 -264
  606. package/docs/ForecasterApi.md +0 -612
  607. package/docs/GroupsApi.md +0 -527
  608. package/docs/InspectorApi.md +0 -336
  609. package/docs/InventoriesApi.md +0 -136
  610. package/docs/RightsizingApi.md +0 -148
  611. package/docs/VersionApi.md +0 -66
  612. package/docs/VirtualMachineInspectionResults.md +0 -35
  613. package/docs/VirtualMachinesApi.md +0 -914
  614. package/src/apis/AgentApi.ts +0 -176
  615. package/src/apis/ApplicationsApi.ts +0 -111
  616. package/src/apis/CollectionsApi.ts +0 -429
  617. package/src/apis/CollectorApi.ts +0 -306
  618. package/src/apis/CredentialsApi.ts +0 -308
  619. package/src/apis/ForecasterApi.ts +0 -721
  620. package/src/apis/GroupsApi.ts +0 -718
  621. package/src/apis/InspectorApi.ts +0 -405
  622. package/src/apis/InventoriesApi.ts +0 -169
  623. package/src/apis/RightsizingApi.ts +0 -205
  624. package/src/apis/VersionApi.ts +0 -94
  625. package/src/apis/VirtualMachinesApi.ts +0 -1142
  626. package/src/models/AgentStatusConsoleConnection.ts +0 -81
  627. package/src/models/Collection.ts +0 -78
  628. package/src/models/CollectionAggregate.ts +0 -99
  629. package/src/models/CollectionComparisonDiff.ts +0 -98
  630. package/src/models/CollectionComparisonSummary.ts +0 -86
  631. package/src/models/CollectionComparisonSummaryDiff.ts +0 -93
  632. package/src/models/CollectionListResponse.ts +0 -72
  633. package/src/models/ComparisonDiffEntry.ts +0 -76
  634. package/src/models/ComparisonDiffPage.ts +0 -85
  635. package/src/models/InspectionStatus.ts +0 -90
  636. package/src/models/Inventory1.ts +0 -97
  637. package/src/models/StartForecasterRequest.ts +0 -90
  638. package/src/models/VirtualMachineDevice.ts +0 -63
  639. package/src/models/VirtualMachineInspectionResults.ts +0 -71
  640. package/src/models/VirtualMachineIssue.ts +0 -93
  641. package/src/models/VirtualMachineNIC.ts +0 -75
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,13 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime.js';
16
- import type { ForecastPairStatus } from './ForecastPairStatus.js';
16
+ import type { ForecasterPairStatus } from './ForecasterPairStatus.js';
17
17
  import {
18
- ForecastPairStatusFromJSON,
19
- ForecastPairStatusFromJSONTyped,
20
- ForecastPairStatusToJSON,
21
- ForecastPairStatusToJSONTyped,
22
- } from './ForecastPairStatus.js';
18
+ ForecasterPairStatusFromJSON,
19
+ ForecasterPairStatusFromJSONTyped,
20
+ ForecasterPairStatusToJSON,
21
+ ForecasterPairStatusToJSONTyped,
22
+ } from './ForecasterPairStatus.js';
23
23
 
24
24
  /**
25
25
  *
@@ -28,13 +28,13 @@ import {
28
28
  */
29
29
  export interface ForecasterStatus {
30
30
  /**
31
- *
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
32
  */
33
33
  state: ForecasterStatusStateEnum;
34
34
  /**
35
- *
35
+ * Per-pair progress (present only when running)
36
36
  */
37
- pairs: Array<ForecastPairStatus>;
37
+ pairs?: Array<ForecasterPairStatus>;
38
38
  }
39
39
 
40
40
 
@@ -42,8 +42,8 @@ export interface ForecasterStatus {
42
42
  * @export
43
43
  */
44
44
  export const ForecasterStatusStateEnum = {
45
- Ready: 'ready',
46
- Running: 'running'
45
+ ForecasterStatusStateReady: 'ready',
46
+ ForecasterStatusStateRunning: 'running'
47
47
  } as const;
48
48
  export type ForecasterStatusStateEnum = typeof ForecasterStatusStateEnum[keyof typeof ForecasterStatusStateEnum];
49
49
 
@@ -53,7 +53,6 @@ export type ForecasterStatusStateEnum = typeof ForecasterStatusStateEnum[keyof t
53
53
  */
54
54
  export function instanceOfForecasterStatus(value: object): value is ForecasterStatus {
55
55
  if (!('state' in value) || value['state'] === undefined) return false;
56
- if (!('pairs' in value) || value['pairs'] === undefined) return false;
57
56
  return true;
58
57
  }
59
58
 
@@ -68,7 +67,7 @@ export function ForecasterStatusFromJSONTyped(json: any, ignoreDiscriminator: bo
68
67
  return {
69
68
 
70
69
  'state': json['state'],
71
- 'pairs': ((json['pairs'] as Array<any>).map(ForecastPairStatusFromJSON)),
70
+ 'pairs': json['pairs'] == null ? undefined : ((json['pairs'] as Array<any>).map(ForecasterPairStatusFromJSON)),
72
71
  };
73
72
  }
74
73
 
@@ -84,7 +83,7 @@ export function ForecasterStatusToJSONTyped(value?: ForecasterStatus | null, ign
84
83
  return {
85
84
 
86
85
  'state': value['state'],
87
- 'pairs': ((value['pairs'] as Array<any>).map(ForecastPairStatusToJSON)),
86
+ 'pairs': value['pairs'] == null ? undefined : ((value['pairs'] as Array<any>).map(ForecasterPairStatusToJSON)),
88
87
  };
89
88
  }
90
89
 
@@ -0,0 +1,76 @@
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 type { Inventory } from './Inventory.js';
16
+ import {
17
+ instanceOfInventory,
18
+ InventoryFromJSON,
19
+ InventoryFromJSONTyped,
20
+ InventoryToJSON,
21
+ } from './Inventory.js';
22
+ import type { UpdateInventory } from './UpdateInventory.js';
23
+ import {
24
+ instanceOfUpdateInventory,
25
+ UpdateInventoryFromJSON,
26
+ UpdateInventoryFromJSONTyped,
27
+ UpdateInventoryToJSON,
28
+ } from './UpdateInventory.js';
29
+
30
+ /**
31
+ * @type GetInventory200Response
32
+ *
33
+ * @export
34
+ */
35
+ export type GetInventory200Response = Inventory | UpdateInventory;
36
+
37
+ export function GetInventory200ResponseFromJSON(json: any): GetInventory200Response {
38
+ return GetInventory200ResponseFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function GetInventory200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetInventory200Response {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ if (typeof json !== 'object') {
46
+ return json;
47
+ }
48
+ if (instanceOfInventory(json)) {
49
+ return InventoryFromJSONTyped(json, true);
50
+ }
51
+ if (instanceOfUpdateInventory(json)) {
52
+ return UpdateInventoryFromJSONTyped(json, true);
53
+ }
54
+ return {} as any;
55
+ }
56
+
57
+ export function GetInventory200ResponseToJSON(json: any): any {
58
+ return GetInventory200ResponseToJSONTyped(json, false);
59
+ }
60
+
61
+ export function GetInventory200ResponseToJSONTyped(value?: GetInventory200Response | null, ignoreDiscriminator: boolean = false): any {
62
+ if (value == null) {
63
+ return value;
64
+ }
65
+ if (typeof value !== 'object') {
66
+ return value;
67
+ }
68
+ if (instanceOfInventory(value)) {
69
+ return InventoryToJSON(value as Inventory);
70
+ }
71
+ if (instanceOfUpdateInventory(value)) {
72
+ return UpdateInventoryToJSON(value as UpdateInventory);
73
+ }
74
+ return {};
75
+ }
76
+
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,7 +20,7 @@ import { mapValues } from '../runtime.js';
20
20
  */
21
21
  export interface Group {
22
22
  /**
23
- * Unique group identifier
23
+ * Unique group identifier (UUID)
24
24
  */
25
25
  id: string;
26
26
  /**
@@ -36,11 +36,11 @@ export interface Group {
36
36
  */
37
37
  filter: string;
38
38
  /**
39
- *
39
+ * Timestamp when the group was created
40
40
  */
41
41
  createdAt?: Date;
42
42
  /**
43
- *
43
+ * Timestamp when the group was last updated
44
44
  */
45
45
  updatedAt?: Date;
46
46
  }
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,15 +32,15 @@ export interface GroupListResponse {
32
32
  */
33
33
  groups: Array<Group>;
34
34
  /**
35
- *
35
+ * Total number of groups
36
36
  */
37
37
  total: number;
38
38
  /**
39
- *
39
+ * Current page number
40
40
  */
41
41
  page: number;
42
42
  /**
43
- *
43
+ * Total number of pages
44
44
  */
45
45
  pageCount: number;
46
46
  }
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,13 +20,13 @@ import {
20
20
  GroupToJSON,
21
21
  GroupToJSONTyped,
22
22
  } from './Group.js';
23
- import type { Inventory1 } from './Inventory1.js';
23
+ import type { Inventory } from './Inventory.js';
24
24
  import {
25
- Inventory1FromJSON,
26
- Inventory1FromJSONTyped,
27
- Inventory1ToJSON,
28
- Inventory1ToJSONTyped,
29
- } from './Inventory1.js';
25
+ InventoryFromJSON,
26
+ InventoryFromJSONTyped,
27
+ InventoryToJSON,
28
+ InventoryToJSONTyped,
29
+ } from './Inventory.js';
30
30
  import type { VirtualMachine } from './VirtualMachine.js';
31
31
  import {
32
32
  VirtualMachineFromJSON,
@@ -48,21 +48,21 @@ export interface GroupResponse {
48
48
  /**
49
49
  *
50
50
  */
51
- inventory?: Inventory1;
51
+ inventory?: Inventory;
52
52
  /**
53
53
  *
54
54
  */
55
55
  vms: Array<VirtualMachine>;
56
56
  /**
57
- *
57
+ * Total number of VMs matching the group's filter
58
58
  */
59
59
  total: number;
60
60
  /**
61
- *
61
+ * Current page number
62
62
  */
63
63
  page: number;
64
64
  /**
65
- *
65
+ * Total number of pages
66
66
  */
67
67
  pageCount: number;
68
68
  }
@@ -90,7 +90,7 @@ export function GroupResponseFromJSONTyped(json: any, ignoreDiscriminator: boole
90
90
  return {
91
91
 
92
92
  'group': GroupFromJSON(json['group']),
93
- 'inventory': json['inventory'] == null ? undefined : Inventory1FromJSON(json['inventory']),
93
+ 'inventory': json['inventory'] == null ? undefined : InventoryFromJSON(json['inventory']),
94
94
  'vms': ((json['vms'] as Array<any>).map(VirtualMachineFromJSON)),
95
95
  'total': json['total'],
96
96
  'page': json['page'],
@@ -110,7 +110,7 @@ export function GroupResponseToJSONTyped(value?: GroupResponse | null, ignoreDis
110
110
  return {
111
111
 
112
112
  'group': GroupToJSON(value['group']),
113
- 'inventory': Inventory1ToJSON(value['inventory']),
113
+ 'inventory': InventoryToJSON(value['inventory']),
114
114
  'vms': ((value['vms'] as Array<any>).map(VirtualMachineToJSON)),
115
115
  'total': value['total'],
116
116
  'page': value['page'],
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,23 +20,23 @@ import { mapValues } from '../runtime.js';
20
20
  */
21
21
  export interface GuestNetwork {
22
22
  /**
23
- * Network device name inside the guest
23
+ * Name of the network device inside the guest OS
24
24
  */
25
25
  device?: string;
26
26
  /**
27
- * MAC address as seen by the guest
27
+ * MAC address as seen by the guest OS
28
28
  */
29
29
  mac?: string;
30
30
  /**
31
- * IP address
31
+ * IP address assigned to this interface
32
32
  */
33
33
  ip?: string;
34
34
  /**
35
- * Network prefix length (CIDR)
35
+ * Network prefix length (subnet mask in CIDR notation)
36
36
  */
37
37
  prefixLength?: number;
38
38
  /**
39
- * Network name from the guest
39
+ * Network name as reported by the guest OS
40
40
  */
41
41
  network?: string;
42
42
  }
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,13 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime.js';
16
- import type { UpdateInventory } from './UpdateInventory.js';
16
+ import type { InventoryData } from './InventoryData.js';
17
17
  import {
18
- UpdateInventoryFromJSON,
19
- UpdateInventoryFromJSONTyped,
20
- UpdateInventoryToJSON,
21
- UpdateInventoryToJSONTyped,
22
- } from './UpdateInventory.js';
18
+ InventoryDataFromJSON,
19
+ InventoryDataFromJSONTyped,
20
+ InventoryDataToJSON,
21
+ InventoryDataToJSONTyped,
22
+ } from './InventoryData.js';
23
23
 
24
24
  /**
25
25
  *
@@ -27,17 +27,34 @@ import {
27
27
  * @interface Inventory
28
28
  */
29
29
  export interface Inventory {
30
+ /**
31
+ * ID of the vCenter
32
+ */
33
+ vcenter_id: string;
34
+ /**
35
+ * Version of the vCenter api. For example "8.0.3.0"
36
+ */
37
+ vcenter_version?: string;
38
+ /**
39
+ * Map of cluster names to their inventory data
40
+ */
41
+ clusters: { [key: string]: InventoryData; };
30
42
  /**
31
43
  *
32
44
  */
33
- inventory: UpdateInventory;
45
+ vcenter?: InventoryData;
46
+ /**
47
+ * Timestamp when the inventory data was created or collected
48
+ */
49
+ created_at?: Date;
34
50
  }
35
51
 
36
52
  /**
37
53
  * Check if a given object implements the Inventory interface.
38
54
  */
39
55
  export function instanceOfInventory(value: object): value is Inventory {
40
- if (!('inventory' in value) || value['inventory'] === undefined) return false;
56
+ if (!('vcenter_id' in value) || value['vcenter_id'] === undefined) return false;
57
+ if (!('clusters' in value) || value['clusters'] === undefined) return false;
41
58
  return true;
42
59
  }
43
60
 
@@ -51,7 +68,11 @@ export function InventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean):
51
68
  }
52
69
  return {
53
70
 
54
- 'inventory': UpdateInventoryFromJSON(json['inventory']),
71
+ 'vcenter_id': json['vcenter_id'],
72
+ 'vcenter_version': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
73
+ 'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
74
+ 'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
75
+ 'created_at': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
55
76
  };
56
77
  }
57
78
 
@@ -66,7 +87,11 @@ export function InventoryToJSONTyped(value?: Inventory | null, ignoreDiscriminat
66
87
 
67
88
  return {
68
89
 
69
- 'inventory': UpdateInventoryToJSON(value['inventory']),
90
+ 'vcenter_id': value['vcenter_id'],
91
+ 'vcenter_version': value['vcenter_version'],
92
+ 'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
93
+ 'vcenter': InventoryDataToJSON(value['vcenter']),
94
+ 'created_at': value['created_at'] == null ? value['created_at'] : value['created_at'].toISOString(),
70
95
  };
71
96
  }
72
97
 
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,11 +32,24 @@ export interface PairCapability {
32
32
  */
33
33
  targetDatastore: string;
34
34
  /**
35
- *
35
+ * Feasible offload methods for this source-target pair
36
36
  */
37
- capabilities: Array<string>;
37
+ capabilities: Array<PairCapabilityCapabilitiesEnum>;
38
38
  }
39
39
 
40
+
41
+ /**
42
+ * @export
43
+ */
44
+ export const PairCapabilityCapabilitiesEnum = {
45
+ CopyOffload: 'copy-offload',
46
+ Xcopy: 'xcopy',
47
+ Rdm: 'rdm',
48
+ Vvol: 'vvol'
49
+ } as const;
50
+ export type PairCapabilityCapabilitiesEnum = typeof PairCapabilityCapabilitiesEnum[keyof typeof PairCapabilityCapabilitiesEnum];
51
+
52
+
40
53
  /**
41
54
  * Check if a given object implements the PairCapability interface.
42
55
  */
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,13 +13,20 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime.js';
16
- import type { DatastorePairRequest } from './DatastorePairRequest.js';
16
+ import type { VcenterCredentials } from './VcenterCredentials.js';
17
17
  import {
18
- DatastorePairRequestFromJSON,
19
- DatastorePairRequestFromJSONTyped,
20
- DatastorePairRequestToJSON,
21
- DatastorePairRequestToJSONTyped,
22
- } from './DatastorePairRequest.js';
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';
23
30
 
24
31
  /**
25
32
  *
@@ -30,7 +37,11 @@ export interface PairCapabilityRequest {
30
37
  /**
31
38
  *
32
39
  */
33
- pairs: Array<DatastorePairRequest>;
40
+ credentials?: VcenterCredentials;
41
+ /**
42
+ *
43
+ */
44
+ pairs: Array<DatastorePair>;
34
45
  }
35
46
 
36
47
  /**
@@ -51,7 +62,8 @@ export function PairCapabilityRequestFromJSONTyped(json: any, ignoreDiscriminato
51
62
  }
52
63
  return {
53
64
 
54
- 'pairs': ((json['pairs'] as Array<any>).map(DatastorePairRequestFromJSON)),
65
+ 'credentials': json['credentials'] == null ? undefined : VcenterCredentialsFromJSON(json['credentials']),
66
+ 'pairs': ((json['pairs'] as Array<any>).map(DatastorePairFromJSON)),
55
67
  };
56
68
  }
57
69
 
@@ -66,7 +78,8 @@ export function PairCapabilityRequestToJSONTyped(value?: PairCapabilityRequest |
66
78
 
67
79
  return {
68
80
 
69
- 'pairs': ((value['pairs'] as Array<any>).map(DatastorePairRequestToJSON)),
81
+ 'credentials': VcenterCredentialsToJSON(value['credentials']),
82
+ 'pairs': ((value['pairs'] as Array<any>).map(DatastorePairToJSON)),
70
83
  };
71
84
  }
72
85
 
@@ -4,7 +4,7 @@
4
4
  * Assisted Migration Agent API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v2
7
+ * The version of the OpenAPI document: v1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).