@openshift-migration-advisor/agent-sdk 0.8.0 → 0.12.0-645d2fae3eee

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 (256) hide show
  1. package/.openapi-generator/FILES +62 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +68 -17
  4. package/dist/apis/DefaultApi.d.ts +919 -108
  5. package/dist/apis/DefaultApi.js +1140 -256
  6. package/dist/esm/apis/DefaultApi.d.ts +919 -108
  7. package/dist/esm/apis/DefaultApi.js +1121 -237
  8. package/dist/esm/models/AgentStatus.d.ts +1 -1
  9. package/dist/esm/models/AgentStatus.js +3 -3
  10. package/dist/esm/models/BenchmarkRun.d.ts +104 -0
  11. package/dist/esm/models/BenchmarkRun.js +85 -0
  12. package/dist/esm/models/ClusterFeatures.d.ts +54 -0
  13. package/dist/esm/models/ClusterFeatures.js +54 -0
  14. package/dist/esm/models/DatastoreDetail.d.ts +90 -0
  15. package/dist/esm/models/DatastoreDetail.js +74 -0
  16. package/dist/esm/models/DatastorePair.d.ts +50 -0
  17. package/dist/esm/models/DatastorePair.js +53 -0
  18. package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +38 -0
  19. package/dist/esm/models/DeleteLabelGloballyResponse.js +47 -0
  20. package/dist/esm/models/EstimateRange.d.ts +44 -0
  21. package/dist/esm/models/EstimateRange.js +45 -0
  22. package/dist/esm/models/ForecastStats.d.ts +87 -0
  23. package/dist/esm/models/ForecastStats.js +64 -0
  24. package/dist/esm/models/ForecasterDatastoresRequest.d.ts +33 -0
  25. package/dist/esm/models/ForecasterDatastoresRequest.js +42 -0
  26. package/dist/esm/models/ForecasterPairStatus.d.ts +98 -0
  27. package/dist/esm/models/ForecasterPairStatus.js +82 -0
  28. package/dist/esm/models/ForecasterStartRequest.d.ts +58 -0
  29. package/dist/esm/models/ForecasterStartRequest.js +53 -0
  30. package/dist/esm/models/ForecasterStatus.d.ts +47 -0
  31. package/dist/esm/models/ForecasterStatus.js +53 -0
  32. package/dist/esm/models/InspectorStatus.d.ts +6 -10
  33. package/dist/esm/models/InspectorStatus.js +5 -9
  34. package/dist/esm/models/Inventory.d.ts +7 -1
  35. package/dist/esm/models/Inventory.js +5 -3
  36. package/dist/esm/models/InventoryData.d.ts +7 -0
  37. package/dist/esm/models/InventoryData.js +3 -0
  38. package/dist/esm/models/PairCapability.d.ts +60 -0
  39. package/dist/esm/models/PairCapability.js +64 -0
  40. package/dist/esm/models/PairCapabilityRequest.d.ts +40 -0
  41. package/dist/esm/models/PairCapabilityRequest.js +47 -0
  42. package/dist/esm/models/PutForecasterCredentials403Response.d.ts +38 -0
  43. package/dist/esm/models/PutForecasterCredentials403Response.js +43 -0
  44. package/dist/esm/models/RightsizingClusterListResponse.d.ts +39 -0
  45. package/dist/esm/models/RightsizingClusterListResponse.js +48 -0
  46. package/dist/esm/models/RightsizingClusterResponse.d.ts +39 -0
  47. package/dist/esm/models/RightsizingClusterResponse.js +48 -0
  48. package/dist/esm/models/RightsizingClusterUtilization.d.ts +112 -0
  49. package/dist/esm/models/RightsizingClusterUtilization.js +95 -0
  50. package/dist/esm/models/RightsizingCollectRequest.d.ts +70 -0
  51. package/dist/esm/models/RightsizingCollectRequest.js +56 -0
  52. package/dist/esm/models/RightsizingMetricStats.d.ts +62 -0
  53. package/dist/esm/models/RightsizingMetricStats.js +63 -0
  54. package/dist/esm/models/RightsizingReport.d.ts +81 -0
  55. package/dist/esm/models/RightsizingReport.js +76 -0
  56. package/dist/esm/models/RightsizingReportListResponse.d.ts +39 -0
  57. package/dist/esm/models/RightsizingReportListResponse.js +48 -0
  58. package/dist/esm/models/RightsizingReportSummary.d.ts +74 -0
  59. package/dist/esm/models/RightsizingReportSummary.js +71 -0
  60. package/dist/esm/models/RightsizingVMReport.d.ts +53 -0
  61. package/dist/esm/models/RightsizingVMReport.js +57 -0
  62. package/dist/esm/models/StartInspectionRequest.d.ts +39 -0
  63. package/dist/esm/models/{InspectorStartRequest.js → StartInspectionRequest.js} +12 -12
  64. package/dist/esm/models/StopForecasterPair202Response.d.ts +45 -0
  65. package/dist/esm/models/StopForecasterPair202Response.js +49 -0
  66. package/dist/esm/models/UpdateLabelVMsRequest.d.ts +38 -0
  67. package/dist/esm/models/UpdateLabelVMsRequest.js +43 -0
  68. package/dist/esm/models/VMLabelsResponse.d.ts +38 -0
  69. package/dist/esm/models/VMLabelsResponse.js +47 -0
  70. package/dist/esm/models/VMs.d.ts +18 -0
  71. package/dist/esm/models/VMs.js +4 -0
  72. package/dist/esm/models/VirtualMachine.d.ts +43 -1
  73. package/dist/esm/models/VirtualMachine.js +16 -4
  74. package/dist/esm/models/VirtualMachineDetail.d.ts +22 -3
  75. package/dist/esm/models/VirtualMachineDetail.js +10 -3
  76. package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +38 -0
  77. package/dist/esm/models/VirtualMachineUpdateRequest.js +43 -0
  78. package/dist/esm/models/VmInspectionConcern.d.ts +44 -0
  79. package/dist/esm/models/VmInspectionConcern.js +51 -0
  80. package/dist/esm/models/VmInspectionResults.d.ts +33 -0
  81. package/dist/esm/models/VmInspectionResults.js +42 -0
  82. package/dist/esm/models/VmInspectionStatus.d.ts +0 -1
  83. package/dist/esm/models/VmInspectionStatus.js +1 -2
  84. package/dist/esm/models/VmUtilizationDetails.d.ts +116 -0
  85. package/dist/esm/models/VmUtilizationDetails.js +99 -0
  86. package/dist/esm/models/index.d.ts +31 -1
  87. package/dist/esm/models/index.js +31 -1
  88. package/dist/esm/runtime.js +1 -1
  89. package/dist/models/AgentStatus.d.ts +1 -1
  90. package/dist/models/AgentStatus.js +3 -3
  91. package/dist/models/BenchmarkRun.d.ts +104 -0
  92. package/dist/models/BenchmarkRun.js +92 -0
  93. package/dist/models/ClusterFeatures.d.ts +54 -0
  94. package/dist/models/ClusterFeatures.js +62 -0
  95. package/dist/models/DatastoreDetail.d.ts +90 -0
  96. package/dist/models/DatastoreDetail.js +82 -0
  97. package/dist/models/DatastorePair.d.ts +50 -0
  98. package/dist/models/DatastorePair.js +60 -0
  99. package/dist/models/DeleteLabelGloballyResponse.d.ts +38 -0
  100. package/dist/models/DeleteLabelGloballyResponse.js +54 -0
  101. package/dist/models/EstimateRange.d.ts +44 -0
  102. package/dist/models/EstimateRange.js +52 -0
  103. package/dist/models/ForecastStats.d.ts +87 -0
  104. package/dist/models/ForecastStats.js +71 -0
  105. package/dist/models/ForecasterDatastoresRequest.d.ts +33 -0
  106. package/dist/models/ForecasterDatastoresRequest.js +49 -0
  107. package/dist/models/ForecasterPairStatus.d.ts +98 -0
  108. package/dist/models/ForecasterPairStatus.js +90 -0
  109. package/dist/models/ForecasterStartRequest.d.ts +58 -0
  110. package/dist/models/ForecasterStartRequest.js +60 -0
  111. package/dist/models/ForecasterStatus.d.ts +47 -0
  112. package/dist/models/ForecasterStatus.js +61 -0
  113. package/dist/models/InspectorStatus.d.ts +6 -10
  114. package/dist/models/InspectorStatus.js +5 -9
  115. package/dist/models/Inventory.d.ts +7 -1
  116. package/dist/models/Inventory.js +5 -3
  117. package/dist/models/InventoryData.d.ts +7 -0
  118. package/dist/models/InventoryData.js +3 -0
  119. package/dist/models/PairCapability.d.ts +60 -0
  120. package/dist/models/PairCapability.js +72 -0
  121. package/dist/models/PairCapabilityRequest.d.ts +40 -0
  122. package/dist/models/PairCapabilityRequest.js +54 -0
  123. package/dist/models/PutForecasterCredentials403Response.d.ts +38 -0
  124. package/dist/models/PutForecasterCredentials403Response.js +50 -0
  125. package/dist/models/RightsizingClusterListResponse.d.ts +39 -0
  126. package/dist/models/RightsizingClusterListResponse.js +55 -0
  127. package/dist/models/RightsizingClusterResponse.d.ts +39 -0
  128. package/dist/models/RightsizingClusterResponse.js +55 -0
  129. package/dist/models/RightsizingClusterUtilization.d.ts +112 -0
  130. package/dist/models/RightsizingClusterUtilization.js +102 -0
  131. package/dist/models/RightsizingCollectRequest.d.ts +70 -0
  132. package/dist/models/RightsizingCollectRequest.js +63 -0
  133. package/dist/models/RightsizingMetricStats.d.ts +62 -0
  134. package/dist/models/RightsizingMetricStats.js +70 -0
  135. package/dist/models/RightsizingReport.d.ts +81 -0
  136. package/dist/models/RightsizingReport.js +83 -0
  137. package/dist/models/RightsizingReportListResponse.d.ts +39 -0
  138. package/dist/models/RightsizingReportListResponse.js +55 -0
  139. package/dist/models/RightsizingReportSummary.d.ts +74 -0
  140. package/dist/models/RightsizingReportSummary.js +78 -0
  141. package/dist/models/RightsizingVMReport.d.ts +53 -0
  142. package/dist/models/RightsizingVMReport.js +64 -0
  143. package/dist/models/StartInspectionRequest.d.ts +39 -0
  144. package/dist/models/StartInspectionRequest.js +55 -0
  145. package/dist/models/StopForecasterPair202Response.d.ts +45 -0
  146. package/dist/models/StopForecasterPair202Response.js +57 -0
  147. package/dist/models/UpdateLabelVMsRequest.d.ts +38 -0
  148. package/dist/models/UpdateLabelVMsRequest.js +50 -0
  149. package/dist/models/VMLabelsResponse.d.ts +38 -0
  150. package/dist/models/VMLabelsResponse.js +54 -0
  151. package/dist/models/VMs.d.ts +18 -0
  152. package/dist/models/VMs.js +4 -0
  153. package/dist/models/VirtualMachine.d.ts +43 -1
  154. package/dist/models/VirtualMachine.js +16 -4
  155. package/dist/models/VirtualMachineDetail.d.ts +22 -3
  156. package/dist/models/VirtualMachineDetail.js +10 -3
  157. package/dist/models/VirtualMachineUpdateRequest.d.ts +38 -0
  158. package/dist/models/VirtualMachineUpdateRequest.js +50 -0
  159. package/dist/models/VmInspectionConcern.d.ts +44 -0
  160. package/dist/models/VmInspectionConcern.js +58 -0
  161. package/dist/models/VmInspectionResults.d.ts +33 -0
  162. package/dist/models/VmInspectionResults.js +49 -0
  163. package/dist/models/VmInspectionStatus.d.ts +0 -1
  164. package/dist/models/VmInspectionStatus.js +1 -2
  165. package/dist/models/VmUtilizationDetails.d.ts +116 -0
  166. package/dist/models/VmUtilizationDetails.js +106 -0
  167. package/dist/models/index.d.ts +31 -1
  168. package/dist/models/index.js +31 -1
  169. package/dist/runtime.js +1 -1
  170. package/docs/AgentStatus.md +2 -2
  171. package/docs/BenchmarkRun.md +58 -0
  172. package/docs/ClusterFeatures.md +38 -0
  173. package/docs/DatastoreDetail.md +50 -0
  174. package/docs/DatastorePair.md +40 -0
  175. package/docs/DefaultApi.md +1701 -266
  176. package/docs/DeleteLabelGloballyResponse.md +36 -0
  177. package/docs/EstimateRange.md +39 -0
  178. package/docs/ForecastStats.md +52 -0
  179. package/docs/ForecasterDatastoresRequest.md +34 -0
  180. package/docs/ForecasterPairStatus.md +52 -0
  181. package/docs/ForecasterStartRequest.md +42 -0
  182. package/docs/ForecasterStatus.md +36 -0
  183. package/docs/GetInventory200Response.md +4 -2
  184. package/docs/InspectorStatus.md +2 -2
  185. package/docs/Inventory.md +4 -2
  186. package/docs/InventoryData.md +2 -0
  187. package/docs/PairCapability.md +40 -0
  188. package/docs/PairCapabilityRequest.md +36 -0
  189. package/docs/PutForecasterCredentials403Response.md +36 -0
  190. package/docs/RightsizingClusterListResponse.md +36 -0
  191. package/docs/RightsizingClusterResponse.md +36 -0
  192. package/docs/RightsizingClusterUtilization.md +60 -0
  193. package/docs/RightsizingCollectRequest.md +46 -0
  194. package/docs/RightsizingMetricStats.md +44 -0
  195. package/docs/RightsizingReport.md +50 -0
  196. package/docs/RightsizingReportListResponse.md +36 -0
  197. package/docs/RightsizingReportSummary.md +49 -0
  198. package/docs/RightsizingVMReport.md +40 -0
  199. package/docs/{InspectorStartRequest.md → StartInspectionRequest.md} +7 -6
  200. package/docs/StopForecasterPair202Response.md +36 -0
  201. package/docs/UpdateLabelVMsRequest.md +36 -0
  202. package/docs/VMLabelsResponse.md +36 -0
  203. package/docs/VMs.md +4 -0
  204. package/docs/VirtualMachine.md +16 -2
  205. package/docs/VirtualMachineDetail.md +7 -1
  206. package/docs/VirtualMachineUpdateRequest.md +36 -0
  207. package/docs/VmInspectionConcern.md +39 -0
  208. package/docs/VmInspectionResults.md +35 -0
  209. package/docs/VmUtilizationDetails.md +62 -0
  210. package/package.json +1 -1
  211. package/src/apis/DefaultApi.ts +2167 -479
  212. package/src/models/AgentStatus.ts +4 -4
  213. package/src/models/BenchmarkRun.ts +171 -0
  214. package/src/models/ClusterFeatures.ts +94 -0
  215. package/src/models/DatastoreDetail.ts +146 -0
  216. package/src/models/DatastorePair.ts +92 -0
  217. package/src/models/DeleteLabelGloballyResponse.ts +75 -0
  218. package/src/models/EstimateRange.ts +81 -0
  219. package/src/models/ForecastStats.ts +147 -0
  220. package/src/models/ForecasterDatastoresRequest.ts +73 -0
  221. package/src/models/ForecasterPairStatus.ts +158 -0
  222. package/src/models/ForecasterStartRequest.ts +113 -0
  223. package/src/models/ForecasterStatus.ts +93 -0
  224. package/src/models/InspectorStatus.ts +15 -12
  225. package/src/models/Inventory.ts +12 -4
  226. package/src/models/InventoryData.ts +15 -0
  227. package/src/models/PairCapability.ts +106 -0
  228. package/src/models/PairCapabilityRequest.ts +89 -0
  229. package/src/models/PutForecasterCredentials403Response.ts +73 -0
  230. package/src/models/RightsizingClusterListResponse.ts +83 -0
  231. package/src/models/RightsizingClusterResponse.ts +83 -0
  232. package/src/models/RightsizingClusterUtilization.ts +185 -0
  233. package/src/models/RightsizingCollectRequest.ts +123 -0
  234. package/src/models/RightsizingMetricStats.ts +111 -0
  235. package/src/models/RightsizingReport.ts +146 -0
  236. package/src/models/RightsizingReportListResponse.ts +83 -0
  237. package/src/models/RightsizingReportSummary.ts +129 -0
  238. package/src/models/RightsizingVMReport.ts +101 -0
  239. package/src/models/StartInspectionRequest.ts +83 -0
  240. package/src/models/StopForecasterPair202Response.ts +83 -0
  241. package/src/models/UpdateLabelVMsRequest.ts +73 -0
  242. package/src/models/VMLabelsResponse.ts +75 -0
  243. package/src/models/VMs.ts +18 -0
  244. package/src/models/VirtualMachine.ts +59 -4
  245. package/src/models/VirtualMachineDetail.ts +42 -11
  246. package/src/models/VirtualMachineUpdateRequest.ts +73 -0
  247. package/src/models/VmInspectionConcern.ts +84 -0
  248. package/src/models/VmInspectionResults.ts +73 -0
  249. package/src/models/VmInspectionStatus.ts +1 -2
  250. package/src/models/VmUtilizationDetails.ts +192 -0
  251. package/src/models/index.ts +31 -1
  252. package/src/runtime.ts +1 -2
  253. package/dist/esm/models/InspectorStartRequest.d.ts +0 -39
  254. package/dist/models/InspectorStartRequest.d.ts +0 -39
  255. package/dist/models/InspectorStartRequest.js +0 -55
  256. package/src/models/InspectorStartRequest.ts +0 -83
