@openshift-migration-advisor/agent-sdk 0.8.0 → 0.12.0-1f1dc16fb9e5

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 (190) hide show
  1. package/.openapi-generator/FILES +46 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +52 -17
  4. package/dist/apis/DefaultApi.d.ts +632 -126
  5. package/dist/apis/DefaultApi.js +710 -160
  6. package/dist/esm/apis/DefaultApi.d.ts +632 -126
  7. package/dist/esm/apis/DefaultApi.js +724 -174
  8. package/dist/esm/models/BenchmarkRun.d.ts +104 -0
  9. package/dist/esm/models/BenchmarkRun.js +85 -0
  10. package/dist/esm/models/DatastoreDetail.d.ts +90 -0
  11. package/dist/esm/models/DatastoreDetail.js +74 -0
  12. package/dist/esm/models/DatastorePair.d.ts +50 -0
  13. package/dist/esm/models/DatastorePair.js +53 -0
  14. package/dist/esm/models/EstimateRange.d.ts +44 -0
  15. package/dist/esm/models/EstimateRange.js +45 -0
  16. package/dist/esm/models/ForecastStats.d.ts +87 -0
  17. package/dist/esm/models/ForecastStats.js +64 -0
  18. package/dist/esm/models/ForecasterDatastoresRequest.d.ts +33 -0
  19. package/dist/esm/models/ForecasterDatastoresRequest.js +42 -0
  20. package/dist/esm/models/ForecasterPairStatus.d.ts +98 -0
  21. package/dist/esm/models/ForecasterPairStatus.js +82 -0
  22. package/dist/esm/models/ForecasterStartRequest.d.ts +58 -0
  23. package/dist/esm/models/ForecasterStartRequest.js +53 -0
  24. package/dist/esm/models/ForecasterStatus.d.ts +47 -0
  25. package/dist/esm/models/ForecasterStatus.js +53 -0
  26. package/dist/esm/models/InspectorStatus.d.ts +20 -7
  27. package/dist/esm/models/InspectorStatus.js +12 -7
  28. package/dist/esm/models/PairCapability.d.ts +60 -0
  29. package/dist/esm/models/PairCapability.js +64 -0
  30. package/dist/esm/models/PairCapabilityRequest.d.ts +40 -0
  31. package/dist/esm/models/PairCapabilityRequest.js +47 -0
  32. package/dist/esm/models/PutForecasterCredentials403Response.d.ts +38 -0
  33. package/dist/esm/models/PutForecasterCredentials403Response.js +43 -0
  34. package/dist/esm/models/RightsizingCollectRequest.d.ts +70 -0
  35. package/dist/esm/models/RightsizingCollectRequest.js +56 -0
  36. package/dist/esm/models/RightsizingMetricStats.d.ts +62 -0
  37. package/dist/esm/models/RightsizingMetricStats.js +63 -0
  38. package/dist/esm/models/RightsizingReport.d.ts +81 -0
  39. package/dist/esm/models/RightsizingReport.js +76 -0
  40. package/dist/esm/models/RightsizingReportListResponse.d.ts +39 -0
  41. package/dist/esm/models/RightsizingReportListResponse.js +48 -0
  42. package/dist/esm/models/RightsizingReportSummary.d.ts +74 -0
  43. package/dist/esm/models/RightsizingReportSummary.js +71 -0
  44. package/dist/esm/models/RightsizingVMReport.d.ts +53 -0
  45. package/dist/esm/models/RightsizingVMReport.js +57 -0
  46. package/dist/esm/models/StartInspectionRequest.d.ts +32 -0
  47. package/dist/esm/models/StartInspectionRequest.js +43 -0
  48. package/dist/esm/models/StopForecasterPair202Response.d.ts +45 -0
  49. package/dist/esm/models/StopForecasterPair202Response.js +49 -0
  50. package/dist/esm/models/VMs.d.ts +18 -0
  51. package/dist/esm/models/VMs.js +4 -0
  52. package/dist/esm/models/VirtualMachine.d.ts +31 -1
  53. package/dist/esm/models/VirtualMachine.js +12 -4
  54. package/dist/esm/models/VirtualMachineDetail.d.ts +3 -3
  55. package/dist/esm/models/VirtualMachineDetail.js +3 -3
  56. package/dist/esm/models/VmInspectionConcern.d.ts +44 -0
  57. package/dist/esm/models/VmInspectionConcern.js +51 -0
  58. package/dist/esm/models/VmInspectionResults.d.ts +33 -0
  59. package/dist/esm/models/VmInspectionResults.js +42 -0
  60. package/dist/esm/models/VmInspectionStatus.d.ts +0 -1
  61. package/dist/esm/models/VmInspectionStatus.js +1 -2
  62. package/dist/esm/models/VmUtilizationDetails.d.ts +98 -0
  63. package/dist/esm/models/VmUtilizationDetails.js +87 -0
  64. package/dist/esm/models/index.d.ts +23 -1
  65. package/dist/esm/models/index.js +23 -1
  66. package/dist/esm/runtime.js +1 -1
  67. package/dist/models/BenchmarkRun.d.ts +104 -0
  68. package/dist/models/BenchmarkRun.js +92 -0
  69. package/dist/models/DatastoreDetail.d.ts +90 -0
  70. package/dist/models/DatastoreDetail.js +82 -0
  71. package/dist/models/DatastorePair.d.ts +50 -0
  72. package/dist/models/DatastorePair.js +60 -0
  73. package/dist/models/EstimateRange.d.ts +44 -0
  74. package/dist/models/EstimateRange.js +52 -0
  75. package/dist/models/ForecastStats.d.ts +87 -0
  76. package/dist/models/ForecastStats.js +71 -0
  77. package/dist/models/ForecasterDatastoresRequest.d.ts +33 -0
  78. package/dist/models/ForecasterDatastoresRequest.js +49 -0
  79. package/dist/models/ForecasterPairStatus.d.ts +98 -0
  80. package/dist/models/ForecasterPairStatus.js +90 -0
  81. package/dist/models/ForecasterStartRequest.d.ts +58 -0
  82. package/dist/models/ForecasterStartRequest.js +60 -0
  83. package/dist/models/ForecasterStatus.d.ts +47 -0
  84. package/dist/models/ForecasterStatus.js +61 -0
  85. package/dist/models/InspectorStatus.d.ts +20 -7
  86. package/dist/models/InspectorStatus.js +12 -7
  87. package/dist/models/PairCapability.d.ts +60 -0
  88. package/dist/models/PairCapability.js +72 -0
  89. package/dist/models/PairCapabilityRequest.d.ts +40 -0
  90. package/dist/models/PairCapabilityRequest.js +54 -0
  91. package/dist/models/PutForecasterCredentials403Response.d.ts +38 -0
  92. package/dist/models/PutForecasterCredentials403Response.js +50 -0
  93. package/dist/models/RightsizingCollectRequest.d.ts +70 -0
  94. package/dist/models/RightsizingCollectRequest.js +63 -0
  95. package/dist/models/RightsizingMetricStats.d.ts +62 -0
  96. package/dist/models/RightsizingMetricStats.js +70 -0
  97. package/dist/models/RightsizingReport.d.ts +81 -0
  98. package/dist/models/RightsizingReport.js +83 -0
  99. package/dist/models/RightsizingReportListResponse.d.ts +39 -0
  100. package/dist/models/RightsizingReportListResponse.js +55 -0
  101. package/dist/models/RightsizingReportSummary.d.ts +74 -0
  102. package/dist/models/RightsizingReportSummary.js +78 -0
  103. package/dist/models/RightsizingVMReport.d.ts +53 -0
  104. package/dist/models/RightsizingVMReport.js +64 -0
  105. package/dist/models/StartInspectionRequest.d.ts +32 -0
  106. package/dist/models/StartInspectionRequest.js +50 -0
  107. package/dist/models/StopForecasterPair202Response.d.ts +45 -0
  108. package/dist/models/StopForecasterPair202Response.js +57 -0
  109. package/dist/models/VMs.d.ts +18 -0
  110. package/dist/models/VMs.js +4 -0
  111. package/dist/models/VirtualMachine.d.ts +31 -1
  112. package/dist/models/VirtualMachine.js +12 -4
  113. package/dist/models/VirtualMachineDetail.d.ts +3 -3
  114. package/dist/models/VirtualMachineDetail.js +3 -3
  115. package/dist/models/VmInspectionConcern.d.ts +44 -0
  116. package/dist/models/VmInspectionConcern.js +58 -0
  117. package/dist/models/VmInspectionResults.d.ts +33 -0
  118. package/dist/models/VmInspectionResults.js +49 -0
  119. package/dist/models/VmInspectionStatus.d.ts +0 -1
  120. package/dist/models/VmInspectionStatus.js +1 -2
  121. package/dist/models/VmUtilizationDetails.d.ts +98 -0
  122. package/dist/models/VmUtilizationDetails.js +94 -0
  123. package/dist/models/index.d.ts +23 -1
  124. package/dist/models/index.js +23 -1
  125. package/dist/runtime.js +1 -1
  126. package/docs/BenchmarkRun.md +58 -0
  127. package/docs/DatastoreDetail.md +50 -0
  128. package/docs/DatastorePair.md +40 -0
  129. package/docs/DefaultApi.md +1123 -237
  130. package/docs/EstimateRange.md +39 -0
  131. package/docs/ForecastStats.md +52 -0
  132. package/docs/ForecasterDatastoresRequest.md +34 -0
  133. package/docs/ForecasterPairStatus.md +52 -0
  134. package/docs/ForecasterStartRequest.md +42 -0
  135. package/docs/ForecasterStatus.md +36 -0
  136. package/docs/InspectorStatus.md +4 -0
  137. package/docs/PairCapability.md +40 -0
  138. package/docs/PairCapabilityRequest.md +36 -0
  139. package/docs/PutForecasterCredentials403Response.md +36 -0
  140. package/docs/RightsizingCollectRequest.md +46 -0
  141. package/docs/RightsizingMetricStats.md +44 -0
  142. package/docs/RightsizingReport.md +50 -0
  143. package/docs/RightsizingReportListResponse.md +36 -0
  144. package/docs/RightsizingReportSummary.md +49 -0
  145. package/docs/RightsizingVMReport.md +40 -0
  146. package/docs/{InspectorStartRequest.md → StartInspectionRequest.md} +5 -6
  147. package/docs/StopForecasterPair202Response.md +36 -0
  148. package/docs/VMs.md +4 -0
  149. package/docs/VirtualMachine.md +12 -2
  150. package/docs/VirtualMachineDetail.md +1 -1
  151. package/docs/VmInspectionConcern.md +39 -0
  152. package/docs/VmInspectionResults.md +35 -0
  153. package/docs/VmUtilizationDetails.md +56 -0
  154. package/package.json +1 -1
  155. package/src/apis/DefaultApi.ts +1396 -350
  156. package/src/models/BenchmarkRun.ts +171 -0
  157. package/src/models/DatastoreDetail.ts +146 -0
  158. package/src/models/DatastorePair.ts +92 -0
  159. package/src/models/EstimateRange.ts +81 -0
  160. package/src/models/ForecastStats.ts +147 -0
  161. package/src/models/ForecasterDatastoresRequest.ts +73 -0
  162. package/src/models/ForecasterPairStatus.ts +158 -0
  163. package/src/models/ForecasterStartRequest.ts +113 -0
  164. package/src/models/ForecasterStatus.ts +93 -0
  165. package/src/models/InspectorStatus.ts +37 -7
  166. package/src/models/PairCapability.ts +106 -0
  167. package/src/models/PairCapabilityRequest.ts +89 -0
  168. package/src/models/PutForecasterCredentials403Response.ts +73 -0
  169. package/src/models/RightsizingCollectRequest.ts +123 -0
  170. package/src/models/RightsizingMetricStats.ts +111 -0
  171. package/src/models/RightsizingReport.ts +146 -0
  172. package/src/models/RightsizingReportListResponse.ts +83 -0
  173. package/src/models/RightsizingReportSummary.ts +129 -0
  174. package/src/models/RightsizingVMReport.ts +101 -0
  175. package/src/models/StartInspectionRequest.ts +66 -0
  176. package/src/models/StopForecasterPair202Response.ts +83 -0
  177. package/src/models/VMs.ts +18 -0
  178. package/src/models/VirtualMachine.ts +43 -4
  179. package/src/models/VirtualMachineDetail.ts +11 -11
  180. package/src/models/VmInspectionConcern.ts +84 -0
  181. package/src/models/VmInspectionResults.ts +73 -0
  182. package/src/models/VmInspectionStatus.ts +1 -2
  183. package/src/models/VmUtilizationDetails.ts +165 -0
  184. package/src/models/index.ts +23 -1
  185. package/src/runtime.ts +1 -2
  186. package/dist/esm/models/InspectorStartRequest.d.ts +0 -39
  187. package/dist/esm/models/InspectorStartRequest.js +0 -48
  188. package/dist/models/InspectorStartRequest.d.ts +0 -39
  189. package/dist/models/InspectorStartRequest.js +0 -55
  190. package/src/models/InspectorStartRequest.ts +0 -83
