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.
- package/dist/api/resources/kubernetes/client/Client.d.mts +19 -0
- package/dist/api/resources/kubernetes/client/Client.d.ts +19 -0
- package/dist/api/resources/kubernetes/client/Client.js +96 -0
- package/dist/api/resources/kubernetes/client/Client.mjs +96 -0
- package/dist/api/resources/recommendations/client/Client.js +20 -2
- package/dist/api/resources/recommendations/client/Client.mjs +20 -2
- package/dist/api/resources/recommendations/client/requests/GetProviderOverviewRecommendationsRequest.d.mts +8 -0
- package/dist/api/resources/recommendations/client/requests/GetProviderOverviewRecommendationsRequest.d.ts +8 -0
- package/dist/api/resources/recommendations/client/requests/ListByProviderRecommendationsRequest.d.mts +6 -0
- package/dist/api/resources/recommendations/client/requests/ListByProviderRecommendationsRequest.d.ts +6 -0
- package/dist/api/types/AutomationAction.d.mts +1 -0
- package/dist/api/types/AutomationAction.d.ts +1 -0
- package/dist/api/types/AutomationAction.js +1 -0
- package/dist/api/types/AutomationAction.mjs +1 -0
- package/dist/api/types/AutomationEvent.d.mts +3 -3
- package/dist/api/types/AutomationEvent.d.ts +3 -3
- package/dist/api/types/AutoscalingData.d.mts +10 -0
- package/dist/api/types/AutoscalingData.d.ts +10 -0
- package/dist/api/types/BlockerTotals.d.mts +6 -0
- package/dist/api/types/BlockerTotals.d.ts +6 -0
- package/dist/api/types/BlockingPdb.d.mts +16 -0
- package/dist/api/types/BlockingPdb.d.ts +16 -0
- package/dist/api/types/BlockingPdb.js +17 -0
- package/dist/api/types/BlockingPdb.mjs +1 -0
- package/dist/api/types/ChangeWatch.d.mts +27 -0
- package/dist/api/types/ChangeWatch.d.ts +27 -0
- package/dist/api/types/ChangeWatch.js +36 -0
- package/dist/api/types/ChangeWatch.mjs +12 -0
- package/dist/api/types/CheckedByKind.d.mts +10 -0
- package/dist/api/types/CheckedByKind.d.ts +10 -0
- package/dist/api/types/CheckedByKind.js +17 -0
- package/dist/api/types/CheckedByKind.mjs +1 -0
- package/dist/api/types/CheckedObject.d.mts +37 -0
- package/dist/api/types/CheckedObject.d.ts +37 -0
- package/dist/api/types/CheckedObject.js +42 -0
- package/dist/api/types/CheckedObject.mjs +18 -0
- package/dist/api/types/ClaimOwner.d.mts +6 -0
- package/dist/api/types/ClaimOwner.d.ts +6 -0
- package/dist/api/types/ClaimOwner.js +17 -0
- package/dist/api/types/ClaimOwner.mjs +1 -0
- package/dist/api/types/ClusterFacets.d.mts +16 -0
- package/dist/api/types/ClusterFacets.d.ts +16 -0
- package/dist/api/types/ClusterItem.d.mts +36 -1
- package/dist/api/types/ClusterItem.d.ts +36 -1
- package/dist/api/types/ClusterItem.js +10 -0
- package/dist/api/types/ClusterItem.mjs +10 -0
- package/dist/api/types/ClusterLevers.d.mts +9 -0
- package/dist/api/types/ClusterLevers.d.ts +9 -0
- package/dist/api/types/ClusterLevers.js +17 -0
- package/dist/api/types/ClusterLevers.mjs +1 -0
- package/dist/api/types/ClusterSummary.d.mts +19 -2
- package/dist/api/types/ClusterSummary.d.ts +19 -2
- package/dist/api/types/ConnectedAccount.d.mts +31 -0
- package/dist/api/types/ConnectedAccount.d.ts +31 -0
- package/dist/api/types/ConnectedAccount.js +12 -0
- package/dist/api/types/ConnectedAccount.mjs +12 -0
- package/dist/api/types/ConsolidationBlocker.d.mts +17 -0
- package/dist/api/types/ConsolidationBlocker.d.ts +17 -0
- package/dist/api/types/ConsolidationChange.d.mts +62 -0
- package/dist/api/types/ConsolidationChange.d.ts +62 -0
- package/dist/api/types/ConsolidationChange.js +53 -0
- package/dist/api/types/ConsolidationChange.mjs +29 -0
- package/dist/api/types/ConsolidationChangeDetail.d.mts +65 -0
- package/dist/api/types/ConsolidationChangeDetail.d.ts +65 -0
- package/dist/api/types/ConsolidationChangeDetail.js +53 -0
- package/dist/api/types/ConsolidationChangeDetail.mjs +29 -0
- package/dist/api/types/ConsolidationChangeNode.d.mts +34 -0
- package/dist/api/types/ConsolidationChangeNode.d.ts +34 -0
- package/dist/api/types/ConsolidationChangeNode.js +42 -0
- package/dist/api/types/ConsolidationChangeNode.mjs +18 -0
- package/dist/api/types/ConsolidationChangeResponse.d.mts +6 -0
- package/dist/api/types/ConsolidationChangeResponse.d.ts +6 -0
- package/dist/api/types/ConsolidationChangeResponse.js +17 -0
- package/dist/api/types/ConsolidationChangeResponse.mjs +1 -0
- package/dist/api/types/ConsolidationChangeTotals.d.mts +31 -0
- package/dist/api/types/ConsolidationChangeTotals.d.ts +31 -0
- package/dist/api/types/ConsolidationChangeTotals.js +17 -0
- package/dist/api/types/ConsolidationChangeTotals.mjs +1 -0
- package/dist/api/types/ConsolidationChangesData.d.mts +7 -0
- package/dist/api/types/ConsolidationChangesData.d.ts +7 -0
- package/dist/api/types/ConsolidationChangesData.js +17 -0
- package/dist/api/types/ConsolidationChangesData.mjs +1 -0
- package/dist/api/types/ConsolidationChangesResponse.d.mts +6 -0
- package/dist/api/types/ConsolidationChangesResponse.d.ts +6 -0
- package/dist/api/types/ConsolidationChangesResponse.js +17 -0
- package/dist/api/types/ConsolidationChangesResponse.mjs +1 -0
- package/dist/api/types/ConsolidationLever.d.mts +20 -0
- package/dist/api/types/ConsolidationLever.d.ts +20 -0
- package/dist/api/types/ConsolidationLever.js +17 -0
- package/dist/api/types/ConsolidationLever.mjs +1 -0
- package/dist/api/types/ConsolidationNode.d.mts +50 -0
- package/dist/api/types/ConsolidationNode.d.ts +50 -0
- package/dist/api/types/ConsolidationNode.js +42 -0
- package/dist/api/types/ConsolidationNode.mjs +18 -0
- package/dist/api/types/ConsolidationNodesData.d.mts +8 -0
- package/dist/api/types/ConsolidationNodesData.d.ts +8 -0
- package/dist/api/types/ConsolidationNodesData.js +17 -0
- package/dist/api/types/ConsolidationNodesData.mjs +1 -0
- package/dist/api/types/ConsolidationNodesResponse.d.mts +6 -0
- package/dist/api/types/ConsolidationNodesResponse.d.ts +6 -0
- package/dist/api/types/ConsolidationNodesResponse.js +17 -0
- package/dist/api/types/ConsolidationNodesResponse.mjs +1 -0
- package/dist/api/types/FailingShare.d.mts +12 -0
- package/dist/api/types/FailingShare.d.ts +12 -0
- package/dist/api/types/FailingShare.js +17 -0
- package/dist/api/types/FailingShare.mjs +1 -0
- package/dist/api/types/FixAmount.d.mts +6 -0
- package/dist/api/types/FixAmount.d.ts +6 -0
- package/dist/api/types/FixAmount.js +17 -0
- package/dist/api/types/FixAmount.mjs +1 -0
- package/dist/api/types/FixChange.d.mts +16 -0
- package/dist/api/types/FixChange.d.ts +16 -0
- package/dist/api/types/FixChange.js +35 -0
- package/dist/api/types/FixChange.mjs +11 -0
- package/dist/api/types/FixSizedBy.d.mts +20 -0
- package/dist/api/types/FixSizedBy.d.ts +20 -0
- package/dist/api/types/FixSizedBy.js +36 -0
- package/dist/api/types/FixSizedBy.mjs +12 -0
- package/dist/api/types/FlagCount.d.mts +4 -0
- package/dist/api/types/FlagCount.d.ts +4 -0
- package/dist/api/types/FlagCount.js +17 -0
- package/dist/api/types/FlagCount.mjs +1 -0
- package/dist/api/types/FleetConsolidationChange.d.mts +61 -0
- package/dist/api/types/FleetConsolidationChange.d.ts +61 -0
- package/dist/api/types/FleetConsolidationChange.js +53 -0
- package/dist/api/types/FleetConsolidationChange.mjs +29 -0
- package/dist/api/types/FleetConsolidationChangesData.d.mts +8 -0
- package/dist/api/types/FleetConsolidationChangesData.d.ts +8 -0
- package/dist/api/types/FleetConsolidationChangesData.js +17 -0
- package/dist/api/types/FleetConsolidationChangesData.mjs +1 -0
- package/dist/api/types/FleetConsolidationChangesResponse.d.mts +6 -0
- package/dist/api/types/FleetConsolidationChangesResponse.d.ts +6 -0
- package/dist/api/types/FleetConsolidationChangesResponse.js +17 -0
- package/dist/api/types/FleetConsolidationChangesResponse.mjs +1 -0
- package/dist/api/types/FleetConsolidationLever.d.mts +14 -0
- package/dist/api/types/FleetConsolidationLever.d.ts +14 -0
- package/dist/api/types/FleetConsolidationLever.js +17 -0
- package/dist/api/types/FleetConsolidationLever.mjs +1 -0
- package/dist/api/types/FleetConsolidationNode.d.mts +49 -0
- package/dist/api/types/FleetConsolidationNode.d.ts +49 -0
- package/dist/api/types/FleetConsolidationNode.js +42 -0
- package/dist/api/types/FleetConsolidationNode.mjs +18 -0
- package/dist/api/types/FleetConsolidationNodesData.d.mts +8 -0
- package/dist/api/types/FleetConsolidationNodesData.d.ts +8 -0
- package/dist/api/types/FleetConsolidationNodesData.js +17 -0
- package/dist/api/types/FleetConsolidationNodesData.mjs +1 -0
- package/dist/api/types/FleetConsolidationNodesResponse.d.mts +6 -0
- package/dist/api/types/FleetConsolidationNodesResponse.d.ts +6 -0
- package/dist/api/types/FleetConsolidationNodesResponse.js +17 -0
- package/dist/api/types/FleetConsolidationNodesResponse.mjs +1 -0
- package/dist/api/types/FleetLever.d.mts +10 -0
- package/dist/api/types/FleetLever.d.ts +10 -0
- package/dist/api/types/FleetLever.js +17 -0
- package/dist/api/types/FleetLever.mjs +1 -0
- package/dist/api/types/FleetLevers.d.mts +6 -0
- package/dist/api/types/FleetLevers.d.ts +6 -0
- package/dist/api/types/FleetLevers.js +17 -0
- package/dist/api/types/FleetLevers.mjs +1 -0
- package/dist/api/types/FleetNamespace.d.mts +50 -2
- package/dist/api/types/FleetNamespace.d.ts +50 -2
- package/dist/api/types/FleetNamespace.js +30 -0
- package/dist/api/types/FleetNamespace.mjs +30 -0
- package/dist/api/types/FleetSummary.d.mts +18 -1
- package/dist/api/types/FleetSummary.d.ts +18 -1
- package/dist/api/types/FleetVolume.d.mts +5 -1
- package/dist/api/types/FleetVolume.d.ts +5 -1
- package/dist/api/types/FleetWorkload.d.mts +16 -2
- package/dist/api/types/FleetWorkload.d.ts +16 -2
- package/dist/api/types/FleetWorkload.js +7 -0
- package/dist/api/types/FleetWorkload.mjs +7 -0
- package/dist/api/types/ForecastData.d.mts +2 -0
- package/dist/api/types/ForecastData.d.ts +2 -0
- package/dist/api/types/HeldChange.d.mts +57 -0
- package/dist/api/types/HeldChange.d.ts +57 -0
- package/dist/api/types/HeldChange.js +53 -0
- package/dist/api/types/HeldChange.mjs +29 -0
- package/dist/api/types/HeldFixGroup.d.mts +22 -0
- package/dist/api/types/HeldFixGroup.d.ts +22 -0
- package/dist/api/types/HeldFixGroup.js +37 -0
- package/dist/api/types/HeldFixGroup.mjs +13 -0
- package/dist/api/types/HeldPool.d.mts +12 -0
- package/dist/api/types/HeldPool.d.ts +12 -0
- package/dist/api/types/HeldPool.js +17 -0
- package/dist/api/types/HeldPool.mjs +1 -0
- package/dist/api/types/HeldWindow.d.mts +11 -0
- package/dist/api/types/HeldWindow.d.ts +11 -0
- package/dist/api/types/HeldWindow.js +17 -0
- package/dist/api/types/HeldWindow.mjs +1 -0
- package/dist/api/types/InventoryPlanRow.d.mts +4 -0
- package/dist/api/types/InventoryPlanRow.d.ts +4 -0
- package/dist/api/types/InventoryReservationRow.d.mts +4 -0
- package/dist/api/types/InventoryReservationRow.d.ts +4 -0
- package/dist/api/types/InvoiceDetail.d.mts +2 -0
- package/dist/api/types/InvoiceDetail.d.ts +2 -0
- package/dist/api/types/InvoiceLinesPage.d.mts +7 -0
- package/dist/api/types/InvoiceLinesPage.d.ts +7 -0
- package/dist/api/types/InvoiceLinesPage.js +17 -0
- package/dist/api/types/InvoiceLinesPage.mjs +1 -0
- package/dist/api/types/InvoiceLinesResponse.d.mts +6 -0
- package/dist/api/types/InvoiceLinesResponse.d.ts +6 -0
- package/dist/api/types/InvoiceLinesResponse.js +17 -0
- package/dist/api/types/InvoiceLinesResponse.mjs +1 -0
- package/dist/api/types/JvmChecks.d.mts +1 -1
- package/dist/api/types/JvmChecks.d.ts +1 -1
- package/dist/api/types/KubernetesRealized.d.mts +17 -0
- package/dist/api/types/KubernetesRealized.d.ts +17 -0
- package/dist/api/types/KubernetesRealized.js +17 -0
- package/dist/api/types/KubernetesRealized.mjs +1 -0
- package/dist/api/types/KubernetesRealizedData.d.mts +7 -0
- package/dist/api/types/KubernetesRealizedData.d.ts +7 -0
- package/dist/api/types/KubernetesRealizedData.js +17 -0
- package/dist/api/types/KubernetesRealizedData.mjs +1 -0
- package/dist/api/types/KubernetesRealizedResponse.d.mts +6 -0
- package/dist/api/types/KubernetesRealizedResponse.d.ts +6 -0
- package/dist/api/types/KubernetesRealizedResponse.js +17 -0
- package/dist/api/types/KubernetesRealizedResponse.mjs +1 -0
- package/dist/api/types/KubernetesUsage.d.mts +9 -0
- package/dist/api/types/KubernetesUsage.d.ts +9 -0
- package/dist/api/types/KubernetesUsage.js +17 -0
- package/dist/api/types/KubernetesUsage.mjs +1 -0
- package/dist/api/types/KubernetesUsageResponse.d.mts +6 -0
- package/dist/api/types/KubernetesUsageResponse.d.ts +6 -0
- package/dist/api/types/KubernetesUsageResponse.js +17 -0
- package/dist/api/types/KubernetesUsageResponse.mjs +1 -0
- package/dist/api/types/KubernetesUsageSource.d.mts +29 -0
- package/dist/api/types/KubernetesUsageSource.d.ts +29 -0
- package/dist/api/types/KubernetesUsageSource.js +41 -0
- package/dist/api/types/KubernetesUsageSource.mjs +17 -0
- package/dist/api/types/Lever.d.mts +12 -0
- package/dist/api/types/Lever.d.ts +12 -0
- package/dist/api/types/Lever.js +17 -0
- package/dist/api/types/Lever.mjs +1 -0
- package/dist/api/types/LeverCount.d.mts +4 -0
- package/dist/api/types/LeverCount.d.ts +4 -0
- package/dist/api/types/LeverCount.js +17 -0
- package/dist/api/types/LeverCount.mjs +1 -0
- package/dist/api/types/NamespaceAutomation.d.mts +2 -0
- package/dist/api/types/NamespaceAutomation.d.ts +2 -0
- package/dist/api/types/NamespaceFacets.d.mts +10 -0
- package/dist/api/types/NamespaceFacets.d.ts +10 -0
- package/dist/api/types/NamespaceItem.d.mts +50 -2
- package/dist/api/types/NamespaceItem.d.ts +50 -2
- package/dist/api/types/NamespaceItem.js +30 -0
- package/dist/api/types/NamespaceItem.mjs +30 -0
- package/dist/api/types/NamespaceReliability.d.mts +1 -1
- package/dist/api/types/NamespaceReliability.d.ts +1 -1
- package/dist/api/types/NamespaceScope.d.mts +4 -2
- package/dist/api/types/NamespaceScope.d.ts +4 -2
- package/dist/api/types/NodeFacets.d.mts +2 -2
- package/dist/api/types/NodeFacets.d.ts +2 -2
- package/dist/api/types/NodeHealthDay.d.mts +2 -0
- package/dist/api/types/NodeHealthDay.d.ts +2 -0
- package/dist/api/types/NodeItem.d.mts +5 -3
- package/dist/api/types/NodeItem.d.ts +5 -3
- package/dist/api/types/OffNamespacesWaste.d.mts +17 -0
- package/dist/api/types/OffNamespacesWaste.d.ts +17 -0
- package/dist/api/types/OffNamespacesWaste.js +17 -0
- package/dist/api/types/OffNamespacesWaste.mjs +1 -0
- package/dist/api/types/OrganizationalUnit.d.mts +5 -0
- package/dist/api/types/OrganizationalUnit.d.ts +5 -0
- package/dist/api/types/OrganizationalUnit.js +17 -0
- package/dist/api/types/OrganizationalUnit.mjs +1 -0
- package/dist/api/types/OtherCheckedData.d.mts +4 -0
- package/dist/api/types/OtherCheckedData.d.ts +4 -0
- package/dist/api/types/OtherCheckedData.js +17 -0
- package/dist/api/types/OtherCheckedData.mjs +1 -0
- package/dist/api/types/OtherCheckedResponse.d.mts +5 -0
- package/dist/api/types/OtherCheckedResponse.d.ts +5 -0
- package/dist/api/types/OtherCheckedResponse.js +17 -0
- package/dist/api/types/OtherCheckedResponse.mjs +1 -0
- package/dist/api/types/OtherSavings.d.mts +16 -0
- package/dist/api/types/OtherSavings.d.ts +16 -0
- package/dist/api/types/OtherSavings.js +17 -0
- package/dist/api/types/OtherSavings.mjs +1 -0
- package/dist/api/types/OtherSavingsByKind.d.mts +12 -0
- package/dist/api/types/OtherSavingsByKind.d.ts +12 -0
- package/dist/api/types/OtherSavingsByKind.js +17 -0
- package/dist/api/types/OtherSavingsByKind.mjs +1 -0
- package/dist/api/types/PendingShare.d.mts +1 -1
- package/dist/api/types/PendingShare.d.ts +1 -1
- package/dist/api/types/PodsOnNode.d.mts +4 -0
- package/dist/api/types/PodsOnNode.d.ts +4 -0
- package/dist/api/types/ProviderBreakdownItem.d.mts +4 -0
- package/dist/api/types/ProviderBreakdownItem.d.ts +4 -0
- package/dist/api/types/RealizedChange.d.mts +28 -0
- package/dist/api/types/RealizedChange.d.ts +28 -0
- package/dist/api/types/RealizedChange.js +36 -0
- package/dist/api/types/RealizedChange.mjs +12 -0
- package/dist/api/types/RealizedChanges.d.mts +6 -0
- package/dist/api/types/RealizedChanges.d.ts +6 -0
- package/dist/api/types/RealizedChanges.js +17 -0
- package/dist/api/types/RealizedChanges.mjs +1 -0
- package/dist/api/types/RealizedMonth.d.mts +8 -0
- package/dist/api/types/RealizedMonth.d.ts +8 -0
- package/dist/api/types/RealizedMonth.js +17 -0
- package/dist/api/types/RealizedMonth.mjs +1 -0
- package/dist/api/types/RecommendationItem.d.mts +2 -0
- package/dist/api/types/RecommendationItem.d.ts +2 -0
- package/dist/api/types/ReliabilityEventDay.d.mts +2 -0
- package/dist/api/types/ReliabilityEventDay.d.ts +2 -0
- package/dist/api/types/ReliabilityFacetCount.d.mts +1 -0
- package/dist/api/types/ReliabilityFacetCount.d.ts +1 -0
- package/dist/api/types/ReliabilityFacetCount.js +1 -0
- package/dist/api/types/ReliabilityFacetCount.mjs +1 -0
- package/dist/api/types/ReliabilityLens.d.mts +1 -1
- package/dist/api/types/ReliabilityLens.d.ts +1 -1
- package/dist/api/types/ReliabilityTotals.d.mts +3 -1
- package/dist/api/types/ReliabilityTotals.d.ts +3 -1
- package/dist/api/types/ResourceEfficiency.d.mts +1 -1
- package/dist/api/types/ResourceEfficiency.d.ts +1 -1
- package/dist/api/types/RightsizedContainer.d.mts +2 -0
- package/dist/api/types/RightsizedContainer.d.ts +2 -0
- package/dist/api/types/RightsizedContainer.js +3 -1
- package/dist/api/types/RightsizedContainer.mjs +3 -1
- package/dist/api/types/RightsizingFrees.d.mts +12 -0
- package/dist/api/types/RightsizingFrees.d.ts +12 -0
- package/dist/api/types/RightsizingFrees.js +17 -0
- package/dist/api/types/RightsizingFrees.mjs +1 -0
- package/dist/api/types/SavingsChangeRef.d.mts +5 -0
- package/dist/api/types/SavingsChangeRef.d.ts +5 -0
- package/dist/api/types/SavingsChangeRef.js +17 -0
- package/dist/api/types/SavingsChangeRef.mjs +1 -0
- package/dist/api/types/SavingsItem.d.mts +61 -0
- package/dist/api/types/SavingsItem.d.ts +61 -0
- package/dist/api/types/SavingsItem.js +17 -0
- package/dist/api/types/SavingsItem.mjs +1 -0
- package/dist/api/types/SavingsMissing.d.mts +19 -0
- package/dist/api/types/SavingsMissing.d.ts +19 -0
- package/dist/api/types/SavingsMissing.js +17 -0
- package/dist/api/types/SavingsMissing.mjs +1 -0
- package/dist/api/types/SavingsNode.d.mts +10 -0
- package/dist/api/types/SavingsNode.d.ts +10 -0
- package/dist/api/types/SavingsNode.js +17 -0
- package/dist/api/types/SavingsNode.mjs +1 -0
- package/dist/api/types/SavingsNow.d.mts +26 -0
- package/dist/api/types/SavingsNow.d.ts +26 -0
- package/dist/api/types/SavingsNow.js +38 -0
- package/dist/api/types/SavingsNow.mjs +14 -0
- package/dist/api/types/SavingsNowResponse.d.mts +6 -0
- package/dist/api/types/SavingsNowResponse.d.ts +6 -0
- package/dist/api/types/SavingsNowResponse.js +17 -0
- package/dist/api/types/SavingsNowResponse.mjs +1 -0
- package/dist/api/types/SavingsRequestMove.d.mts +6 -0
- package/dist/api/types/SavingsRequestMove.d.ts +6 -0
- package/dist/api/types/SavingsRequestMove.js +17 -0
- package/dist/api/types/SavingsRequestMove.mjs +1 -0
- package/dist/api/types/SavingsSection.d.mts +16 -0
- package/dist/api/types/SavingsSection.d.ts +16 -0
- package/dist/api/types/SavingsSection.js +37 -0
- package/dist/api/types/SavingsSection.mjs +13 -0
- package/dist/api/types/SavingsTotals.d.mts +8 -0
- package/dist/api/types/SavingsTotals.d.ts +8 -0
- package/dist/api/types/SavingsTotals.js +17 -0
- package/dist/api/types/SavingsTotals.mjs +1 -0
- package/dist/api/types/SetSizingPolicyRequest.d.mts +23 -4
- package/dist/api/types/SetSizingPolicyRequest.d.ts +23 -4
- package/dist/api/types/SetSizingPolicyRequest.js +14 -1
- package/dist/api/types/SetSizingPolicyRequest.mjs +14 -1
- package/dist/api/types/SizerFlag.d.mts +6 -0
- package/dist/api/types/SizerFlag.d.ts +6 -0
- package/dist/api/types/SizerFlag.js +17 -0
- package/dist/api/types/SizerFlag.mjs +1 -0
- package/dist/api/types/SizingPolicies.d.mts +8 -3
- package/dist/api/types/SizingPolicies.d.ts +8 -3
- package/dist/api/types/SizingPolicies.js +2 -1
- package/dist/api/types/SizingPolicies.mjs +2 -1
- package/dist/api/types/SizingPolicy.d.mts +24 -3
- package/dist/api/types/SizingPolicy.d.ts +24 -3
- package/dist/api/types/SizingPolicy.js +14 -1
- package/dist/api/types/SizingPolicy.mjs +14 -1
- package/dist/api/types/SizingPolicyObject.d.mts +14 -0
- package/dist/api/types/SizingPolicyObject.d.ts +14 -0
- package/dist/api/types/SizingPolicyObject.js +17 -0
- package/dist/api/types/SizingPolicyObject.mjs +1 -0
- package/dist/api/types/UnmonitoredCluster.d.mts +8 -5
- package/dist/api/types/UnmonitoredCluster.d.ts +8 -5
- package/dist/api/types/UnmonitoredCluster.js +2 -1
- package/dist/api/types/UnmonitoredCluster.mjs +2 -1
- package/dist/api/types/UnmonitoredClusterList.d.mts +1 -1
- package/dist/api/types/UnmonitoredClusterList.d.ts +1 -1
- package/dist/api/types/UnpricedFindings.d.mts +12 -0
- package/dist/api/types/UnpricedFindings.d.ts +12 -0
- package/dist/api/types/UnpricedFindings.js +17 -0
- package/dist/api/types/UnpricedFindings.mjs +1 -0
- package/dist/api/types/UnreportedInClusters.d.mts +6 -0
- package/dist/api/types/UnreportedInClusters.d.ts +6 -0
- package/dist/api/types/UnreportedInClusters.js +17 -0
- package/dist/api/types/UnreportedInClusters.mjs +1 -0
- package/dist/api/types/VolumeDetail.d.mts +10 -0
- package/dist/api/types/VolumeDetail.d.ts +10 -0
- package/dist/api/types/VolumeItem.d.mts +5 -1
- package/dist/api/types/VolumeItem.d.ts +5 -1
- package/dist/api/types/WatchPoolSignals.d.mts +7 -0
- package/dist/api/types/WatchPoolSignals.d.ts +7 -0
- package/dist/api/types/WatchPoolSignals.js +17 -0
- package/dist/api/types/WatchPoolSignals.mjs +1 -0
- package/dist/api/types/WatchWorkloadSignals.d.mts +8 -0
- package/dist/api/types/WatchWorkloadSignals.d.ts +8 -0
- package/dist/api/types/WatchWorkloadSignals.js +17 -0
- package/dist/api/types/WatchWorkloadSignals.mjs +1 -0
- package/dist/api/types/WorkloadDetail.d.mts +4 -0
- package/dist/api/types/WorkloadDetail.d.ts +4 -0
- package/dist/api/types/WorkloadFacets.d.mts +1 -1
- package/dist/api/types/WorkloadFacets.d.ts +1 -1
- package/dist/api/types/WorkloadFix.d.mts +19 -0
- package/dist/api/types/WorkloadFix.d.ts +19 -0
- package/dist/api/types/WorkloadFix.js +17 -0
- package/dist/api/types/WorkloadFix.mjs +1 -0
- package/dist/api/types/WorkloadItem.d.mts +36 -2
- package/dist/api/types/WorkloadItem.d.ts +36 -2
- package/dist/api/types/WorkloadItem.js +20 -0
- package/dist/api/types/WorkloadItem.mjs +20 -0
- package/dist/api/types/WorkloadListItem.d.mts +36 -2
- package/dist/api/types/WorkloadListItem.d.ts +36 -2
- package/dist/api/types/WorkloadListItem.js +20 -0
- package/dist/api/types/WorkloadListItem.mjs +20 -0
- package/dist/api/types/WorkloadScaler.d.mts +19 -0
- package/dist/api/types/WorkloadScaler.d.ts +19 -0
- package/dist/api/types/WorkloadScaler.js +35 -0
- package/dist/api/types/WorkloadScaler.mjs +11 -0
- package/dist/api/types/index.d.mts +72 -0
- package/dist/api/types/index.d.ts +72 -0
- package/dist/api/types/index.js +144 -0
- package/dist/api/types/index.mjs +72 -0
- package/dist/version.d.mts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- 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 {
|
|
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 {
|
|
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) */
|
package/dist/api/resources/recommendations/client/requests/ListByProviderRecommendationsRequest.d.ts
CHANGED
|
@@ -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
|
+
}
|