@@ -0,0 +1,54 @@
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.instanceOfVMLabelsResponse = instanceOfVMLabelsResponse;
17
+ exports.VMLabelsResponseFromJSON = VMLabelsResponseFromJSON;
18
+ exports.VMLabelsResponseFromJSONTyped = VMLabelsResponseFromJSONTyped;
19
+ exports.VMLabelsResponseToJSON = VMLabelsResponseToJSON;
20
+ exports.VMLabelsResponseToJSONTyped = VMLabelsResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the VMLabelsResponse interface.
23
+ */
24
+ function instanceOfVMLabelsResponse(value) {
25
+ if (!('labels' in value) || value['labels'] === undefined)
26
+ return false;
27
+ if (!('counts' in value) || value['counts'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function VMLabelsResponseFromJSON(json) {
32
+ return VMLabelsResponseFromJSONTyped(json, false);
33
+ }
34
+ function VMLabelsResponseFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'labels': json['labels'],
40
+ 'counts': json['counts'],
41
+ };
42
+ }
43
+ function VMLabelsResponseToJSON(json) {
44
+ return VMLabelsResponseToJSONTyped(json, false);
45
+ }
46
+ function VMLabelsResponseToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'labels': value['labels'],
52
+ 'counts': value['counts'],
53
+ };
54
+ }
@@ -58,6 +58,15 @@ export interface VMs {
58
58
  diskSizeTier?: {
59
59
  [key: string]: DiskSizeTierSummary;
60
60
  };
61
+ /**
62
+ * Distribution of VMs across disk-complexity tiers used by the estimation engine (0-10TiB, 10-20TiB, 20-50TiB, 50+TiB).
63
+ *
64
+ * @type {{ [key: string]: DiskSizeTierSummary; }}
65
+ * @memberof VMs
66
+ */
67
+ diskComplexityTier?: {
68
+ [key: string]: DiskSizeTierSummary;
69
+ };
61
70
  /**
62
71
  *
63
72
  * @type {{ [key: string]: DiskTypeSummary; }}
@@ -94,10 +103,19 @@ export interface VMs {
94
103
  * Distribution of VMs by migration complexity level (0=Unsupported, 1=Easy, 2=Medium, 3=Hard, 4=WhiteGlove)
95
104
  * @type {{ [key: string]: number; }}
96
105
  * @memberof VMs
106
+ * @deprecated
97
107
  */
98
108
  distributionByComplexity?: {
99
109
  [key: string]: number;
100
110
  };
111
+ /**
112
+ * Distribution of VMs by migration complexity level, enriched with total disk size per level. Supersedes distributionByComplexity.
113
+ * @type {{ [key: string]: DiskSizeTierSummary; }}
114
+ * @memberof VMs
115
+ */
116
+ complexityDistribution?: {
117
+ [key: string]: DiskSizeTierSummary;
118
+ };
101
119
  /**
102
120
  *
103
121
  * @type {VMResourceBreakdown}
@@ -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']),
@@ -76,18 +76,60 @@ export interface VirtualMachine {
76
76
  * @memberof VirtualMachine
77
77
  */
78
78
  template?: boolean;
79
+ /**
80
+ * Whether this VM is excluded from migration
81
+ * @type {boolean}
82
+ * @memberof VirtualMachine
83
+ */
84
+ migrationExcluded?: boolean;
79
85
  /**
80
86
  *
81
87
  * @type {VmInspectionStatus}
82
88
  * @memberof VirtualMachine
83
89
  */
84
- inspection: VmInspectionStatus;
90
+ inspectionStatus?: VmInspectionStatus;
91
+ /**
92
+ * Number of inspection concerns recorded for the latest persisted inspection result
93
+ * @type {number}
94
+ * @memberof VirtualMachine
95
+ */
96
+ inspectionConcernCount?: number;
85
97
  /**
86
98
  * Tags aggregated from matching groups
87
99
  * @type {Array<string>}
88
100
  * @memberof VirtualMachine
89
101
  */
90
102
  tags?: Array<string>;
103
+ /**
104
+ * User-defined labels for this VM
105
+ * @type {Array<string>}
106
+ * @memberof VirtualMachine
107
+ */
108
+ labels?: Array<string>;
109
+ /**
110
+ * CPU utilization at p95 (%); absent when no utilization data
111
+ * @type {number}
112
+ * @memberof VirtualMachine
113
+ */
114
+ utilization_cpu_p95?: number;
115
+ /**
116
+ * Memory utilization at p95 (%); absent when no utilization data
117
+ * @type {number}
118
+ * @memberof VirtualMachine
119
+ */
120
+ utilization_mem_p95?: number;
121
+ /**
122
+ * Disk utilization (%); absent when no utilization data
123
+ * @type {number}
124
+ * @memberof VirtualMachine
125
+ */
126
+ utilization_disk?: number;
127
+ /**
128
+ * Data confidence — sample_count / expected_sample_count × 100
129
+ * @type {number}
130
+ * @memberof VirtualMachine
131
+ */
132
+ utilization_confidence?: number;
91
133
  }