@@ -62,11 +62,13 @@ function VMsFromJSONTyped(json, ignoreDiscriminator) {
62
62
  'totalWithSharedDisks': json['totalWithSharedDisks'] == null ? undefined : json['totalWithSharedDisks'],
63
63
  'cpuCores': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['cpuCores']),
64
64
  'diskSizeTier': json['diskSizeTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['diskSizeTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryFromJSON)),
65
+ 'diskComplexityTier': json['diskComplexityTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['diskComplexityTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryFromJSON)),
65
66
  'diskTypes': json['diskTypes'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['diskTypes'], DiskTypeSummary_js_1.DiskTypeSummaryFromJSON)),
66
67
  'distributionByCpuTier': json['distributionByCpuTier'] == null ? undefined : json['distributionByCpuTier'],
67
68
  'distributionByMemoryTier': json['distributionByMemoryTier'] == null ? undefined : json['distributionByMemoryTier'],
68
69
  'distributionByNicCount': json['distributionByNicCount'] == null ? undefined : json['distributionByNicCount'],
69
70
  'distributionByComplexity': json['distributionByComplexity'] == null ? undefined : json['distributionByComplexity'],
71
+ 'complexityDistribution': json['complexityDistribution'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['complexityDistribution'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryFromJSON)),
70
72
  'ramGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['ramGB']),
