@openshift-migration-advisor/planner-sdk 0.5.1 → 0.6.0-2f3328163282

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 (292) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +7 -2
  3. package/dist/apis/AssessmentApi.d.ts +39 -2
  4. package/dist/apis/AssessmentApi.js +45 -1
  5. package/dist/apis/HealthApi.d.ts +1 -1
  6. package/dist/apis/HealthApi.js +1 -1
  7. package/dist/apis/ImageApi.d.ts +1 -1
  8. package/dist/apis/ImageApi.js +1 -1
  9. package/dist/apis/InfoApi.d.ts +5 -5
  10. package/dist/apis/InfoApi.js +3 -3
  11. package/dist/apis/JobApi.d.ts +1 -1
  12. package/dist/apis/JobApi.js +1 -1
  13. package/dist/apis/SourceApi.d.ts +1 -1
  14. package/dist/apis/SourceApi.js +1 -1
  15. package/dist/esm/apis/AssessmentApi.d.ts +39 -2
  16. package/dist/esm/apis/AssessmentApi.js +46 -2
  17. package/dist/esm/apis/HealthApi.d.ts +1 -1
  18. package/dist/esm/apis/HealthApi.js +1 -1
  19. package/dist/esm/apis/ImageApi.d.ts +1 -1
  20. package/dist/esm/apis/ImageApi.js +1 -1
  21. package/dist/esm/apis/InfoApi.d.ts +5 -5
  22. package/dist/esm/apis/InfoApi.js +3 -3
  23. package/dist/esm/apis/JobApi.d.ts +1 -1
  24. package/dist/esm/apis/JobApi.js +1 -1
  25. package/dist/esm/apis/SourceApi.d.ts +1 -1
  26. package/dist/esm/apis/SourceApi.js +1 -1
  27. package/dist/esm/models/Agent.d.ts +1 -1
  28. package/dist/esm/models/Agent.js +1 -1
  29. package/dist/esm/models/AgentProxy.d.ts +1 -1
  30. package/dist/esm/models/AgentProxy.js +1 -1
  31. package/dist/esm/models/Assessment.d.ts +1 -1
  32. package/dist/esm/models/Assessment.js +1 -1
  33. package/dist/esm/models/AssessmentForm.d.ts +2 -2
  34. package/dist/esm/models/AssessmentForm.js +1 -1
  35. package/dist/esm/models/AssessmentUpdate.d.ts +1 -1
  36. package/dist/esm/models/AssessmentUpdate.js +1 -1
  37. package/dist/esm/models/ClusterRequirementsRequest.d.ts +13 -1
  38. package/dist/esm/models/ClusterRequirementsRequest.js +5 -1
  39. package/dist/esm/models/ClusterRequirementsResponse.d.ts +1 -1
  40. package/dist/esm/models/ClusterRequirementsResponse.js +1 -1
  41. package/dist/esm/models/ClusterSizing.d.ts +1 -1
  42. package/dist/esm/models/ClusterSizing.js +1 -1
  43. package/dist/esm/models/ComplexityDiskScoreEntry.d.ts +45 -0
  44. package/dist/esm/models/ComplexityDiskScoreEntry.js +51 -0
  45. package/dist/esm/models/ComplexityOSScoreEntry.d.ts +39 -0
  46. package/dist/esm/models/ComplexityOSScoreEntry.js +47 -0
  47. package/dist/esm/models/Datastore.d.ts +1 -1
  48. package/dist/esm/models/Datastore.js +1 -1
  49. package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
  50. package/dist/esm/models/DiskSizeTierSummary.js +1 -1
  51. package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
  52. package/dist/esm/models/DiskTypeSummary.js +1 -1
  53. package/dist/esm/models/EstimationDetail.d.ts +1 -1
  54. package/dist/esm/models/EstimationDetail.js +1 -1
  55. package/dist/esm/models/Histogram.d.ts +1 -1
  56. package/dist/esm/models/Histogram.js +1 -1
  57. package/dist/esm/models/Host.d.ts +1 -1
  58. package/dist/esm/models/Host.js +1 -1
  59. package/dist/esm/models/Info.d.ts +2 -2
  60. package/dist/esm/models/Info.js +1 -1
  61. package/dist/esm/models/Infra.d.ts +1 -1
  62. package/dist/esm/models/Infra.js +1 -1
  63. package/dist/esm/models/Inventory.d.ts +1 -1
  64. package/dist/esm/models/Inventory.js +1 -1
  65. package/dist/esm/models/InventoryData.d.ts +1 -1
  66. package/dist/esm/models/InventoryData.js +1 -1
  67. package/dist/esm/models/InventoryTotals.d.ts +1 -1
  68. package/dist/esm/models/InventoryTotals.js +1 -1
  69. package/dist/esm/models/Ipv4Config.d.ts +1 -1
  70. package/dist/esm/models/Ipv4Config.js +1 -1
  71. package/dist/esm/models/Job.d.ts +1 -1
  72. package/dist/esm/models/Job.js +1 -1
  73. package/dist/esm/models/JobStatus.d.ts +1 -1
  74. package/dist/esm/models/JobStatus.js +1 -1
  75. package/dist/esm/models/Label.d.ts +1 -1
  76. package/dist/esm/models/Label.js +1 -1
  77. package/dist/esm/models/MigrationComplexityRequest.d.ts +32 -0
  78. package/dist/esm/models/MigrationComplexityRequest.js +43 -0
  79. package/dist/esm/models/MigrationComplexityResponse.d.ts +60 -0
  80. package/dist/esm/models/MigrationComplexityResponse.js +57 -0
  81. package/dist/esm/models/MigrationEstimationRequest.d.ts +1 -1
  82. package/dist/esm/models/MigrationEstimationRequest.js +1 -1
  83. package/dist/esm/models/MigrationEstimationResponse.d.ts +1 -1
  84. package/dist/esm/models/MigrationEstimationResponse.js +1 -1
  85. package/dist/esm/models/MigrationIssue.d.ts +1 -1
  86. package/dist/esm/models/MigrationIssue.js +1 -1
  87. package/dist/esm/models/ModelError.d.ts +1 -7
  88. package/dist/esm/models/ModelError.js +1 -3
  89. package/dist/esm/models/Network.d.ts +1 -1
  90. package/dist/esm/models/Network.js +1 -1
  91. package/dist/esm/models/OsInfo.d.ts +1 -1
  92. package/dist/esm/models/OsInfo.js +1 -1
  93. package/dist/esm/models/PresignedUrl.d.ts +1 -1
  94. package/dist/esm/models/PresignedUrl.js +1 -1
  95. package/dist/esm/models/SizingOverCommitRatio.d.ts +1 -1
  96. package/dist/esm/models/SizingOverCommitRatio.js +1 -1
  97. package/dist/esm/models/SizingResourceConsumption.d.ts +1 -1
  98. package/dist/esm/models/SizingResourceConsumption.js +1 -1
  99. package/dist/esm/models/SizingResourceLimits.d.ts +1 -1
  100. package/dist/esm/models/SizingResourceLimits.js +1 -1
  101. package/dist/esm/models/Snapshot.d.ts +1 -1
  102. package/dist/esm/models/Snapshot.js +1 -1
  103. package/dist/esm/models/Source.d.ts +1 -1
  104. package/dist/esm/models/Source.js +1 -1
  105. package/dist/esm/models/SourceCreate.d.ts +1 -1
  106. package/dist/esm/models/SourceCreate.js +1 -1
  107. package/dist/esm/models/SourceInfra.d.ts +1 -1
  108. package/dist/esm/models/SourceInfra.js +1 -1
  109. package/dist/esm/models/SourceUpdate.d.ts +1 -1
  110. package/dist/esm/models/SourceUpdate.js +1 -1
  111. package/dist/esm/models/Status.d.ts +1 -1
  112. package/dist/esm/models/Status.js +1 -1
  113. package/dist/esm/models/UpdateInventory.d.ts +1 -1
  114. package/dist/esm/models/UpdateInventory.js +1 -1
  115. package/dist/esm/models/VCenter.d.ts +1 -1
  116. package/dist/esm/models/VCenter.js +1 -1
  117. package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
  118. package/dist/esm/models/VMResourceBreakdown.js +1 -1
  119. package/dist/esm/models/VMs.d.ts +1 -1
  120. package/dist/esm/models/VMs.js +1 -1
  121. package/dist/esm/models/VmNetwork.d.ts +1 -1
  122. package/dist/esm/models/VmNetwork.js +1 -1
  123. package/dist/esm/models/index.d.ts +4 -0
  124. package/dist/esm/models/index.js +4 -0
  125. package/dist/esm/runtime.d.ts +1 -1
  126. package/dist/esm/runtime.js +16 -1
  127. package/dist/models/Agent.d.ts +1 -1
  128. package/dist/models/Agent.js +1 -1
  129. package/dist/models/AgentProxy.d.ts +1 -1
  130. package/dist/models/AgentProxy.js +1 -1
  131. package/dist/models/Assessment.d.ts +1 -1
  132. package/dist/models/Assessment.js +1 -1
  133. package/dist/models/AssessmentForm.d.ts +2 -2
  134. package/dist/models/AssessmentForm.js +1 -1
  135. package/dist/models/AssessmentUpdate.d.ts +1 -1
  136. package/dist/models/AssessmentUpdate.js +1 -1
  137. package/dist/models/ClusterRequirementsRequest.d.ts +13 -1
  138. package/dist/models/ClusterRequirementsRequest.js +5 -1
  139. package/dist/models/ClusterRequirementsResponse.d.ts +1 -1
  140. package/dist/models/ClusterRequirementsResponse.js +1 -1
  141. package/dist/models/ClusterSizing.d.ts +1 -1
  142. package/dist/models/ClusterSizing.js +1 -1
  143. package/dist/models/ComplexityDiskScoreEntry.d.ts +45 -0
  144. package/dist/models/ComplexityDiskScoreEntry.js +58 -0
  145. package/dist/models/ComplexityOSScoreEntry.d.ts +39 -0
  146. package/dist/models/ComplexityOSScoreEntry.js +54 -0
  147. package/dist/models/Datastore.d.ts +1 -1
  148. package/dist/models/Datastore.js +1 -1
  149. package/dist/models/DiskSizeTierSummary.d.ts +1 -1
  150. package/dist/models/DiskSizeTierSummary.js +1 -1
  151. package/dist/models/DiskTypeSummary.d.ts +1 -1
  152. package/dist/models/DiskTypeSummary.js +1 -1
  153. package/dist/models/EstimationDetail.d.ts +1 -1
  154. package/dist/models/EstimationDetail.js +1 -1
  155. package/dist/models/Histogram.d.ts +1 -1
  156. package/dist/models/Histogram.js +1 -1
  157. package/dist/models/Host.d.ts +1 -1
  158. package/dist/models/Host.js +1 -1
  159. package/dist/models/Info.d.ts +2 -2
  160. package/dist/models/Info.js +1 -1
  161. package/dist/models/Infra.d.ts +1 -1
  162. package/dist/models/Infra.js +1 -1
  163. package/dist/models/Inventory.d.ts +1 -1
  164. package/dist/models/Inventory.js +1 -1
  165. package/dist/models/InventoryData.d.ts +1 -1
  166. package/dist/models/InventoryData.js +1 -1
  167. package/dist/models/InventoryTotals.d.ts +1 -1
  168. package/dist/models/InventoryTotals.js +1 -1
  169. package/dist/models/Ipv4Config.d.ts +1 -1
  170. package/dist/models/Ipv4Config.js +1 -1
  171. package/dist/models/Job.d.ts +1 -1
  172. package/dist/models/Job.js +1 -1
  173. package/dist/models/JobStatus.d.ts +1 -1
  174. package/dist/models/JobStatus.js +1 -1
  175. package/dist/models/Label.d.ts +1 -1
  176. package/dist/models/Label.js +1 -1
  177. package/dist/models/MigrationComplexityRequest.d.ts +32 -0
  178. package/dist/models/MigrationComplexityRequest.js +50 -0
  179. package/dist/models/MigrationComplexityResponse.d.ts +60 -0
  180. package/dist/models/MigrationComplexityResponse.js +64 -0
  181. package/dist/models/MigrationEstimationRequest.d.ts +1 -1
  182. package/dist/models/MigrationEstimationRequest.js +1 -1
  183. package/dist/models/MigrationEstimationResponse.d.ts +1 -1
  184. package/dist/models/MigrationEstimationResponse.js +1 -1
  185. package/dist/models/MigrationIssue.d.ts +1 -1
  186. package/dist/models/MigrationIssue.js +1 -1
  187. package/dist/models/ModelError.d.ts +1 -7
  188. package/dist/models/ModelError.js +1 -3
  189. package/dist/models/Network.d.ts +1 -1
  190. package/dist/models/Network.js +1 -1
  191. package/dist/models/OsInfo.d.ts +1 -1
  192. package/dist/models/OsInfo.js +1 -1
  193. package/dist/models/PresignedUrl.d.ts +1 -1
  194. package/dist/models/PresignedUrl.js +1 -1
  195. package/dist/models/SizingOverCommitRatio.d.ts +1 -1
  196. package/dist/models/SizingOverCommitRatio.js +1 -1
  197. package/dist/models/SizingResourceConsumption.d.ts +1 -1
  198. package/dist/models/SizingResourceConsumption.js +1 -1
  199. package/dist/models/SizingResourceLimits.d.ts +1 -1
  200. package/dist/models/SizingResourceLimits.js +1 -1
  201. package/dist/models/Snapshot.d.ts +1 -1
  202. package/dist/models/Snapshot.js +1 -1
  203. package/dist/models/Source.d.ts +1 -1
  204. package/dist/models/Source.js +1 -1
  205. package/dist/models/SourceCreate.d.ts +1 -1
  206. package/dist/models/SourceCreate.js +1 -1
  207. package/dist/models/SourceInfra.d.ts +1 -1
  208. package/dist/models/SourceInfra.js +1 -1
  209. package/dist/models/SourceUpdate.d.ts +1 -1
  210. package/dist/models/SourceUpdate.js +1 -1
  211. package/dist/models/Status.d.ts +1 -1
  212. package/dist/models/Status.js +1 -1
  213. package/dist/models/UpdateInventory.d.ts +1 -1
  214. package/dist/models/UpdateInventory.js +1 -1
  215. package/dist/models/VCenter.d.ts +1 -1
  216. package/dist/models/VCenter.js +1 -1
  217. package/dist/models/VMResourceBreakdown.d.ts +1 -1
  218. package/dist/models/VMResourceBreakdown.js +1 -1
  219. package/dist/models/VMs.d.ts +1 -1
  220. package/dist/models/VMs.js +1 -1
  221. package/dist/models/VmNetwork.d.ts +1 -1
  222. package/dist/models/VmNetwork.js +1 -1
  223. package/dist/models/index.d.ts +4 -0
  224. package/dist/models/index.js +4 -0
  225. package/dist/runtime.d.ts +1 -1
  226. package/dist/runtime.js +16 -1
  227. package/docs/AssessmentApi.md +76 -0
  228. package/docs/ClusterRequirementsRequest.md +4 -0
  229. package/docs/ComplexityDiskScoreEntry.md +39 -0
  230. package/docs/ComplexityOSScoreEntry.md +37 -0
  231. package/docs/Info.md +1 -1
  232. package/docs/InfoApi.md +1 -1
  233. package/docs/MigrationComplexityRequest.md +35 -0
  234. package/docs/MigrationComplexityResponse.md +41 -0
  235. package/docs/ModelError.md +0 -2
  236. package/package.json +1 -1
  237. package/src/apis/AssessmentApi.ts +91 -1
  238. package/src/apis/HealthApi.ts +1 -1
  239. package/src/apis/ImageApi.ts +1 -1
  240. package/src/apis/InfoApi.ts +5 -5
  241. package/src/apis/JobApi.ts +1 -1
  242. package/src/apis/SourceApi.ts +1 -1
  243. package/src/models/Agent.ts +1 -1
  244. package/src/models/AgentProxy.ts +1 -1
  245. package/src/models/Assessment.ts +1 -1
  246. package/src/models/AssessmentForm.ts +2 -2
  247. package/src/models/AssessmentUpdate.ts +1 -1
  248. package/src/models/ClusterRequirementsRequest.ts +17 -1
  249. package/src/models/ClusterRequirementsResponse.ts +1 -1
  250. package/src/models/ClusterSizing.ts +1 -1
  251. package/src/models/ComplexityDiskScoreEntry.ts +85 -0
  252. package/src/models/ComplexityOSScoreEntry.ts +76 -0
  253. package/src/models/Datastore.ts +1 -1
  254. package/src/models/DiskSizeTierSummary.ts +1 -1
  255. package/src/models/DiskTypeSummary.ts +1 -1
  256. package/src/models/EstimationDetail.ts +1 -1
  257. package/src/models/Histogram.ts +1 -1
  258. package/src/models/Host.ts +1 -1
  259. package/src/models/Info.ts +2 -2
  260. package/src/models/Infra.ts +1 -1
  261. package/src/models/Inventory.ts +1 -1
  262. package/src/models/InventoryData.ts +1 -1
  263. package/src/models/InventoryTotals.ts +1 -1
  264. package/src/models/Ipv4Config.ts +1 -1
  265. package/src/models/Job.ts +1 -1
  266. package/src/models/JobStatus.ts +1 -1
  267. package/src/models/Label.ts +1 -1
  268. package/src/models/MigrationComplexityRequest.ts +66 -0
  269. package/src/models/MigrationComplexityResponse.ts +112 -0
  270. package/src/models/MigrationEstimationRequest.ts +1 -1
  271. package/src/models/MigrationEstimationResponse.ts +1 -1
  272. package/src/models/MigrationIssue.ts +1 -1
  273. package/src/models/ModelError.ts +1 -9
  274. package/src/models/Network.ts +1 -1
  275. package/src/models/OsInfo.ts +1 -1
  276. package/src/models/PresignedUrl.ts +1 -1
  277. package/src/models/SizingOverCommitRatio.ts +1 -1
  278. package/src/models/SizingResourceConsumption.ts +1 -1
  279. package/src/models/SizingResourceLimits.ts +1 -1
  280. package/src/models/Snapshot.ts +1 -1
  281. package/src/models/Source.ts +1 -1
  282. package/src/models/SourceCreate.ts +1 -1
  283. package/src/models/SourceInfra.ts +1 -1
  284. package/src/models/SourceUpdate.ts +1 -1
  285. package/src/models/Status.ts +1 -1
  286. package/src/models/UpdateInventory.ts +1 -1
  287. package/src/models/VCenter.ts +1 -1
  288. package/src/models/VMResourceBreakdown.ts +1 -1
  289. package/src/models/VMs.ts +1 -1
  290. package/src/models/VmNetwork.ts +1 -1
  291. package/src/models/index.ts +4 -0
  292. package/src/runtime.ts +19 -1
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -36,7 +36,7 @@ export interface AssessmentForm {
36
36
  /**
37
37
  * Source of the assessment data:
38
38
  * * `inventory` - Manual inventory upload via JSON
39
- * * `agent` - Collected by migration planner agent
39
+ * * `agent` - Collected by OpenShift Migration Advisor agent
40
40
  *
41
41
  * @type {string}
42
42
  * @memberof AssessmentForm
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -61,6 +61,18 @@ export interface ClusterRequirementsRequest {
61
61
  * @memberof ClusterRequirementsRequest
62
62
  */
63
63
  controlPlaneSchedulable?: boolean;
64
+ /**
65
+ * CPU cores per control plane node (default: 6)
66
+ * @type {number}
67
+ * @memberof ClusterRequirementsRequest
68
+ */
69
+ controlPlaneCPU?: number;
70
+ /**
71
+ * Memory (GB) per control plane node (default: 16)
72
+ * @type {number}
73
+ * @memberof ClusterRequirementsRequest
74
+ */
75
+ controlPlaneMemory?: number;
64
76
  }