92
134
  /**
93
135
  * 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,15 @@ 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
+ 'migrationExcluded': json['migrationExcluded'] == null ? undefined : json['migrationExcluded'],
63
+ 'inspectionStatus': json['inspectionStatus'] == null ? undefined : (0, VmInspectionStatus_js_1.VmInspectionStatusFromJSON)(json['inspectionStatus']),
64
+ 'inspectionConcernCount': json['inspectionConcernCount'] == null ? undefined : json['inspectionConcernCount'],
65
65
  'tags': json['tags'] == null ? undefined : json['tags'],
66
+ 'labels': json['labels'] == null ? undefined : json['labels'],
67
+ 'utilization_cpu_p95': json['utilization_cpu_p95'] == null ? undefined : json['utilization_cpu_p95'],
68
+ 'utilization_mem_p95': json['utilization_mem_p95'] == null ? undefined : json['utilization_mem_p95'],
69
+ 'utilization_disk': json['utilization_disk'] == null ? undefined : json['utilization_disk'],
70
+ 'utilization_confidence': json['utilization_confidence'] == null ? undefined : json['utilization_confidence'],
66
71
  };
67
72
  }
68
73
  function VirtualMachineToJSON(json) {
@@ -83,7 +88,14 @@ function VirtualMachineToJSONTyped(value, ignoreDiscriminator = false) {
83
88
  'issueCount': value['issueCount'],
84
89
  'migratable': value['migratable'],
85
90
  'template': value['template'],
86
- 'inspection': (0, VmInspectionStatus_js_1.VmInspectionStatusToJSON)(value['inspection']),
91
+ 'migrationExcluded': value['migrationExcluded'],
92
+ 'inspectionStatus': (0, VmInspectionStatus_js_1.VmInspectionStatusToJSON)(value['inspectionStatus']),
93
+ 'inspectionConcernCount': value['inspectionConcernCount'],
87
94
  'tags': value['tags'],
95
+ 'labels': value['labels'],
96
+ 'utilization_cpu_p95': value['utilization_cpu_p95'],
97
+ 'utilization_mem_p95': value['utilization_mem_p95'],
98
+ 'utilization_disk': value['utilization_disk'],
99
+ 'utilization_confidence': value['utilization_confidence'],
88
100
  };
89
101
  }
@@ -10,11 +10,12 @@
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';
16
+ import type { VmUtilizationDetails } from './VmUtilizationDetails.js';
17
17
  import type { VMDisk } from './VMDisk.js';
18
+ import type { VmInspectionResults } from './VmInspectionResults.js';
18
19
  /**
19
20
  *
20
21
  * @export
@@ -147,6 +148,18 @@ export interface VirtualMachineDetail {
147
148
  * @memberof VirtualMachineDetail
148
149
  */