71
73
  'diskGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['diskGB']),
72
74
  'diskCount': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['diskCount']),
@@ -92,11 +94,13 @@ function VMsToJSONTyped(value, ignoreDiscriminator = false) {
92
94
  'totalWithSharedDisks': value['totalWithSharedDisks'],
93
95
  'cpuCores': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['cpuCores']),
94
96
  'diskSizeTier': value['diskSizeTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['diskSizeTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryToJSON)),
97
+ 'diskComplexityTier': value['diskComplexityTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['diskComplexityTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryToJSON)),
95
98
  'diskTypes': value['diskTypes'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['diskTypes'], DiskTypeSummary_js_1.DiskTypeSummaryToJSON)),
96
99
  'distributionByCpuTier': value['distributionByCpuTier'],
97
100
  'distributionByMemoryTier': value['distributionByMemoryTier'],
98
101
  'distributionByNicCount': value['distributionByNicCount'],
99
102
  'distributionByComplexity': value['distributionByComplexity'],
103
+ 'complexityDistribution': value['complexityDistribution'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['complexityDistribution'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryToJSON)),
100
104
  'ramGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['ramGB']),
101
105
  'diskGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['diskGB']),
102
106
  'diskCount': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['diskCount']),
@@ -81,13 +81,43 @@ export interface VirtualMachine {
81
81
  * @type {VmInspectionStatus}
82
82
  * @memberof VirtualMachine
83
83
  */
84
- inspection: VmInspectionStatus;
84
+ inspectionStatus?: VmInspectionStatus;
85
+ /**
86
+ * Number of inspection concerns recorded for the latest persisted inspection result
87
+ * @type {number}
88
+ * @memberof VirtualMachine
89
+ */
90
+ inspectionConcernCount?: number;
85
91
  /**
86
92
  * Tags aggregated from matching groups
87
93
  * @type {Array<string>}
88
94
  * @memberof VirtualMachine
89
95
  */
90
96
  tags?: Array<string>;
97
+ /**
98
+ * CPU utilization at p95 (%); absent when no utilization data
99
+ * @type {number}
100
+ * @memberof VirtualMachine
101
+ */
102
+ utilizationCpuP95?: number;
103
+ /**
104
+ * Memory utilization at p95 (%); absent when no utilization data
105
+ * @type {number}
106
+ * @memberof VirtualMachine
107
+ */
108
+ utilizationMemP95?: number;
109
+ /**
110
+ * Disk utilization (%); absent when no utilization data
111
+ * @type {number}
112
+ * @memberof VirtualMachine
113
+ */
114
+ utilizationDisk?: number;
115
+ /**
116
+ * Data confidence — sample_count / expected_sample_count × 100
117
+ * @type {number}
118
+ * @memberof VirtualMachine
119
+ */
120
+ utilizationConfidence?: number;
91
121
  }
