levelfour 1.14.0 → 1.16.0

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 (429) hide show
  1. package/dist/api/resources/kubernetes/client/Client.d.mts +19 -0
  2. package/dist/api/resources/kubernetes/client/Client.d.ts +19 -0
  3. package/dist/api/resources/kubernetes/client/Client.js +96 -0
  4. package/dist/api/resources/kubernetes/client/Client.mjs +96 -0
  5. package/dist/api/resources/recommendations/client/Client.js +20 -2
  6. package/dist/api/resources/recommendations/client/Client.mjs +20 -2
  7. package/dist/api/resources/recommendations/client/requests/GetProviderOverviewRecommendationsRequest.d.mts +8 -0
  8. package/dist/api/resources/recommendations/client/requests/GetProviderOverviewRecommendationsRequest.d.ts +8 -0
  9. package/dist/api/resources/recommendations/client/requests/ListByProviderRecommendationsRequest.d.mts +6 -0
  10. package/dist/api/resources/recommendations/client/requests/ListByProviderRecommendationsRequest.d.ts +6 -0
  11. package/dist/api/types/AutomationAction.d.mts +1 -0
  12. package/dist/api/types/AutomationAction.d.ts +1 -0
  13. package/dist/api/types/AutomationAction.js +1 -0
  14. package/dist/api/types/AutomationAction.mjs +1 -0
  15. package/dist/api/types/AutomationEvent.d.mts +3 -3
  16. package/dist/api/types/AutomationEvent.d.ts +3 -3
  17. package/dist/api/types/AutoscalingData.d.mts +10 -0
  18. package/dist/api/types/AutoscalingData.d.ts +10 -0
  19. package/dist/api/types/BlockerTotals.d.mts +6 -0
  20. package/dist/api/types/BlockerTotals.d.ts +6 -0
  21. package/dist/api/types/BlockingPdb.d.mts +16 -0
  22. package/dist/api/types/BlockingPdb.d.ts +16 -0
  23. package/dist/api/types/BlockingPdb.js +17 -0
  24. package/dist/api/types/BlockingPdb.mjs +1 -0
  25. package/dist/api/types/ChangeWatch.d.mts +27 -0
  26. package/dist/api/types/ChangeWatch.d.ts +27 -0
  27. package/dist/api/types/ChangeWatch.js +36 -0
  28. package/dist/api/types/ChangeWatch.mjs +12 -0
  29. package/dist/api/types/CheckedByKind.d.mts +10 -0
  30. package/dist/api/types/CheckedByKind.d.ts +10 -0
  31. package/dist/api/types/CheckedByKind.js +17 -0
  32. package/dist/api/types/CheckedByKind.mjs +1 -0
  33. package/dist/api/types/CheckedObject.d.mts +37 -0
  34. package/dist/api/types/CheckedObject.d.ts +37 -0
  35. package/dist/api/types/CheckedObject.js +42 -0
  36. package/dist/api/types/CheckedObject.mjs +18 -0
  37. package/dist/api/types/ClaimOwner.d.mts +6 -0
  38. package/dist/api/types/ClaimOwner.d.ts +6 -0
  39. package/dist/api/types/ClaimOwner.js +17 -0
  40. package/dist/api/types/ClaimOwner.mjs +1 -0
  41. package/dist/api/types/ClusterFacets.d.mts +16 -0
  42. package/dist/api/types/ClusterFacets.d.ts +16 -0
  43. package/dist/api/types/ClusterItem.d.mts +36 -1
  44. package/dist/api/types/ClusterItem.d.ts +36 -1
  45. package/dist/api/types/ClusterItem.js +10 -0
  46. package/dist/api/types/ClusterItem.mjs +10 -0
  47. package/dist/api/types/ClusterLevers.d.mts +9 -0
  48. package/dist/api/types/ClusterLevers.d.ts +9 -0
  49. package/dist/api/types/ClusterLevers.js +17 -0
  50. package/dist/api/types/ClusterLevers.mjs +1 -0
  51. package/dist/api/types/ClusterSummary.d.mts +19 -2
  52. package/dist/api/types/ClusterSummary.d.ts +19 -2
  53. package/dist/api/types/ConnectedAccount.d.mts +31 -0
  54. package/dist/api/types/ConnectedAccount.d.ts +31 -0
  55. package/dist/api/types/ConnectedAccount.js +12 -0
  56. package/dist/api/types/ConnectedAccount.mjs +12 -0
  57. package/dist/api/types/ConsolidationBlocker.d.mts +17 -0
  58. package/dist/api/types/ConsolidationBlocker.d.ts +17 -0
  59. package/dist/api/types/ConsolidationChange.d.mts +62 -0
  60. package/dist/api/types/ConsolidationChange.d.ts +62 -0
  61. package/dist/api/types/ConsolidationChange.js +53 -0
  62. package/dist/api/types/ConsolidationChange.mjs +29 -0
  63. package/dist/api/types/ConsolidationChangeDetail.d.mts +65 -0
  64. package/dist/api/types/ConsolidationChangeDetail.d.ts +65 -0
  65. package/dist/api/types/ConsolidationChangeDetail.js +53 -0
  66. package/dist/api/types/ConsolidationChangeDetail.mjs +29 -0
  67. package/dist/api/types/ConsolidationChangeNode.d.mts +34 -0
  68. package/dist/api/types/ConsolidationChangeNode.d.ts +34 -0
  69. package/dist/api/types/ConsolidationChangeNode.js +42 -0
  70. package/dist/api/types/ConsolidationChangeNode.mjs +18 -0
  71. package/dist/api/types/ConsolidationChangeResponse.d.mts +6 -0
  72. package/dist/api/types/ConsolidationChangeResponse.d.ts +6 -0
  73. package/dist/api/types/ConsolidationChangeResponse.js +17 -0
  74. package/dist/api/types/ConsolidationChangeResponse.mjs +1 -0
  75. package/dist/api/types/ConsolidationChangeTotals.d.mts +31 -0
  76. package/dist/api/types/ConsolidationChangeTotals.d.ts +31 -0
  77. package/dist/api/types/ConsolidationChangeTotals.js +17 -0
  78. package/dist/api/types/ConsolidationChangeTotals.mjs +1 -0
  79. package/dist/api/types/ConsolidationChangesData.d.mts +7 -0
  80. package/dist/api/types/ConsolidationChangesData.d.ts +7 -0
  81. package/dist/api/types/ConsolidationChangesData.js +17 -0
  82. package/dist/api/types/ConsolidationChangesData.mjs +1 -0
  83. package/dist/api/types/ConsolidationChangesResponse.d.mts +6 -0
  84. package/dist/api/types/ConsolidationChangesResponse.d.ts +6 -0
  85. package/dist/api/types/ConsolidationChangesResponse.js +17 -0
  86. package/dist/api/types/ConsolidationChangesResponse.mjs +1 -0
  87. package/dist/api/types/ConsolidationLever.d.mts +20 -0
  88. package/dist/api/types/ConsolidationLever.d.ts +20 -0
  89. package/dist/api/types/ConsolidationLever.js +17 -0
  90. package/dist/api/types/ConsolidationLever.mjs +1 -0
  91. package/dist/api/types/ConsolidationNode.d.mts +50 -0
  92. package/dist/api/types/ConsolidationNode.d.ts +50 -0
  93. package/dist/api/types/ConsolidationNode.js +42 -0
  94. package/dist/api/types/ConsolidationNode.mjs +18 -0
  95. package/dist/api/types/ConsolidationNodesData.d.mts +8 -0
  96. package/dist/api/types/ConsolidationNodesData.d.ts +8 -0
  97. package/dist/api/types/ConsolidationNodesData.js +17 -0
  98. package/dist/api/types/ConsolidationNodesData.mjs +1 -0
  99. package/dist/api/types/ConsolidationNodesResponse.d.mts +6 -0
  100. package/dist/api/types/ConsolidationNodesResponse.d.ts +6 -0
  101. package/dist/api/types/ConsolidationNodesResponse.js +17 -0
  102. package/dist/api/types/ConsolidationNodesResponse.mjs +1 -0
  103. package/dist/api/types/FailingShare.d.mts +12 -0
  104. package/dist/api/types/FailingShare.d.ts +12 -0
  105. package/dist/api/types/FailingShare.js +17 -0
  106. package/dist/api/types/FailingShare.mjs +1 -0
  107. package/dist/api/types/FixAmount.d.mts +6 -0
  108. package/dist/api/types/FixAmount.d.ts +6 -0
  109. package/dist/api/types/FixAmount.js +17 -0
  110. package/dist/api/types/FixAmount.mjs +1 -0
  111. package/dist/api/types/FixChange.d.mts +16 -0
  112. package/dist/api/types/FixChange.d.ts +16 -0
  113. package/dist/api/types/FixChange.js +35 -0
  114. package/dist/api/types/FixChange.mjs +11 -0
  115. package/dist/api/types/FixSizedBy.d.mts +20 -0
  116. package/dist/api/types/FixSizedBy.d.ts +20 -0
  117. package/dist/api/types/FixSizedBy.js +36 -0
  118. package/dist/api/types/FixSizedBy.mjs +12 -0
  119. package/dist/api/types/FlagCount.d.mts +4 -0
  120. package/dist/api/types/FlagCount.d.ts +4 -0
  121. package/dist/api/types/FlagCount.js +17 -0
  122. package/dist/api/types/FlagCount.mjs +1 -0
  123. package/dist/api/types/FleetConsolidationChange.d.mts +61 -0
  124. package/dist/api/types/FleetConsolidationChange.d.ts +61 -0
  125. package/dist/api/types/FleetConsolidationChange.js +53 -0
  126. package/dist/api/types/FleetConsolidationChange.mjs +29 -0
  127. package/dist/api/types/FleetConsolidationChangesData.d.mts +8 -0
  128. package/dist/api/types/FleetConsolidationChangesData.d.ts +8 -0
  129. package/dist/api/types/FleetConsolidationChangesData.js +17 -0
  130. package/dist/api/types/FleetConsolidationChangesData.mjs +1 -0
  131. package/dist/api/types/FleetConsolidationChangesResponse.d.mts +6 -0
  132. package/dist/api/types/FleetConsolidationChangesResponse.d.ts +6 -0
  133. package/dist/api/types/FleetConsolidationChangesResponse.js +17 -0
  134. package/dist/api/types/FleetConsolidationChangesResponse.mjs +1 -0
  135. package/dist/api/types/FleetConsolidationLever.d.mts +14 -0
  136. package/dist/api/types/FleetConsolidationLever.d.ts +14 -0
  137. package/dist/api/types/FleetConsolidationLever.js +17 -0
  138. package/dist/api/types/FleetConsolidationLever.mjs +1 -0
  139. package/dist/api/types/FleetConsolidationNode.d.mts +49 -0
  140. package/dist/api/types/FleetConsolidationNode.d.ts +49 -0
  141. package/dist/api/types/FleetConsolidationNode.js +42 -0
  142. package/dist/api/types/FleetConsolidationNode.mjs +18 -0
  143. package/dist/api/types/FleetConsolidationNodesData.d.mts +8 -0
  144. package/dist/api/types/FleetConsolidationNodesData.d.ts +8 -0
  145. package/dist/api/types/FleetConsolidationNodesData.js +17 -0
  146. package/dist/api/types/FleetConsolidationNodesData.mjs +1 -0
  147. package/dist/api/types/FleetConsolidationNodesResponse.d.mts +6 -0
  148. package/dist/api/types/FleetConsolidationNodesResponse.d.ts +6 -0
  149. package/dist/api/types/FleetConsolidationNodesResponse.js +17 -0
  150. package/dist/api/types/FleetConsolidationNodesResponse.mjs +1 -0
  151. package/dist/api/types/FleetLever.d.mts +10 -0
  152. package/dist/api/types/FleetLever.d.ts +10 -0
  153. package/dist/api/types/FleetLever.js +17 -0
  154. package/dist/api/types/FleetLever.mjs +1 -0
  155. package/dist/api/types/FleetLevers.d.mts +6 -0
  156. package/dist/api/types/FleetLevers.d.ts +6 -0
  157. package/dist/api/types/FleetLevers.js +17 -0
  158. package/dist/api/types/FleetLevers.mjs +1 -0
  159. package/dist/api/types/FleetNamespace.d.mts +50 -2
  160. package/dist/api/types/FleetNamespace.d.ts +50 -2
  161. package/dist/api/types/FleetNamespace.js +30 -0
  162. package/dist/api/types/FleetNamespace.mjs +30 -0
  163. package/dist/api/types/FleetSummary.d.mts +18 -1
  164. package/dist/api/types/FleetSummary.d.ts +18 -1
  165. package/dist/api/types/FleetVolume.d.mts +5 -1
  166. package/dist/api/types/FleetVolume.d.ts +5 -1
  167. package/dist/api/types/FleetWorkload.d.mts +16 -2
  168. package/dist/api/types/FleetWorkload.d.ts +16 -2
  169. package/dist/api/types/FleetWorkload.js +7 -0
  170. package/dist/api/types/FleetWorkload.mjs +7 -0
  171. package/dist/api/types/ForecastData.d.mts +2 -0
  172. package/dist/api/types/ForecastData.d.ts +2 -0
  173. package/dist/api/types/HeldChange.d.mts +57 -0
  174. package/dist/api/types/HeldChange.d.ts +57 -0
  175. package/dist/api/types/HeldChange.js +53 -0
  176. package/dist/api/types/HeldChange.mjs +29 -0
  177. package/dist/api/types/HeldFixGroup.d.mts +22 -0
  178. package/dist/api/types/HeldFixGroup.d.ts +22 -0
  179. package/dist/api/types/HeldFixGroup.js +37 -0
  180. package/dist/api/types/HeldFixGroup.mjs +13 -0
  181. package/dist/api/types/HeldPool.d.mts +12 -0
  182. package/dist/api/types/HeldPool.d.ts +12 -0
  183. package/dist/api/types/HeldPool.js +17 -0
  184. package/dist/api/types/HeldPool.mjs +1 -0
  185. package/dist/api/types/HeldWindow.d.mts +11 -0
  186. package/dist/api/types/HeldWindow.d.ts +11 -0
  187. package/dist/api/types/HeldWindow.js +17 -0
  188. package/dist/api/types/HeldWindow.mjs +1 -0
  189. package/dist/api/types/InventoryPlanRow.d.mts +4 -0
  190. package/dist/api/types/InventoryPlanRow.d.ts +4 -0
  191. package/dist/api/types/InventoryReservationRow.d.mts +4 -0
  192. package/dist/api/types/InventoryReservationRow.d.ts +4 -0
  193. package/dist/api/types/InvoiceDetail.d.mts +2 -0
  194. package/dist/api/types/InvoiceDetail.d.ts +2 -0
  195. package/dist/api/types/InvoiceLinesPage.d.mts +7 -0
  196. package/dist/api/types/InvoiceLinesPage.d.ts +7 -0
  197. package/dist/api/types/InvoiceLinesPage.js +17 -0
  198. package/dist/api/types/InvoiceLinesPage.mjs +1 -0
  199. package/dist/api/types/InvoiceLinesResponse.d.mts +6 -0
  200. package/dist/api/types/InvoiceLinesResponse.d.ts +6 -0
  201. package/dist/api/types/InvoiceLinesResponse.js +17 -0
  202. package/dist/api/types/InvoiceLinesResponse.mjs +1 -0
  203. package/dist/api/types/JvmChecks.d.mts +1 -1
  204. package/dist/api/types/JvmChecks.d.ts +1 -1
  205. package/dist/api/types/KubernetesRealized.d.mts +17 -0
  206. package/dist/api/types/KubernetesRealized.d.ts +17 -0
  207. package/dist/api/types/KubernetesRealized.js +17 -0
  208. package/dist/api/types/KubernetesRealized.mjs +1 -0
  209. package/dist/api/types/KubernetesRealizedData.d.mts +7 -0
  210. package/dist/api/types/KubernetesRealizedData.d.ts +7 -0
  211. package/dist/api/types/KubernetesRealizedData.js +17 -0
  212. package/dist/api/types/KubernetesRealizedData.mjs +1 -0
  213. package/dist/api/types/KubernetesRealizedResponse.d.mts +6 -0
  214. package/dist/api/types/KubernetesRealizedResponse.d.ts +6 -0
  215. package/dist/api/types/KubernetesRealizedResponse.js +17 -0
  216. package/dist/api/types/KubernetesRealizedResponse.mjs +1 -0
  217. package/dist/api/types/KubernetesUsage.d.mts +9 -0
  218. package/dist/api/types/KubernetesUsage.d.ts +9 -0
  219. package/dist/api/types/KubernetesUsage.js +17 -0
  220. package/dist/api/types/KubernetesUsage.mjs +1 -0
  221. package/dist/api/types/KubernetesUsageResponse.d.mts +6 -0
  222. package/dist/api/types/KubernetesUsageResponse.d.ts +6 -0
  223. package/dist/api/types/KubernetesUsageResponse.js +17 -0
  224. package/dist/api/types/KubernetesUsageResponse.mjs +1 -0
  225. package/dist/api/types/KubernetesUsageSource.d.mts +29 -0
  226. package/dist/api/types/KubernetesUsageSource.d.ts +29 -0
  227. package/dist/api/types/KubernetesUsageSource.js +41 -0
  228. package/dist/api/types/KubernetesUsageSource.mjs +17 -0
  229. package/dist/api/types/Lever.d.mts +12 -0
  230. package/dist/api/types/Lever.d.ts +12 -0
  231. package/dist/api/types/Lever.js +17 -0
  232. package/dist/api/types/Lever.mjs +1 -0
  233. package/dist/api/types/LeverCount.d.mts +4 -0
  234. package/dist/api/types/LeverCount.d.ts +4 -0
  235. package/dist/api/types/LeverCount.js +17 -0
  236. package/dist/api/types/LeverCount.mjs +1 -0
  237. package/dist/api/types/NamespaceAutomation.d.mts +2 -0
  238. package/dist/api/types/NamespaceAutomation.d.ts +2 -0
  239. package/dist/api/types/NamespaceFacets.d.mts +10 -0
  240. package/dist/api/types/NamespaceFacets.d.ts +10 -0
  241. package/dist/api/types/NamespaceItem.d.mts +50 -2
  242. package/dist/api/types/NamespaceItem.d.ts +50 -2
  243. package/dist/api/types/NamespaceItem.js +30 -0
  244. package/dist/api/types/NamespaceItem.mjs +30 -0
  245. package/dist/api/types/NamespaceReliability.d.mts +1 -1
  246. package/dist/api/types/NamespaceReliability.d.ts +1 -1
  247. package/dist/api/types/NamespaceScope.d.mts +4 -2
  248. package/dist/api/types/NamespaceScope.d.ts +4 -2
  249. package/dist/api/types/NodeFacets.d.mts +2 -2
  250. package/dist/api/types/NodeFacets.d.ts +2 -2
  251. package/dist/api/types/NodeHealthDay.d.mts +2 -0
  252. package/dist/api/types/NodeHealthDay.d.ts +2 -0
  253. package/dist/api/types/NodeItem.d.mts +5 -3
  254. package/dist/api/types/NodeItem.d.ts +5 -3
  255. package/dist/api/types/OffNamespacesWaste.d.mts +17 -0
  256. package/dist/api/types/OffNamespacesWaste.d.ts +17 -0
  257. package/dist/api/types/OffNamespacesWaste.js +17 -0
  258. package/dist/api/types/OffNamespacesWaste.mjs +1 -0
  259. package/dist/api/types/OrganizationalUnit.d.mts +5 -0
  260. package/dist/api/types/OrganizationalUnit.d.ts +5 -0
  261. package/dist/api/types/OrganizationalUnit.js +17 -0
  262. package/dist/api/types/OrganizationalUnit.mjs +1 -0
  263. package/dist/api/types/OtherCheckedData.d.mts +4 -0
  264. package/dist/api/types/OtherCheckedData.d.ts +4 -0
  265. package/dist/api/types/OtherCheckedData.js +17 -0
  266. package/dist/api/types/OtherCheckedData.mjs +1 -0
  267. package/dist/api/types/OtherCheckedResponse.d.mts +5 -0
  268. package/dist/api/types/OtherCheckedResponse.d.ts +5 -0
  269. package/dist/api/types/OtherCheckedResponse.js +17 -0
  270. package/dist/api/types/OtherCheckedResponse.mjs +1 -0
  271. package/dist/api/types/OtherSavings.d.mts +16 -0
  272. package/dist/api/types/OtherSavings.d.ts +16 -0
  273. package/dist/api/types/OtherSavings.js +17 -0
  274. package/dist/api/types/OtherSavings.mjs +1 -0
  275. package/dist/api/types/OtherSavingsByKind.d.mts +12 -0
  276. package/dist/api/types/OtherSavingsByKind.d.ts +12 -0
  277. package/dist/api/types/OtherSavingsByKind.js +17 -0
  278. package/dist/api/types/OtherSavingsByKind.mjs +1 -0
  279. package/dist/api/types/PendingShare.d.mts +1 -1
  280. package/dist/api/types/PendingShare.d.ts +1 -1
  281. package/dist/api/types/PodsOnNode.d.mts +4 -0
  282. package/dist/api/types/PodsOnNode.d.ts +4 -0
  283. package/dist/api/types/ProviderBreakdownItem.d.mts +4 -0
  284. package/dist/api/types/ProviderBreakdownItem.d.ts +4 -0
  285. package/dist/api/types/RealizedChange.d.mts +28 -0
  286. package/dist/api/types/RealizedChange.d.ts +28 -0
  287. package/dist/api/types/RealizedChange.js +36 -0
  288. package/dist/api/types/RealizedChange.mjs +12 -0
  289. package/dist/api/types/RealizedChanges.d.mts +6 -0
  290. package/dist/api/types/RealizedChanges.d.ts +6 -0
  291. package/dist/api/types/RealizedChanges.js +17 -0
  292. package/dist/api/types/RealizedChanges.mjs +1 -0
  293. package/dist/api/types/RealizedMonth.d.mts +8 -0
  294. package/dist/api/types/RealizedMonth.d.ts +8 -0
  295. package/dist/api/types/RealizedMonth.js +17 -0
  296. package/dist/api/types/RealizedMonth.mjs +1 -0
  297. package/dist/api/types/RecommendationItem.d.mts +2 -0
  298. package/dist/api/types/RecommendationItem.d.ts +2 -0
  299. package/dist/api/types/ReliabilityEventDay.d.mts +2 -0
  300. package/dist/api/types/ReliabilityEventDay.d.ts +2 -0
  301. package/dist/api/types/ReliabilityFacetCount.d.mts +1 -0
  302. package/dist/api/types/ReliabilityFacetCount.d.ts +1 -0
  303. package/dist/api/types/ReliabilityFacetCount.js +1 -0
  304. package/dist/api/types/ReliabilityFacetCount.mjs +1 -0
  305. package/dist/api/types/ReliabilityLens.d.mts +1 -1
  306. package/dist/api/types/ReliabilityLens.d.ts +1 -1
  307. package/dist/api/types/ReliabilityTotals.d.mts +3 -1
  308. package/dist/api/types/ReliabilityTotals.d.ts +3 -1
  309. package/dist/api/types/ResourceEfficiency.d.mts +1 -1
  310. package/dist/api/types/ResourceEfficiency.d.ts +1 -1
  311. package/dist/api/types/RightsizedContainer.d.mts +2 -0
  312. package/dist/api/types/RightsizedContainer.d.ts +2 -0
  313. package/dist/api/types/RightsizedContainer.js +3 -1
  314. package/dist/api/types/RightsizedContainer.mjs +3 -1
  315. package/dist/api/types/RightsizingFrees.d.mts +12 -0
  316. package/dist/api/types/RightsizingFrees.d.ts +12 -0
  317. package/dist/api/types/RightsizingFrees.js +17 -0
  318. package/dist/api/types/RightsizingFrees.mjs +1 -0
  319. package/dist/api/types/SavingsChangeRef.d.mts +5 -0
  320. package/dist/api/types/SavingsChangeRef.d.ts +5 -0
  321. package/dist/api/types/SavingsChangeRef.js +17 -0
  322. package/dist/api/types/SavingsChangeRef.mjs +1 -0
  323. package/dist/api/types/SavingsItem.d.mts +61 -0
  324. package/dist/api/types/SavingsItem.d.ts +61 -0
  325. package/dist/api/types/SavingsItem.js +17 -0
  326. package/dist/api/types/SavingsItem.mjs +1 -0
  327. package/dist/api/types/SavingsMissing.d.mts +19 -0
  328. package/dist/api/types/SavingsMissing.d.ts +19 -0
  329. package/dist/api/types/SavingsMissing.js +17 -0
  330. package/dist/api/types/SavingsMissing.mjs +1 -0
  331. package/dist/api/types/SavingsNode.d.mts +10 -0
  332. package/dist/api/types/SavingsNode.d.ts +10 -0
  333. package/dist/api/types/SavingsNode.js +17 -0
  334. package/dist/api/types/SavingsNode.mjs +1 -0
  335. package/dist/api/types/SavingsNow.d.mts +26 -0
  336. package/dist/api/types/SavingsNow.d.ts +26 -0
  337. package/dist/api/types/SavingsNow.js +38 -0
  338. package/dist/api/types/SavingsNow.mjs +14 -0
  339. package/dist/api/types/SavingsNowResponse.d.mts +6 -0
  340. package/dist/api/types/SavingsNowResponse.d.ts +6 -0
  341. package/dist/api/types/SavingsNowResponse.js +17 -0
  342. package/dist/api/types/SavingsNowResponse.mjs +1 -0
  343. package/dist/api/types/SavingsRequestMove.d.mts +6 -0
  344. package/dist/api/types/SavingsRequestMove.d.ts +6 -0
  345. package/dist/api/types/SavingsRequestMove.js +17 -0
  346. package/dist/api/types/SavingsRequestMove.mjs +1 -0
  347. package/dist/api/types/SavingsSection.d.mts +16 -0
  348. package/dist/api/types/SavingsSection.d.ts +16 -0
  349. package/dist/api/types/SavingsSection.js +37 -0
  350. package/dist/api/types/SavingsSection.mjs +13 -0
  351. package/dist/api/types/SavingsTotals.d.mts +8 -0
  352. package/dist/api/types/SavingsTotals.d.ts +8 -0
  353. package/dist/api/types/SavingsTotals.js +17 -0
  354. package/dist/api/types/SavingsTotals.mjs +1 -0
  355. package/dist/api/types/SetSizingPolicyRequest.d.mts +23 -4
  356. package/dist/api/types/SetSizingPolicyRequest.d.ts +23 -4
  357. package/dist/api/types/SetSizingPolicyRequest.js +14 -1
  358. package/dist/api/types/SetSizingPolicyRequest.mjs +14 -1
  359. package/dist/api/types/SizerFlag.d.mts +6 -0
  360. package/dist/api/types/SizerFlag.d.ts +6 -0
  361. package/dist/api/types/SizerFlag.js +17 -0
  362. package/dist/api/types/SizerFlag.mjs +1 -0
  363. package/dist/api/types/SizingPolicies.d.mts +8 -3
  364. package/dist/api/types/SizingPolicies.d.ts +8 -3
  365. package/dist/api/types/SizingPolicies.js +2 -1
  366. package/dist/api/types/SizingPolicies.mjs +2 -1
  367. package/dist/api/types/SizingPolicy.d.mts +24 -3
  368. package/dist/api/types/SizingPolicy.d.ts +24 -3
  369. package/dist/api/types/SizingPolicy.js +14 -1
  370. package/dist/api/types/SizingPolicy.mjs +14 -1
  371. package/dist/api/types/SizingPolicyObject.d.mts +14 -0
  372. package/dist/api/types/SizingPolicyObject.d.ts +14 -0
  373. package/dist/api/types/SizingPolicyObject.js +17 -0
  374. package/dist/api/types/SizingPolicyObject.mjs +1 -0
  375. package/dist/api/types/UnmonitoredCluster.d.mts +8 -5
  376. package/dist/api/types/UnmonitoredCluster.d.ts +8 -5
  377. package/dist/api/types/UnmonitoredCluster.js +2 -1
  378. package/dist/api/types/UnmonitoredCluster.mjs +2 -1
  379. package/dist/api/types/UnmonitoredClusterList.d.mts +1 -1
  380. package/dist/api/types/UnmonitoredClusterList.d.ts +1 -1
  381. package/dist/api/types/UnpricedFindings.d.mts +12 -0
  382. package/dist/api/types/UnpricedFindings.d.ts +12 -0
  383. package/dist/api/types/UnpricedFindings.js +17 -0
  384. package/dist/api/types/UnpricedFindings.mjs +1 -0
  385. package/dist/api/types/UnreportedInClusters.d.mts +6 -0
  386. package/dist/api/types/UnreportedInClusters.d.ts +6 -0
  387. package/dist/api/types/UnreportedInClusters.js +17 -0
  388. package/dist/api/types/UnreportedInClusters.mjs +1 -0
  389. package/dist/api/types/VolumeDetail.d.mts +10 -0
  390. package/dist/api/types/VolumeDetail.d.ts +10 -0
  391. package/dist/api/types/VolumeItem.d.mts +5 -1
  392. package/dist/api/types/VolumeItem.d.ts +5 -1
  393. package/dist/api/types/WatchPoolSignals.d.mts +7 -0
  394. package/dist/api/types/WatchPoolSignals.d.ts +7 -0
  395. package/dist/api/types/WatchPoolSignals.js +17 -0
  396. package/dist/api/types/WatchPoolSignals.mjs +1 -0
  397. package/dist/api/types/WatchWorkloadSignals.d.mts +8 -0
  398. package/dist/api/types/WatchWorkloadSignals.d.ts +8 -0
  399. package/dist/api/types/WatchWorkloadSignals.js +17 -0
  400. package/dist/api/types/WatchWorkloadSignals.mjs +1 -0
  401. package/dist/api/types/WorkloadDetail.d.mts +4 -0
  402. package/dist/api/types/WorkloadDetail.d.ts +4 -0
  403. package/dist/api/types/WorkloadFacets.d.mts +1 -1
  404. package/dist/api/types/WorkloadFacets.d.ts +1 -1
  405. package/dist/api/types/WorkloadFix.d.mts +19 -0
  406. package/dist/api/types/WorkloadFix.d.ts +19 -0
  407. package/dist/api/types/WorkloadFix.js +17 -0
  408. package/dist/api/types/WorkloadFix.mjs +1 -0
  409. package/dist/api/types/WorkloadItem.d.mts +36 -2
  410. package/dist/api/types/WorkloadItem.d.ts +36 -2
  411. package/dist/api/types/WorkloadItem.js +20 -0
  412. package/dist/api/types/WorkloadItem.mjs +20 -0
  413. package/dist/api/types/WorkloadListItem.d.mts +36 -2
  414. package/dist/api/types/WorkloadListItem.d.ts +36 -2
  415. package/dist/api/types/WorkloadListItem.js +20 -0
  416. package/dist/api/types/WorkloadListItem.mjs +20 -0
  417. package/dist/api/types/WorkloadScaler.d.mts +19 -0
  418. package/dist/api/types/WorkloadScaler.d.ts +19 -0
  419. package/dist/api/types/WorkloadScaler.js +35 -0
  420. package/dist/api/types/WorkloadScaler.mjs +11 -0
  421. package/dist/api/types/index.d.mts +72 -0
  422. package/dist/api/types/index.d.ts +72 -0
  423. package/dist/api/types/index.js +144 -0
  424. package/dist/api/types/index.mjs +72 -0
  425. package/dist/version.d.mts +1 -1
  426. package/dist/version.d.ts +1 -1
  427. package/dist/version.js +1 -1
  428. package/dist/version.mjs +1 -1
  429. package/package.json +1 -1
