levelfour 1.8.0 → 1.10.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 (285) hide show
  1. package/dist/api/resources/accounts/client/Client.d.mts +34 -0
  2. package/dist/api/resources/accounts/client/Client.d.ts +34 -0
  3. package/dist/api/resources/accounts/client/Client.js +204 -0
  4. package/dist/api/resources/accounts/client/Client.mjs +204 -0
  5. package/dist/api/types/AutomationAction.d.mts +1 -0
  6. package/dist/api/types/AutomationAction.d.ts +1 -0
  7. package/dist/api/types/AutomationAction.js +2 -1
  8. package/dist/api/types/AutomationAction.mjs +2 -1
  9. package/dist/api/types/AzureSubscriptionItem.d.mts +2 -0
  10. package/dist/api/types/AzureSubscriptionItem.d.ts +2 -0
  11. package/dist/api/types/BlockerTotals.d.mts +31 -1
  12. package/dist/api/types/BlockerTotals.d.ts +31 -1
  13. package/dist/api/types/ClaimBillRate.d.mts +15 -0
  14. package/dist/api/types/ClaimBillRate.d.ts +15 -0
  15. package/dist/api/types/ClaimBillRate.js +17 -0
  16. package/dist/api/types/ClaimBillRate.mjs +1 -0
  17. package/dist/api/types/ClusterFilterOptions.d.mts +1 -0
  18. package/dist/api/types/ClusterFilterOptions.d.ts +1 -0
  19. package/dist/api/types/ClusterFilterOptions.js +1 -0
  20. package/dist/api/types/ClusterFilterOptions.mjs +1 -0
  21. package/dist/api/types/ClusterHealth.d.mts +1 -1
  22. package/dist/api/types/ClusterHealth.d.ts +1 -1
  23. package/dist/api/types/ClusterItem.d.mts +18 -5
  24. package/dist/api/types/ClusterItem.d.ts +18 -5
  25. package/dist/api/types/ClusterItem.js +6 -0
  26. package/dist/api/types/ClusterItem.mjs +6 -0
  27. package/dist/api/types/ClusterSummary.d.mts +17 -1
  28. package/dist/api/types/ClusterSummary.d.ts +17 -1
  29. package/dist/api/types/ClusterSummary.js +5 -0
  30. package/dist/api/types/ClusterSummary.mjs +5 -0
  31. package/dist/api/types/ClusterUsageDay.d.mts +1 -1
  32. package/dist/api/types/ClusterUsageDay.d.ts +1 -1
  33. package/dist/api/types/ComputeMonth.d.mts +3 -2
  34. package/dist/api/types/ComputeMonth.d.ts +3 -2
  35. package/dist/api/types/ConsolidationBlocker.d.mts +32 -0
  36. package/dist/api/types/ConsolidationBlocker.d.ts +32 -0
  37. package/dist/api/types/ConsolidationBlocker.js +15 -0
  38. package/dist/api/types/ConsolidationBlocker.mjs +15 -0
  39. package/dist/api/types/ContainerDetail.d.mts +4 -0
  40. package/dist/api/types/ContainerDetail.d.ts +4 -0
  41. package/dist/api/types/ContainerJvmDay.d.mts +20 -0
  42. package/dist/api/types/ContainerJvmDay.d.ts +20 -0
  43. package/dist/api/types/ContainerJvmDay.js +17 -0
  44. package/dist/api/types/ContainerJvmDay.mjs +1 -0
  45. package/dist/api/types/ContainerJvmMeasured.d.mts +50 -0
  46. package/dist/api/types/ContainerJvmMeasured.d.ts +50 -0
  47. package/dist/api/types/ContainerJvmMeasured.js +41 -0
  48. package/dist/api/types/ContainerJvmMeasured.mjs +17 -0
  49. package/dist/api/types/CostSeries.d.mts +3 -2
  50. package/dist/api/types/CostSeries.d.ts +3 -2
  51. package/dist/api/types/CostSeries.js +2 -1
  52. package/dist/api/types/CostSeries.mjs +2 -1
  53. package/dist/api/types/DestinationTraffic.d.mts +17 -0
  54. package/dist/api/types/DestinationTraffic.d.ts +17 -0
  55. package/dist/api/types/DestinationTraffic.js +38 -0
  56. package/dist/api/types/DestinationTraffic.mjs +14 -0
  57. package/dist/api/types/Efficiency.d.mts +6 -0
  58. package/dist/api/types/Efficiency.d.ts +6 -0
  59. package/dist/api/types/EfficiencyPoint.d.mts +1 -0
  60. package/dist/api/types/EfficiencyPoint.d.ts +1 -0
  61. package/dist/api/types/FleetNamespace.d.mts +7 -0
  62. package/dist/api/types/FleetNamespace.d.ts +7 -0
  63. package/dist/api/types/FleetNamespace.js +4 -0
  64. package/dist/api/types/FleetNamespace.mjs +4 -0
  65. package/dist/api/types/FleetNodePool.d.mts +13 -5
  66. package/dist/api/types/FleetNodePool.d.ts +13 -5
  67. package/dist/api/types/FleetStorage.d.mts +3 -0
  68. package/dist/api/types/FleetStorage.d.ts +3 -0
  69. package/dist/api/types/FleetSummary.d.mts +13 -1
  70. package/dist/api/types/FleetSummary.d.ts +13 -1
  71. package/dist/api/types/FleetSummary.js +5 -0
  72. package/dist/api/types/FleetSummary.mjs +5 -0
  73. package/dist/api/types/FleetVolume.d.mts +23 -1
  74. package/dist/api/types/FleetVolume.d.ts +23 -1
  75. package/dist/api/types/FleetVolume.js +22 -0
  76. package/dist/api/types/FleetVolume.mjs +14 -0
  77. package/dist/api/types/FleetWorkload.d.mts +9 -0
  78. package/dist/api/types/FleetWorkload.d.ts +9 -0
  79. package/dist/api/types/FleetWorkload.js +4 -0
  80. package/dist/api/types/FleetWorkload.mjs +4 -0
  81. package/dist/api/types/FleetWorkloadFacets.d.mts +5 -0
  82. package/dist/api/types/FleetWorkloadFacets.d.ts +5 -0
  83. package/dist/api/types/FleetWorkloadFacets.js +17 -0
  84. package/dist/api/types/FleetWorkloadFacets.mjs +1 -0
  85. package/dist/api/types/FleetWorkloadListData.d.mts +1 -0
  86. package/dist/api/types/FleetWorkloadListData.d.ts +1 -0
  87. package/dist/api/types/HeldResources.d.mts +23 -0
  88. package/dist/api/types/HeldResources.d.ts +23 -0
  89. package/dist/api/types/HeldResources.js +39 -0
  90. package/dist/api/types/HeldResources.mjs +15 -0
  91. package/dist/api/types/Indicator.d.mts +4 -0
  92. package/dist/api/types/Indicator.d.ts +4 -0
  93. package/dist/api/types/Indicator.js +4 -0
  94. package/dist/api/types/Indicator.mjs +4 -0
  95. package/dist/api/types/IndicatorCount.d.mts +4 -0
  96. package/dist/api/types/IndicatorCount.d.ts +4 -0
  97. package/dist/api/types/IndicatorCount.js +4 -0
  98. package/dist/api/types/IndicatorCount.mjs +4 -0
  99. package/dist/api/types/JvmFlags.d.mts +38 -0
  100. package/dist/api/types/JvmFlags.d.ts +38 -0
  101. package/dist/api/types/JvmFlags.js +41 -0
  102. package/dist/api/types/JvmFlags.mjs +17 -0
  103. package/dist/api/types/JvmMeasured.d.mts +52 -0
  104. package/dist/api/types/JvmMeasured.d.ts +52 -0
  105. package/dist/api/types/JvmMeasured.js +41 -0
  106. package/dist/api/types/JvmMeasured.mjs +17 -0
  107. package/dist/api/types/JvmReaderHealth.d.mts +8 -0
  108. package/dist/api/types/JvmReaderHealth.d.ts +8 -0
  109. package/dist/api/types/JvmReaderHealth.js +17 -0
  110. package/dist/api/types/JvmReaderHealth.mjs +1 -0
  111. package/dist/api/types/JvmReaderNodeHealth.d.mts +21 -0
  112. package/dist/api/types/JvmReaderNodeHealth.d.ts +21 -0
  113. package/dist/api/types/JvmReaderNodeHealth.js +37 -0
  114. package/dist/api/types/JvmReaderNodeHealth.mjs +13 -0
  115. package/dist/api/types/JvmReaderResponse.d.mts +6 -0
  116. package/dist/api/types/JvmReaderResponse.d.ts +6 -0
  117. package/dist/api/types/JvmReaderResponse.js +17 -0
  118. package/dist/api/types/JvmReaderResponse.mjs +1 -0
  119. package/dist/api/types/KarpenterPool.d.mts +2 -0
  120. package/dist/api/types/KarpenterPool.d.ts +2 -0
  121. package/dist/api/types/KubernetesDataAvailability.d.mts +4 -0
  122. package/dist/api/types/KubernetesDataAvailability.d.ts +4 -0
  123. package/dist/api/types/NamespaceAutomation.d.mts +3 -0
  124. package/dist/api/types/NamespaceAutomation.d.ts +3 -0
  125. package/dist/api/types/NamespaceItem.d.mts +7 -0
  126. package/dist/api/types/NamespaceItem.d.ts +7 -0
  127. package/dist/api/types/NamespaceItem.js +4 -0
  128. package/dist/api/types/NamespaceItem.mjs +4 -0
  129. package/dist/api/types/NamespaceReliability.d.mts +4 -1
  130. package/dist/api/types/NamespaceReliability.d.ts +4 -1
  131. package/dist/api/types/NetworkLens.d.mts +2 -0
  132. package/dist/api/types/NetworkLens.d.ts +2 -0
  133. package/dist/api/types/NetworkTotals.d.mts +5 -1
  134. package/dist/api/types/NetworkTotals.d.ts +5 -1
  135. package/dist/api/types/NoReadyShare.d.mts +12 -0
  136. package/dist/api/types/NoReadyShare.d.ts +12 -0
  137. package/dist/api/types/NoReadyShare.js +17 -0
  138. package/dist/api/types/NoReadyShare.mjs +1 -0
  139. package/dist/api/types/NodeDetail.d.mts +2 -0
  140. package/dist/api/types/NodeDetail.d.ts +2 -0
  141. package/dist/api/types/NodeFacets.d.mts +2 -0
  142. package/dist/api/types/NodeFacets.d.ts +2 -0
  143. package/dist/api/types/NodeItem.d.mts +3 -1
  144. package/dist/api/types/NodeItem.d.ts +3 -1
  145. package/dist/api/types/NodeMonthlyPrice.d.mts +24 -0
  146. package/dist/api/types/NodeMonthlyPrice.d.ts +24 -0
  147. package/dist/api/types/NodeMonthlyPrice.js +35 -0
  148. package/dist/api/types/NodeMonthlyPrice.mjs +11 -0
  149. package/dist/api/types/NodePoolDay.d.mts +1 -1
  150. package/dist/api/types/NodePoolDay.d.ts +1 -1
  151. package/dist/api/types/NodePoolUsage.d.mts +13 -5
  152. package/dist/api/types/NodePoolUsage.d.ts +13 -5
  153. package/dist/api/types/OtherRightsizer.d.mts +14 -0
  154. package/dist/api/types/OtherRightsizer.d.ts +14 -0
  155. package/dist/api/types/OtherRightsizer.js +35 -0
  156. package/dist/api/types/OtherRightsizer.mjs +11 -0
  157. package/dist/api/types/PendingShare.d.mts +6 -0
  158. package/dist/api/types/PendingShare.d.ts +6 -0
  159. package/dist/api/types/PendingShare.js +17 -0
  160. package/dist/api/types/PendingShare.mjs +1 -0
  161. package/dist/api/types/PodCounts.d.mts +2 -2
  162. package/dist/api/types/PodCounts.d.ts +2 -2
  163. package/dist/api/types/PodsHour.d.mts +3 -1
  164. package/dist/api/types/PodsHour.d.ts +3 -1
  165. package/dist/api/types/PurchaseTypeShare.d.mts +1 -1
  166. package/dist/api/types/PurchaseTypeShare.d.ts +1 -1
  167. package/dist/api/types/ReliabilityCounts.d.mts +3 -0
  168. package/dist/api/types/ReliabilityCounts.d.ts +3 -0
  169. package/dist/api/types/ReliabilityDay.d.mts +8 -5
  170. package/dist/api/types/ReliabilityDay.d.ts +8 -5
  171. package/dist/api/types/ReliabilityEventDay.d.mts +4 -3
  172. package/dist/api/types/ReliabilityEventDay.d.ts +4 -3
  173. package/dist/api/types/ReliabilityFacetCount.d.mts +17 -0
  174. package/dist/api/types/ReliabilityFacetCount.d.ts +17 -0
  175. package/dist/api/types/ReliabilityFacetCount.js +41 -0
  176. package/dist/api/types/ReliabilityFacetCount.mjs +17 -0
  177. package/dist/api/types/ReliabilityLens.d.mts +2 -1
  178. package/dist/api/types/ReliabilityLens.d.ts +2 -1
  179. package/dist/api/types/ReliabilityTotals.d.mts +12 -3
  180. package/dist/api/types/ReliabilityTotals.d.ts +12 -3
  181. package/dist/api/types/RequestsAverage.d.mts +3 -1
  182. package/dist/api/types/RequestsAverage.d.ts +3 -1
  183. package/dist/api/types/ResourceEfficiency.d.mts +7 -1
  184. package/dist/api/types/ResourceEfficiency.d.ts +7 -1
  185. package/dist/api/types/RightsizedContainer.d.mts +19 -5
  186. package/dist/api/types/RightsizedContainer.d.ts +19 -5
  187. package/dist/api/types/RightsizedContainer.js +10 -1
  188. package/dist/api/types/RightsizedContainer.mjs +10 -1
  189. package/dist/api/types/SizingEvidence.d.mts +30 -0
  190. package/dist/api/types/SizingEvidence.d.ts +30 -0
  191. package/dist/api/types/SizingEvidence.js +40 -0
  192. package/dist/api/types/SizingEvidence.mjs +16 -0
  193. package/dist/api/types/SpendDay.d.mts +17 -2
  194. package/dist/api/types/SpendDay.d.ts +17 -2
  195. package/dist/api/types/SpendDay.js +18 -0
  196. package/dist/api/types/SpendDay.mjs +10 -0
  197. package/dist/api/types/SpendKpis.d.mts +13 -2
  198. package/dist/api/types/SpendKpis.d.ts +13 -2
  199. package/dist/api/types/SpendKpis.js +18 -0
  200. package/dist/api/types/SpendKpis.mjs +10 -0
  201. package/dist/api/types/SpendUnitCost.d.mts +1 -0
  202. package/dist/api/types/SpendUnitCost.d.ts +1 -0
  203. package/dist/api/types/SpotBalance.d.mts +4 -0
  204. package/dist/api/types/SpotBalance.d.ts +4 -0
  205. package/dist/api/types/StatusCount.d.mts +1 -0
  206. package/dist/api/types/StatusCount.d.ts +1 -0
  207. package/dist/api/types/StatusCount.js +1 -0
  208. package/dist/api/types/StatusCount.mjs +1 -0
  209. package/dist/api/types/StorageClassTotals.d.mts +2 -0
  210. package/dist/api/types/StorageClassTotals.d.ts +2 -0
  211. package/dist/api/types/StorageClassUsage.d.mts +4 -1
  212. package/dist/api/types/StorageClassUsage.d.ts +4 -1
  213. package/dist/api/types/TerraformIntegrationData.d.mts +13 -0
  214. package/dist/api/types/TerraformIntegrationData.d.ts +13 -0
  215. package/dist/api/types/TerraformIntegrationData.js +17 -0
  216. package/dist/api/types/TerraformIntegrationData.mjs +1 -0
  217. package/dist/api/types/TerraformIntegrationResponse.d.mts +6 -0
  218. package/dist/api/types/TerraformIntegrationResponse.d.ts +6 -0
  219. package/dist/api/types/TerraformIntegrationResponse.js +17 -0
  220. package/dist/api/types/TerraformIntegrationResponse.mjs +1 -0
  221. package/dist/api/types/UnhealthyReason.d.mts +16 -0
  222. package/dist/api/types/UnhealthyReason.d.ts +16 -0
  223. package/dist/api/types/UnhealthyReason.js +35 -0
  224. package/dist/api/types/UnhealthyReason.mjs +11 -0
  225. package/dist/api/types/UnitCosts.d.mts +1 -1
  226. package/dist/api/types/UnitCosts.d.ts +1 -1
  227. package/dist/api/types/UsageCoverage.d.mts +10 -0
  228. package/dist/api/types/UsageCoverage.d.ts +10 -0
  229. package/dist/api/types/UsageCoverage.js +17 -0
  230. package/dist/api/types/UsageCoverage.mjs +1 -0
  231. package/dist/api/types/UsageCoverageResponse.d.mts +6 -0
  232. package/dist/api/types/UsageCoverageResponse.d.ts +6 -0
  233. package/dist/api/types/UsageCoverageResponse.js +17 -0
  234. package/dist/api/types/UsageCoverageResponse.mjs +1 -0
  235. package/dist/api/types/UsageCoverageWindow.d.mts +8 -0
  236. package/dist/api/types/UsageCoverageWindow.d.ts +8 -0
  237. package/dist/api/types/UsageCoverageWindow.js +17 -0
  238. package/dist/api/types/UsageCoverageWindow.mjs +1 -0
  239. package/dist/api/types/UseMeasured.d.mts +9 -0
  240. package/dist/api/types/UseMeasured.d.ts +9 -0
  241. package/dist/api/types/UseMeasured.js +17 -0
  242. package/dist/api/types/UseMeasured.mjs +1 -0
  243. package/dist/api/types/UtilizationTarget.d.mts +34 -4
  244. package/dist/api/types/UtilizationTarget.d.ts +34 -4
  245. package/dist/api/types/UtilizationTarget.js +14 -1
  246. package/dist/api/types/UtilizationTarget.mjs +14 -1
  247. package/dist/api/types/VolumeItem.d.mts +23 -1
  248. package/dist/api/types/VolumeItem.d.ts +23 -1
  249. package/dist/api/types/VolumeItem.js +22 -0
  250. package/dist/api/types/VolumeItem.mjs +14 -0
  251. package/dist/api/types/Waste.d.mts +6 -2
  252. package/dist/api/types/Waste.d.ts +6 -2
  253. package/dist/api/types/WasteDay.d.mts +2 -0
  254. package/dist/api/types/WasteDay.d.ts +2 -0
  255. package/dist/api/types/WasteTotal.d.mts +4 -2
  256. package/dist/api/types/WasteTotal.d.ts +4 -2
  257. package/dist/api/types/WorkloadDay.d.mts +7 -0
  258. package/dist/api/types/WorkloadDay.d.ts +7 -0
  259. package/dist/api/types/WorkloadDetail.d.mts +8 -0
  260. package/dist/api/types/WorkloadDetail.d.ts +8 -0
  261. package/dist/api/types/WorkloadFacets.d.mts +4 -0
  262. package/dist/api/types/WorkloadFacets.d.ts +4 -0
  263. package/dist/api/types/WorkloadItem.d.mts +38 -0
  264. package/dist/api/types/WorkloadItem.d.ts +38 -0
  265. package/dist/api/types/WorkloadItem.js +20 -0
  266. package/dist/api/types/WorkloadItem.mjs +20 -0
  267. package/dist/api/types/WorkloadJvm.d.mts +15 -0
  268. package/dist/api/types/WorkloadJvm.d.ts +15 -0
  269. package/dist/api/types/WorkloadJvm.js +17 -0
  270. package/dist/api/types/WorkloadJvm.mjs +1 -0
  271. package/dist/api/types/WorkloadListData.d.mts +1 -1
  272. package/dist/api/types/WorkloadListData.d.ts +1 -1
  273. package/dist/api/types/WorkloadListItem.d.mts +132 -0
  274. package/dist/api/types/WorkloadListItem.d.ts +132 -0
  275. package/dist/api/types/WorkloadListItem.js +62 -0
  276. package/dist/api/types/WorkloadListItem.mjs +38 -0
  277. package/dist/api/types/index.d.mts +26 -0
  278. package/dist/api/types/index.d.ts +26 -0
  279. package/dist/api/types/index.js +52 -0
  280. package/dist/api/types/index.mjs +26 -0
  281. package/dist/version.d.mts +1 -1
  282. package/dist/version.d.ts +1 -1
  283. package/dist/version.js +1 -1
  284. package/dist/version.mjs +1 -1
  285. package/package.json +1 -1