92
122
  /**
93
123
  * Check if a given object implements the VirtualMachine interface.
@@ -39,8 +39,6 @@ function instanceOfVirtualMachine(value) {
39
39
  return false;
40
40
  if (!('issueCount' in value) || value['issueCount'] === undefined)
41
41
  return false;
42
- if (!('inspection' in value) || value['inspection'] === undefined)
43
- return false;
44
42
  return true;
45
43
  }
46
44
  function VirtualMachineFromJSON(json) {
@@ -61,8 +59,13 @@ function VirtualMachineFromJSONTyped(json, ignoreDiscriminator) {
61
59
  'issueCount': json['issueCount'],
62
60
  'migratable': json['migratable'] == null ? undefined : json['migratable'],
63
61
  'template': json['template'] == null ? undefined : json['template'],
64
- 'inspection': (0, VmInspectionStatus_js_1.VmInspectionStatusFromJSON)(json['inspection']),
62
+ 'inspectionStatus': json['inspectionStatus'] == null ? undefined : (0, VmInspectionStatus_js_1.VmInspectionStatusFromJSON)(json['inspectionStatus']),
63
+ 'inspectionConcernCount': json['inspectionConcernCount'] == null ? undefined : json['inspectionConcernCount'],
65
64
  'tags': json['tags'] == null ? undefined : json['tags'],
65
+ 'utilizationCpuP95': json['utilization_cpu_p95'] == null ? undefined : json['utilization_cpu_p95'],
66
+ 'utilizationMemP95': json['utilization_mem_p95'] == null ? undefined : json['utilization_mem_p95'],
67
+ 'utilizationDisk': json['utilization_disk'] == null ? undefined : json['utilization_disk'],
68
+ 'utilizationConfidence': json['utilization_confidence'] == null ? undefined : json['utilization_confidence'],
66
69
  };
67
70
  }
68
71
  function VirtualMachineToJSON(json) {
@@ -83,7 +86,12 @@ function VirtualMachineToJSONTyped(value, ignoreDiscriminator = false) {
83
86
  'issueCount': value['issueCount'],
84
87
  'migratable': value['migratable'],
85
88
  'template': value['template'],
86
- 'inspection': (0, VmInspectionStatus_js_1.VmInspectionStatusToJSON)(value['inspection']),
89
+ 'inspectionStatus': (0, VmInspectionStatus_js_1.VmInspectionStatusToJSON)(value['inspectionStatus']),
90
+ 'inspectionConcernCount': value['inspectionConcernCount'],
87
91
  'tags': value['tags'],
92
+ 'utilization_cpu_p95': value['utilizationCpuP95'],
93
+ 'utilization_mem_p95': value['utilizationMemP95'],
94
+ 'utilization_disk': value['utilizationDisk'],
95
+ 'utilization_confidence': value['utilizationConfidence'],
88
96
  };
89
97
  }
@@ -10,11 +10,11 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { VMNIC } from './VMNIC.js';
13
- import type { VmInspectionStatus } from './VmInspectionStatus.js';
14
13
  import type { GuestNetwork } from './GuestNetwork.js';
15
14
  import type { VMIssue } from './VMIssue.js';
16
15
  import type { VMDevice } from './VMDevice.js';
17
16
  import type { VMDisk } from './VMDisk.js';
17
+ import type { VmInspectionResults } from './VmInspectionResults.js';
18
18
  /**
19
19
  *
20
20
  * @export
@@ -203,10 +203,10 @@ export interface VirtualMachineDetail {
203
203
  issues?: Array<VMIssue>;
204
204
  /**
205
205
  *
206
- * @type {VmInspectionStatus}
206
+ * @type {VmInspectionResults}
207
207
  * @memberof VirtualMachineDetail
208
208
  */