65
77
 
66
78
 
@@ -115,6 +127,8 @@ export function ClusterRequirementsRequestFromJSONTyped(json: any, ignoreDiscrim
115
127
  'workerNodeMemory': json['workerNodeMemory'],
116
128
  'workerNodeThreads': json['workerNodeThreads'] == null ? undefined : json['workerNodeThreads'],
117
129
  'controlPlaneSchedulable': json['controlPlaneSchedulable'] == null ? undefined : json['controlPlaneSchedulable'],
130
+ 'controlPlaneCPU': json['controlPlaneCPU'] == null ? undefined : json['controlPlaneCPU'],
131
+ 'controlPlaneMemory': json['controlPlaneMemory'] == null ? undefined : json['controlPlaneMemory'],
118
132
  };
119
133
  }
120
134
 
@@ -136,6 +150,8 @@ export function ClusterRequirementsRequestToJSONTyped(value?: ClusterRequirement
136
150
  'workerNodeMemory': value['workerNodeMemory'],
137
151
  'workerNodeThreads': value['workerNodeThreads'],
138
152
  'controlPlaneSchedulable': value['controlPlaneSchedulable'],
153
+ 'controlPlaneCPU': value['controlPlaneCPU'],
154
+ 'controlPlaneMemory': value['controlPlaneMemory'],
139
155
  };