@@ -30,6 +30,40 @@ export declare class AccountsClient {
30
30
  */
31
31
  createIntegration(request: LevelFour.CreateIntegrationRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<LevelFour.CreateIntegrationResponse>;
32
32
  private __createIntegration;
33
+ /**
34
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
35
+ *
36
+ * @throws {@link LevelFour.BadRequestError}
37
+ * @throws {@link LevelFour.UnauthorizedError}
38
+ * @throws {@link LevelFour.ForbiddenError}
39
+ * @throws {@link LevelFour.NotFoundError}
40
+ * @throws {@link LevelFour.ConflictError}
41
+ * @throws {@link LevelFour.UnprocessableEntityError}
42
+ * @throws {@link LevelFour.TooManyRequestsError}
43
+ * @throws {@link LevelFour.InternalServerError}
44
+ *
45
+ * @example
46
+ * await client.accounts.ensureTerraformIntegration()
47
+ */
48
+ ensureTerraformIntegration(requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<LevelFour.TerraformIntegrationResponse>;
49
+ private __ensureTerraformIntegration;
50
+ /**
51
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
52
+ *
53
+ * @throws {@link LevelFour.BadRequestError}
54
+ * @throws {@link LevelFour.UnauthorizedError}
55
+ * @throws {@link LevelFour.ForbiddenError}
56
+ * @throws {@link LevelFour.NotFoundError}
57
+ * @throws {@link LevelFour.ConflictError}
58
+ * @throws {@link LevelFour.UnprocessableEntityError}
59
+ * @throws {@link LevelFour.TooManyRequestsError}
60
+ * @throws {@link LevelFour.InternalServerError}
61
+ *
62
+ * @example
63
+ * await client.accounts.rotateTerraformIntegration()
64
+ */
65
+ rotateTerraformIntegration(requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<LevelFour.TerraformIntegrationResponse>;
66
+ private __rotateTerraformIntegration;
33
67
  /**
34
68
  * @param {LevelFour.GetIntegrationStatusApiV1AccountsIntegrationsIntegrationIdGetRequest} request
35
69
  * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -30,6 +30,40 @@ export declare class AccountsClient {
30
30
  */
31
31
  createIntegration(request: LevelFour.CreateIntegrationRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<LevelFour.CreateIntegrationResponse>;
32
32
  private __createIntegration;
33
+ /**
34
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
35
+ *
36
+ * @throws {@link LevelFour.BadRequestError}
37
+ * @throws {@link LevelFour.UnauthorizedError}
38
+ * @throws {@link LevelFour.ForbiddenError}
39
+ * @throws {@link LevelFour.NotFoundError}
40
+ * @throws {@link LevelFour.ConflictError}
41
+ * @throws {@link LevelFour.UnprocessableEntityError}
42
+ * @throws {@link LevelFour.TooManyRequestsError}
43
+ * @throws {@link LevelFour.InternalServerError}
44
+ *
45
+ * @example
46
+ * await client.accounts.ensureTerraformIntegration()
47
+ */
48
+ ensureTerraformIntegration(requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<LevelFour.TerraformIntegrationResponse>;
49
+ private __ensureTerraformIntegration;
50
+ /**
51
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
52
+ *
53
+ * @throws {@link LevelFour.BadRequestError}
54
+ * @throws {@link LevelFour.UnauthorizedError}
55
+ * @throws {@link LevelFour.ForbiddenError}
56
+ * @throws {@link LevelFour.NotFoundError}
57
+ * @throws {@link LevelFour.ConflictError}
58
+ * @throws {@link LevelFour.UnprocessableEntityError}
59
+ * @throws {@link LevelFour.TooManyRequestsError}
60
+ * @throws {@link LevelFour.InternalServerError}
61
+ *
62
+ * @example
63
+ * await client.accounts.rotateTerraformIntegration()
64
+ */
65
+ rotateTerraformIntegration(requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<LevelFour.TerraformIntegrationResponse>;
66
+ private __rotateTerraformIntegration;
33
67
  /**
34
68
  * @param {LevelFour.GetIntegrationStatusApiV1AccountsIntegrationsIntegrationIdGetRequest} request
35
69
  * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -147,6 +147,210 @@ class AccountsClient {
147
147
  "/api/v1/accounts/integrations"
148
148
  );
149
149
  }
150
+ /**
151
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
152
+ *
153
+ * @throws {@link LevelFour.BadRequestError}
154
+ * @throws {@link LevelFour.UnauthorizedError}
155
+ * @throws {@link LevelFour.ForbiddenError}
156
+ * @throws {@link LevelFour.NotFoundError}
157
+ * @throws {@link LevelFour.ConflictError}
158
+ * @throws {@link LevelFour.UnprocessableEntityError}
159
+ * @throws {@link LevelFour.TooManyRequestsError}
160
+ * @throws {@link LevelFour.InternalServerError}
161
+ *
162
+ * @example
163
+ * await client.accounts.ensureTerraformIntegration()
164
+ */
165
+ ensureTerraformIntegration(requestOptions) {
166
+ return core.HttpResponsePromise.fromPromise(this.__ensureTerraformIntegration(requestOptions));
167
+ }
168
+ async __ensureTerraformIntegration(requestOptions) {
169
+ const _authRequest = await this._options.authProvider.getAuthRequest();
170
+ const _headers = (0, import_headers.mergeHeaders)(
171
+ _authRequest.headers,
172
+ this._options?.headers,
173
+ requestOptions?.headers
174
+ );
175
+ const _response = await core.fetcher({
176
+ url: core.url.join(
177
+ await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
178
+ "api/v1/accounts/integrations/terraform"
179
+ ),
180
+ method: "POST",
181
+ headers: _headers,
182
+ queryParameters: requestOptions?.queryParams,
183
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
184
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
185
+ abortSignal: requestOptions?.abortSignal,
186
+ fetchFn: this._options?.fetch,
187
+ logging: this._options.logging
188
+ });
189
+ if (_response.ok) {
190
+ return {
191
+ data: _response.body,
192
+ rawResponse: _response.rawResponse
193
+ };
194
+ }
195
+ if (_response.error.reason === "status-code") {
196
+ switch (_response.error.statusCode) {
197
+ case 400:
198
+ throw new LevelFour.BadRequestError(
199
+ _response.error.body,
200
+ _response.rawResponse
201
+ );
202
+ case 401:
203
+ throw new LevelFour.UnauthorizedError(
204
+ _response.error.body,
205
+ _response.rawResponse
206
+ );
207
+ case 403:
208
+ throw new LevelFour.ForbiddenError(
209
+ _response.error.body,
210
+ _response.rawResponse
211
+ );
212
+ case 404:
213
+ throw new LevelFour.NotFoundError(
214
+ _response.error.body,
215
+ _response.rawResponse
216
+ );
217
+ case 409:
218
+ throw new LevelFour.ConflictError(
219
+ _response.error.body,
220
+ _response.rawResponse
221
+ );
222
+ case 422:
223
+ throw new LevelFour.UnprocessableEntityError(
224
+ _response.error.body,
225
+ _response.rawResponse
226
+ );
227
+ case 429:
228
+ throw new LevelFour.TooManyRequestsError(
229
+ _response.error.body,
230
+ _response.rawResponse
231
+ );
232
+ case 500:
233
+ throw new LevelFour.InternalServerError(
234
+ _response.error.body,
235
+ _response.rawResponse
236
+ );
237
+ default:
238
+ throw new errors.LevelFourError({
239
+ statusCode: _response.error.statusCode,
240
+ body: _response.error.body,
241
+ rawResponse: _response.rawResponse
242
+ });
243
+ }
244
+ }
245
+ return (0, import_handleNonStatusCodeError.handleNonStatusCodeError)(
246
+ _response.error,
247
+ _response.rawResponse,
248
+ "POST",
249
+ "/api/v1/accounts/integrations/terraform"
250
+ );
251
+ }
252
+ /**
253
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
254
+ *
255
+ * @throws {@link LevelFour.BadRequestError}
256
+ * @throws {@link LevelFour.UnauthorizedError}
257
+ * @throws {@link LevelFour.ForbiddenError}
258
+ * @throws {@link LevelFour.NotFoundError}
259
+ * @throws {@link LevelFour.ConflictError}
260
+ * @throws {@link LevelFour.UnprocessableEntityError}
261
+ * @throws {@link LevelFour.TooManyRequestsError}
262
+ * @throws {@link LevelFour.InternalServerError}
263
+ *
264
+ * @example
265
+ * await client.accounts.rotateTerraformIntegration()
266
+ */
267
+ rotateTerraformIntegration(requestOptions) {
268
+ return core.HttpResponsePromise.fromPromise(this.__rotateTerraformIntegration(requestOptions));
269
+ }
270
+ async __rotateTerraformIntegration(requestOptions) {
271
+ const _authRequest = await this._options.authProvider.getAuthRequest();
272
+ const _headers = (0, import_headers.mergeHeaders)(
273
+ _authRequest.headers,
274
+ this._options?.headers,
275
+ requestOptions?.headers
276
+ );
277
+ const _response = await core.fetcher({
278
+ url: core.url.join(
279
+ await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
280
+ "api/v1/accounts/integrations/terraform/rotate"
281
+ ),
282
+ method: "POST",
283
+ headers: _headers,
284
+ queryParameters: requestOptions?.queryParams,
285
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
286
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
287
+ abortSignal: requestOptions?.abortSignal,
288
+ fetchFn: this._options?.fetch,
289
+ logging: this._options.logging
290
+ });
291
+ if (_response.ok) {
292
+ return {
293
+ data: _response.body,
294
+ rawResponse: _response.rawResponse
295
+ };
296
+ }
297
+ if (_response.error.reason === "status-code") {
298
+ switch (_response.error.statusCode) {
299
+ case 400:
300
+ throw new LevelFour.BadRequestError(
301
+ _response.error.body,
302
+ _response.rawResponse
303
+ );
304
+ case 401:
305
+ throw new LevelFour.UnauthorizedError(
306
+ _response.error.body,
307
+ _response.rawResponse
308
+ );
309
+ case 403:
310
+ throw new LevelFour.ForbiddenError(
311
+ _response.error.body,
312
+ _response.rawResponse
313
+ );
314
+ case 404:
315
+ throw new LevelFour.NotFoundError(
316
+ _response.error.body,
317
+ _response.rawResponse
318
+ );
319
+ case 409:
320
+ throw new LevelFour.ConflictError(
321
+ _response.error.body,
322
+ _response.rawResponse
323
+ );
324
+ case 422:
325
+ throw new LevelFour.UnprocessableEntityError(
326
+ _response.error.body,
327
+ _response.rawResponse
328
+ );
329
+ case 429:
330
+ throw new LevelFour.TooManyRequestsError(
331
+ _response.error.body,
332
+ _response.rawResponse
333
+ );
334
+ case 500:
335
+ throw new LevelFour.InternalServerError(
336
+ _response.error.body,
337
+ _response.rawResponse
338
+ );
339
+ default:
340
+ throw new errors.LevelFourError({
341
+ statusCode: _response.error.statusCode,
342
+ body: _response.error.body,
343
+ rawResponse: _response.rawResponse
344
+ });
345
+ }
346
+ }
347
+ return (0, import_handleNonStatusCodeError.handleNonStatusCodeError)(
348
+ _response.error,
349
+ _response.rawResponse,
350
+ "POST",
351
+ "/api/v1/accounts/integrations/terraform/rotate"
352
+ );
353
+ }
150
354
  /**
151
355
  * @param {LevelFour.GetIntegrationStatusApiV1AccountsIntegrationsIntegrationIdGetRequest} request
152
356
  * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -114,6 +114,210 @@ class AccountsClient {
114
114
  "/api/v1/accounts/integrations"
115
115
  );
116
116
  }
117
+ /**
118
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
119
+ *
120
+ * @throws {@link LevelFour.BadRequestError}
121
+ * @throws {@link LevelFour.UnauthorizedError}
122
+ * @throws {@link LevelFour.ForbiddenError}
123
+ * @throws {@link LevelFour.NotFoundError}
124
+ * @throws {@link LevelFour.ConflictError}
125
+ * @throws {@link LevelFour.UnprocessableEntityError}
126
+ * @throws {@link LevelFour.TooManyRequestsError}
127
+ * @throws {@link LevelFour.InternalServerError}
128
+ *
129
+ * @example
130
+ * await client.accounts.ensureTerraformIntegration()
131
+ */
132
+ ensureTerraformIntegration(requestOptions) {
133
+ return core.HttpResponsePromise.fromPromise(this.__ensureTerraformIntegration(requestOptions));
134
+ }
135
+ async __ensureTerraformIntegration(requestOptions) {
136
+ const _authRequest = await this._options.authProvider.getAuthRequest();
137
+ const _headers = mergeHeaders(
138
+ _authRequest.headers,
139
+ this._options?.headers,
140
+ requestOptions?.headers
141
+ );
142
+ const _response = await core.fetcher({
143
+ url: core.url.join(
144
+ await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
145
+ "api/v1/accounts/integrations/terraform"
146
+ ),
147
+ method: "POST",
148
+ headers: _headers,
149
+ queryParameters: requestOptions?.queryParams,
150
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
151
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
152
+ abortSignal: requestOptions?.abortSignal,
153
+ fetchFn: this._options?.fetch,
154
+ logging: this._options.logging
155
+ });
156
+ if (_response.ok) {
157
+ return {
158
+ data: _response.body,
159
+ rawResponse: _response.rawResponse
160
+ };
161
+ }
162
+ if (_response.error.reason === "status-code") {
163
+ switch (_response.error.statusCode) {
164
+ case 400:
165
+ throw new LevelFour.BadRequestError(
166
+ _response.error.body,
167
+ _response.rawResponse
168
+ );
169
+ case 401:
170
+ throw new LevelFour.UnauthorizedError(
171
+ _response.error.body,
172
+ _response.rawResponse
173
+ );
174
+ case 403:
175
+ throw new LevelFour.ForbiddenError(
176
+ _response.error.body,
177
+ _response.rawResponse
178
+ );
179
+ case 404:
180
+ throw new LevelFour.NotFoundError(
181
+ _response.error.body,
182
+ _response.rawResponse
183
+ );
184
+ case 409:
185
+ throw new LevelFour.ConflictError(
186
+ _response.error.body,
187
+ _response.rawResponse
188
+ );
189
+ case 422:
190
+ throw new LevelFour.UnprocessableEntityError(
191
+ _response.error.body,
192
+ _response.rawResponse
193
+ );
194
+ case 429:
195
+ throw new LevelFour.TooManyRequestsError(
196
+ _response.error.body,
197
+ _response.rawResponse
198
+ );
199
+ case 500:
200
+ throw new LevelFour.InternalServerError(
201
+ _response.error.body,
202
+ _response.rawResponse
203
+ );
204
+ default:
205
+ throw new errors.LevelFourError({
206
+ statusCode: _response.error.statusCode,
207
+ body: _response.error.body,
208
+ rawResponse: _response.rawResponse
209
+ });
210
+ }
211
+ }
212
+ return handleNonStatusCodeError(
213
+ _response.error,
214
+ _response.rawResponse,
215
+ "POST",
216
+ "/api/v1/accounts/integrations/terraform"
217
+ );
218
+ }
219
+ /**
220
+ * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
221
+ *
222
+ * @throws {@link LevelFour.BadRequestError}
223
+ * @throws {@link LevelFour.UnauthorizedError}
224
+ * @throws {@link LevelFour.ForbiddenError}
225
+ * @throws {@link LevelFour.NotFoundError}
226
+ * @throws {@link LevelFour.ConflictError}
227
+ * @throws {@link LevelFour.UnprocessableEntityError}
228
+ * @throws {@link LevelFour.TooManyRequestsError}
229
+ * @throws {@link LevelFour.InternalServerError}
230
+ *
231
+ * @example
232
+ * await client.accounts.rotateTerraformIntegration()
233
+ */
234
+ rotateTerraformIntegration(requestOptions) {
235
+ return core.HttpResponsePromise.fromPromise(this.__rotateTerraformIntegration(requestOptions));
236
+ }
237
+ async __rotateTerraformIntegration(requestOptions) {
238
+ const _authRequest = await this._options.authProvider.getAuthRequest();
239
+ const _headers = mergeHeaders(
240
+ _authRequest.headers,
241
+ this._options?.headers,
242
+ requestOptions?.headers
243
+ );
244
+ const _response = await core.fetcher({
245
+ url: core.url.join(
246
+ await core.Supplier.get(this._options.baseUrl) ?? await core.Supplier.get(this._options.environment),
247
+ "api/v1/accounts/integrations/terraform/rotate"
248
+ ),
249
+ method: "POST",
250
+ headers: _headers,
251
+ queryParameters: requestOptions?.queryParams,
252
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
253
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
254
+ abortSignal: requestOptions?.abortSignal,
255
+ fetchFn: this._options?.fetch,
256
+ logging: this._options.logging
257
+ });
258
+ if (_response.ok) {
259
+ return {
260
+ data: _response.body,
261
+ rawResponse: _response.rawResponse
262
+ };
263
+ }
264
+ if (_response.error.reason === "status-code") {
265
+ switch (_response.error.statusCode) {
266
+ case 400:
267
+ throw new LevelFour.BadRequestError(
268
+ _response.error.body,
269
+ _response.rawResponse
270
+ );
271
+ case 401:
272
+ throw new LevelFour.UnauthorizedError(
273
+ _response.error.body,
274
+ _response.rawResponse
275
+ );
276
+ case 403:
277
+ throw new LevelFour.ForbiddenError(
278
+ _response.error.body,
279
+ _response.rawResponse
280
+ );
281
+ case 404:
282
+ throw new LevelFour.NotFoundError(
283
+ _response.error.body,
284
+ _response.rawResponse
285
+ );
286
+ case 409:
287
+ throw new LevelFour.ConflictError(
288
+ _response.error.body,
289
+ _response.rawResponse
290
+ );
291
+ case 422:
292
+ throw new LevelFour.UnprocessableEntityError(
293
+ _response.error.body,
294
+ _response.rawResponse
295
+ );
296
+ case 429:
297
+ throw new LevelFour.TooManyRequestsError(
298
+ _response.error.body,
299
+ _response.rawResponse
300
+ );
301
+ case 500:
302
+ throw new LevelFour.InternalServerError(
303
+ _response.error.body,
304
+ _response.rawResponse
305
+ );
306
+ default:
307
+ throw new errors.LevelFourError({
308
+ statusCode: _response.error.statusCode,
309
+ body: _response.error.body,
310
+ rawResponse: _response.rawResponse
311
+ });
312
+ }
313
+ }
314
+ return handleNonStatusCodeError(
315
+ _response.error,
316
+ _response.rawResponse,
317
+ "POST",
318
+ "/api/v1/accounts/integrations/terraform/rotate"
319
+ );
320
+ }
117
321
  /**
118
322
  * @param {LevelFour.GetIntegrationStatusApiV1AccountsIntegrationsIntegrationIdGetRequest} request
119
323
  * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -80,6 +80,7 @@ export declare namespace AutomationAction {
80
80
  readonly WeeklyCap: "weekly_cap";
81
81
  readonly TooSoon: "too_soon";
82
82
  readonly RolloutInProgress: "rollout_in_progress";
83
+ readonly OtherRightsizer: "other_rightsizer";
83
84
  };
84
85
  type RefusalReason = (typeof RefusalReason)[keyof typeof RefusalReason];
85
86
  }
@@ -80,6 +80,7 @@ export declare namespace AutomationAction {
80
80
  readonly WeeklyCap: "weekly_cap";
81
81
  readonly TooSoon: "too_soon";
82
82
  readonly RolloutInProgress: "rollout_in_progress";
83
+ readonly OtherRightsizer: "other_rightsizer";
83
84
  };
84
85
  type RefusalReason = (typeof RefusalReason)[keyof typeof RefusalReason];
85
86
  }
@@ -82,7 +82,8 @@ var AutomationAction;
82
82
  DailyCap: "daily_cap",
83
83
  WeeklyCap: "weekly_cap",
84
84
  TooSoon: "too_soon",
85
- RolloutInProgress: "rollout_in_progress"
85
+ RolloutInProgress: "rollout_in_progress",
86
+ OtherRightsizer: "other_rightsizer"
86
87
  };
87
88
  })(AutomationAction || (AutomationAction = {}));
88
89
  // Annotate the CommonJS export names for ESM import in node:
@@ -59,7 +59,8 @@ var AutomationAction;
59
59
  DailyCap: "daily_cap",
60
60
  WeeklyCap: "weekly_cap",
61
61
  TooSoon: "too_soon",
62
- RolloutInProgress: "rollout_in_progress"
62
+ RolloutInProgress: "rollout_in_progress",
63
+ OtherRightsizer: "other_rightsizer"
63
64
  };
64
65
  })(AutomationAction || (AutomationAction = {}));
65
66
  export {
@@ -8,6 +8,8 @@ export interface AzureSubscriptionItem {
8
8
  reader: LevelFour.AzureRoleStatus | null;
9
9
  /** Whether the service principal holds Cost Management Reader, null if unchecked */
10
10
  cost_management_reader: LevelFour.AzureRoleStatus | null;
11
+ /** Whether Azure shows this subscription's cost. False when the Microsoft CSP partner that sells it keeps cost visibility off, so LevelFour holds no bill for it. Null if unchecked: only a subscription bought through a CSP partner is checked */
12
+ cost_visible: LevelFour.AzureRoleStatus | null;
11
13
  /** Actual cost this month so far, from the bill LevelFour holds */
12
14
  month_to_date_cost: number;
13
15
  /** Actual cost last month, from the bill LevelFour holds */
@@ -8,6 +8,8 @@ export interface AzureSubscriptionItem {
8
8
  reader: LevelFour.AzureRoleStatus | null;
9
9
  /** Whether the service principal holds Cost Management Reader, null if unchecked */
10
10
  cost_management_reader: LevelFour.AzureRoleStatus | null;
11
+ /** Whether Azure shows this subscription's cost. False when the Microsoft CSP partner that sells it keeps cost visibility off, so LevelFour holds no bill for it. Null if unchecked: only a subscription bought through a CSP partner is checked */
12
+ cost_visible: LevelFour.AzureRoleStatus | null;
11
13
  /** Actual cost this month so far, from the bill LevelFour holds */
12
14
  month_to_date_cost: number;
13
15
  /** Actual cost last month, from the bill LevelFour holds */
@@ -1,6 +1,36 @@
1
1
  export interface BlockerTotals {
2
- /** Nodes at least one pod holds */
2
+ /** Nodes at least one pod holds, of those an autoscaler that consolidates removes: a NodePool's node, or a node group's while Cluster Autoscaler runs */
3
3
  nodes_held: number;
4
4
  /** Pods that hold their node; static pods do not */
5
5
  pods_held: number;
6
+ /** Held nodes neither their own bill nor a bill rate prices */
7
+ nodes_held_unpriced?: number | undefined;
8
+ /** What the held nodes cost a month, the priced ones; null when none is priced */
9
+ monthly_cost?: (number | null) | undefined;
10
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
11
+ monthly_cost_net?: (number | null) | undefined;
12
+ /** Held nodes that only pods with an unhealthy reason hold, each pod freed by its fix alone: its workload has no ready replica, or PodDisruptionBudgets without a healthy pod are all that hold it */
13
+ nodes_held_unhealthy?: number | undefined;
14
+ /** What those nodes cost a month, the priced ones; null when none is priced */
15
+ unhealthy_monthly_cost?: (number | null) | undefined;
16
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
17
+ unhealthy_monthly_cost_net?: (number | null) | undefined;
18
+ /** Held nodes that would go once every pod holding them is freed (node_would_free true) */
19
+ nodes_would_free?: number | undefined;
20
+ /** Of those, the ones neither their own bill nor a rate prices */
21
+ nodes_would_free_unpriced?: number | undefined;
22
+ /** What the nodes that would go cost a month, the priced ones; null when none is priced */
23
+ would_free_monthly_cost?: (number | null) | undefined;
24
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
25
+ would_free_monthly_cost_net?: (number | null) | undefined;
26
+ /** Held nodes that would stay once their blockers clear, each with its node_kept_reason */
27
+ nodes_kept?: number | undefined;
28
+ /** Of those, the ones neither their own bill nor a rate prices */
29
+ nodes_kept_unpriced?: number | undefined;
30
+ /** What the nodes that would stay cost a month, the priced ones; null when none is priced */
31
+ kept_monthly_cost?: (number | null) | undefined;
32
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
33
+ kept_monthly_cost_net?: (number | null) | undefined;
34
+ /** Held nodes whose answer is not known, each with its node_not_known_reason; with nodes_would_free and nodes_kept they make nodes_held */
35
+ nodes_not_known?: number | undefined;
6
36
  }
@@ -1,6 +1,36 @@
1
1
  export interface BlockerTotals {
2
- /** Nodes at least one pod holds */
2
+ /** Nodes at least one pod holds, of those an autoscaler that consolidates removes: a NodePool's node, or a node group's while Cluster Autoscaler runs */
3
3
  nodes_held: number;
4
4
  /** Pods that hold their node; static pods do not */
5
5
  pods_held: number;
6
+ /** Held nodes neither their own bill nor a bill rate prices */
7
+ nodes_held_unpriced?: number | undefined;
8
+ /** What the held nodes cost a month, the priced ones; null when none is priced */
9
+ monthly_cost?: (number | null) | undefined;
10
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
11
+ monthly_cost_net?: (number | null) | undefined;
12
+ /** Held nodes that only pods with an unhealthy reason hold, each pod freed by its fix alone: its workload has no ready replica, or PodDisruptionBudgets without a healthy pod are all that hold it */
13
+ nodes_held_unhealthy?: number | undefined;
14
+ /** What those nodes cost a month, the priced ones; null when none is priced */
15
+ unhealthy_monthly_cost?: (number | null) | undefined;
16
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
17
+ unhealthy_monthly_cost_net?: (number | null) | undefined;
18
+ /** Held nodes that would go once every pod holding them is freed (node_would_free true) */
19
+ nodes_would_free?: number | undefined;
20
+ /** Of those, the ones neither their own bill nor a rate prices */
21
+ nodes_would_free_unpriced?: number | undefined;
22
+ /** What the nodes that would go cost a month, the priced ones; null when none is priced */
23
+ would_free_monthly_cost?: (number | null) | undefined;
24
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
25
+ would_free_monthly_cost_net?: (number | null) | undefined;
26
+ /** Held nodes that would stay once their blockers clear, each with its node_kept_reason */
27
+ nodes_kept?: number | undefined;
28
+ /** Of those, the ones neither their own bill nor a rate prices */
29
+ nodes_kept_unpriced?: number | undefined;
30
+ /** What the nodes that would stay cost a month, the priced ones; null when none is priced */
31
+ kept_monthly_cost?: (number | null) | undefined;
32
+ /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
33
+ kept_monthly_cost_net?: (number | null) | undefined;
34
+ /** Held nodes whose answer is not known, each with its node_not_known_reason; with nodes_would_free and nodes_kept they make nodes_held */
35
+ nodes_not_known?: number | undefined;
6
36
  }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The rate the tenant's bill charged for a volume type's storage, which AWS bills by the GiB-month (it writes
3
+ * GB-Mo), and what a claim's capacity comes to a month at it.
4
+ */
5
+ export interface ClaimBillRate {
6
+ /** The type the claim's StorageClass provisions, such as gp3 */
7
+ volume_type: string;
8
+ /** Before the enterprise discount */
9
+ per_gib_month: number;
10
+ /** After the discount lines of the same usage type */
11
+ per_gib_month_net: number;
12
+ /** The claim's capacity at per_gib_month */
13
+ monthly_cost: number;
14
+ monthly_cost_net: number;
15
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The rate the tenant's bill charged for a volume type's storage, which AWS bills by the GiB-month (it writes
3
+ * GB-Mo), and what a claim's capacity comes to a month at it.
4
+ */
5
+ export interface ClaimBillRate {
6
+ /** The type the claim's StorageClass provisions, such as gp3 */
7
+ volume_type: string;
8
+ /** Before the enterprise discount */
9
+ per_gib_month: number;
10
+ /** After the discount lines of the same usage type */
11
+ per_gib_month_net: number;
12
+ /** The claim's capacity at per_gib_month */
13
+ monthly_cost: number;
14
+ monthly_cost_net: number;
15
+ }