209
- inspection?: VmInspectionStatus;
209
+ inspection?: VmInspectionResults;
210
210
  }
211
211
  /**
212
212
  * Check if a given object implements the VirtualMachineDetail interface.
@@ -19,11 +19,11 @@ exports.VirtualMachineDetailFromJSONTyped = VirtualMachineDetailFromJSONTyped;
19
19
  exports.VirtualMachineDetailToJSON = VirtualMachineDetailToJSON;
20
20
  exports.VirtualMachineDetailToJSONTyped = VirtualMachineDetailToJSONTyped;
21
21
  const VMNIC_js_1 = require("./VMNIC.js");
22
- const VmInspectionStatus_js_1 = require("./VmInspectionStatus.js");
23
22
  const GuestNetwork_js_1 = require("./GuestNetwork.js");
24
23
  const VMIssue_js_1 = require("./VMIssue.js");
25
24
  const VMDevice_js_1 = require("./VMDevice.js");
26
25
  const VMDisk_js_1 = require("./VMDisk.js");
26
+ const VmInspectionResults_js_1 = require("./VmInspectionResults.js");
27
27
  /**
28
28
  * Check if a given object implements the VirtualMachineDetail interface.
29
29
  */
@@ -86,7 +86,7 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
86
86
  'devices': json['devices'] == null ? undefined : (json['devices'].map(VMDevice_js_1.VMDeviceFromJSON)),
87
87
  'guestNetworks': json['guestNetworks'] == null ? undefined : (json['guestNetworks'].map(GuestNetwork_js_1.GuestNetworkFromJSON)),
88
88
  'issues': json['issues'] == null ? undefined : (json['issues'].map(VMIssue_js_1.VMIssueFromJSON)),
89
- 'inspection': json['inspection'] == null ? undefined : (0, VmInspectionStatus_js_1.VmInspectionStatusFromJSON)(json['inspection']),
89
+ 'inspection': json['inspection'] == null ? undefined : (0, VmInspectionResults_js_1.VmInspectionResultsFromJSON)(json['inspection']),
90
90
  };
91
91
  }
92
92
  function VirtualMachineDetailToJSON(json) {
@@ -127,6 +127,6 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
127
127
  'devices': value['devices'] == null ? undefined : (value['devices'].map(VMDevice_js_1.VMDeviceToJSON)),
128
128
  'guestNetworks': value['guestNetworks'] == null ? undefined : (value['guestNetworks'].map(GuestNetwork_js_1.GuestNetworkToJSON)),
129
129
  'issues': value['issues'] == null ? undefined : (value['issues'].map(VMIssue_js_1.VMIssueToJSON)),
130
- 'inspection': (0, VmInspectionStatus_js_1.VmInspectionStatusToJSON)(value['inspection']),
130
+ 'inspection': (0, VmInspectionResults_js_1.VmInspectionResultsToJSON)(value['inspection']),
131
131
  };