140
156
  }
141
157
 
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -0,0 +1,85 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: undefined
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ * One entry in the disk complexity breakdown
18
+ * @export
19
+ * @interface ComplexityDiskScoreEntry
20
+ */
21
+ export interface ComplexityDiskScoreEntry {
22
+ /**
23
+ * Complexity score from 1 to 4, where 1 is the least complex disk footprint and 4 is the most complex. Score 1: <=10 TB provisioned; score 2: <=20 TB; score 3: <=50 TB; score 4: >50 TB.
24
+ *
25
+ * @type {number}
26
+ * @memberof ComplexityDiskScoreEntry
27
+ */
28
+ score: number;
29
+ /**
30
+ * Number of VMs at this complexity score
31
+ * @type {number}
32
+ * @memberof ComplexityDiskScoreEntry
33
+ */
34
+ vmCount: number;
35
+ /**
36
+ * Total provisioned storage in TB for VMs at this score
37
+ * @type {number}
38
+ * @memberof ComplexityDiskScoreEntry
39
+ */
40
+ totalSizeTB: number;
41
+ }
42
+
43
+ /**
44
+ * Check if a given object implements the ComplexityDiskScoreEntry interface.
45
+ */
46
+ export function instanceOfComplexityDiskScoreEntry(value: object): value is ComplexityDiskScoreEntry {
47
+ if (!('score' in value) || value['score'] === undefined) return false;
48
+ if (!('vmCount' in value) || value['vmCount'] === undefined) return false;
49
+ if (!('totalSizeTB' in value) || value['totalSizeTB'] === undefined) return false;
50
+ return true;
51
+ }
52
+
53
+ export function ComplexityDiskScoreEntryFromJSON(json: any): ComplexityDiskScoreEntry {
54
+ return ComplexityDiskScoreEntryFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function ComplexityDiskScoreEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComplexityDiskScoreEntry {
58
+ if (json == null) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'score': json['score'],
64
+ 'vmCount': json['vmCount'],
65
+ 'totalSizeTB': json['totalSizeTB'],
66
+ };
67
+ }
68
+
69
+ export function ComplexityDiskScoreEntryToJSON(json: any): ComplexityDiskScoreEntry {
70
+ return ComplexityDiskScoreEntryToJSONTyped(json, false);
71
+ }
72
+
73
+ export function ComplexityDiskScoreEntryToJSONTyped(value?: ComplexityDiskScoreEntry | null, ignoreDiscriminator: boolean = false): any {
74
+ if (value == null) {
75
+ return value;
76
+ }
77
+
78
+ return {
79
+
80
+ 'score': value['score'],
81
+ 'vmCount': value['vmCount'],
82
+ 'totalSizeTB': value['totalSizeTB'],
83
+ };
84
+ }
85
+
@@ -0,0 +1,76 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: undefined
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ * One entry in the OS complexity breakdown
18
+ * @export
19
+ * @interface ComplexityOSScoreEntry
20
+ */
21
+ export interface ComplexityOSScoreEntry {
22
+ /**
23
+ * Complexity score from 0 to 4, where 1 indicates the least complex OS to migrate and 0 indicates an OS that could not be classified.
24
+ *
25
+ * @type {number}
26
+ * @memberof ComplexityOSScoreEntry
27
+ */
28
+ score: number;
29
+ /**
30
+ * Number of VMs at this complexity score
31
+ * @type {number}
32
+ * @memberof ComplexityOSScoreEntry
33
+ */
34
+ vmCount: number;
35
+ }
36
+
37
+ /**
38
+ * Check if a given object implements the ComplexityOSScoreEntry interface.
39
+ */
40
+ export function instanceOfComplexityOSScoreEntry(value: object): value is ComplexityOSScoreEntry {
41
+ if (!('score' in value) || value['score'] === undefined) return false;
42
+ if (!('vmCount' in value) || value['vmCount'] === undefined) return false;
43
+ return true;
44
+ }
45
+
46
+ export function ComplexityOSScoreEntryFromJSON(json: any): ComplexityOSScoreEntry {
47
+ return ComplexityOSScoreEntryFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function ComplexityOSScoreEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComplexityOSScoreEntry {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'score': json['score'],
57
+ 'vmCount': json['vmCount'],
58
+ };
59
+ }
60
+
61
+ export function ComplexityOSScoreEntryToJSON(json: any): ComplexityOSScoreEntry {
62
+ return ComplexityOSScoreEntryToJSONTyped(json, false);
63
+ }
64
+
65
+ export function ComplexityOSScoreEntryToJSONTyped(value?: ComplexityOSScoreEntry | null, ignoreDiscriminator: boolean = false): any {
66
+ if (value == null) {
67
+ return value;
68
+ }
69
+
70
+ return {
71
+
72
+ 'score': value['score'],
73
+ 'vmCount': value['vmCount'],
74
+ };
75
+ }
76
+
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -14,7 +14,7 @@
14
14
 