@@ -10,6 +10,25 @@ export declare namespace KubernetesClient {
10
10
  export declare class KubernetesClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<KubernetesClient.Options>;
12
12
  constructor(options: KubernetesClient.Options);
13
+ /**
14
+ * Answers every organization, with or without the Kubernetes module, so the dashboard can show the module to those who run Kubernetes. In use means a bill carries EKS, GKE or AKS spend in the last 30 days, or an agent cluster reported. Each cloud's cost is the bill's own: its Kubernetes service line plus the nodes the bill ties to a cluster, partial when some could not be tied. Its clusters are the agent clusters plus those GET /v1/k8s/unmonitored-clusters lists for it. It only reads: it never turns the module on.
15
+ *
16
+ * @param {KubernetesClient.RequestOptions} requestOptions - Request-specific configuration.
17
+ *
18
+ * @throws {@link LevelFour.BadRequestError}
19
+ * @throws {@link LevelFour.UnauthorizedError}
20
+ * @throws {@link LevelFour.ForbiddenError}
21
+ * @throws {@link LevelFour.NotFoundError}
22
+ * @throws {@link LevelFour.ConflictError}
23
+ * @throws {@link LevelFour.UnprocessableEntityError}
24
+ * @throws {@link LevelFour.TooManyRequestsError}
25
+ * @throws {@link LevelFour.InternalServerError}
26
+ *
27
+ * @example
28
+ * await client.kubernetes.getKubernetesUsage()
29
+ */
30
+ getKubernetesUsage(requestOptions?: KubernetesClient.RequestOptions): core.HttpResponsePromise<LevelFour.KubernetesUsageResponse>;
31
+ private __getKubernetesUsage;
13
32
  /**
14
33
  * Read through the customer's own role every few hours. A cluster LevelFour could not match to an EKS cluster in a connected account, or whose role refused a read, says why in state and reason.
15
34
  *
@@ -10,6 +10,25 @@ export declare namespace KubernetesClient {
10
10
  export declare class KubernetesClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<KubernetesClient.Options>;
12
12
  constructor(options: KubernetesClient.Options);
13
+ /**
14
+ * Answers every organization, with or without the Kubernetes module, so the dashboard can show the module to those who run Kubernetes. In use means a bill carries EKS, GKE or AKS spend in the last 30 days, or an agent cluster reported. Each cloud's cost is the bill's own: its Kubernetes service line plus the nodes the bill ties to a cluster, partial when some could not be tied. Its clusters are the agent clusters plus those GET /v1/k8s/unmonitored-clusters lists for it. It only reads: it never turns the module on.
15
+ *
16
+ * @param {KubernetesClient.RequestOptions} requestOptions - Request-specific configuration.
17
+ *
18
+ * @throws {@link LevelFour.BadRequestError}
19
+ * @throws {@link LevelFour.UnauthorizedError}
20
+ * @throws {@link LevelFour.ForbiddenError}
21
+ * @throws {@link LevelFour.NotFoundError}
22
+ * @throws {@link LevelFour.ConflictError}
23
+ * @throws {@link LevelFour.UnprocessableEntityError}
24
+ * @throws {@link LevelFour.TooManyRequestsError}
25
+ * @throws {@link LevelFour.InternalServerError}
26
+ *
27
+ * @example
28
+ * await client.kubernetes.getKubernetesUsage()
29
+ */
30
+ getKubernetesUsage(requestOptions?: KubernetesClient.RequestOptions): core.HttpResponsePromise<LevelFour.KubernetesUsageResponse>;
31
+ private __getKubernetesUsage;
13
32
  /**
14
33
  * Read through the customer's own role every few hours. A cluster LevelFour could not match to an EKS cluster in a connected account, or whose role refused a read, says why in state and reason.
15
34
  *
@@ -42,6 +42,102 @@ class KubernetesClient {
42
42
  constructor(options) {
43
43
  this._options = (0, import_BaseClient.normalizeClientOptionsWithAuth)(options);
44
44
  }
45
+ /**
46
+ * Answers every organization, with or without the Kubernetes module, so the dashboard can show the module to those who run Kubernetes. In use means a bill carries EKS, GKE or AKS spend in the last 30 days, or an agent cluster reported. Each cloud's cost is the bill's own: its Kubernetes service line plus the nodes the bill ties to a cluster, partial when some could not be tied. Its clusters are the agent clusters plus those GET /v1/k8s/unmonitored-clusters lists for it. It only reads: it never turns the module on.
47
+ *
48
+ * @param {KubernetesClient.RequestOptions} requestOptions - Request-specific configuration.
49
+ *
50
+ * @throws {@link LevelFour.BadRequestError}
51
+ * @throws {@link LevelFour.UnauthorizedError}
52
+ * @throws {@link LevelFour.ForbiddenError}
53
+ * @throws {@link LevelFour.NotFoundError}
54
+ * @throws {@link LevelFour.ConflictError}
55
+ * @throws {@link LevelFour.UnprocessableEntityError}
56
+ * @throws {@link LevelFour.TooManyRequestsError}
57
+ * @throws {@link LevelFour.InternalServerError}
58
+ *
59
+ * @example
60
+ * await client.kubernetes.getKubernetesUsage()
61
+ */
62
+ getKubernetesUsage(requestOptions) {
63
+ return core.HttpResponsePromise.fromPromise(this.__getKubernetesUsage(requestOptions));
64
+ }
65
+ async __getKubernetesUsage(requestOptions) {
66
+ const _authRequest = await this._options.authProvider.getAuthRequest();
67
+ const _headers = (0, import_headers.mergeHeaders)(
68
+ _authRequest.headers,
69
+ this._options?.headers,
70
+ requestOptions?.headers
71
+ );
72
+ const _response = await core.fetcher({
73
+ url: core.url.join(
74
+ await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
75
+ "api/v1/k8s/usage"
76
+ ),
77
+ method: "GET",
78
+ headers: _headers,
79
+ queryParameters: requestOptions?.queryParams,
80
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
81
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
82
+ abortSignal: requestOptions?.abortSignal,
83
+ fetchFn: this._options?.fetch,
84
+ logging: this._options.logging
85
+ });
86
+ if (_response.ok) {
87
+ return { data: _response.body, rawResponse: _response.rawResponse };
88
+ }
89
+ if (_response.error.reason === "status-code") {
90
+ switch (_response.error.statusCode) {
91
+ case 400:
92
+ throw new LevelFour.BadRequestError(
93
+ _response.error.body,
94
+ _response.rawResponse
95
+ );
96
+ case 401:
97
+ throw new LevelFour.UnauthorizedError(
98
+ _response.error.body,
99
+ _response.rawResponse
100
+ );
101
+ case 403:
102
+ throw new LevelFour.ForbiddenError(
103
+ _response.error.body,
104
+ _response.rawResponse
105
+ );
106
+ case 404:
107
+ throw new LevelFour.NotFoundError(
108
+ _response.error.body,
109
+ _response.rawResponse
110
+ );
111
+ case 409:
112
+ throw new LevelFour.ConflictError(
113
+ _response.error.body,
114
+ _response.rawResponse
115
+ );
116
+ case 422:
117
+ throw new LevelFour.UnprocessableEntityError(
118
+ _response.error.body,
119
+ _response.rawResponse
120
+ );
121
+ case 429:
122
+ throw new LevelFour.TooManyRequestsError(
123
+ _response.error.body,
124
+ _response.rawResponse
125
+ );
126
+ case 500:
127
+ throw new LevelFour.InternalServerError(
128
+ _response.error.body,
129
+ _response.rawResponse
130
+ );
131
+ default:
132
+ throw new errors.LevelFourError({
133
+ statusCode: _response.error.statusCode,
134
+ body: _response.error.body,
135
+ rawResponse: _response.rawResponse
136
+ });
137
+ }
138
+ }
139
+ return (0, import_handleNonStatusCodeError.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/v1/k8s/usage");
140
+ }
45
141
  /**
46
142
  * Read through the customer's own role every few hours. A cluster LevelFour could not match to an EKS cluster in a connected account, or whose role refused a read, says why in state and reason.
47
143
  *
@@ -9,6 +9,102 @@ class KubernetesClient {
9
9
  constructor(options) {
10
10
  this._options = normalizeClientOptionsWithAuth(options);
11
11
  }
12
+ /**
13
+ * Answers every organization, with or without the Kubernetes module, so the dashboard can show the module to those who run Kubernetes. In use means a bill carries EKS, GKE or AKS spend in the last 30 days, or an agent cluster reported. Each cloud's cost is the bill's own: its Kubernetes service line plus the nodes the bill ties to a cluster, partial when some could not be tied. Its clusters are the agent clusters plus those GET /v1/k8s/unmonitored-clusters lists for it. It only reads: it never turns the module on.
14
+ *
15
+ * @param {KubernetesClient.RequestOptions} requestOptions - Request-specific configuration.
16
+ *
17
+ * @throws {@link LevelFour.BadRequestError}
18
+ * @throws {@link LevelFour.UnauthorizedError}
19
+ * @throws {@link LevelFour.ForbiddenError}
20
+ * @throws {@link LevelFour.NotFoundError}
21
+ * @throws {@link LevelFour.ConflictError}
22
+ * @throws {@link LevelFour.UnprocessableEntityError}
23
+ * @throws {@link LevelFour.TooManyRequestsError}
24
+ * @throws {@link LevelFour.InternalServerError}
25
+ *
26
+ * @example
27
+ * await client.kubernetes.getKubernetesUsage()
28
+ */
29
+ getKubernetesUsage(requestOptions) {
30
+ return core.HttpResponsePromise.fromPromise(this.__getKubernetesUsage(requestOptions));
31
+ }
32
+ async __getKubernetesUsage(requestOptions) {
33
+ const _authRequest = await this._options.authProvider.getAuthRequest();
34
+ const _headers = mergeHeaders(
35
+ _authRequest.headers,
36
+ this._options?.headers,
37
+ requestOptions?.headers
38
+ );
39
+ const _response = await core.fetcher({
40
+ url: core.url.join(
41
+ await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
42
+ "api/v1/k8s/usage"
43
+ ),
44
+ method: "GET",
45
+ headers: _headers,
46
+ queryParameters: requestOptions?.queryParams,
47
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
48
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
49
+ abortSignal: requestOptions?.abortSignal,
50
+ fetchFn: this._options?.fetch,
51
+ logging: this._options.logging
52
+ });
53
+ if (_response.ok) {
54
+ return { data: _response.body, rawResponse: _response.rawResponse };
55
+ }
56
+ if (_response.error.reason === "status-code") {
57
+ switch (_response.error.statusCode) {
58
+ case 400:
59
+ throw new LevelFour.BadRequestError(
60
+ _response.error.body,
61
+ _response.rawResponse
62
+ );
63
+ case 401:
64
+ throw new LevelFour.UnauthorizedError(
65
+ _response.error.body,
66
+ _response.rawResponse
67
+ );
68
+ case 403:
69
+ throw new LevelFour.ForbiddenError(
70
+ _response.error.body,
71
+ _response.rawResponse
72
+ );
73
+ case 404:
74
+ throw new LevelFour.NotFoundError(
75
+ _response.error.body,
76
+ _response.rawResponse
77
+ );
78
+ case 409:
79
+ throw new LevelFour.ConflictError(
80
+ _response.error.body,
81
+ _response.rawResponse
82
+ );
83
+ case 422:
84
+ throw new LevelFour.UnprocessableEntityError(
85
+ _response.error.body,
86
+ _response.rawResponse
87
+ );
88
+ case 429:
89
+ throw new LevelFour.TooManyRequestsError(
90
+ _response.error.body,
91
+ _response.rawResponse
92
+ );
93
+ case 500:
94
+ throw new LevelFour.InternalServerError(
95
+ _response.error.body,
96
+ _response.rawResponse
97
+ );
98
+ default:
99
+ throw new errors.LevelFourError({
100
+ statusCode: _response.error.statusCode,
101
+ body: _response.error.body,
102
+ rawResponse: _response.rawResponse
103
+ });
104
+ }
105
+ }
106
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/api/v1/k8s/usage");
107
+ }
12
108
  /**
13
109
  * Read through the customer's own role every few hours. A cluster LevelFour could not match to an EKS cluster in a connected account, or whose role refused a read, says why in state and reason.
14
110
  *
@@ -1583,12 +1583,15 @@ class RecommendationsClient {
1583
1583
  environment,
1584
1584
  account,
1585
1585
  tag,
1586
+ cluster_id: clusterId,
1586
1587
  service_not: serviceNot,
1587
1588
  environment_not: environmentNot,
1588
1589
  account_not: accountNot,
1589
1590
  tag_not: tagNot,
1590
1591
  resource_type: resourceType,
1591
1592
  resource_type_not: resourceTypeNot,
1593
+ target_kind: targetKind,
1594
+ target_kind_not: targetKindNot,
1592
1595
  display_status: displayStatus,
1593
1596
  search,
1594
1597
  savings,
@@ -1609,12 +1612,15 @@ class RecommendationsClient {
1609
1612
  environment: environment !== void 0 ? (0, import_json.toJson)(environment) : void 0,
1610
1613
  account: account !== void 0 ? (0, import_json.toJson)(account) : void 0,
1611
1614
  tag: tag !== void 0 ? (0, import_json.toJson)(tag) : void 0,
1615
+ cluster_id: clusterId !== void 0 ? (0, import_json.toJson)(clusterId) : void 0,
1612
1616
  service_not: serviceNot !== void 0 ? (0, import_json.toJson)(serviceNot) : void 0,
1613
1617
  environment_not: environmentNot !== void 0 ? (0, import_json.toJson)(environmentNot) : void 0,
1614
1618
  account_not: accountNot !== void 0 ? (0, import_json.toJson)(accountNot) : void 0,
1615
1619
  tag_not: tagNot !== void 0 ? (0, import_json.toJson)(tagNot) : void 0,
1616
1620
  resource_type: resourceType !== void 0 ? (0, import_json.toJson)(resourceType) : void 0,
1617
1621
  resource_type_not: resourceTypeNot !== void 0 ? (0, import_json.toJson)(resourceTypeNot) : void 0,
1622
+ target_kind: targetKind !== void 0 ? (0, import_json.toJson)(targetKind) : void 0,
1623
+ target_kind_not: targetKindNot !== void 0 ? (0, import_json.toJson)(targetKindNot) : void 0,
1618
1624
  display_status: displayStatus !== void 0 ? (0, import_json.toJson)(displayStatus) : void 0,
1619
1625
  search,
1620
1626
  savings: savings !== void 0 ? (0, import_json.toJson)(savings) : void 0,
@@ -1745,7 +1751,19 @@ class RecommendationsClient {
1745
1751
  return core.HttpResponsePromise.fromPromise(this.__getProviderOverview(request, requestOptions));
1746
1752
  }
1747
1753
  async __getProviderOverview(request, requestOptions) {
1748
- const { provider_id: providerId } = request;
1754
+ const {
1755
+ provider_id: providerId,
1756
+ service,
1757
+ cluster_id: clusterId,
1758
+ target_kind: targetKind,
1759
+ target_kind_not: targetKindNot
1760
+ } = request;
1761
+ const _queryParams = {
1762
+ service: service !== void 0 ? (0, import_json.toJson)(service) : void 0,
1763
+ cluster_id: clusterId !== void 0 ? (0, import_json.toJson)(clusterId) : void 0,
1764
+ target_kind: targetKind !== void 0 ? (0, import_json.toJson)(targetKind) : void 0,
1765
+ target_kind_not: targetKindNot !== void 0 ? (0, import_json.toJson)(targetKindNot) : void 0
1766
+ };
1749
1767
  const _authRequest = await this._options.authProvider.getAuthRequest();
1750
1768
  const _headers = (0, import_headers.mergeHeaders)(
1751
1769
  _authRequest.headers,
@@ -1759,7 +1777,7 @@ class RecommendationsClient {
1759
1777
  ),
1760
1778
  method: "GET",
1761
1779
  headers: _headers,
1762
- queryParameters: requestOptions?.queryParams,
1780
+ queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
1763
1781
  timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
1764
1782
  maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
1765
1783
  abortSignal: requestOptions?.abortSignal,
@@ -1550,12 +1550,15 @@ class RecommendationsClient {
1550
1550
  environment,
1551
1551
  account,
1552
1552
  tag,
1553
+ cluster_id: clusterId,
1553
1554
  service_not: serviceNot,
1554
1555
  environment_not: environmentNot,
1555
1556
  account_not: accountNot,
1556
1557
  tag_not: tagNot,
1557
1558
  resource_type: resourceType,
1558
1559
  resource_type_not: resourceTypeNot,
1560
+ target_kind: targetKind,
1561
+ target_kind_not: targetKindNot,
1559
1562
  display_status: displayStatus,
1560
1563
  search,
1561
1564
  savings,
@@ -1576,12 +1579,15 @@ class RecommendationsClient {
1576
1579
  environment: environment !== void 0 ? toJson(environment) : void 0,
1577
1580
  account: account !== void 0 ? toJson(account) : void 0,
1578
1581
  tag: tag !== void 0 ? toJson(tag) : void 0,
1582
+ cluster_id: clusterId !== void 0 ? toJson(clusterId) : void 0,
1579
1583
  service_not: serviceNot !== void 0 ? toJson(serviceNot) : void 0,
1580
1584
  environment_not: environmentNot !== void 0 ? toJson(environmentNot) : void 0,
1581
1585
  account_not: accountNot !== void 0 ? toJson(accountNot) : void 0,
1582
1586
  tag_not: tagNot !== void 0 ? toJson(tagNot) : void 0,
1583
1587
  resource_type: resourceType !== void 0 ? toJson(resourceType) : void 0,
1584
1588
  resource_type_not: resourceTypeNot !== void 0 ? toJson(resourceTypeNot) : void 0,
1589
+ target_kind: targetKind !== void 0 ? toJson(targetKind) : void 0,
1590
+ target_kind_not: targetKindNot !== void 0 ? toJson(targetKindNot) : void 0,
1585
1591
  display_status: displayStatus !== void 0 ? toJson(displayStatus) : void 0,
1586
1592
  search,
1587
1593
  savings: savings !== void 0 ? toJson(savings) : void 0,
@@ -1712,7 +1718,19 @@ class RecommendationsClient {
1712
1718
  return core.HttpResponsePromise.fromPromise(this.__getProviderOverview(request, requestOptions));
1713
1719
  }
1714
1720
  async __getProviderOverview(request, requestOptions) {
1715
- const { provider_id: providerId } = request;
1721
+ const {
1722
+ provider_id: providerId,
1723
+ service,
1724
+ cluster_id: clusterId,
1725
+ target_kind: targetKind,
1726
+ target_kind_not: targetKindNot
1727
+ } = request;
1728
+ const _queryParams = {
1729
+ service: service !== void 0 ? toJson(service) : void 0,
1730
+ cluster_id: clusterId !== void 0 ? toJson(clusterId) : void 0,
1731
+ target_kind: targetKind !== void 0 ? toJson(targetKind) : void 0,
1732
+ target_kind_not: targetKindNot !== void 0 ? toJson(targetKindNot) : void 0
1733
+ };
1716
1734
  const _authRequest = await this._options.authProvider.getAuthRequest();
1717
1735
  const _headers = mergeHeaders(
1718
1736
  _authRequest.headers,
@@ -1726,7 +1744,7 @@ class RecommendationsClient {
1726
1744
  ),
1727
1745
  method: "GET",
1728
1746
  headers: _headers,
1729
- queryParameters: requestOptions?.queryParams,
1747
+ queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
1730
1748
  timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
1731
1749
  maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
1732
1750
  abortSignal: requestOptions?.abortSignal,
@@ -6,4 +6,12 @@
6
6
  */
7
7
  export interface GetProviderOverviewRecommendationsRequest {
8
8
  provider_id: string;
9
+ /** Keep the savings of these services (e.g. Kubernetes). total_spend and the saved history stay the provider's */
10
+ service?: string[] | null;
11
+ /** Keep the Kubernetes savings of these clusters, by k8s cluster id - can be repeated */
12
+ cluster_id?: string[] | null;
13
+ /** Keep the Kubernetes savings that change one of these: container (a container's requests or limits), workload, NodePool, NodeGroup or PersistentVolumeClaim. A row that names a container counts as container - can be repeated */
14
+ target_kind?: string[] | null;
15
+ /** Leave out the savings that change one of these, as target_kind names them; any row that is not a Kubernetes saving counts as workload. target_kind_not=container keeps the Kubernetes Optimizations' other savings - can be repeated */
16
+ target_kind_not?: string[] | null;
9
17
  }
@@ -6,4 +6,12 @@
6
6
  */
7
7
  export interface GetProviderOverviewRecommendationsRequest {
8
8
  provider_id: string;
9
+ /** Keep the savings of these services (e.g. Kubernetes). total_spend and the saved history stay the provider's */
10
+ service?: string[] | null;
11
+ /** Keep the Kubernetes savings of these clusters, by k8s cluster id - can be repeated */
12
+ cluster_id?: string[] | null;
13
+ /** Keep the Kubernetes savings that change one of these: container (a container's requests or limits), workload, NodePool, NodeGroup or PersistentVolumeClaim. A row that names a container counts as container - can be repeated */
14
+ target_kind?: string[] | null;
15
+ /** Leave out the savings that change one of these, as target_kind names them; any row that is not a Kubernetes saving counts as workload. target_kind_not=container keeps the Kubernetes Optimizations' other savings - can be repeated */
16
+ target_kind_not?: string[] | null;
9
17
  }
@@ -27,6 +27,8 @@ export interface ListByProviderRecommendationsRequest {
27
27
  account?: string[] | null;
28
28
  /** Filter by tag(s) - can be repeated for multiple values */
29
29
  tag?: string[] | null;
30
+ /** Keep the Kubernetes savings of these clusters, by k8s cluster id - can be repeated */
31
+ cluster_id?: string[] | null;
30
32
  /** Exclude service(s) - can be repeated for multiple values */
31
33
  service_not?: string[] | null;
32
34
  /** Exclude environment(s) - can be repeated for multiple values */
@@ -39,6 +41,10 @@ export interface ListByProviderRecommendationsRequest {
39
41
  resource_type?: string[] | null;
40
42
  /** Exclude resource type(s) - can be repeated for multiple values */
41
43
  resource_type_not?: string[] | null;
44
+ /** Keep the Kubernetes savings that change one of these: container (a container's requests or limits), workload, NodePool, NodeGroup or PersistentVolumeClaim. A row that names a container counts as container - can be repeated */
45
+ target_kind?: string[] | null;
46
+ /** Leave out the savings that change one of these, as target_kind names them; any row that is not a Kubernetes saving counts as workload. target_kind_not=container keeps the Kubernetes Optimizations' other savings - can be repeated */
47
+ target_kind_not?: string[] | null;
42
48
  /** Filter by display status(es): available, pending, awaiting_approval, processing, optimized (alias: saved), in_progress, failed, rejected, unavailable */
43
49
  display_status?: string[] | null;
44
50
  /** Search across recommendation fields (case-insensitive) */
@@ -27,6 +27,8 @@ export interface ListByProviderRecommendationsRequest {
27
27
  account?: string[] | null;
28
28
  /** Filter by tag(s) - can be repeated for multiple values */
29
29
  tag?: string[] | null;
30
+ /** Keep the Kubernetes savings of these clusters, by k8s cluster id - can be repeated */
31
+ cluster_id?: string[] | null;
30
32
  /** Exclude service(s) - can be repeated for multiple values */
31
33
  service_not?: string[] | null;
32
34
  /** Exclude environment(s) - can be repeated for multiple values */
@@ -39,6 +41,10 @@ export interface ListByProviderRecommendationsRequest {
39
41
  resource_type?: string[] | null;
40
42
  /** Exclude resource type(s) - can be repeated for multiple values */
41
43
  resource_type_not?: string[] | null;
44
+ /** Keep the Kubernetes savings that change one of these: container (a container's requests or limits), workload, NodePool, NodeGroup or PersistentVolumeClaim. A row that names a container counts as container - can be repeated */
45
+ target_kind?: string[] | null;
46
+ /** Leave out the savings that change one of these, as target_kind names them; any row that is not a Kubernetes saving counts as workload. target_kind_not=container keeps the Kubernetes Optimizations' other savings - can be repeated */
47
+ target_kind_not?: string[] | null;
42
48
  /** Filter by display status(es): available, pending, awaiting_approval, processing, optimized (alias: saved), in_progress, failed, rejected, unavailable */
43
49
  display_status?: string[] | null;
44
50
  /** Search across recommendation fields (case-insensitive) */
@@ -61,6 +61,7 @@ export declare namespace AutomationAction {
61
61
  readonly StepTooLarge: "step_too_large";
62
62
  readonly NotAnIncrease: "not_an_increase";
63
63
  readonly VpaManaged: "vpa_managed";
64
+ readonly AutoModeManaged: "auto_mode_managed";
64
65
  readonly StaleStep: "stale_step";
65
66
  readonly ConcurrencyCap: "concurrency_cap";
66
67
  readonly StepInterval: "step_interval";
@@ -61,6 +61,7 @@ export declare namespace AutomationAction {
61
61
  readonly StepTooLarge: "step_too_large";
62
62
  readonly NotAnIncrease: "not_an_increase";
63
63
  readonly VpaManaged: "vpa_managed";
64
+ readonly AutoModeManaged: "auto_mode_managed";
64
65
  readonly StaleStep: "stale_step";
65
66
  readonly ConcurrencyCap: "concurrency_cap";
66
67
  readonly StepInterval: "step_interval";
@@ -62,6 +62,7 @@ var AutomationAction;
62
62
  StepTooLarge: "step_too_large",
63
63
  NotAnIncrease: "not_an_increase",
64
64
  VpaManaged: "vpa_managed",
65
+ AutoModeManaged: "auto_mode_managed",
65
66
  StaleStep: "stale_step",
66
67
  ConcurrencyCap: "concurrency_cap",
67
68
  StepInterval: "step_interval",
@@ -39,6 +39,7 @@ var AutomationAction;
39
39
  StepTooLarge: "step_too_large",
40
40
  NotAnIncrease: "not_an_increase",
41
41
  VpaManaged: "vpa_managed",
42
+ AutoModeManaged: "auto_mode_managed",
42
43
  StaleStep: "stale_step",
43
44
  ConcurrencyCap: "concurrency_cap",
44
45
  StepInterval: "step_interval",
@@ -1,12 +1,12 @@
1
1
  import type * as LevelFour from "../index.mjs";
2
2
  export interface AutomationEvent {
3
3
  event_id: string;
4
- /** What the component reported (revert_finished, with no pod, ends a revert with detail.outcome and its pod counts), what a person changed, or what LevelFour recorded on its own: in_place_ceiling_reached each time a rightsizing walk gets to the most the component sets in place for a request, twice the template's value, while its target is higher, with detail.resource, detail.reached, detail.wanted (the values the workload's spec needs) and detail.recommendation_id, the newest open pull request recommendation for the container, which changes its spec, read with the page, null with none */
4
+ /** What the component reported (revert_finished, with no pod, ends a revert with detail.outcome and its pod counts), what a person changed, or what LevelFour recorded on its own: in_place_ceiling_reached each time a rightsizing walk gets to the most the component sets in place for a request, twice the template's value, while its target is higher, with detail.resource, detail.reached, detail.wanted (the values the workload's spec needs) and detail.recommendation_id, the newest open pull request recommendation for the container, which changes its spec, read with the page, null with none; and hard_limit_exceeded each time a walk would take a step that leaves a request or a limit above the install's hard limits, which the component refuses, with the same fields and detail.hard_limit */
5
5
  type: string;
6
6
  /** raise or cut for a step's events by the way it moves the request, rollback for a rollback or revert, settings for what a person changed, other for the rest */
7
7
  category: AutomationEvent.Category;
8
8
  occurred_at: string;
9
- /** A person's email, levelfour-automation for the component, levelfour for what LevelFour decided on its own (a refusal, the in-place ceiling), or levelfour-takeover (automatic) for a takeover's freeze, whose detail names the admin who marked it */
9
+ /** A person's email, levelfour-automation for the component, levelfour for what LevelFour decided on its own (a refusal, the in-place ceiling, the hard limit), or levelfour-takeover (automatic) for a takeover's freeze, whose detail names the admin who marked it */
10
10
  actor?: (string | null) | undefined;
11
11
  namespace?: (string | null) | undefined;
12
12
  workload_kind?: (string | null) | undefined;
@@ -19,7 +19,7 @@ export interface AutomationEvent {
19
19
  before?: (LevelFour.ContainerResources | null) | undefined;
20
20
  /** The values this event left the container on, or would have, on the same reading as before */
21
21
  after?: (LevelFour.ContainerResources | null) | undefined;
22
- /** Why: oom_kills, cpu_throttling or rightsizing_step for a change, the refusal reason for one LevelFour refused, revert for a revert, still_out_of_memory once a raise did not end the OOM kills, the rollback's trigger, in_place_ceiling for a raise the in-place ceiling stopped, or the component's own reason for what it held back or skipped */
22
+ /** Why: oom_kills, cpu_throttling or rightsizing_step for a change, the refusal reason for one LevelFour refused, revert for a revert, still_out_of_memory once a raise did not end the OOM kills, the rollback's trigger, in_place_ceiling for a raise the in-place ceiling stopped, hard_limit for a step the install's hard limits stopped, or the component's own reason for what it held back or skipped */
23
23
  reason?: (string | null) | undefined;
24
24
  }
25
25
  export declare namespace AutomationEvent {
@@ -1,12 +1,12 @@
1
1
  import type * as LevelFour from "../index.js";
2
2
  export interface AutomationEvent {
3
3
  event_id: string;
4
- /** What the component reported (revert_finished, with no pod, ends a revert with detail.outcome and its pod counts), what a person changed, or what LevelFour recorded on its own: in_place_ceiling_reached each time a rightsizing walk gets to the most the component sets in place for a request, twice the template's value, while its target is higher, with detail.resource, detail.reached, detail.wanted (the values the workload's spec needs) and detail.recommendation_id, the newest open pull request recommendation for the container, which changes its spec, read with the page, null with none */
4
+ /** What the component reported (revert_finished, with no pod, ends a revert with detail.outcome and its pod counts), what a person changed, or what LevelFour recorded on its own: in_place_ceiling_reached each time a rightsizing walk gets to the most the component sets in place for a request, twice the template's value, while its target is higher, with detail.resource, detail.reached, detail.wanted (the values the workload's spec needs) and detail.recommendation_id, the newest open pull request recommendation for the container, which changes its spec, read with the page, null with none; and hard_limit_exceeded each time a walk would take a step that leaves a request or a limit above the install's hard limits, which the component refuses, with the same fields and detail.hard_limit */
5
5
  type: string;
6
6
  /** raise or cut for a step's events by the way it moves the request, rollback for a rollback or revert, settings for what a person changed, other for the rest */
7
7
  category: AutomationEvent.Category;
8
8
  occurred_at: string;
9
- /** A person's email, levelfour-automation for the component, levelfour for what LevelFour decided on its own (a refusal, the in-place ceiling), or levelfour-takeover (automatic) for a takeover's freeze, whose detail names the admin who marked it */
9
+ /** A person's email, levelfour-automation for the component, levelfour for what LevelFour decided on its own (a refusal, the in-place ceiling, the hard limit), or levelfour-takeover (automatic) for a takeover's freeze, whose detail names the admin who marked it */
10
10
  actor?: (string | null) | undefined;
11
11
  namespace?: (string | null) | undefined;
12
12
  workload_kind?: (string | null) | undefined;
@@ -19,7 +19,7 @@ export interface AutomationEvent {
19
19
  before?: (LevelFour.ContainerResources | null) | undefined;
20
20
  /** The values this event left the container on, or would have, on the same reading as before */
21
21
  after?: (LevelFour.ContainerResources | null) | undefined;
22
- /** Why: oom_kills, cpu_throttling or rightsizing_step for a change, the refusal reason for one LevelFour refused, revert for a revert, still_out_of_memory once a raise did not end the OOM kills, the rollback's trigger, in_place_ceiling for a raise the in-place ceiling stopped, or the component's own reason for what it held back or skipped */
22
+ /** Why: oom_kills, cpu_throttling or rightsizing_step for a change, the refusal reason for one LevelFour refused, revert for a revert, still_out_of_memory once a raise did not end the OOM kills, the rollback's trigger, in_place_ceiling for a raise the in-place ceiling stopped, hard_limit for a step the install's hard limits stopped, or the component's own reason for what it held back or skipped */
23
23
  reason?: (string | null) | undefined;
24
24
  }
25
25
  export declare namespace AutomationEvent {
@@ -5,4 +5,14 @@ export interface AutoscalingData {
5
5
  hpas: LevelFour.ReplicaScaler[];
6
6
  scaled_objects: LevelFour.ReplicaScaler[];
7
7
  vpas: LevelFour.VpaScaler[];
8
+ /** The PodDisruptionBudgets, each with its applier in its spec */
9
+ pdbs: LevelFour.NamedSpec[];
10
+ /** EKS Auto Mode's ClusterResourceOptimizationPolicies: spec.mode, profile, the workload counts, the Ready reason and the applier. Empty on a cluster without Auto Mode's rightsizing */
11
+ resource_optimization_policies: LevelFour.NamedSpec[];
12
+ /** The object EKS Auto Mode keeps for each workload it sizes: spec.target, mode (Apply resizes pods), profile, the policy that won it and the Ready reason (VPAConflict while a VPA not in Off mode targets it) */
13
+ resource_optimizations: LevelFour.NamedSpec[];
14
+ /** Each mutating and validating webhook, named <configuration>/<webhook>: its type, failure policy, the Service behind it or only that it calls a URL, and the resources and operations its rules match. Empty from an agent before 0.8.6 */
15
+ admission_webhooks: LevelFour.NamedSpec[];
16
+ /** The custom resources the cluster serves among those the agent lists, as <resource>.<group>, so a missing VPA CRD and no VPA read apart. Null until an agent of 0.8.6 or later reports them */
17
+ crds: string[] | null;
8
18
  }
@@ -5,4 +5,14 @@ export interface AutoscalingData {
5
5
  hpas: LevelFour.ReplicaScaler[];
6
6
  scaled_objects: LevelFour.ReplicaScaler[];
7
7
  vpas: LevelFour.VpaScaler[];
8
+ /** The PodDisruptionBudgets, each with its applier in its spec */
9
+ pdbs: LevelFour.NamedSpec[];
10
+ /** EKS Auto Mode's ClusterResourceOptimizationPolicies: spec.mode, profile, the workload counts, the Ready reason and the applier. Empty on a cluster without Auto Mode's rightsizing */
11
+ resource_optimization_policies: LevelFour.NamedSpec[];
12
+ /** The object EKS Auto Mode keeps for each workload it sizes: spec.target, mode (Apply resizes pods), profile, the policy that won it and the Ready reason (VPAConflict while a VPA not in Off mode targets it) */
13
+ resource_optimizations: LevelFour.NamedSpec[];
14
+ /** Each mutating and validating webhook, named <configuration>/<webhook>: its type, failure policy, the Service behind it or only that it calls a URL, and the resources and operations its rules match. Empty from an agent before 0.8.6 */
15
+ admission_webhooks: LevelFour.NamedSpec[];
16
+ /** The custom resources the cluster serves among those the agent lists, as <resource>.<group>, so a missing VPA CRD and no VPA read apart. Null until an agent of 0.8.6 or later reports them */
17
+ crds: string[] | null;
8
18
  }
@@ -23,6 +23,12 @@ export interface BlockerTotals {
23
23
  would_free_monthly_cost?: (number | null) | undefined;
24
24
  /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
25
25
  would_free_monthly_cost_net?: (number | null) | undefined;
26
+ /** Of the nodes that would go, the ones no pod with a published recommendation runs on (has_published_recommendation false): what freeing them saves is in no recommendation yet, so an available total adds their cost to the recommendations' without counting a saving twice */
27
+ nodes_would_free_without_recommendation?: number | undefined;
28
+ /** What those nodes cost a month, the priced ones; null when none is priced */
29
+ would_free_without_recommendation_monthly_cost?: (number | null) | undefined;
30
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
31
+ would_free_without_recommendation_monthly_cost_net?: (number | null) | undefined;
26
32
  /** Held nodes that would stay once their blockers clear, each with its node_kept_reason */
27
33
  nodes_kept?: number | undefined;
28
34
  /** Of those, the ones neither their own bill nor a rate prices */
@@ -23,6 +23,12 @@ export interface BlockerTotals {
23
23
  would_free_monthly_cost?: (number | null) | undefined;
24
24
  /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
25
25
  would_free_monthly_cost_net?: (number | null) | undefined;
26
+ /** Of the nodes that would go, the ones no pod with a published recommendation runs on (has_published_recommendation false): what freeing them saves is in no recommendation yet, so an available total adds their cost to the recommendations' without counting a saving twice */
27
+ nodes_would_free_without_recommendation?: number | undefined;
28
+ /** What those nodes cost a month, the priced ones; null when none is priced */
29
+ would_free_without_recommendation_monthly_cost?: (number | null) | undefined;
30
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
31
+ would_free_without_recommendation_monthly_cost_net?: (number | null) | undefined;
26
32
  /** Held nodes that would stay once their blockers clear, each with its node_kept_reason */
27
33
  nodes_kept?: number | undefined;
28
34
  /** Of those, the ones neither their own bill nor a rate prices */
@@ -0,0 +1,16 @@
1
+ /**
2
+ * A PodDisruptionBudget that allows the pod no disruption now, as the cluster's latest batch reports it.
3
+ */
4
+ export interface BlockingPdb {
5
+ name: string;
6
+ /** As the PDB sets it, a count or a percentage, such as "1" or "30%" */
7
+ min_available?: (string | null) | undefined;
8
+ /** As the PDB sets it, such as "30%" */
9
+ max_unavailable?: (string | null) | undefined;
10
+ current_healthy?: (number | null) | undefined;
11
+ desired_healthy?: (number | null) | undefined;
12
+ /** 0 for every PDB listed here */
13
+ disruptions_allowed?: (number | null) | undefined;
14
+ /** IfHealthyBudget or AlwaysAllow as the PDB sets it; null when it is unset or the agent is older than the one that reports it */
15
+ unhealthy_pod_eviction_policy?: (string | null) | undefined;
16
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * A PodDisruptionBudget that allows the pod no disruption now, as the cluster's latest batch reports it.
3
+ */
4
+ export interface BlockingPdb {
5
+ name: string;
6
+ /** As the PDB sets it, a count or a percentage, such as "1" or "30%" */
7
+ min_available?: (string | null) | undefined;
8
+ /** As the PDB sets it, such as "30%" */
9
+ max_unavailable?: (string | null) | undefined;
10
+ current_healthy?: (number | null) | undefined;
11
+ desired_healthy?: (number | null) | undefined;
12
+ /** 0 for every PDB listed here */
13
+ disruptions_allowed?: (number | null) | undefined;
14
+ /** IfHealthyBudget or AlwaysAllow as the PDB sets it; null when it is unset or the agent is older than the one that reports it */
15
+ unhealthy_pod_eviction_policy?: (string | null) | undefined;
16
+ }