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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (334) hide show
  1. package/.openapi-generator/FILES +74 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +80 -17
  4. package/dist/apis/DefaultApi.d.ts +1108 -95
  5. package/dist/apis/DefaultApi.js +1374 -263
  6. package/dist/esm/apis/DefaultApi.d.ts +1108 -95
  7. package/dist/esm/apis/DefaultApi.js +1350 -239
  8. package/dist/esm/models/AgentStatus.d.ts +1 -1
  9. package/dist/esm/models/AgentStatus.js +3 -3
  10. package/dist/esm/models/ApplicationListResponse.d.ts +33 -0
  11. package/dist/esm/models/ApplicationListResponse.js +44 -0
  12. package/dist/esm/models/ApplicationOverview.d.ts +51 -0
  13. package/dist/esm/models/ApplicationOverview.js +56 -0
  14. package/dist/esm/models/ApplicationVM.d.ts +38 -0
  15. package/dist/esm/models/ApplicationVM.js +47 -0
  16. package/dist/esm/models/BenchmarkRun.d.ts +104 -0
  17. package/dist/esm/models/BenchmarkRun.js +85 -0
  18. package/dist/esm/models/ClusterFeatures.d.ts +54 -0
  19. package/dist/esm/models/ClusterFeatures.js +54 -0
  20. package/dist/esm/models/ClusterUtilization.d.ts +68 -0
  21. package/dist/esm/models/ClusterUtilization.js +67 -0
  22. package/dist/esm/models/CollectorStartRequest.d.ts +12 -0
  23. package/dist/esm/models/CollectorStartRequest.js +4 -0
  24. package/dist/esm/models/CreateGroupRequest.d.ts +0 -6
  25. package/dist/esm/models/CreateGroupRequest.js +0 -2
  26. package/dist/esm/models/CredentialStatus.d.ts +38 -0
  27. package/dist/esm/models/CredentialStatus.js +47 -0
  28. package/dist/esm/models/DatastoreDetail.d.ts +90 -0
  29. package/dist/esm/models/DatastoreDetail.js +74 -0
  30. package/dist/esm/models/DatastorePair.d.ts +50 -0
  31. package/dist/esm/models/DatastorePair.js +53 -0
  32. package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +38 -0
  33. package/dist/esm/models/DeleteLabelGloballyResponse.js +47 -0
  34. package/dist/esm/models/EstimateRange.d.ts +44 -0
  35. package/dist/esm/models/EstimateRange.js +45 -0
  36. package/dist/esm/models/ForecastStats.d.ts +87 -0
  37. package/dist/esm/models/ForecastStats.js +64 -0
  38. package/dist/esm/models/ForecasterDatastoresRequest.d.ts +33 -0
  39. package/dist/esm/models/ForecasterDatastoresRequest.js +42 -0
  40. package/dist/esm/models/ForecasterPairStatus.d.ts +98 -0
  41. package/dist/esm/models/ForecasterPairStatus.js +82 -0
  42. package/dist/esm/models/ForecasterStartRequest.d.ts +58 -0
  43. package/dist/esm/models/ForecasterStartRequest.js +53 -0
  44. package/dist/esm/models/ForecasterStatus.d.ts +47 -0
  45. package/dist/esm/models/ForecasterStatus.js +53 -0
  46. package/dist/esm/models/Group.d.ts +0 -6
  47. package/dist/esm/models/Group.js +0 -2
  48. package/dist/esm/models/GroupResponse.d.ts +7 -0
  49. package/dist/esm/models/GroupResponse.js +3 -0
  50. package/dist/esm/models/InspectorStatus.d.ts +6 -10
  51. package/dist/esm/models/InspectorStatus.js +5 -9
  52. package/dist/esm/models/Inventory.d.ts +7 -1
  53. package/dist/esm/models/Inventory.js +5 -3
  54. package/dist/esm/models/InventoryData.d.ts +14 -0
  55. package/dist/esm/models/InventoryData.js +6 -0
  56. package/dist/esm/models/PairCapability.d.ts +60 -0
  57. package/dist/esm/models/PairCapability.js +64 -0
  58. package/dist/esm/models/PairCapabilityRequest.d.ts +40 -0
  59. package/dist/esm/models/PairCapabilityRequest.js +47 -0
  60. package/dist/esm/models/PutForecasterCredentials403Response.d.ts +38 -0
  61. package/dist/esm/models/PutForecasterCredentials403Response.js +43 -0
  62. package/dist/esm/models/RightsizingClusterListResponse.d.ts +39 -0
  63. package/dist/esm/models/RightsizingClusterListResponse.js +48 -0
  64. package/dist/esm/models/RightsizingClusterResponse.d.ts +39 -0
  65. package/dist/esm/models/RightsizingClusterResponse.js +48 -0
  66. package/dist/esm/models/RightsizingClusterUtilization.d.ts +112 -0
  67. package/dist/esm/models/RightsizingClusterUtilization.js +95 -0
  68. package/dist/esm/models/RightsizingCollectRequest.d.ts +70 -0
  69. package/dist/esm/models/RightsizingCollectRequest.js +56 -0
  70. package/dist/esm/models/RightsizingMetricStats.d.ts +62 -0
  71. package/dist/esm/models/RightsizingMetricStats.js +63 -0
  72. package/dist/esm/models/RightsizingReport.d.ts +81 -0
  73. package/dist/esm/models/RightsizingReport.js +76 -0
  74. package/dist/esm/models/RightsizingReportListResponse.d.ts +39 -0
  75. package/dist/esm/models/RightsizingReportListResponse.js +48 -0
  76. package/dist/esm/models/RightsizingReportSummary.d.ts +74 -0
  77. package/dist/esm/models/RightsizingReportSummary.js +71 -0
  78. package/dist/esm/models/RightsizingVMReport.d.ts +53 -0
  79. package/dist/esm/models/RightsizingVMReport.js +57 -0
  80. package/dist/esm/models/StartInspectionRequest.d.ts +39 -0
  81. package/dist/esm/models/{InspectorStartRequest.js → StartInspectionRequest.js} +12 -12
  82. package/dist/esm/models/StopForecasterPair202Response.d.ts +45 -0
  83. package/dist/esm/models/StopForecasterPair202Response.js +49 -0
  84. package/dist/esm/models/UpdateGroupRequest.d.ts +0 -6
  85. package/dist/esm/models/UpdateGroupRequest.js +0 -2
  86. package/dist/esm/models/UpdateLabelVMsRequest.d.ts +38 -0
  87. package/dist/esm/models/UpdateLabelVMsRequest.js +43 -0
  88. package/dist/esm/models/VMFilterOptionsResponse.d.ts +56 -0
  89. package/dist/esm/models/VMFilterOptionsResponse.js +59 -0
  90. package/dist/esm/models/VMLabelsResponse.d.ts +38 -0
  91. package/dist/esm/models/VMLabelsResponse.js +47 -0
  92. package/dist/esm/models/VMNIC.d.ts +12 -0
  93. package/dist/esm/models/VMNIC.js +4 -0
  94. package/dist/esm/models/VMs.d.ts +18 -0
  95. package/dist/esm/models/VMs.js +4 -0
  96. package/dist/esm/models/VcenterCredentials.d.ts +12 -0
  97. package/dist/esm/models/VcenterCredentials.js +4 -0
  98. package/dist/esm/models/VirtualMachine.d.ts +57 -3
  99. package/dist/esm/models/VirtualMachine.js +22 -6
  100. package/dist/esm/models/VirtualMachineDetail.d.ts +22 -3
  101. package/dist/esm/models/VirtualMachineDetail.js +10 -3
  102. package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +38 -0
  103. package/dist/esm/models/VirtualMachineUpdateRequest.js +43 -0
  104. package/dist/esm/models/VmInspectionConcern.d.ts +44 -0
  105. package/dist/esm/models/VmInspectionConcern.js +51 -0
  106. package/dist/esm/models/VmInspectionResults.d.ts +33 -0
  107. package/dist/esm/models/VmInspectionResults.js +42 -0
  108. package/dist/esm/models/VmInspectionStatus.d.ts +0 -1
  109. package/dist/esm/models/VmInspectionStatus.js +1 -2
  110. package/dist/esm/models/VmUtilizationDetails.d.ts +116 -0
  111. package/dist/esm/models/VmUtilizationDetails.js +99 -0
  112. package/dist/esm/models/index.d.ts +37 -1
  113. package/dist/esm/models/index.js +37 -1
  114. package/dist/esm/runtime.js +3 -2
  115. package/dist/models/AgentStatus.d.ts +1 -1
  116. package/dist/models/AgentStatus.js +3 -3
  117. package/dist/models/ApplicationListResponse.d.ts +33 -0
  118. package/dist/models/ApplicationListResponse.js +51 -0
  119. package/dist/models/ApplicationOverview.d.ts +51 -0
  120. package/dist/models/ApplicationOverview.js +63 -0
  121. package/dist/models/ApplicationVM.d.ts +38 -0
  122. package/dist/models/ApplicationVM.js +54 -0
  123. package/dist/models/BenchmarkRun.d.ts +104 -0
  124. package/dist/models/BenchmarkRun.js +92 -0
  125. package/dist/models/ClusterFeatures.d.ts +54 -0
  126. package/dist/models/ClusterFeatures.js +62 -0
  127. package/dist/models/ClusterUtilization.d.ts +68 -0
  128. package/dist/models/ClusterUtilization.js +74 -0
  129. package/dist/models/CollectorStartRequest.d.ts +12 -0
  130. package/dist/models/CollectorStartRequest.js +4 -0
  131. package/dist/models/CreateGroupRequest.d.ts +0 -6
  132. package/dist/models/CreateGroupRequest.js +0 -2
  133. package/dist/models/CredentialStatus.d.ts +38 -0
  134. package/dist/models/CredentialStatus.js +54 -0
  135. package/dist/models/DatastoreDetail.d.ts +90 -0
  136. package/dist/models/DatastoreDetail.js +82 -0
  137. package/dist/models/DatastorePair.d.ts +50 -0
  138. package/dist/models/DatastorePair.js +60 -0
  139. package/dist/models/DeleteLabelGloballyResponse.d.ts +38 -0
  140. package/dist/models/DeleteLabelGloballyResponse.js +54 -0
  141. package/dist/models/EstimateRange.d.ts +44 -0
  142. package/dist/models/EstimateRange.js +52 -0
  143. package/dist/models/ForecastStats.d.ts +87 -0
  144. package/dist/models/ForecastStats.js +71 -0
  145. package/dist/models/ForecasterDatastoresRequest.d.ts +33 -0
  146. package/dist/models/ForecasterDatastoresRequest.js +49 -0
  147. package/dist/models/ForecasterPairStatus.d.ts +98 -0
  148. package/dist/models/ForecasterPairStatus.js +90 -0
  149. package/dist/models/ForecasterStartRequest.d.ts +58 -0
  150. package/dist/models/ForecasterStartRequest.js +60 -0
  151. package/dist/models/ForecasterStatus.d.ts +47 -0
  152. package/dist/models/ForecasterStatus.js +61 -0
  153. package/dist/models/Group.d.ts +0 -6
  154. package/dist/models/Group.js +0 -2
  155. package/dist/models/GroupResponse.d.ts +7 -0
  156. package/dist/models/GroupResponse.js +3 -0
  157. package/dist/models/InspectorStatus.d.ts +6 -10
  158. package/dist/models/InspectorStatus.js +5 -9
  159. package/dist/models/Inventory.d.ts +7 -1
  160. package/dist/models/Inventory.js +5 -3
  161. package/dist/models/InventoryData.d.ts +14 -0
  162. package/dist/models/InventoryData.js +6 -0
  163. package/dist/models/PairCapability.d.ts +60 -0
  164. package/dist/models/PairCapability.js +72 -0
  165. package/dist/models/PairCapabilityRequest.d.ts +40 -0
  166. package/dist/models/PairCapabilityRequest.js +54 -0
  167. package/dist/models/PutForecasterCredentials403Response.d.ts +38 -0
  168. package/dist/models/PutForecasterCredentials403Response.js +50 -0
  169. package/dist/models/RightsizingClusterListResponse.d.ts +39 -0
  170. package/dist/models/RightsizingClusterListResponse.js +55 -0
  171. package/dist/models/RightsizingClusterResponse.d.ts +39 -0
  172. package/dist/models/RightsizingClusterResponse.js +55 -0
  173. package/dist/models/RightsizingClusterUtilization.d.ts +112 -0
  174. package/dist/models/RightsizingClusterUtilization.js +102 -0
  175. package/dist/models/RightsizingCollectRequest.d.ts +70 -0
  176. package/dist/models/RightsizingCollectRequest.js +63 -0
  177. package/dist/models/RightsizingMetricStats.d.ts +62 -0
  178. package/dist/models/RightsizingMetricStats.js +70 -0
  179. package/dist/models/RightsizingReport.d.ts +81 -0
  180. package/dist/models/RightsizingReport.js +83 -0
  181. package/dist/models/RightsizingReportListResponse.d.ts +39 -0
  182. package/dist/models/RightsizingReportListResponse.js +55 -0
  183. package/dist/models/RightsizingReportSummary.d.ts +74 -0
  184. package/dist/models/RightsizingReportSummary.js +78 -0
  185. package/dist/models/RightsizingVMReport.d.ts +53 -0
  186. package/dist/models/RightsizingVMReport.js +64 -0
  187. package/dist/models/StartInspectionRequest.d.ts +39 -0
  188. package/dist/models/StartInspectionRequest.js +55 -0
  189. package/dist/models/StopForecasterPair202Response.d.ts +45 -0
  190. package/dist/models/StopForecasterPair202Response.js +57 -0
  191. package/dist/models/UpdateGroupRequest.d.ts +0 -6
  192. package/dist/models/UpdateGroupRequest.js +0 -2
  193. package/dist/models/UpdateLabelVMsRequest.d.ts +38 -0
  194. package/dist/models/UpdateLabelVMsRequest.js +50 -0
  195. package/dist/models/VMFilterOptionsResponse.d.ts +56 -0
  196. package/dist/models/VMFilterOptionsResponse.js +66 -0
  197. package/dist/models/VMLabelsResponse.d.ts +38 -0
  198. package/dist/models/VMLabelsResponse.js +54 -0
  199. package/dist/models/VMNIC.d.ts +12 -0
  200. package/dist/models/VMNIC.js +4 -0
  201. package/dist/models/VMs.d.ts +18 -0
  202. package/dist/models/VMs.js +4 -0
  203. package/dist/models/VcenterCredentials.d.ts +12 -0
  204. package/dist/models/VcenterCredentials.js +4 -0
  205. package/dist/models/VirtualMachine.d.ts +57 -3
  206. package/dist/models/VirtualMachine.js +22 -6
  207. package/dist/models/VirtualMachineDetail.d.ts +22 -3
  208. package/dist/models/VirtualMachineDetail.js +10 -3
  209. package/dist/models/VirtualMachineUpdateRequest.d.ts +38 -0
  210. package/dist/models/VirtualMachineUpdateRequest.js +50 -0
  211. package/dist/models/VmInspectionConcern.d.ts +44 -0
  212. package/dist/models/VmInspectionConcern.js +58 -0
  213. package/dist/models/VmInspectionResults.d.ts +33 -0
  214. package/dist/models/VmInspectionResults.js +49 -0
  215. package/dist/models/VmInspectionStatus.d.ts +0 -1
  216. package/dist/models/VmInspectionStatus.js +1 -2
  217. package/dist/models/VmUtilizationDetails.d.ts +116 -0
  218. package/dist/models/VmUtilizationDetails.js +106 -0
  219. package/dist/models/index.d.ts +37 -1
  220. package/dist/models/index.js +37 -1
  221. package/dist/runtime.js +3 -2
  222. package/docs/AgentStatus.md +2 -2
  223. package/docs/ApplicationListResponse.md +34 -0
  224. package/docs/ApplicationOverview.md +40 -0
  225. package/docs/ApplicationVM.md +36 -0
  226. package/docs/BenchmarkRun.md +58 -0
  227. package/docs/ClusterFeatures.md +38 -0
  228. package/docs/ClusterUtilization.md +46 -0
  229. package/docs/CollectorStartRequest.md +4 -0
  230. package/docs/CreateGroupRequest.md +0 -2
  231. package/docs/CredentialStatus.md +36 -0
  232. package/docs/DatastoreDetail.md +50 -0
  233. package/docs/DatastorePair.md +40 -0
  234. package/docs/DefaultApi.md +2126 -310
  235. package/docs/DeleteLabelGloballyResponse.md +36 -0
  236. package/docs/EstimateRange.md +39 -0
  237. package/docs/ForecastStats.md +52 -0
  238. package/docs/ForecasterDatastoresRequest.md +34 -0
  239. package/docs/ForecasterPairStatus.md +52 -0
  240. package/docs/ForecasterStartRequest.md +42 -0
  241. package/docs/ForecasterStatus.md +36 -0
  242. package/docs/GetInventory200Response.md +4 -2
  243. package/docs/Group.md +0 -2
  244. package/docs/GroupResponse.md +2 -0
  245. package/docs/InspectorStatus.md +2 -2
  246. package/docs/Inventory.md +4 -2
  247. package/docs/InventoryData.md +4 -0
  248. package/docs/PairCapability.md +40 -0
  249. package/docs/PairCapabilityRequest.md +36 -0
  250. package/docs/PutForecasterCredentials403Response.md +36 -0
  251. package/docs/RightsizingClusterListResponse.md +36 -0
  252. package/docs/RightsizingClusterResponse.md +36 -0
  253. package/docs/RightsizingClusterUtilization.md +60 -0
  254. package/docs/RightsizingCollectRequest.md +46 -0
  255. package/docs/RightsizingMetricStats.md +44 -0
  256. package/docs/RightsizingReport.md +50 -0
  257. package/docs/RightsizingReportListResponse.md +36 -0
  258. package/docs/RightsizingReportSummary.md +49 -0
  259. package/docs/RightsizingVMReport.md +40 -0
  260. package/docs/{InspectorStartRequest.md → StartInspectionRequest.md} +7 -6
  261. package/docs/StopForecasterPair202Response.md +36 -0
  262. package/docs/UpdateGroupRequest.md +0 -2
  263. package/docs/UpdateLabelVMsRequest.md +36 -0
  264. package/docs/VMFilterOptionsResponse.md +42 -0
  265. package/docs/VMLabelsResponse.md +36 -0
  266. package/docs/VMNIC.md +4 -0
  267. package/docs/VMs.md +4 -0
  268. package/docs/VcenterCredentials.md +4 -0
  269. package/docs/VirtualMachine.md +22 -4
  270. package/docs/VirtualMachineDetail.md +7 -1
  271. package/docs/VirtualMachineUpdateRequest.md +36 -0
  272. package/docs/VmInspectionConcern.md +39 -0
  273. package/docs/VmInspectionResults.md +35 -0
  274. package/docs/VmUtilizationDetails.md +62 -0
  275. package/package.json +1 -1
  276. package/src/apis/DefaultApi.ts +2580 -491
  277. package/src/models/AgentStatus.ts +4 -4
  278. package/src/models/ApplicationListResponse.ts +74 -0
  279. package/src/models/ApplicationOverview.ts +101 -0
  280. package/src/models/ApplicationVM.ts +75 -0
  281. package/src/models/BenchmarkRun.ts +171 -0
  282. package/src/models/ClusterFeatures.ts +94 -0
  283. package/src/models/ClusterUtilization.ts +120 -0
  284. package/src/models/CollectorStartRequest.ts +16 -0
  285. package/src/models/CreateGroupRequest.ts +0 -8
  286. package/src/models/CredentialStatus.ts +75 -0
  287. package/src/models/DatastoreDetail.ts +146 -0
  288. package/src/models/DatastorePair.ts +92 -0
  289. package/src/models/DeleteLabelGloballyResponse.ts +75 -0
  290. package/src/models/EstimateRange.ts +81 -0
  291. package/src/models/ForecastStats.ts +147 -0
  292. package/src/models/ForecasterDatastoresRequest.ts +73 -0
  293. package/src/models/ForecasterPairStatus.ts +158 -0
  294. package/src/models/ForecasterStartRequest.ts +113 -0
  295. package/src/models/ForecasterStatus.ts +93 -0
  296. package/src/models/Group.ts +0 -8
  297. package/src/models/GroupResponse.ts +15 -0
  298. package/src/models/InspectorStatus.ts +15 -12
  299. package/src/models/Inventory.ts +12 -4
  300. package/src/models/InventoryData.ts +30 -0
  301. package/src/models/PairCapability.ts +106 -0
  302. package/src/models/PairCapabilityRequest.ts +89 -0
  303. package/src/models/PutForecasterCredentials403Response.ts +73 -0
  304. package/src/models/RightsizingClusterListResponse.ts +83 -0
  305. package/src/models/RightsizingClusterResponse.ts +83 -0
  306. package/src/models/RightsizingClusterUtilization.ts +185 -0
  307. package/src/models/RightsizingCollectRequest.ts +123 -0
  308. package/src/models/RightsizingMetricStats.ts +111 -0
  309. package/src/models/RightsizingReport.ts +146 -0
  310. package/src/models/RightsizingReportListResponse.ts +83 -0
  311. package/src/models/RightsizingReportSummary.ts +129 -0
  312. package/src/models/RightsizingVMReport.ts +101 -0
  313. package/src/models/StartInspectionRequest.ts +83 -0
  314. package/src/models/StopForecasterPair202Response.ts +83 -0
  315. package/src/models/UpdateGroupRequest.ts +0 -8
  316. package/src/models/UpdateLabelVMsRequest.ts +73 -0
  317. package/src/models/VMFilterOptionsResponse.ts +102 -0
  318. package/src/models/VMLabelsResponse.ts +75 -0
  319. package/src/models/VMNIC.ts +16 -0
  320. package/src/models/VMs.ts +18 -0
  321. package/src/models/VcenterCredentials.ts +16 -0
  322. package/src/models/VirtualMachine.ts +79 -8
  323. package/src/models/VirtualMachineDetail.ts +42 -11
  324. package/src/models/VirtualMachineUpdateRequest.ts +73 -0
  325. package/src/models/VmInspectionConcern.ts +84 -0
  326. package/src/models/VmInspectionResults.ts +73 -0
  327. package/src/models/VmInspectionStatus.ts +1 -2
  328. package/src/models/VmUtilizationDetails.ts +192 -0
  329. package/src/models/index.ts +37 -1
  330. package/src/runtime.ts +2 -3
  331. package/dist/esm/models/InspectorStartRequest.d.ts +0 -39
  332. package/dist/models/InspectorStartRequest.d.ts +0 -39
  333. package/dist/models/InspectorStartRequest.js +0 -55
  334. package/src/models/InspectorStartRequest.ts +0 -83