149
150
  migratable?: boolean;
151
+ /**
152
+ * Whether this VM is excluded from migration
153
+ * @type {boolean}
154
+ * @memberof VirtualMachineDetail
155
+ */
156
+ migrationExcluded?: boolean;
157
+ /**
158
+ * User-defined labels for this VM
159
+ * @type {Array<string>}
160
+ * @memberof VirtualMachineDetail
161
+ */
162
+ labels?: Array<string>;
150
163
  /**
151
164
  * Whether VMware Fault Tolerance is enabled, which maintains a live shadow VirtualMachine for instant failover
152
165
  * @type {boolean}
@@ -203,10 +216,16 @@ export interface VirtualMachineDetail {
203
216
  issues?: Array<VMIssue>;
204
217
  /**
205
218
  *
206
- * @type {VmInspectionStatus}
219
+ * @type {VmInspectionResults}
220
+ * @memberof VirtualMachineDetail
221
+ */
222
+ inspection?: VmInspectionResults;
223
+ /**
224
+ *
225
+ * @type {VmUtilizationDetails}
207
226
  * @memberof VirtualMachineDetail
208
227
  */
209
- inspection?: VmInspectionStatus;
228
+ utilization?: VmUtilizationDetails;
210
229
  }
211
230
  /**
212
231
  * Check if a given object implements the VirtualMachineDetail interface.
@@ -19,11 +19,12 @@ 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");
25
+ const VmUtilizationDetails_js_1 = require("./VmUtilizationDetails.js");
26
26
  const VMDisk_js_1 = require("./VMDisk.js");
27
+ const VmInspectionResults_js_1 = require("./VmInspectionResults.js");
27
28
  /**
28
29
  * Check if a given object implements the VirtualMachineDetail interface.
29
30
  */