15
15
  import { mapValues } from '../runtime.js';
16
16
  /**
17
- * Migration planner information
17
+ * OpenShift Migration Advisor information
18
18
  * @export
19
19
  * @interface Info
20
20
  */
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
package/src/models/Job.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: undefined
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ * Request payload for calculating migration complexity estimation
18
+ * @export
19
+ * @interface MigrationComplexityRequest
20
+ */
21
+ export interface MigrationComplexityRequest {
22
+ /**
23
+ * ID of the cluster to calculate complexity estimation for
24
+ * @type {string}
25
+ * @memberof MigrationComplexityRequest
26
+ */
27
+ clusterId: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the MigrationComplexityRequest interface.
32
+ */
33
+ export function instanceOfMigrationComplexityRequest(value: object): value is MigrationComplexityRequest {
34
+ if (!('clusterId' in value) || value['clusterId'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function MigrationComplexityRequestFromJSON(json: any): MigrationComplexityRequest {
39
+ return MigrationComplexityRequestFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function MigrationComplexityRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MigrationComplexityRequest {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'clusterId': json['clusterId'],
49
+ };
50
+ }
51
+
52
+ export function MigrationComplexityRequestToJSON(json: any): MigrationComplexityRequest {
53
+ return MigrationComplexityRequestToJSONTyped(json, false);
54
+ }
55
+
56
+ export function MigrationComplexityRequestToJSONTyped(value?: MigrationComplexityRequest | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'clusterId': value['clusterId'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,112 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OpenShift Migration Advisor API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: undefined
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ import type { ComplexityOSScoreEntry } from './ComplexityOSScoreEntry.js';
17
+ import {
18
+ ComplexityOSScoreEntryFromJSON,
19
+ ComplexityOSScoreEntryFromJSONTyped,
20
+ ComplexityOSScoreEntryToJSON,
21
+ ComplexityOSScoreEntryToJSONTyped,
22
+ } from './ComplexityOSScoreEntry.js';
23
+ import type { ComplexityDiskScoreEntry } from './ComplexityDiskScoreEntry.js';
24
+ import {
25
+ ComplexityDiskScoreEntryFromJSON,
26
+ ComplexityDiskScoreEntryFromJSONTyped,
27
+ ComplexityDiskScoreEntryToJSON,
28
+ ComplexityDiskScoreEntryToJSONTyped,
29
+ } from './ComplexityDiskScoreEntry.js';
30
+
31
+ /**
32
+ * Migration complexity estimation results
33
+ * @export
34
+ * @interface MigrationComplexityResponse
35
+ */
36
+ export interface MigrationComplexityResponse {
37
+ /**
38
+ * Disk-size complexity scores, one entry per score level (1-4). Score 1 is the least complex disk footprint; score 4 is the most complex. Scores correspond to provisioned disk size: 1 (<=10 TB), 2 (<=20 TB), 3 (<=50 TB), 4 (>50 TB). All four score levels are always present.
39
+ *
40
+ * @type {Array<ComplexityDiskScoreEntry>}
41
+ * @memberof MigrationComplexityResponse
42
+ */
43
+ complexityByDisk: Array<ComplexityDiskScoreEntry>;
44
+ /**
45
+ * OS complexity scores, one entry per score level (0-4). Score 1 indicates the least complex OS to migrate; score 0 indicates an OS that could not be classified. All five score levels are always present.
46
+ *
47
+ * @type {Array<ComplexityOSScoreEntry>}
48
+ * @memberof MigrationComplexityResponse
49
+ */
50
+ complexityByOS: Array<ComplexityOSScoreEntry>;
51
+ /**
52
+ * Static lookup table mapping each disk-size tier label to its numeric complexity score. The content is identical for every cluster and reflects the DiskSizeScores configuration in the complexity package.
53
+ *
54
+ * @type {{ [key: string]: number; }}
55
+ * @memberof MigrationComplexityResponse
56
+ */
57
+ diskSizeRatings: { [key: string]: number; };
58
+ /**
59
+ * Per-OS-name score for every OS found in this cluster's inventory. Keys are the OS name strings exactly as they appear in vms.osInfo; values are the numeric complexity score assigned by ClassifyOS (0 = unclassified, 1-4 = increasing complexity). The map contains one entry per distinct OS name in the cluster, regardless of how many VMs run it.
60
+ *
61
+ * @type {{ [key: string]: number; }}
62
+ * @memberof MigrationComplexityResponse
63
+ */
64
+ osRatings: { [key: string]: number; };
65
+ }
66
+
67
+ /**
68
+ * Check if a given object implements the MigrationComplexityResponse interface.
69
+ */
70
+ export function instanceOfMigrationComplexityResponse(value: object): value is MigrationComplexityResponse {
71
+ if (!('complexityByDisk' in value) || value['complexityByDisk'] === undefined) return false;
72
+ if (!('complexityByOS' in value) || value['complexityByOS'] === undefined) return false;
73
+ if (!('diskSizeRatings' in value) || value['diskSizeRatings'] === undefined) return false;
74
+ if (!('osRatings' in value) || value['osRatings'] === undefined) return false;
75
+ return true;
76
+ }
77
+
78
+ export function MigrationComplexityResponseFromJSON(json: any): MigrationComplexityResponse {
79
+ return MigrationComplexityResponseFromJSONTyped(json, false);
80
+ }
81
+
82
+ export function MigrationComplexityResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MigrationComplexityResponse {
83
+ if (json == null) {
84
+ return json;
85
+ }
86
+ return {
87
+
88
+ 'complexityByDisk': ((json['complexityByDisk'] as Array<any>).map(ComplexityDiskScoreEntryFromJSON)),
89
+ 'complexityByOS': ((json['complexityByOS'] as Array<any>).map(ComplexityOSScoreEntryFromJSON)),
90
+ 'diskSizeRatings': json['diskSizeRatings'],
91
+ 'osRatings': json['osRatings'],
92
+ };
93
+ }
94
+
95
+ export function MigrationComplexityResponseToJSON(json: any): MigrationComplexityResponse {
96
+ return MigrationComplexityResponseToJSONTyped(json, false);
97
+ }
98
+
99
+ export function MigrationComplexityResponseToJSONTyped(value?: MigrationComplexityResponse | null, ignoreDiscriminator: boolean = false): any {
100
+ if (value == null) {
101
+ return value;
102
+ }
103
+
104
+ return {
105
+
106
+ 'complexityByDisk': ((value['complexityByDisk'] as Array<any>).map(ComplexityDiskScoreEntryToJSON)),
107
+ 'complexityByOS': ((value['complexityByOS'] as Array<any>).map(ComplexityOSScoreEntryToJSON)),
108
+ 'diskSizeRatings': value['diskSizeRatings'],
109
+ 'osRatings': value['osRatings'],
110
+ };
111
+ }
112
+
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Migration Planner API
4
+ * OpenShift Migration Advisor API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: undefined