132
132
  }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Represents the structure of vm-migration-detective library inspection concerns
14
+ * @export
15
+ * @interface VmInspectionConcern
16
+ */
17
+ export interface VmInspectionConcern {
18
+ /**
19
+ * Short label identifying the concern
20
+ * @type {string}
21
+ * @memberof VmInspectionConcern
22
+ */
23
+ label: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof VmInspectionConcern
28
+ */
29
+ message: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof VmInspectionConcern
34
+ */
35
+ category: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the VmInspectionConcern interface.
39
+ */
40
+ export declare function instanceOfVmInspectionConcern(value: object): value is VmInspectionConcern;
41
+ export declare function VmInspectionConcernFromJSON(json: any): VmInspectionConcern;
42
+ export declare function VmInspectionConcernFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmInspectionConcern;
43
+ export declare function VmInspectionConcernToJSON(json: any): VmInspectionConcern;
44
+ export declare function VmInspectionConcernToJSONTyped(value?: VmInspectionConcern | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfVmInspectionConcern = instanceOfVmInspectionConcern;
17
+ exports.VmInspectionConcernFromJSON = VmInspectionConcernFromJSON;
18
+ exports.VmInspectionConcernFromJSONTyped = VmInspectionConcernFromJSONTyped;
19
+ exports.VmInspectionConcernToJSON = VmInspectionConcernToJSON;
20
+ exports.VmInspectionConcernToJSONTyped = VmInspectionConcernToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the VmInspectionConcern interface.
23
+ */
24
+ function instanceOfVmInspectionConcern(value) {
25
+ if (!('label' in value) || value['label'] === undefined)
26
+ return false;
27
+ if (!('message' in value) || value['message'] === undefined)
28
+ return false;
29
+ if (!('category' in value) || value['category'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function VmInspectionConcernFromJSON(json) {
34
+ return VmInspectionConcernFromJSONTyped(json, false);
35
+ }
36
+ function VmInspectionConcernFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'label': json['label'],
42
+ 'message': json['message'],
43
+ 'category': json['category'],
44
+ };
45
+ }
46
+ function VmInspectionConcernToJSON(json) {
47
+ return VmInspectionConcernToJSONTyped(json, false);
48
+ }
49
+ function VmInspectionConcernToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'label': value['label'],
55
+ 'message': value['message'],
56
+ 'category': value['category'],
57
+ };
58
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { VmInspectionConcern } from './VmInspectionConcern.js';
13
+ /**
14
+ * VirtualMachine Inspection results
15
+ * @export
16
+ * @interface VmInspectionResults
17
+ */
18
+ export interface VmInspectionResults {
19
+ /**
20
+ *
21
+ * @type {Array<VmInspectionConcern>}
22
+ * @memberof VmInspectionResults
23
+ */
24
+ concerns?: Array<VmInspectionConcern>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the VmInspectionResults interface.
28
+ */
29
+ export declare function instanceOfVmInspectionResults(value: object): value is VmInspectionResults;
30
+ export declare function VmInspectionResultsFromJSON(json: any): VmInspectionResults;
31
+ export declare function VmInspectionResultsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmInspectionResults;
32
+ export declare function VmInspectionResultsToJSON(json: any): VmInspectionResults;
33
+ export declare function VmInspectionResultsToJSONTyped(value?: VmInspectionResults | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfVmInspectionResults = instanceOfVmInspectionResults;
17
+ exports.VmInspectionResultsFromJSON = VmInspectionResultsFromJSON;
18
+ exports.VmInspectionResultsFromJSONTyped = VmInspectionResultsFromJSONTyped;
19
+ exports.VmInspectionResultsToJSON = VmInspectionResultsToJSON;
20
+ exports.VmInspectionResultsToJSONTyped = VmInspectionResultsToJSONTyped;
21
+ const VmInspectionConcern_js_1 = require("./VmInspectionConcern.js");
22
+ /**
23
+ * Check if a given object implements the VmInspectionResults interface.
24
+ */
25
+ function instanceOfVmInspectionResults(value) {
26
+ return true;
27
+ }
28
+ function VmInspectionResultsFromJSON(json) {
29
+ return VmInspectionResultsFromJSONTyped(json, false);
30
+ }
31
+ function VmInspectionResultsFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'concerns': json['concerns'] == null ? undefined : (json['concerns'].map(VmInspectionConcern_js_1.VmInspectionConcernFromJSON)),
37
+ };
38
+ }
39
+ function VmInspectionResultsToJSON(json) {
40
+ return VmInspectionResultsToJSONTyped(json, false);
41
+ }
42
+ function VmInspectionResultsToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'concerns': value['concerns'] == null ? undefined : (value['concerns'].map(VmInspectionConcern_js_1.VmInspectionConcernToJSON)),
48
+ };
49
+ }
@@ -43,7 +43,6 @@ export declare const VmInspectionStatusStateEnum: {
43
43
  readonly VmInspectionStatusStateCompleted: "completed";
44
44
  readonly VmInspectionStatusStateCanceled: "canceled";
45
45
  readonly VmInspectionStatusStateError: "error";
46
- readonly VmInspectionStatusStateNotFound: "not_found";
47
46
  };
