levelfour 1.15.0 → 1.17.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/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/AutoscalingData.d.mts +10 -0
- package/dist/api/types/AutoscalingData.d.ts +10 -0
- package/dist/api/types/BlockedNamespace.d.mts +9 -0
- package/dist/api/types/BlockedNamespace.d.ts +9 -0
- package/dist/api/types/BlockedNamespace.js +17 -0
- package/dist/api/types/BlockedNamespace.mjs +1 -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 +38 -1
- package/dist/api/types/ClusterItem.d.ts +38 -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 +21 -2
- package/dist/api/types/ClusterSummary.d.ts +21 -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 +16 -0
- package/dist/api/types/FleetConsolidationLever.d.ts +16 -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 +12 -0
- package/dist/api/types/FleetLever.d.ts +12 -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/FleetRightsizingLever.d.mts +20 -0
- package/dist/api/types/FleetRightsizingLever.d.ts +20 -0
- package/dist/api/types/FleetRightsizingLever.js +17 -0
- package/dist/api/types/FleetRightsizingLever.mjs +1 -0
- package/dist/api/types/FleetSummary.d.mts +20 -1
- package/dist/api/types/FleetSummary.d.ts +20 -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/Indicator.d.mts +16 -1
- package/dist/api/types/Indicator.d.ts +16 -1
- package/dist/api/types/Indicator.js +12 -0
- package/dist/api/types/Indicator.mjs +12 -0
- package/dist/api/types/IndicatorCount.d.mts +1 -0
- package/dist/api/types/IndicatorCount.d.ts +1 -0
- package/dist/api/types/IndicatorCount.js +1 -0
- package/dist/api/types/IndicatorCount.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/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/KubernetesUsageSource.d.mts +1 -1
- package/dist/api/types/KubernetesUsageSource.d.ts +1 -1
- 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/NoReadyShare.d.mts +1 -1
- package/dist/api/types/NoReadyShare.d.ts +1 -1
- package/dist/api/types/NodeFacets.d.mts +2 -2
- package/dist/api/types/NodeFacets.d.ts +2 -2
- 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/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/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/RightsizingLever.d.mts +21 -0
- package/dist/api/types/RightsizingLever.d.ts +21 -0
- package/dist/api/types/RightsizingLever.js +17 -0
- package/dist/api/types/RightsizingLever.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 +21 -0
- package/dist/api/types/SavingsMissing.d.ts +21 -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/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 +2 -0
- package/dist/api/types/SizingPolicies.d.ts +2 -0
- 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 +7 -6
- package/dist/api/types/UnmonitoredCluster.d.ts +7 -6
- 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 +32 -2
- package/dist/api/types/WorkloadItem.d.ts +32 -2
- package/dist/api/types/WorkloadItem.js +20 -0
- package/dist/api/types/WorkloadItem.mjs +20 -0
- package/dist/api/types/WorkloadListItem.d.mts +32 -2
- package/dist/api/types/WorkloadListItem.d.ts +32 -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 +70 -0
- package/dist/api/types/index.d.ts +70 -0
- package/dist/api/types/index.js +140 -0
- package/dist/api/types/index.mjs +70 -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
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var FleetConsolidationNode_exports = {};
|
|
20
|
+
__export(FleetConsolidationNode_exports, {
|
|
21
|
+
FleetConsolidationNode: () => FleetConsolidationNode
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(FleetConsolidationNode_exports);
|
|
24
|
+
var FleetConsolidationNode;
|
|
25
|
+
((FleetConsolidationNode2) => {
|
|
26
|
+
FleetConsolidationNode2.NodeKeptReason = {
|
|
27
|
+
PodsNeedRoom: "pods_need_room",
|
|
28
|
+
PoolRemovesOnlyEmpty: "pool_removes_only_empty",
|
|
29
|
+
PoolNeverConsolidates: "pool_never_consolidates",
|
|
30
|
+
AutoscalerThreshold: "autoscaler_threshold"
|
|
31
|
+
};
|
|
32
|
+
FleetConsolidationNode2.NodeNotKnownReason = {
|
|
33
|
+
PoolNotReported: "pool_not_reported",
|
|
34
|
+
BudgetNotReported: "budget_not_reported",
|
|
35
|
+
NotWorkedOut: "not_worked_out"
|
|
36
|
+
};
|
|
37
|
+
})(FleetConsolidationNode || (FleetConsolidationNode = {}));
|
|
38
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
+
0 && (module.exports = {
|
|
40
|
+
FleetConsolidationNode
|
|
41
|
+
});
|
|
42
|
+
//# sourceMappingURL=FleetConsolidationNode.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var FleetConsolidationNode;
|
|
2
|
+
((FleetConsolidationNode2) => {
|
|
3
|
+
FleetConsolidationNode2.NodeKeptReason = {
|
|
4
|
+
PodsNeedRoom: "pods_need_room",
|
|
5
|
+
PoolRemovesOnlyEmpty: "pool_removes_only_empty",
|
|
6
|
+
PoolNeverConsolidates: "pool_never_consolidates",
|
|
7
|
+
AutoscalerThreshold: "autoscaler_threshold"
|
|
8
|
+
};
|
|
9
|
+
FleetConsolidationNode2.NodeNotKnownReason = {
|
|
10
|
+
PoolNotReported: "pool_not_reported",
|
|
11
|
+
BudgetNotReported: "budget_not_reported",
|
|
12
|
+
NotWorkedOut: "not_worked_out"
|
|
13
|
+
};
|
|
14
|
+
})(FleetConsolidationNode || (FleetConsolidationNode = {}));
|
|
15
|
+
export {
|
|
16
|
+
FleetConsolidationNode
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=FleetConsolidationNode.mjs.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface FleetConsolidationNodesData {
|
|
3
|
+
/** Every connected cluster's held nodes, in the same order */
|
|
4
|
+
items: LevelFour.FleetConsolidationNode[];
|
|
5
|
+
pagination: LevelFour.PaginationMeta;
|
|
6
|
+
/** The same totals as the fleet's consolidation-changes */
|
|
7
|
+
totals: LevelFour.ConsolidationChangeTotals;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface FleetConsolidationNodesData {
|
|
3
|
+
/** Every connected cluster's held nodes, in the same order */
|
|
4
|
+
items: LevelFour.FleetConsolidationNode[];
|
|
5
|
+
pagination: LevelFour.PaginationMeta;
|
|
6
|
+
/** The same totals as the fleet's consolidation-changes */
|
|
7
|
+
totals: LevelFour.ConsolidationChangeTotals;
|
|
8
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var FleetConsolidationNodesData_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(FleetConsolidationNodesData_exports);
|
|
17
|
+
//# sourceMappingURL=FleetConsolidationNodesData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=FleetConsolidationNodesData.mjs.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var FleetConsolidationNodesResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(FleetConsolidationNodesResponse_exports);
|
|
17
|
+
//# sourceMappingURL=FleetConsolidationNodesResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=FleetConsolidationNodesResponse.mjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface FleetLever {
|
|
3
|
+
/** The clusters it is on in */
|
|
4
|
+
clusters_on: number;
|
|
5
|
+
/** The clusters it cannot be told for (on null), so a fleet of one reads as its cluster does (dashboard#1699) */
|
|
6
|
+
clusters_unknown?: number | undefined;
|
|
7
|
+
clusters: number;
|
|
8
|
+
/** What it yields a month, added up */
|
|
9
|
+
monthly?: (number | null) | undefined;
|
|
10
|
+
/** Its counts added up; null when no cluster has them */
|
|
11
|
+
count?: (LevelFour.LeverCount | null) | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface FleetLever {
|
|
3
|
+
/** The clusters it is on in */
|
|
4
|
+
clusters_on: number;
|
|
5
|
+
/** The clusters it cannot be told for (on null), so a fleet of one reads as its cluster does (dashboard#1699) */
|
|
6
|
+
clusters_unknown?: number | undefined;
|
|
7
|
+
clusters: number;
|
|
8
|
+
/** What it yields a month, added up */
|
|
9
|
+
monthly?: (number | null) | undefined;
|
|
10
|
+
/** Its counts added up; null when no cluster has them */
|
|
11
|
+
count?: (LevelFour.LeverCount | null) | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var FleetLever_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(FleetLever_exports);
|
|
17
|
+
//# sourceMappingURL=FleetLever.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=FleetLever.mjs.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var FleetLevers_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(FleetLevers_exports);
|
|
17
|
+
//# sourceMappingURL=FleetLevers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=FleetLevers.mjs.map
|
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
import type * as LevelFour from "../index.mjs";
|
|
2
2
|
export interface FleetNamespace {
|
|
3
|
+
/** bad when a workload is at risk, attention when its available recommendations would save something, good otherwise; null on __idle__ and __node__ */
|
|
4
|
+
state?: (FleetNamespace.State | null) | undefined;
|
|
5
|
+
/** As the Automation tab reads it (namespaceStatusOf); none when the tab does not list the namespace; null on __idle__ and __node__ */
|
|
6
|
+
automation_status?: (FleetNamespace.AutomationStatus | null) | undefined;
|
|
7
|
+
/** The namespace's step on the Automation column (dashboard#1521): not_analyzed while its recommendations are off, recommendations_only, dry_run (planned, nothing changes) or automated as its automation chooses, blocked where a chosen dry run or automation cannot act, system for a system namespace; null on __idle__, __node__ and a namespace only the bill names */
|
|
8
|
+
automation_step?: (FleetNamespace.AutomationStep | null) | undefined;
|
|
9
|
+
/** Why a blocked step cannot act: no automation component, a component that stopped reporting, the cluster's rightsizing off, another tool sizing the namespace, the levelfour.ai/automation=off label, the Helm install's namespaces leaving it out, or the approver gone; null unless blocked */
|
|
10
|
+
automation_blocked_by?: (FleetNamespace.AutomationBlockedBy | null) | undefined;
|
|
11
|
+
/** What the namespace's available recommendations would save a month */
|
|
12
|
+
available_savings_monthly?: (number | null) | undefined;
|
|
3
13
|
name: string;
|
|
4
14
|
/** idle is the nodes' unallocated capacity; node is the data transfer no workload sent */
|
|
5
15
|
kind: FleetNamespace.Kind;
|
|
6
|
-
/** No longer in the cluster
|
|
16
|
+
/** No longer in the cluster: a later read of its list left it out. Listed for its cost in the window. False for a row whose list went unreported (unreported_since) */
|
|
7
17
|
removed?: boolean | undefined;
|
|
18
|
+
/** Set when the cluster's latest batch did not list the row because the agent could not read its list for more than 24 hours (it sent the list as null): the time of the last batch that read the list, which listed the row. Whether the row is still in the cluster is unknown, so removed is false and the list counts it as current; what only the latest batch can say (a node's ready and status, a workload's risk rating) reads it as not current. Null for a row the latest batch listed and for a removed one */
|
|
19
|
+
unreported_since?: (string | null) | undefined;
|
|
8
20
|
created_at?: (string | null) | undefined;
|
|
9
21
|
/** Containers, volumes and data transfer; with include_idle, each day's container cost grows by that day's node idle over everything the cluster's containers cost that day */
|
|
10
22
|
cost?: (number | null) | undefined;
|
|
@@ -49,14 +61,50 @@ export interface FleetNamespace {
|
|
|
49
61
|
workload_count: number;
|
|
50
62
|
/** Whether the worker makes recommendations for it; null for __idle__, __node__ and a namespace only the bill names */
|
|
51
63
|
recommendations?: (FleetNamespace.Recommendations | null) | undefined;
|
|
52
|
-
/** What decided recommendations: label (the cluster label says enabled or disabled
|
|
64
|
+
/** What decided recommendations, the cluster first: label (the cluster label says enabled or disabled), system (a system namespace or the agent's), object (an automation object in the cluster sets an automationMode there), dashboard (turned on or off in LevelFour, where the cluster says nothing), or default (off) */
|
|
53
65
|
recommendations_source?: (FleetNamespace.RecommendationsSource | null) | undefined;
|
|
66
|
+
/** With source object, the object that turns them on: {kind, namespace, name} */
|
|
67
|
+
recommendations_object?: (Record<string, string | null> | null) | undefined;
|
|
54
68
|
cluster_id: string;
|
|
55
69
|
cluster_name: string;
|
|
56
70
|
/** What the namespace's open published recommendations would save a month */
|
|
57
71
|
potential_savings_monthly?: (number | null) | undefined;
|
|
58
72
|
}
|
|
59
73
|
export declare namespace FleetNamespace {
|
|
74
|
+
const State: {
|
|
75
|
+
readonly Bad: "bad";
|
|
76
|
+
readonly Attention: "attention";
|
|
77
|
+
readonly Good: "good";
|
|
78
|
+
};
|
|
79
|
+
type State = (typeof State)[keyof typeof State];
|
|
80
|
+
const AutomationStatus: {
|
|
81
|
+
readonly On: "on";
|
|
82
|
+
readonly Preview: "preview";
|
|
83
|
+
readonly Off: "off";
|
|
84
|
+
readonly Blocked: "blocked";
|
|
85
|
+
readonly TakingOver: "taking_over";
|
|
86
|
+
readonly None: "none";
|
|
87
|
+
};
|
|
88
|
+
type AutomationStatus = (typeof AutomationStatus)[keyof typeof AutomationStatus];
|
|
89
|
+
const AutomationStep: {
|
|
90
|
+
readonly NotAnalyzed: "not_analyzed";
|
|
91
|
+
readonly RecommendationsOnly: "recommendations_only";
|
|
92
|
+
readonly DryRun: "dry_run";
|
|
93
|
+
readonly Automated: "automated";
|
|
94
|
+
readonly Blocked: "blocked";
|
|
95
|
+
readonly System: "system";
|
|
96
|
+
};
|
|
97
|
+
type AutomationStep = (typeof AutomationStep)[keyof typeof AutomationStep];
|
|
98
|
+
const AutomationBlockedBy: {
|
|
99
|
+
readonly NoComponent: "no_component";
|
|
100
|
+
readonly ComponentSilent: "component_silent";
|
|
101
|
+
readonly ClusterOff: "cluster_off";
|
|
102
|
+
readonly OtherRightsizer: "other_rightsizer";
|
|
103
|
+
readonly LabelledOff: "labelled_off";
|
|
104
|
+
readonly NotPermitted: "not_permitted";
|
|
105
|
+
readonly ApproverLeft: "approver_left";
|
|
106
|
+
};
|
|
107
|
+
type AutomationBlockedBy = (typeof AutomationBlockedBy)[keyof typeof AutomationBlockedBy];
|
|
60
108
|
/** idle is the nodes' unallocated capacity; node is the data transfer no workload sent */
|
|
61
109
|
const Kind: {
|
|
62
110
|
readonly Namespace: "namespace";
|
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
import type * as LevelFour from "../index.js";
|
|
2
2
|
export interface FleetNamespace {
|
|
3
|
+
/** bad when a workload is at risk, attention when its available recommendations would save something, good otherwise; null on __idle__ and __node__ */
|
|
4
|
+
state?: (FleetNamespace.State | null) | undefined;
|
|
5
|
+
/** As the Automation tab reads it (namespaceStatusOf); none when the tab does not list the namespace; null on __idle__ and __node__ */
|
|
6
|
+
automation_status?: (FleetNamespace.AutomationStatus | null) | undefined;
|
|
7
|
+
/** The namespace's step on the Automation column (dashboard#1521): not_analyzed while its recommendations are off, recommendations_only, dry_run (planned, nothing changes) or automated as its automation chooses, blocked where a chosen dry run or automation cannot act, system for a system namespace; null on __idle__, __node__ and a namespace only the bill names */
|
|
8
|
+
automation_step?: (FleetNamespace.AutomationStep | null) | undefined;
|
|
9
|
+
/** Why a blocked step cannot act: no automation component, a component that stopped reporting, the cluster's rightsizing off, another tool sizing the namespace, the levelfour.ai/automation=off label, the Helm install's namespaces leaving it out, or the approver gone; null unless blocked */
|
|
10
|
+
automation_blocked_by?: (FleetNamespace.AutomationBlockedBy | null) | undefined;
|
|
11
|
+
/** What the namespace's available recommendations would save a month */
|
|
12
|
+
available_savings_monthly?: (number | null) | undefined;
|
|
3
13
|
name: string;
|
|
4
14
|
/** idle is the nodes' unallocated capacity; node is the data transfer no workload sent */
|
|
5
15
|
kind: FleetNamespace.Kind;
|
|
6
|
-
/** No longer in the cluster
|
|
16
|
+
/** No longer in the cluster: a later read of its list left it out. Listed for its cost in the window. False for a row whose list went unreported (unreported_since) */
|
|
7
17
|
removed?: boolean | undefined;
|
|
18
|
+
/** Set when the cluster's latest batch did not list the row because the agent could not read its list for more than 24 hours (it sent the list as null): the time of the last batch that read the list, which listed the row. Whether the row is still in the cluster is unknown, so removed is false and the list counts it as current; what only the latest batch can say (a node's ready and status, a workload's risk rating) reads it as not current. Null for a row the latest batch listed and for a removed one */
|
|
19
|
+
unreported_since?: (string | null) | undefined;
|
|
8
20
|
created_at?: (string | null) | undefined;
|
|
9
21
|
/** Containers, volumes and data transfer; with include_idle, each day's container cost grows by that day's node idle over everything the cluster's containers cost that day */
|
|
10
22
|
cost?: (number | null) | undefined;
|
|
@@ -49,14 +61,50 @@ export interface FleetNamespace {
|
|
|
49
61
|
workload_count: number;
|
|
50
62
|
/** Whether the worker makes recommendations for it; null for __idle__, __node__ and a namespace only the bill names */
|
|
51
63
|
recommendations?: (FleetNamespace.Recommendations | null) | undefined;
|
|
52
|
-
/** What decided recommendations: label (the cluster label says enabled or disabled
|
|
64
|
+
/** What decided recommendations, the cluster first: label (the cluster label says enabled or disabled), system (a system namespace or the agent's), object (an automation object in the cluster sets an automationMode there), dashboard (turned on or off in LevelFour, where the cluster says nothing), or default (off) */
|
|
53
65
|
recommendations_source?: (FleetNamespace.RecommendationsSource | null) | undefined;
|
|
66
|
+
/** With source object, the object that turns them on: {kind, namespace, name} */
|
|
67
|
+
recommendations_object?: (Record<string, string | null> | null) | undefined;
|
|
54
68
|
cluster_id: string;
|
|
55
69
|
cluster_name: string;
|
|
56
70
|
/** What the namespace's open published recommendations would save a month */
|
|
57
71
|
potential_savings_monthly?: (number | null) | undefined;
|
|
58
72
|
}
|
|
59
73
|
export declare namespace FleetNamespace {
|
|
74
|
+
const State: {
|
|
75
|
+
readonly Bad: "bad";
|
|
76
|
+
readonly Attention: "attention";
|
|
77
|
+
readonly Good: "good";
|
|
78
|
+
};
|
|
79
|
+
type State = (typeof State)[keyof typeof State];
|
|
80
|
+
const AutomationStatus: {
|
|
81
|
+
readonly On: "on";
|
|
82
|
+
readonly Preview: "preview";
|
|
83
|
+
readonly Off: "off";
|
|
84
|
+
readonly Blocked: "blocked";
|
|
85
|
+
readonly TakingOver: "taking_over";
|
|
86
|
+
readonly None: "none";
|
|
87
|
+
};
|
|
88
|
+
type AutomationStatus = (typeof AutomationStatus)[keyof typeof AutomationStatus];
|
|
89
|
+
const AutomationStep: {
|
|
90
|
+
readonly NotAnalyzed: "not_analyzed";
|
|
91
|
+
readonly RecommendationsOnly: "recommendations_only";
|
|
92
|
+
readonly DryRun: "dry_run";
|
|
93
|
+
readonly Automated: "automated";
|
|
94
|
+
readonly Blocked: "blocked";
|
|
95
|
+
readonly System: "system";
|
|
96
|
+
};
|
|
97
|
+
type AutomationStep = (typeof AutomationStep)[keyof typeof AutomationStep];
|
|
98
|
+
const AutomationBlockedBy: {
|
|
99
|
+
readonly NoComponent: "no_component";
|
|
100
|
+
readonly ComponentSilent: "component_silent";
|
|
101
|
+
readonly ClusterOff: "cluster_off";
|
|
102
|
+
readonly OtherRightsizer: "other_rightsizer";
|
|
103
|
+
readonly LabelledOff: "labelled_off";
|
|
104
|
+
readonly NotPermitted: "not_permitted";
|
|
105
|
+
readonly ApproverLeft: "approver_left";
|
|
106
|
+
};
|
|
107
|
+
type AutomationBlockedBy = (typeof AutomationBlockedBy)[keyof typeof AutomationBlockedBy];
|
|
60
108
|
/** idle is the nodes' unallocated capacity; node is the data transfer no workload sent */
|
|
61
109
|
const Kind: {
|
|
62
110
|
readonly Namespace: "namespace";
|
|
@@ -23,6 +23,36 @@ __export(FleetNamespace_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(FleetNamespace_exports);
|
|
24
24
|
var FleetNamespace;
|
|
25
25
|
((FleetNamespace2) => {
|
|
26
|
+
FleetNamespace2.State = {
|
|
27
|
+
Bad: "bad",
|
|
28
|
+
Attention: "attention",
|
|
29
|
+
Good: "good"
|
|
30
|
+
};
|
|
31
|
+
FleetNamespace2.AutomationStatus = {
|
|
32
|
+
On: "on",
|
|
33
|
+
Preview: "preview",
|
|
34
|
+
Off: "off",
|
|
35
|
+
Blocked: "blocked",
|
|
36
|
+
TakingOver: "taking_over",
|
|
37
|
+
None: "none"
|
|
38
|
+
};
|
|
39
|
+
FleetNamespace2.AutomationStep = {
|
|
40
|
+
NotAnalyzed: "not_analyzed",
|
|
41
|
+
RecommendationsOnly: "recommendations_only",
|
|
42
|
+
DryRun: "dry_run",
|
|
43
|
+
Automated: "automated",
|
|
44
|
+
Blocked: "blocked",
|
|
45
|
+
System: "system"
|
|
46
|
+
};
|
|
47
|
+
FleetNamespace2.AutomationBlockedBy = {
|
|
48
|
+
NoComponent: "no_component",
|
|
49
|
+
ComponentSilent: "component_silent",
|
|
50
|
+
ClusterOff: "cluster_off",
|
|
51
|
+
OtherRightsizer: "other_rightsizer",
|
|
52
|
+
LabelledOff: "labelled_off",
|
|
53
|
+
NotPermitted: "not_permitted",
|
|
54
|
+
ApproverLeft: "approver_left"
|
|
55
|
+
};
|
|
26
56
|
FleetNamespace2.Kind = {
|
|
27
57
|
Namespace: "namespace",
|
|
28
58
|
Idle: "idle",
|
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
var FleetNamespace;
|
|
2
2
|
((FleetNamespace2) => {
|
|
3
|
+
FleetNamespace2.State = {
|
|
4
|
+
Bad: "bad",
|
|
5
|
+
Attention: "attention",
|
|
6
|
+
Good: "good"
|
|
7
|
+
};
|
|
8
|
+
FleetNamespace2.AutomationStatus = {
|
|
9
|
+
On: "on",
|
|
10
|
+
Preview: "preview",
|
|
11
|
+
Off: "off",
|
|
12
|
+
Blocked: "blocked",
|
|
13
|
+
TakingOver: "taking_over",
|
|
14
|
+
None: "none"
|
|
15
|
+
};
|
|
16
|
+
FleetNamespace2.AutomationStep = {
|
|
17
|
+
NotAnalyzed: "not_analyzed",
|
|
18
|
+
RecommendationsOnly: "recommendations_only",
|
|
19
|
+
DryRun: "dry_run",
|
|
20
|
+
Automated: "automated",
|
|
21
|
+
Blocked: "blocked",
|
|
22
|
+
System: "system"
|
|
23
|
+
};
|
|
24
|
+
FleetNamespace2.AutomationBlockedBy = {
|
|
25
|
+
NoComponent: "no_component",
|
|
26
|
+
ComponentSilent: "component_silent",
|
|
27
|
+
ClusterOff: "cluster_off",
|
|
28
|
+
OtherRightsizer: "other_rightsizer",
|
|
29
|
+
LabelledOff: "labelled_off",
|
|
30
|
+
NotPermitted: "not_permitted",
|
|
31
|
+
ApproverLeft: "approver_left"
|
|
32
|
+
};
|
|
3
33
|
FleetNamespace2.Kind = {
|
|
4
34
|
Namespace: "namespace",
|
|
5
35
|
Idle: "idle",
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface FleetRightsizingLever {
|
|
3
|
+
/** The clusters it is on in */
|
|
4
|
+
clusters_on: number;
|
|
5
|
+
/** The clusters it cannot be told for (on null), so a fleet of one reads as its cluster does (dashboard#1699) */
|
|
6
|
+
clusters_unknown?: number | undefined;
|
|
7
|
+
clusters: number;
|
|
8
|
+
/** What it yields a month, added up */
|
|
9
|
+
monthly?: (number | null) | undefined;
|
|
10
|
+
/** Its counts added up; null when no cluster has them */
|
|
11
|
+
count?: (LevelFour.LeverCount | null) | undefined;
|
|
12
|
+
/** The namespaces set to Automated, added up over the clusters */
|
|
13
|
+
set?: (number | null) | undefined;
|
|
14
|
+
/** Each cluster's namespaces set to Automated that do not act, and why */
|
|
15
|
+
blocked?: LevelFour.BlockedNamespace[] | undefined;
|
|
16
|
+
/** The clusters whose automation component does not report */
|
|
17
|
+
not_reporting?: number | undefined;
|
|
18
|
+
/** The earliest last report among the clusters whose component does not report; null with none */
|
|
19
|
+
last_seen_at?: (string | null) | undefined;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface FleetRightsizingLever {
|
|
3
|
+
/** The clusters it is on in */
|
|
4
|
+
clusters_on: number;
|
|
5
|
+
/** The clusters it cannot be told for (on null), so a fleet of one reads as its cluster does (dashboard#1699) */
|
|
6
|
+
clusters_unknown?: number | undefined;
|
|
7
|
+
clusters: number;
|
|
8
|
+
/** What it yields a month, added up */
|
|
9
|
+
monthly?: (number | null) | undefined;
|
|
10
|
+
/** Its counts added up; null when no cluster has them */
|
|
11
|
+
count?: (LevelFour.LeverCount | null) | undefined;
|
|
12
|
+
/** The namespaces set to Automated, added up over the clusters */
|
|
13
|
+
set?: (number | null) | undefined;
|
|
14
|
+
/** Each cluster's namespaces set to Automated that do not act, and why */
|
|
15
|
+
blocked?: LevelFour.BlockedNamespace[] | undefined;
|
|
16
|
+
/** The clusters whose automation component does not report */
|
|
17
|
+
not_reporting?: number | undefined;
|
|
18
|
+
/** The earliest last report among the clusters whose component does not report; null with none */
|
|
19
|
+
last_seen_at?: (string | null) | undefined;
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var FleetRightsizingLever_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(FleetRightsizingLever_exports);
|
|
17
|
+
//# sourceMappingURL=FleetRightsizingLever.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=FleetRightsizingLever.mjs.map
|
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
import type * as LevelFour from "../index.mjs";
|
|
2
2
|
export interface FleetSummary {
|
|
3
|
+
/** What can be saved now a month, GET /savings' totals.monthly: the available recommendations (as the savings page's Available tab counts them), plus the workloads that want replicas and have had none ready for a day and the nodes only they hold. The nodes other pods hold are not in it (levelfour-api#2203), added up over the connected clusters; null when none has any */
|
|
4
|
+
available_savings_monthly?: (number | null) | undefined;
|
|
5
|
+
levers?: (LevelFour.FleetLevers | null) | undefined;
|
|
6
|
+
/** Every connected cluster's other savings, added up */
|
|
7
|
+
other_savings?: (LevelFour.OtherSavings | null) | undefined;
|
|
8
|
+
/** What the verified changes saved (GET /v1/k8s/realized); null when nothing is verified */
|
|
9
|
+
realized?: (LevelFour.KubernetesRealized | null) | undefined;
|
|
10
|
+
/** The namespaces set to Automated, whether or not they act (dashboard#1699) */
|
|
11
|
+
automation_namespaces_set?: (number | null) | undefined;
|
|
12
|
+
/** Namespaces where the automation applies changes by itself: apply mode, not opted out by the levelfour.ai/automation=off label, in the Helm install's namespaces, recommendations on, sized by no other tool, not being taken over and not paused because the approver left; 0 while the cluster's automation is off or paused. Null when no cluster has the automation component */
|
|
13
|
+
automation_namespaces_acting?: (number | null) | undefined;
|
|
14
|
+
/** The namespaces the Automation tab lists: the current ones, system namespaces left out. Null when no cluster has the automation component */
|
|
15
|
+
automation_namespaces_total?: (number | null) | undefined;
|
|
3
16
|
/** The batches the current-state figures reflect (nodes, namespaces, workloads, pods and workloads at risk): each connected cluster's latest, newest and oldest across them. Null until a cluster reports a batch; a cluster without the agent reports none */
|
|
4
17
|
as_of?: (LevelFour.SnapshotRange | null) | undefined;
|
|
18
|
+
/** Each snapshot list unreported now in at least one connected cluster, with how many and the oldest time one of them has been unreported since; each cluster's unreported_lists in /clusters says which. The totals leave out the lists of those clusters: node_count their nodes, namespace_count and namespaces_enabled their namespaces, workload_count and workloads_at_risk their workloads, storage their claims. Empty when every cluster's latest batch read every list */
|
|
19
|
+
unreported_lists?: Record<string, LevelFour.UnreportedInClusters> | undefined;
|
|
5
20
|
/** The clusters' cost added up, as the clusters list reads it */
|
|
6
21
|
total_cost?: (number | null) | undefined;
|
|
7
22
|
idle_cost?: (number | null) | undefined;
|
|
@@ -37,9 +52,13 @@ export interface FleetSummary {
|
|
|
37
52
|
bill_status: FleetSummary.BillStatus;
|
|
38
53
|
/** While awaiting_bill, the earliest day a waiting cluster's first priced day should show */
|
|
39
54
|
bill_expected_by?: (string | null) | undefined;
|
|
40
|
-
/** Current workloads at high risk: an OOM kill
|
|
55
|
+
/** Current workloads at high risk, on what holds now: an OOM kill or an eviction in the window's last two days, a container restarting at a crash loop's pace in them, or no ready replica in two batches in a row. Medium and low never count. An ephemeral one, a pull-request or branch environment, counts only with include_ephemeral */
|
|
41
56
|
workloads_at_risk?: number | undefined;
|
|
42
57
|
potential_savings?: (LevelFour.PotentialSavings | null) | undefined;
|
|
58
|
+
/** The nodes rightsizing every workload would free and what they cost a month, as the worker's last scan reviewed the pools; null before a scan stored it */
|
|
59
|
+
rightsizing_frees?: (LevelFour.RightsizingFrees | null) | undefined;
|
|
60
|
+
/** What the namespaces whose recommendations are off leave unused a month, and how many are off; null when none is off (api#2091) */
|
|
61
|
+
off_namespaces_waste?: (LevelFour.OffNamespacesWaste | null) | undefined;
|
|
43
62
|
realized_savings: LevelFour.RealizedTotal;
|
|
44
63
|
/** Costliest first; adds up to cluster_count, node_count and total_cost */
|
|
45
64
|
by_provider?: LevelFour.ProviderShare[] | undefined;
|
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
import type * as LevelFour from "../index.js";
|
|
2
2
|
export interface FleetSummary {
|
|
3
|
+
/** What can be saved now a month, GET /savings' totals.monthly: the available recommendations (as the savings page's Available tab counts them), plus the workloads that want replicas and have had none ready for a day and the nodes only they hold. The nodes other pods hold are not in it (levelfour-api#2203), added up over the connected clusters; null when none has any */
|
|
4
|
+
available_savings_monthly?: (number | null) | undefined;
|
|
5
|
+
levers?: (LevelFour.FleetLevers | null) | undefined;
|
|
6
|
+
/** Every connected cluster's other savings, added up */
|
|
7
|
+
other_savings?: (LevelFour.OtherSavings | null) | undefined;
|
|
8
|
+
/** What the verified changes saved (GET /v1/k8s/realized); null when nothing is verified */
|
|
9
|
+
realized?: (LevelFour.KubernetesRealized | null) | undefined;
|
|
10
|
+
/** The namespaces set to Automated, whether or not they act (dashboard#1699) */
|
|
11
|
+
automation_namespaces_set?: (number | null) | undefined;
|
|
12
|
+
/** Namespaces where the automation applies changes by itself: apply mode, not opted out by the levelfour.ai/automation=off label, in the Helm install's namespaces, recommendations on, sized by no other tool, not being taken over and not paused because the approver left; 0 while the cluster's automation is off or paused. Null when no cluster has the automation component */
|
|
13
|
+
automation_namespaces_acting?: (number | null) | undefined;
|
|
14
|
+
/** The namespaces the Automation tab lists: the current ones, system namespaces left out. Null when no cluster has the automation component */
|
|
15
|
+
automation_namespaces_total?: (number | null) | undefined;
|
|
3
16
|
/** The batches the current-state figures reflect (nodes, namespaces, workloads, pods and workloads at risk): each connected cluster's latest, newest and oldest across them. Null until a cluster reports a batch; a cluster without the agent reports none */
|
|
4
17
|
as_of?: (LevelFour.SnapshotRange | null) | undefined;
|
|
18
|
+
/** Each snapshot list unreported now in at least one connected cluster, with how many and the oldest time one of them has been unreported since; each cluster's unreported_lists in /clusters says which. The totals leave out the lists of those clusters: node_count their nodes, namespace_count and namespaces_enabled their namespaces, workload_count and workloads_at_risk their workloads, storage their claims. Empty when every cluster's latest batch read every list */
|
|
19
|
+
unreported_lists?: Record<string, LevelFour.UnreportedInClusters> | undefined;
|
|
5
20
|
/** The clusters' cost added up, as the clusters list reads it */
|
|
6
21
|
total_cost?: (number | null) | undefined;
|
|
7
22
|
idle_cost?: (number | null) | undefined;
|
|
@@ -37,9 +52,13 @@ export interface FleetSummary {
|
|
|
37
52
|
bill_status: FleetSummary.BillStatus;
|
|
38
53
|
/** While awaiting_bill, the earliest day a waiting cluster's first priced day should show */
|
|
39
54
|
bill_expected_by?: (string | null) | undefined;
|
|
40
|
-
/** Current workloads at high risk: an OOM kill
|
|
55
|
+
/** Current workloads at high risk, on what holds now: an OOM kill or an eviction in the window's last two days, a container restarting at a crash loop's pace in them, or no ready replica in two batches in a row. Medium and low never count. An ephemeral one, a pull-request or branch environment, counts only with include_ephemeral */
|
|
41
56
|
workloads_at_risk?: number | undefined;
|
|
42
57
|
potential_savings?: (LevelFour.PotentialSavings | null) | undefined;
|
|
58
|
+
/** The nodes rightsizing every workload would free and what they cost a month, as the worker's last scan reviewed the pools; null before a scan stored it */
|
|
59
|
+
rightsizing_frees?: (LevelFour.RightsizingFrees | null) | undefined;
|
|
60
|
+
/** What the namespaces whose recommendations are off leave unused a month, and how many are off; null when none is off (api#2091) */
|
|
61
|
+
off_namespaces_waste?: (LevelFour.OffNamespacesWaste | null) | undefined;
|
|
43
62
|
realized_savings: LevelFour.RealizedTotal;
|
|
44
63
|
/** Costliest first; adds up to cluster_count, node_count and total_cost */
|
|
45
64
|
by_provider?: LevelFour.ProviderShare[] | undefined;
|
|
@@ -2,8 +2,10 @@ import type * as LevelFour from "../index.mjs";
|
|
|
2
2
|
export interface FleetVolume {
|
|
3
3
|
namespace: string;
|
|
4
4
|
name: string;
|
|
5
|
-
/** No longer in the cluster
|
|
5
|
+
/** No longer in the cluster: a later read of its list left it out. Listed for its cost in the window. False for a row whose list went unreported (unreported_since) */
|
|
6
6
|
removed?: boolean | undefined;
|
|
7
|
+
/** Set when the cluster's latest batch did not list the row because the agent could not read its list for more than 24 hours (it sent the list as null): the time of the last batch that read the list, which listed the row. Whether the row is still in the cluster is unknown, so removed is false and the list counts it as current; what only the latest batch can say (a node's ready and status, a workload's risk rating) reads it as not current. Null for a row the latest batch listed and for a removed one */
|
|
8
|
+
unreported_since?: (string | null) | undefined;
|
|
7
9
|
/** Gone from the cluster yet still billed: its volume outlived it */
|
|
8
10
|
released?: boolean | undefined;
|
|
9
11
|
storage_class?: (string | null) | undefined;
|
|
@@ -30,6 +32,8 @@ export interface FleetVolume {
|
|
|
30
32
|
period_cost?: (number | null) | undefined;
|
|
31
33
|
/** Why period_cost is null: not_on_bill when the bill of the cluster's account arrives over the window and no line of it names the volume, no_bill when no bill for that account arrives (none connected, not there yet, or a cloud whose bill this does not read for volumes) */
|
|
32
34
|
cost_unknown_reason?: (FleetVolume.CostUnknownReason | null) | undefined;
|
|
35
|
+
/** Why the worker could not price the claim it found, from its open candidate: not_on_bill when the bill names no line for the volume while it prices the cluster's other claims; null otherwise (api#2074) */
|
|
36
|
+
unpriced_reason?: ("not_on_bill" | null) | undefined;
|
|
33
37
|
/** While period_cost is null, the last day any bill line named the volume; null if none ever */
|
|
34
38
|
last_billed_on?: (string | null) | undefined;
|
|
35
39
|
/** While period_cost is null, what the tenant's own bill charged a GiB-month of the claim's volume type in the cluster's region over the window; null when the bill charged nothing for that type there. Never a list price */
|