@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,59 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the VMFilterOptionsResponse interface.
16
+ */
17
+ export function instanceOfVMFilterOptionsResponse(value) {
18
+ if (!('clusters' in value) || value['clusters'] === undefined)
19
+ return false;
20
+ if (!('datacenters' in value) || value['datacenters'] === undefined)
21
+ return false;
22
+ if (!('concernLabels' in value) || value['concernLabels'] === undefined)
23
+ return false;
24
+ if (!('concernCategories' in value) || value['concernCategories'] === undefined)
25
+ return false;
26
+ if (!('applications' in value) || value['applications'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ export function VMFilterOptionsResponseFromJSON(json) {
31
+ return VMFilterOptionsResponseFromJSONTyped(json, false);
32
+ }
33
+ export function VMFilterOptionsResponseFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'clusters': json['clusters'],
39
+ 'datacenters': json['datacenters'],
40
+ 'concernLabels': json['concernLabels'],
41
+ 'concernCategories': json['concernCategories'],
42
+ 'applications': json['applications'],
43
+ };
44
+ }
45
+ export function VMFilterOptionsResponseToJSON(json) {
46
+ return VMFilterOptionsResponseToJSONTyped(json, false);
47
+ }
48
+ export function VMFilterOptionsResponseToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'clusters': value['clusters'],
54
+ 'datacenters': value['datacenters'],
55
+ 'concernLabels': value['concernLabels'],
56
+ 'concernCategories': value['concernCategories'],
57
+ 'applications': value['applications'],
58
+ };
59
+ }
@@ -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 VMLabelsResponse
16
+ */
17
+ export interface VMLabelsResponse {
18
+ /**
19
+ * Distinct labels currently in use
20
+ * @type {Array<string>}
21
+ * @memberof VMLabelsResponse
22
+ */
23
+ labels: Array<string>;
24
+ /**
25
+ * Number of VMs with each label (same order as labels array)
26
+ * @type {Array<number>}
27
+ * @memberof VMLabelsResponse
28
+ */
29
+ counts: Array<number>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the VMLabelsResponse interface.
33
+ */
34
+ export declare function instanceOfVMLabelsResponse(value: object): value is VMLabelsResponse;
35
+ export declare function VMLabelsResponseFromJSON(json: any): VMLabelsResponse;
36
+ export declare function VMLabelsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMLabelsResponse;
37
+ export declare function VMLabelsResponseToJSON(json: any): VMLabelsResponse;
38
+ export declare function VMLabelsResponseToJSONTyped(value?: VMLabelsResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the VMLabelsResponse interface.
16
+ */
17
+ export function instanceOfVMLabelsResponse(value) {
18
+ if (!('labels' in value) || value['labels'] === undefined)
19
+ return false;
20
+ if (!('counts' in value) || value['counts'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function VMLabelsResponseFromJSON(json) {
25
+ return VMLabelsResponseFromJSONTyped(json, false);
26
+ }
27
+ export function VMLabelsResponseFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'labels': json['labels'],
33
+ 'counts': json['counts'],
34
+ };
35
+ }
36
+ export function VMLabelsResponseToJSON(json) {
37
+ return VMLabelsResponseToJSONTyped(json, false);
38
+ }
39
+ export function VMLabelsResponseToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'labels': value['labels'],
45
+ 'counts': value['counts'],
46
+ };
47
+ }
@@ -33,6 +33,18 @@ export interface VMNIC {
33
33
  * @memberof VMNIC
34
34
  */
35
35
  index?: number;
36
+ /**
37
+ * IPv4 address of this NIC as reported by VMware Tools
38
+ * @type {string}
39
+ * @memberof VMNIC
40
+ */
41
+ ipv4Address?: string;
42
+ /**
43
+ * IPv6 address of this NIC as reported by VMware Tools
44
+ * @type {string}
45
+ * @memberof VMNIC
46
+ */
47
+ ipv6Address?: string;
36
48
  }
37
49
  /**
38
50
  * Check if a given object implements the VMNIC interface.
@@ -28,6 +28,8 @@ export function VMNICFromJSONTyped(json, ignoreDiscriminator) {
28
28
  'mac': json['mac'] == null ? undefined : json['mac'],
29
29
  'network': json['network'] == null ? undefined : json['network'],
30
30
  'index': json['index'] == null ? undefined : json['index'],
31
+ 'ipv4Address': json['ipv4Address'] == null ? undefined : json['ipv4Address'],
32
+ 'ipv6Address': json['ipv6Address'] == null ? undefined : json['ipv6Address'],
31
33
  };
32
34
  }
33
35
  export function VMNICToJSON(json) {
@@ -41,5 +43,7 @@ export function VMNICToJSONTyped(value, ignoreDiscriminator = false) {
41
43
  'mac': value['mac'],
42
44
  'network': value['network'],
43
45
  'index': value['index'],
46
+ 'ipv4Address': value['ipv4Address'],
47
+ 'ipv6Address': value['ipv6Address'],
44
48
  };
45
49
  }
@@ -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}
@@ -55,11 +55,13 @@ export function VMsFromJSONTyped(json, ignoreDiscriminator) {
55
55
  'totalWithSharedDisks': json['totalWithSharedDisks'] == null ? undefined : json['totalWithSharedDisks'],
56
56
  'cpuCores': VMResourceBreakdownFromJSON(json['cpuCores']),
57
57
  'diskSizeTier': json['diskSizeTier'] == null ? undefined : (mapValues(json['diskSizeTier'], DiskSizeTierSummaryFromJSON)),
58
+ 'diskComplexityTier': json['diskComplexityTier'] == null ? undefined : (mapValues(json['diskComplexityTier'], DiskSizeTierSummaryFromJSON)),
58
59
  'diskTypes': json['diskTypes'] == null ? undefined : (mapValues(json['diskTypes'], DiskTypeSummaryFromJSON)),
59
60
  'distributionByCpuTier': json['distributionByCpuTier'] == null ? undefined : json['distributionByCpuTier'],
60
61
  'distributionByMemoryTier': json['distributionByMemoryTier'] == null ? undefined : json['distributionByMemoryTier'],
61
62
  'distributionByNicCount': json['distributionByNicCount'] == null ? undefined : json['distributionByNicCount'],
62
63
  'distributionByComplexity': json['distributionByComplexity'] == null ? undefined : json['distributionByComplexity'],
64
+ 'complexityDistribution': json['complexityDistribution'] == null ? undefined : (mapValues(json['complexityDistribution'], DiskSizeTierSummaryFromJSON)),
63
65
  'ramGB': VMResourceBreakdownFromJSON(json['ramGB']),
64
66
  'diskGB': VMResourceBreakdownFromJSON(json['diskGB']),
65
67
  'diskCount': VMResourceBreakdownFromJSON(json['diskCount']),
@@ -85,11 +87,13 @@ export function VMsToJSONTyped(value, ignoreDiscriminator = false) {
85
87
  'totalWithSharedDisks': value['totalWithSharedDisks'],
86
88
  'cpuCores': VMResourceBreakdownToJSON(value['cpuCores']),
87
89
  'diskSizeTier': value['diskSizeTier'] == null ? undefined : (mapValues(value['diskSizeTier'], DiskSizeTierSummaryToJSON)),
90
+ 'diskComplexityTier': value['diskComplexityTier'] == null ? undefined : (mapValues(value['diskComplexityTier'], DiskSizeTierSummaryToJSON)),
88
91
  'diskTypes': value['diskTypes'] == null ? undefined : (mapValues(value['diskTypes'], DiskTypeSummaryToJSON)),
89
92
  'distributionByCpuTier': value['distributionByCpuTier'],
90
93
  'distributionByMemoryTier': value['distributionByMemoryTier'],
91
94
  'distributionByNicCount': value['distributionByNicCount'],
92
95
  'distributionByComplexity': value['distributionByComplexity'],
96
+ 'complexityDistribution': value['complexityDistribution'] == null ? undefined : (mapValues(value['complexityDistribution'], DiskSizeTierSummaryToJSON)),
93
97
  'ramGB': VMResourceBreakdownToJSON(value['ramGB']),
94
98
  'diskGB': VMResourceBreakdownToJSON(value['diskGB']),
95
99
  'diskCount': VMResourceBreakdownToJSON(value['diskCount']),
@@ -33,6 +33,18 @@ export interface VcenterCredentials {
33
33
  * @memberof VcenterCredentials
34
34
  */
35
35
  password: string;
36
+ /**
37
+ * PEM-encoded CA certificate bundle for verifying the vCenter TLS certificate. Mutually exclusive with skipTls.
38
+ * @type {string}
39
+ * @memberof VcenterCredentials
40
+ */
41
+ cacert?: string;
42
+ /**
43
+ * When true, TLS certificate verification is skipped. Must not be set to true alongside cacert — that combination returns 400. When omitted: if cacert is absent the connection skips TLS verification (backwards compatibility); if cacert is provided the connection verifies TLS using that certificate — skipTls need not be sent.
44
+ * @type {boolean}
45
+ * @memberof VcenterCredentials
46
+ */
47
+ skipTls?: boolean;
36
48
  }