48
47
  export type VmInspectionStatusStateEnum = typeof VmInspectionStatusStateEnum[keyof typeof VmInspectionStatusStateEnum];
49
48
  /**
@@ -27,8 +27,7 @@ exports.VmInspectionStatusStateEnum = {
27
27
  VmInspectionStatusStateRunning: 'running',
28
28
  VmInspectionStatusStateCompleted: 'completed',
29
29
  VmInspectionStatusStateCanceled: 'canceled',
30
- VmInspectionStatusStateError: 'error',
31
- VmInspectionStatusStateNotFound: 'not_found'
30
+ VmInspectionStatusStateError: 'error'
32
31
  };
33
32
  /**
34
33
  * Check if a given object implements the VmInspectionStatus interface.
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Assisted Migration Agent API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface VmUtilizationDetails
16
+ */
17
+ export interface VmUtilizationDetails {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof VmUtilizationDetails
22
+ */
23
+ moid: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof VmUtilizationDetails
28
+ */
29
+ vmName: string;
30
+ /**
31
+ * CPU utilization average (%)
32
+ * @type {number}
33
+ * @memberof VmUtilizationDetails
34
+ */
35
+ cpuAvg: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof VmUtilizationDetails
40
+ */
41
+ cpuP95: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof VmUtilizationDetails
46
+ */
47
+ cpuMax: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof VmUtilizationDetails
52
+ */
53
+ cpuLatest: number;
54
+ /**
55
+ * Memory utilization average (%)
56
+ * @type {number}
57
+ * @memberof VmUtilizationDetails
58
+ */
59
+ memAvg: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof VmUtilizationDetails
64
+ */
65
+ memP95: number;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof VmUtilizationDetails
70
+ */
71
+ memMax: number;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof VmUtilizationDetails
76
+ */
77
+ memLatest: number;
78
+ /**
79
+ * Disk utilization (%)
80
+ * @type {number}
81
+ * @memberof VmUtilizationDetails
82
+ */
83
+ disk: number;
84
+ /**
85
+ * Data confidence — sample_count / expected_sample_count × 100
86
+ * @type {number}
87
+ * @memberof VmUtilizationDetails
88
+ */
89
+ confidence: number;
90
+ }
91
+ /**
92
+ * Check if a given object implements the VmUtilizationDetails interface.
93
+ */
94
+ export declare function instanceOfVmUtilizationDetails(value: object): value is VmUtilizationDetails;
95
+ export declare function VmUtilizationDetailsFromJSON(json: any): VmUtilizationDetails;
96
+ export declare function VmUtilizationDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmUtilizationDetails;
97
+ export declare function VmUtilizationDetailsToJSON(json: any): VmUtilizationDetails;
98
+ export declare function VmUtilizationDetailsToJSONTyped(value?: VmUtilizationDetails | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfVmUtilizationDetails = instanceOfVmUtilizationDetails;
17
+ exports.VmUtilizationDetailsFromJSON = VmUtilizationDetailsFromJSON;
18
+ exports.VmUtilizationDetailsFromJSONTyped = VmUtilizationDetailsFromJSONTyped;
19
+ exports.VmUtilizationDetailsToJSON = VmUtilizationDetailsToJSON;
20
+ exports.VmUtilizationDetailsToJSONTyped = VmUtilizationDetailsToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the VmUtilizationDetails interface.
23
+ */
24
+ function instanceOfVmUtilizationDetails(value) {
25
+ if (!('moid' in value) || value['moid'] === undefined)
26
+ return false;
27
+ if (!('vmName' in value) || value['vmName'] === undefined)
28
+ return false;
29
+ if (!('cpuAvg' in value) || value['cpuAvg'] === undefined)
30
+ return false;
31
+ if (!('cpuP95' in value) || value['cpuP95'] === undefined)
32
+ return false;
33
+ if (!('cpuMax' in value) || value['cpuMax'] === undefined)
34
+ return false;
35
+ if (!('cpuLatest' in value) || value['cpuLatest'] === undefined)
36
+ return false;
37
+ if (!('memAvg' in value) || value['memAvg'] === undefined)
38
+ return false;
39
+ if (!('memP95' in value) || value['memP95'] === undefined)
40
+ return false;
41
+ if (!('memMax' in value) || value['memMax'] === undefined)
42
+ return false;
43
+ if (!('memLatest' in value) || value['memLatest'] === undefined)
44
+ return false;
45
+ if (!('disk' in value) || value['disk'] === undefined)
46
+ return false;
47
+ if (!('confidence' in value) || value['confidence'] === undefined)
48
+ return false;
49
+ return true;
50
+ }
51
+ function VmUtilizationDetailsFromJSON(json) {
52
+ return VmUtilizationDetailsFromJSONTyped(json, false);
53
+ }
54
+ function VmUtilizationDetailsFromJSONTyped(json, ignoreDiscriminator) {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+ 'moid': json['moid'],
60
+ 'vmName': json['vm_name'],
61
+ 'cpuAvg': json['cpu_avg'],
62
+ 'cpuP95': json['cpu_p95'],
63
+ 'cpuMax': json['cpu_max'],
64
+ 'cpuLatest': json['cpu_latest'],
65
+ 'memAvg': json['mem_avg'],
66
+ 'memP95': json['mem_p95'],
67
+ 'memMax': json['mem_max'],
68
+ 'memLatest': json['mem_latest'],
69
+ 'disk': json['disk'],
70
+ 'confidence': json['confidence'],
71
+ };
72
+ }
73
+ function VmUtilizationDetailsToJSON(json) {
74
+ return VmUtilizationDetailsToJSONTyped(json, false);
75
+ }
76
+ function VmUtilizationDetailsToJSONTyped(value, ignoreDiscriminator = false) {
77
+ if (value == null) {
78
+ return value;
79
+ }
80
+ return {
81
+ 'moid': value['moid'],
82
+ 'vm_name': value['vmName'],
83
+ 'cpu_avg': value['cpuAvg'],
84
+ 'cpu_p95': value['cpuP95'],
85
+ 'cpu_max': value['cpuMax'],
86
+ 'cpu_latest': value['cpuLatest'],
87
+ 'mem_avg': value['memAvg'],
88
+ 'mem_p95': value['memP95'],
89
+ 'mem_max': value['memMax'],
90
+ 'mem_latest': value['memLatest'],
91
+ 'disk': value['disk'],
92
+ 'confidence': value['confidence'],
93
+ };
94
+ }
@@ -1,11 +1,20 @@
1
1
  export * from './AgentModeRequest.js';