@@ -0,0 +1,46 @@
1
+
2
+ # RightsizingCollectRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `credentials` | [VcenterCredentials](VcenterCredentials.md)
10
+ `lookback_hours` | number
11
+ `interval_id` | number
12
+ `name_filter` | string
13
+ `cluster_id` | string
14
+ `batch_size` | number
15
+ `discover_vms` | boolean
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { RightsizingCollectRequest } from '@openshift-migration-advisor/agent-sdk'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "credentials": null,
25
+ "lookback_hours": null,
26
+ "interval_id": null,
27
+ "name_filter": null,
28
+ "cluster_id": null,
29
+ "batch_size": null,
30
+ "discover_vms": null,
31
+ } satisfies RightsizingCollectRequest
32
+
33
+ console.log(example)
34
+
35
+ // Convert the instance to a JSON string
36
+ const exampleJSON: string = JSON.stringify(example)
37
+ console.log(exampleJSON)
38
+
39
+ // Parse the JSON string back to an object
40
+ const exampleParsed = JSON.parse(exampleJSON) as RightsizingCollectRequest
41
+ console.log(exampleParsed)
42
+ ```
43
+
44
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
+
46
+
@@ -0,0 +1,44 @@
1
+
2
+ # RightsizingMetricStats
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `sample_count` | number
10
+ `average` | number
11
+ `p95` | number
12
+ `p99` | number
13
+ `max` | number
14
+ `latest` | number
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { RightsizingMetricStats } from '@openshift-migration-advisor/agent-sdk'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "sample_count": null,
24
+ "average": null,
25
+ "p95": null,
26
+ "p99": null,
27
+ "max": null,
28
+ "latest": null,
29
+ } satisfies RightsizingMetricStats
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as RightsizingMetricStats
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
@@ -0,0 +1,50 @@
1
+
2
+ # RightsizingReport
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `vcenter` | string
11
+ `cluster_id` | string
12
+ `window_start` | Date
13
+ `window_end` | Date
14
+ `interval_id` | number
15
+ `expected_sample_count` | number
16
+ `vms` | [Array<RightsizingVMReport>](RightsizingVMReport.md)
17
+ `created_at` | Date
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { RightsizingReport } from '@openshift-migration-advisor/agent-sdk'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "id": null,
27
+ "vcenter": null,
28
+ "cluster_id": null,
29
+ "window_start": null,
30
+ "window_end": null,
31
+ "interval_id": null,
32
+ "expected_sample_count": null,
33
+ "vms": null,
34
+ "created_at": null,
35
+ } satisfies RightsizingReport
36
+
37
+ console.log(example)
38
+
39
+ // Convert the instance to a JSON string
40
+ const exampleJSON: string = JSON.stringify(example)
41
+ console.log(exampleJSON)
42
+
43
+ // Parse the JSON string back to an object
44
+ const exampleParsed = JSON.parse(exampleJSON) as RightsizingReport
45
+ console.log(exampleParsed)
46
+ ```
47
+
48
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
49
+
50
+
@@ -0,0 +1,36 @@
1
+
2
+ # RightsizingReportListResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `reports` | [Array<RightsizingReportSummary>](RightsizingReportSummary.md)
10
+ `total` | number
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { RightsizingReportListResponse } from '@openshift-migration-advisor/agent-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "reports": null,
20
+ "total": null,
21
+ } satisfies RightsizingReportListResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as RightsizingReportListResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,49 @@
1
+
2
+ # RightsizingReportSummary
3
+
4
+ Rightsizing report metadata without VM metrics. Use GET /rightsizing/{id} to retrieve the full report including metrics.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `id` | string
11
+ `vcenter` | string
12
+ `cluster_id` | string
13
+ `window_start` | Date
14
+ `window_end` | Date
15
+ `interval_id` | number
16
+ `expected_sample_count` | number
17
+ `created_at` | Date
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { RightsizingReportSummary } from '@openshift-migration-advisor/agent-sdk'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "id": null,
27
+ "vcenter": null,
28
+ "cluster_id": null,
29
+ "window_start": null,
30
+ "window_end": null,
31
+ "interval_id": null,
32
+ "expected_sample_count": null,
33
+ "created_at": null,
34
+ } satisfies RightsizingReportSummary
35
+
36
+ console.log(example)
37
+
38
+ // Convert the instance to a JSON string
39
+ const exampleJSON: string = JSON.stringify(example)
40
+ console.log(exampleJSON)
41
+
42
+ // Parse the JSON string back to an object
43
+ const exampleParsed = JSON.parse(exampleJSON) as RightsizingReportSummary
44
+ console.log(exampleParsed)
45
+ ```
46
+
47
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
48
+
49
+
@@ -0,0 +1,40 @@
1
+
2
+ # RightsizingVMReport
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `name` | string
10
+ `moid` | string
11
+ `metrics` | [{ [key: string]: RightsizingMetricStats; }](RightsizingMetricStats.md)
12
+ `warnings` | Array<string>
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { RightsizingVMReport } from '@openshift-migration-advisor/agent-sdk'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "name": null,
22
+ "moid": null,
23
+ "metrics": null,
24
+ "warnings": null,
25
+ } satisfies RightsizingVMReport
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as RightsizingVMReport
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
@@ -1,24 +1,25 @@
1
1
 
2
- # InspectorStartRequest
2
+ # StartInspectionRequest
3
3
 
4
+ Start inspection request
4
5
 
5
6
  ## Properties
6
7
 
7
8
  Name | Type
8
9
  ------------ | -------------
9
- `vcenterCredentials` | [VcenterCredentials](VcenterCredentials.md)
10
10
  `vmIds` | Array<string>
11
+ `credentials` | [VcenterCredentials](VcenterCredentials.md)
11
12
 
12
13
  ## Example
13
14
 
14
15
  ```typescript