37
49
  /**
38
50
  * Check if a given object implements the VcenterCredentials interface.
@@ -34,6 +34,8 @@ export function VcenterCredentialsFromJSONTyped(json, ignoreDiscriminator) {
34
34
  'url': json['url'],
35
35
  'username': json['username'],
36
36
  'password': json['password'],
37
+ 'cacert': json['cacert'] == null ? undefined : json['cacert'],
38
+ 'skipTls': json['skipTls'] == null ? undefined : json['skipTls'],
37
39
  };
38
40
  }
39
41
  export function VcenterCredentialsToJSON(json) {
@@ -47,5 +49,7 @@ export function VcenterCredentialsToJSONTyped(value, ignoreDiscriminator = false
47
49
  'url': value['url'],
48
50
  'username': value['username'],
49
51
  'password': value['password'],
52
+ 'cacert': value['cacert'],
53
+ 'skipTls': value['skipTls'],
50
54
  };
51
55
  }
@@ -76,18 +76,72 @@ 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;
97
+ /**
98
+ * Names of groups this VM matches
99
+ * @type {Array<string>}
100
+ * @memberof VirtualMachine
101
+ */
102
+ groups?: Array<string>;
85
103
  /**
86
- * Tags aggregated from matching groups
104
+ * User-defined labels for this VM
87
105
  * @type {Array<string>}
88
106
  * @memberof VirtualMachine
89
107
  */