2
2
  export * from './AgentStatus.js';
3
+ export * from './BenchmarkRun.js';
3
4
  export * from './CollectorStartRequest.js';
4
5
  export * from './CollectorStatus.js';
5
6
  export * from './CreateGroupRequest.js';
6
7
  export * from './Datastore.js';
8
+ export * from './DatastoreDetail.js';
9
+ export * from './DatastorePair.js';
7
10
  export * from './DiskSizeTierSummary.js';
8
11
  export * from './DiskTypeSummary.js';
12
+ export * from './EstimateRange.js';
13
+ export * from './ForecastStats.js';
14
+ export * from './ForecasterDatastoresRequest.js';
15
+ export * from './ForecasterPairStatus.js';
16
+ export * from './ForecasterStartRequest.js';
17
+ export * from './ForecasterStatus.js';
9
18
  export * from './GetInventory200Response.js';
10
19
  export * from './Group.js';
11
20
  export * from './GroupListResponse.js';
@@ -14,13 +23,23 @@ export * from './GuestNetwork.js';
14
23
  export * from './Histogram.js';
15
24
  export * from './Host.js';
16
25
  export * from './Infra.js';
17
- export * from './InspectorStartRequest.js';
18
26
  export * from './InspectorStatus.js';
19
27
  export * from './Inventory.js';
20
28
  export * from './InventoryData.js';
21
29
  export * from './MigrationIssue.js';
22
30
  export * from './Network.js';
23
31
  export * from './OsInfo.js';
32
+ export * from './PairCapability.js';
33
+ export * from './PairCapabilityRequest.js';
34
+ export * from './PutForecasterCredentials403Response.js';
35
+ export * from './RightsizingCollectRequest.js';
36
+ export * from './RightsizingMetricStats.js';
37
+ export * from './RightsizingReport.js';
38
+ export * from './RightsizingReportListResponse.js';
39
+ export * from './RightsizingReportSummary.js';
40
+ export * from './RightsizingVMReport.js';
41
+ export * from './StartInspectionRequest.js';
42
+ export * from './StopForecasterPair202Response.js';
24
43
  export * from './UpdateGroupRequest.js';
25
44
  export * from './UpdateInventory.js';
26
45
  export * from './VCenter.js';
@@ -36,4 +55,7 @@ export * from './VersionInfo.js';
36
55
  export * from './VirtualMachine.js';
37
56
  export * from './VirtualMachineDetail.js';
38
57
  export * from './VirtualMachineListResponse.js';
58
+ export * from './VmInspectionConcern.js';
59
+ export * from './VmInspectionResults.js';
39
60
  export * from './VmInspectionStatus.js';
61
+ export * from './VmUtilizationDetails.js';