@@ -77,6 +78,8 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
77
78
  'storageUsed': json['storageUsed'] == null ? undefined : json['storageUsed'],
78
79
  'template': json['template'] == null ? undefined : json['template'],
79
80
  'migratable': json['migratable'] == null ? undefined : json['migratable'],
81
+ 'migrationExcluded': json['migrationExcluded'] == null ? undefined : json['migrationExcluded'],
82
+ 'labels': json['labels'] == null ? undefined : json['labels'],
80
83
  'faultToleranceEnabled': json['faultToleranceEnabled'] == null ? undefined : json['faultToleranceEnabled'],
81
84
  'nestedHVEnabled': json['nestedHVEnabled'] == null ? undefined : json['nestedHVEnabled'],
82
85
  'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
@@ -86,7 +89,8 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
86
89
  'devices': json['devices'] == null ? undefined : (json['devices'].map(VMDevice_js_1.VMDeviceFromJSON)),
87
90
  'guestNetworks': json['guestNetworks'] == null ? undefined : (json['guestNetworks'].map(GuestNetwork_js_1.GuestNetworkFromJSON)),
88
91
  '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']),
92
+ 'inspection': json['inspection'] == null ? undefined : (0, VmInspectionResults_js_1.VmInspectionResultsFromJSON)(json['inspection']),
93
+ 'utilization': json['utilization'] == null ? undefined : (0, VmUtilizationDetails_js_1.VmUtilizationDetailsFromJSON)(json['utilization']),
90
94
  };