90
- tags?: Array<string>;
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
+ * CPU utilization at max (%); absent when no utilization data
123
+ * @type {number}
124
+ * @memberof VirtualMachine
125
+ */
126
+ utilization_cpu_max?: number;
127
+ /**
128
+ * Memory utilization at max (%); absent when no utilization data
129
+ * @type {number}
130
+ * @memberof VirtualMachine
131
+ */
132
+ utilization_mem_max?: number;
133
+ /**
134
+ * Disk utilization (%); absent when no utilization data
135
+ * @type {number}
136
+ * @memberof VirtualMachine
137
+ */
138
+ utilization_disk?: number;
139
+ /**
140
+ * Data confidence — sample_count / expected_sample_count × 100
141
+ * @type {number}
142
+ * @memberof VirtualMachine
143
+ */
144
+ utilization_confidence?: number;
91
145
  }
92
146
  /**
93
147
  * Check if a given object implements the VirtualMachine interface.
@@ -32,8 +32,6 @@ export function instanceOfVirtualMachine(value) {
32
32
  return false;
33
33
  if (!('issueCount' in value) || value['issueCount'] === undefined)
34
34
  return false;
35
- if (!('inspection' in value) || value['inspection'] === undefined)
36
- return false;
37
35
  return true;
38
36
  }
39
37
  export function VirtualMachineFromJSON(json) {
@@ -54,8 +52,17 @@ export function VirtualMachineFromJSONTyped(json, ignoreDiscriminator) {
54
52
  'issueCount': json['issueCount'],
55
53
  'migratable': json['migratable'] == null ? undefined : json['migratable'],
56
54
  'template': json['template'] == null ? undefined : json['template'],
57
- 'inspection': VmInspectionStatusFromJSON(json['inspection']),
58
- 'tags': json['tags'] == null ? undefined : json['tags'],
55
+ 'migrationExcluded': json['migrationExcluded'] == null ? undefined : json['migrationExcluded'],
56
+ 'inspectionStatus': json['inspectionStatus'] == null ? undefined : VmInspectionStatusFromJSON(json['inspectionStatus']),
57
+ 'inspectionConcernCount': json['inspectionConcernCount'] == null ? undefined : json['inspectionConcernCount'],
58
+ 'groups': json['groups'] == null ? undefined : json['groups'],
59
+ 'labels': json['labels'] == null ? undefined : json['labels'],
60
+ 'utilization_cpu_p95': json['utilization_cpu_p95'] == null ? undefined : json['utilization_cpu_p95'],
61
+ 'utilization_mem_p95': json['utilization_mem_p95'] == null ? undefined : json['utilization_mem_p95'],
62
+ 'utilization_cpu_max': json['utilization_cpu_max'] == null ? undefined : json['utilization_cpu_max'],
63
+ 'utilization_mem_max': json['utilization_mem_max'] == null ? undefined : json['utilization_mem_max'],
64
+ 'utilization_disk': json['utilization_disk'] == null ? undefined : json['utilization_disk'],
65
+ 'utilization_confidence': json['utilization_confidence'] == null ? undefined : json['utilization_confidence'],
59
66
  };
60
67
  }
61
68
  export function VirtualMachineToJSON(json) {
@@ -76,7 +83,16 @@ export function VirtualMachineToJSONTyped(value, ignoreDiscriminator = false) {
76
83
  'issueCount': value['issueCount'],
77
84
  'migratable': value['migratable'],
78
85
  'template': value['template'],
79
- 'inspection': VmInspectionStatusToJSON(value['inspection']),
80
- 'tags': value['tags'],
86
+ 'migrationExcluded': value['migrationExcluded'],
87
+ 'inspectionStatus': VmInspectionStatusToJSON(value['inspectionStatus']),
88
+ 'inspectionConcernCount': value['inspectionConcernCount'],
89
+ 'groups': value['groups'],
90
+ 'labels': value['labels'],
91
+ 'utilization_cpu_p95': value['utilization_cpu_p95'],
92
+ 'utilization_mem_p95': value['utilization_mem_p95'],
93
+ 'utilization_cpu_max': value['utilization_cpu_max'],
94
+ 'utilization_mem_max': value['utilization_mem_max'],
95
+ 'utilization_disk': value['utilization_disk'],
96
+ 'utilization_confidence': value['utilization_confidence'],
81
97
  };
82
98
  }
@@ -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.
@@ -12,11 +12,12 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { VMNICFromJSON, VMNICToJSON, } from './VMNIC.js';
15
- import { VmInspectionStatusFromJSON, VmInspectionStatusToJSON, } from './VmInspectionStatus.js';
16
15
  import { GuestNetworkFromJSON, GuestNetworkToJSON, } from './GuestNetwork.js';
17
16
  import { VMIssueFromJSON, VMIssueToJSON, } from './VMIssue.js';
18
17
  import { VMDeviceFromJSON, VMDeviceToJSON, } from './VMDevice.js';
18
+ import { VmUtilizationDetailsFromJSON, VmUtilizationDetailsToJSON, } from './VmUtilizationDetails.js';
19
19
  import { VMDiskFromJSON, VMDiskToJSON, } from './VMDisk.js';
20
+ import { VmInspectionResultsFromJSON, VmInspectionResultsToJSON, } from './VmInspectionResults.js';
20
21
  /**
21
22
  * Check if a given object implements the VirtualMachineDetail interface.
22
23
  */