15
- import type { InspectorStartRequest } from '@openshift-migration-advisor/agent-sdk'
16
+ import type { StartInspectionRequest } from '@openshift-migration-advisor/agent-sdk'
16
17
 
17
18
  // TODO: Update the object below with actual values
18
19
  const example = {
19
- "vcenterCredentials": null,
20
20
  "vmIds": null,
21
- } satisfies InspectorStartRequest
21
+ "credentials": null,
22
+ } satisfies StartInspectionRequest
22
23
 
23
24
  console.log(example)
24
25
 
@@ -27,7 +28,7 @@ const exampleJSON: string = JSON.stringify(example)
27
28
  console.log(exampleJSON)
28
29
 
29
30
  // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as InspectorStartRequest
31
+ const exampleParsed = JSON.parse(exampleJSON) as StartInspectionRequest
31
32
  console.log(exampleParsed)
32
33
  ```
33
34
 
@@ -0,0 +1,36 @@
1
+
2
+ # StopForecasterPair202Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `pairName` | string
10
+ `state` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { StopForecasterPair202Response } from '@openshift-migration-advisor/agent-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "pairName": null,
20
+ "state": null,
21
+ } satisfies StopForecasterPair202Response
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as StopForecasterPair202Response
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -9,7 +9,6 @@ Name | Type
9
9
  `name` | string
10
10
  `description` | string
11
11
  `filter` | string
12
- `tags` | Array<string>
13
12
 
14
13
  ## Example
15
14
 
@@ -21,7 +20,6 @@ const example = {
21
20
  "name": null,
22
21
  "description": null,
23
22
  "filter": null,
24
- "tags": null,
25
23
  } satisfies UpdateGroupRequest
26
24
 
27
25
  console.log(example)
@@ -0,0 +1,36 @@
1
+
2
+ # UpdateLabelVMsRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `add` | Array<string>
10
+ `remove` | Array<string>
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { UpdateLabelVMsRequest } from '@openshift-migration-advisor/agent-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "add": null,
20
+ "remove": null,
21
+ } satisfies UpdateLabelVMsRequest
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateLabelVMsRequest
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,42 @@
1
+
2
+ # VMFilterOptionsResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `clusters` | Array<string>
10
+ `datacenters` | Array<string>
11
+ `concernLabels` | Array<string>
12
+ `concernCategories` | Array<string>
13
+ `applications` | Array<string>
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { VMFilterOptionsResponse } from '@openshift-migration-advisor/agent-sdk'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "clusters": null,
23
+ "datacenters": null,
24
+ "concernLabels": null,
25
+ "concernCategories": null,
26
+ "applications": null,
27
+ } satisfies VMFilterOptionsResponse
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as VMFilterOptionsResponse
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,36 @@
1
+
2
+ # VMLabelsResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `labels` | Array<string>
10
+ `counts` | Array<number>
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { VMLabelsResponse } from '@openshift-migration-advisor/agent-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "labels": ["production","staging","critical"],
20
+ "counts": [5,3,2],
21
+ } satisfies VMLabelsResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as VMLabelsResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
package/docs/VMNIC.md CHANGED
@@ -9,6 +9,8 @@ Name | Type
9
9
  `mac` | string
10
10
  `network` | string
11
11
  `index` | number
12
+ `ipv4Address` | string
13
+ `ipv6Address` | string
12
14
 
13
15
  ## Example
14
16
 
@@ -20,6 +22,8 @@ const example = {
20
22
  "mac": null,
21
23
  "network": null,
22
24
  "index": null,
25
+ "ipv4Address": null,
26
+ "ipv6Address": null,
23
27
  } satisfies VMNIC
24
28
 
25
29
  console.log(example)
package/docs/VMs.md CHANGED
@@ -12,11 +12,13 @@ Name | Type
12
12
  `totalWithSharedDisks` | number
13
13
  `cpuCores` | [VMResourceBreakdown](VMResourceBreakdown.md)
14
14
  `diskSizeTier` | [{ [key: string]: DiskSizeTierSummary; }](DiskSizeTierSummary.md)
15
+ `diskComplexityTier` | [{ [key: string]: DiskSizeTierSummary; }](DiskSizeTierSummary.md)
15
16
  `diskTypes` | [{ [key: string]: DiskTypeSummary; }](DiskTypeSummary.md)
16
17
  `distributionByCpuTier` | { [key: string]: number; }
17
18
  `distributionByMemoryTier` | { [key: string]: number; }
18
19
  `distributionByNicCount` | { [key: string]: number; }
19
20
  `distributionByComplexity` | { [key: string]: number; }
21
+ `complexityDistribution` | [{ [key: string]: DiskSizeTierSummary; }](DiskSizeTierSummary.md)
20
22
  `ramGB` | [VMResourceBreakdown](VMResourceBreakdown.md)
21
23
  `diskGB` | [VMResourceBreakdown](VMResourceBreakdown.md)
22
24
  `diskCount` | [VMResourceBreakdown](VMResourceBreakdown.md)
@@ -40,11 +42,13 @@ const example = {
40
42
  "totalWithSharedDisks": null,
41
43
  "cpuCores": null,
42
44
  "diskSizeTier": null,
45
+ "diskComplexityTier": null,
43
46
  "diskTypes": null,
44
47
  "distributionByCpuTier": null,
45
48
  "distributionByMemoryTier": null,
46
49
  "distributionByNicCount": null,
47
50
  "distributionByComplexity": null,
51
+ "complexityDistribution": null,
48
52
  "ramGB": null,
49
53
  "diskGB": null,
50
54
  "diskCount": null,
@@ -9,6 +9,8 @@ Name | Type
9
9
  `url` | string
10
10
  `username` | string
11
11
  `password` | string
12
+ `cacert` | string
13
+ `skipTls` | boolean
12
14
 
13
15
  ## Example
14
16
 
@@ -20,6 +22,8 @@ const example = {
20
22
  "url": null,
21
23
  "username": null,
22
24
  "password": null,
25
+ "cacert": null,
26
+ "skipTls": null,
23
27
  } satisfies VcenterCredentials
24
28
 
25
29
  console.log(example)
@@ -16,8 +16,17 @@ Name | Type
16
16
  `issueCount` | number
17
17
  `migratable` | boolean
18
18
  `template` | boolean
19
- `inspection` | [VmInspectionStatus](VmInspectionStatus.md)
20
- `tags` | Array<string>
19
+ `migrationExcluded` | boolean
20
+ `inspectionStatus` | [VmInspectionStatus](VmInspectionStatus.md)
21
+ `inspectionConcernCount` | number
22
+ `groups` | Array<string>
23
+ `labels` | Array<string>
24
+ `utilization_cpu_p95` | number
25
+ `utilization_mem_p95` | number
26
+ `utilization_cpu_max` | number
27
+ `utilization_mem_max` | number
28
+ `utilization_disk` | number
29
+ `utilization_confidence` | number
21
30
 
22
31
  ## Example
23
32
 
@@ -36,8 +45,17 @@ const example = {
36
45
  "issueCount": null,
37
46
  "migratable": null,
38
47
  "template": null,
39
- "inspection": null,
40
- "tags": null,
48
+ "migrationExcluded": null,
49
+ "inspectionStatus": null,
50
+ "inspectionConcernCount": null,
51
+ "groups": null,
52
+ "labels": null,
53
+ "utilization_cpu_p95": null,
54
+ "utilization_mem_p95": null,
55
+ "utilization_cpu_max": null,
56
+ "utilization_mem_max": null,
57
+ "utilization_disk": null,
58
+ "utilization_confidence": null,
41
59
  } satisfies VirtualMachine
42
60
 
43
61
  console.log(example)
@@ -27,6 +27,8 @@ Name | Type
27
27
  `storageUsed` | number
28
28
  `template` | boolean
29
29
  `migratable` | boolean
30
+ `migrationExcluded` | boolean
31
+ `labels` | Array<string>
30
32
  `faultToleranceEnabled` | boolean
31
33
  `nestedHVEnabled` | boolean
32
34
  `toolsStatus` | string
@@ -36,7 +38,8 @@ Name | Type
36
38
  `devices` | [Array<VMDevice>](VMDevice.md)
37
39
  `guestNetworks` | [Array<GuestNetwork>](GuestNetwork.md)
38
40
  `issues` | [Array<VMIssue>](VMIssue.md)
39
- `inspection` | [VmInspectionStatus](VmInspectionStatus.md)
41
+ `inspection` | [VmInspectionResults](VmInspectionResults.md)
42
+ `utilization` | [VmUtilizationDetails](VmUtilizationDetails.md)
40
43
 
41
44
  ## Example
42
45
 
@@ -66,6 +69,8 @@ const example = {
66
69
  "storageUsed": null,
67
70
  "template": null,
68
71
  "migratable": null,
72
+ "migrationExcluded": null,
73
+ "labels": null,
69
74
  "faultToleranceEnabled": null,
70
75
  "nestedHVEnabled": null,
71
76
  "toolsStatus": null,
@@ -76,6 +81,7 @@ const example = {
76
81
  "guestNetworks": null,
77
82
  "issues": null,
78
83
  "inspection": null,
84
+ "utilization": null,
79
85
  } satisfies VirtualMachineDetail
80
86
 
81
87
  console.log(example)
@@ -0,0 +1,36 @@
1
+
2
+ # VirtualMachineUpdateRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `migrationExcluded` | boolean
10
+ `labels` | Array<string>
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { VirtualMachineUpdateRequest } from '@openshift-migration-advisor/agent-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "migrationExcluded": true,
20
+ "labels": ["production","critical"],
21
+ } satisfies VirtualMachineUpdateRequest
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as VirtualMachineUpdateRequest
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+