91
95
  }
92
96
  function VirtualMachineDetailToJSON(json) {
@@ -118,6 +122,8 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
118
122
  'storageUsed': value['storageUsed'],
119
123
  'template': value['template'],
120
124
  'migratable': value['migratable'],
125
+ 'migrationExcluded': value['migrationExcluded'],
126
+ 'labels': value['labels'],
121
127
  'faultToleranceEnabled': value['faultToleranceEnabled'],
122
128
  'nestedHVEnabled': value['nestedHVEnabled'],
123
129
  'toolsStatus': value['toolsStatus'],
@@ -127,6 +133,7 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
127
133
  'devices': value['devices'] == null ? undefined : (value['devices'].map(VMDevice_js_1.VMDeviceToJSON)),
128
134
  'guestNetworks': value['guestNetworks'] == null ? undefined : (value['guestNetworks'].map(GuestNetwork_js_1.GuestNetworkToJSON)),
129
135
  'issues': value['issues'] == null ? undefined : (value['issues'].map(VMIssue_js_1.VMIssueToJSON)),
130
- 'inspection': (0, VmInspectionStatus_js_1.VmInspectionStatusToJSON)(value['inspection']),
136
+ 'inspection': (0, VmInspectionResults_js_1.VmInspectionResultsToJSON)(value['inspection']),
137
+ 'utilization': (0, VmUtilizationDetails_js_1.VmUtilizationDetailsToJSON)(value['utilization']),
131
138
  };