@@ -70,6 +71,8 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
70
71
  'storageUsed': json['storageUsed'] == null ? undefined : json['storageUsed'],
71
72
  'template': json['template'] == null ? undefined : json['template'],
72
73
  'migratable': json['migratable'] == null ? undefined : json['migratable'],
74
+ 'migrationExcluded': json['migrationExcluded'] == null ? undefined : json['migrationExcluded'],
75
+ 'labels': json['labels'] == null ? undefined : json['labels'],
73
76
  'faultToleranceEnabled': json['faultToleranceEnabled'] == null ? undefined : json['faultToleranceEnabled'],
74
77
  'nestedHVEnabled': json['nestedHVEnabled'] == null ? undefined : json['nestedHVEnabled'],
75
78
  'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
@@ -79,7 +82,8 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
79
82
  'devices': json['devices'] == null ? undefined : (json['devices'].map(VMDeviceFromJSON)),
80
83
  'guestNetworks': json['guestNetworks'] == null ? undefined : (json['guestNetworks'].map(GuestNetworkFromJSON)),
81
84
  'issues': json['issues'] == null ? undefined : (json['issues'].map(VMIssueFromJSON)),
82
- 'inspection': json['inspection'] == null ? undefined : VmInspectionStatusFromJSON(json['inspection']),
85
+ 'inspection': json['inspection'] == null ? undefined : VmInspectionResultsFromJSON(json['inspection']),
86
+ 'utilization': json['utilization'] == null ? undefined : VmUtilizationDetailsFromJSON(json['utilization']),
83
87
  };