132
139
  }
@@ -0,0 +1,38 @@
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 VirtualMachineUpdateRequest
16
+ */
17
+ export interface VirtualMachineUpdateRequest {
18
+ /**
19
+ * Whether to exclude this VM from migration
20
+ * @type {boolean}
21
+ * @memberof VirtualMachineUpdateRequest
22
+ */
23
+ migrationExcluded?: boolean;
24
+ /**
25
+ * User-defined labels (replaces existing labels)
26
+ * @type {Array<string>}
27
+ * @memberof VirtualMachineUpdateRequest
28
+ */
29
+ labels?: Array<string>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the VirtualMachineUpdateRequest interface.
33
+ */
34
+ export declare function instanceOfVirtualMachineUpdateRequest(value: object): value is VirtualMachineUpdateRequest;
35
+ export declare function VirtualMachineUpdateRequestFromJSON(json: any): VirtualMachineUpdateRequest;
36
+ export declare function VirtualMachineUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): VirtualMachineUpdateRequest;
37
+ export declare function VirtualMachineUpdateRequestToJSON(json: any): VirtualMachineUpdateRequest;
38
+ export declare function VirtualMachineUpdateRequestToJSONTyped(value?: VirtualMachineUpdateRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfVirtualMachineUpdateRequest = instanceOfVirtualMachineUpdateRequest;
17
+ exports.VirtualMachineUpdateRequestFromJSON = VirtualMachineUpdateRequestFromJSON;
18
+ exports.VirtualMachineUpdateRequestFromJSONTyped = VirtualMachineUpdateRequestFromJSONTyped;
19
+ exports.VirtualMachineUpdateRequestToJSON = VirtualMachineUpdateRequestToJSON;
20
+ exports.VirtualMachineUpdateRequestToJSONTyped = VirtualMachineUpdateRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the VirtualMachineUpdateRequest interface.
23
+ */
24
+ function instanceOfVirtualMachineUpdateRequest(value) {
25
+ return true;
26
+ }
27
+ function VirtualMachineUpdateRequestFromJSON(json) {
28
+ return VirtualMachineUpdateRequestFromJSONTyped(json, false);
29
+ }
30
+ function VirtualMachineUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'migrationExcluded': json['migrationExcluded'] == null ? undefined : json['migrationExcluded'],
36
+ 'labels': json['labels'] == null ? undefined : json['labels'],
37
+ };
38
+ }
39
+ function VirtualMachineUpdateRequestToJSON(json) {
40
+ return VirtualMachineUpdateRequestToJSONTyped(json, false);
41
+ }
42
+ function VirtualMachineUpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'migrationExcluded': value['migrationExcluded'],
48
+ 'labels': value['labels'],
49
+ };
50
+ }
@@ -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.