84
88
  }
85
89
  export function VirtualMachineDetailToJSON(json) {
@@ -111,6 +115,8 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
111
115
  'storageUsed': value['storageUsed'],
112
116
  'template': value['template'],
113
117
  'migratable': value['migratable'],
118
+ 'migrationExcluded': value['migrationExcluded'],
119
+ 'labels': value['labels'],
114
120
  'faultToleranceEnabled': value['faultToleranceEnabled'],
115
121
  'nestedHVEnabled': value['nestedHVEnabled'],
116
122
  'toolsStatus': value['toolsStatus'],
@@ -120,6 +126,7 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
120
126
  'devices': value['devices'] == null ? undefined : (value['devices'].map(VMDeviceToJSON)),
121
127
  'guestNetworks': value['guestNetworks'] == null ? undefined : (value['guestNetworks'].map(GuestNetworkToJSON)),
122
128
  'issues': value['issues'] == null ? undefined : (value['issues'].map(VMIssueToJSON)),
123
- 'inspection': VmInspectionStatusToJSON(value['inspection']),
129
+ 'inspection': VmInspectionResultsToJSON(value['inspection']),
130
+ 'utilization': VmUtilizationDetailsToJSON(value['utilization']),
124
131
  };
125
132
  }
@@ -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,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Assisted Migration Agent API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the VirtualMachineUpdateRequest interface.
16
+ */
17
+ export function instanceOfVirtualMachineUpdateRequest(value) {
18
+ return true;
19
+ }
20
+ export function VirtualMachineUpdateRequestFromJSON(json) {
21
+ return VirtualMachineUpdateRequestFromJSONTyped(json, false);
22
+ }
23
+ export function VirtualMachineUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'migrationExcluded': json['migrationExcluded'] == null ? undefined : json['migrationExcluded'],
29
+ 'labels': json['labels'] == null ? undefined : json['labels'],
30
+ };
31
+ }
32
+ export function VirtualMachineUpdateRequestToJSON(json) {
33
+ return VirtualMachineUpdateRequestToJSONTyped(json, false);
34
+ }
35
+ export function VirtualMachineUpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'migrationExcluded': value['migrationExcluded'],
41
+ 'labels': value['labels'],
42
+ };
43
+ }
@@ -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;