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,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 UnpricedFindings_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(UnpricedFindings_exports);
|
|
17
|
+
//# sourceMappingURL=UnpricedFindings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=UnpricedFindings.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 UnreportedInClusters_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(UnreportedInClusters_exports);
|
|
17
|
+
//# sourceMappingURL=UnreportedInClusters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=UnreportedInClusters.mjs.map
|
|
@@ -8,6 +8,16 @@ export interface VolumeDetail {
|
|
|
8
8
|
resizable?: (boolean | null) | undefined;
|
|
9
9
|
/** in_tree_provisioner for a kubernetes.io/ provisioner, expansion_off without expansion */
|
|
10
10
|
not_resizable_reason?: (VolumeDetail.NotResizableReason | null) | undefined;
|
|
11
|
+
/** The cluster's region, which the commands that check its disk name */
|
|
12
|
+
region?: (string | null) | undefined;
|
|
13
|
+
/** Its StorageClass's reclaim policy (Delete or Retain), which a volume it provisions takes */
|
|
14
|
+
reclaim_policy?: (string | null) | undefined;
|
|
15
|
+
/** The last day the kubelet read its use, which it reads only while a pod mounts it */
|
|
16
|
+
last_mounted_on?: (string | null) | undefined;
|
|
17
|
+
/** The first day the cluster's claim readings reach back to */
|
|
18
|
+
readings_since?: (string | null) | undefined;
|
|
19
|
+
/** The StatefulSet whose claim template made it, by name; null when none of its namespace fits */
|
|
20
|
+
owner?: (LevelFour.ClaimOwner | null) | undefined;
|
|
11
21
|
}
|
|
12
22
|
export declare namespace VolumeDetail {
|
|
13
23
|
const NotResizableReason: {
|
|
@@ -8,6 +8,16 @@ export interface VolumeDetail {
|
|
|
8
8
|
resizable?: (boolean | null) | undefined;
|
|
9
9
|
/** in_tree_provisioner for a kubernetes.io/ provisioner, expansion_off without expansion */
|
|
10
10
|
not_resizable_reason?: (VolumeDetail.NotResizableReason | null) | undefined;
|
|
11
|
+
/** The cluster's region, which the commands that check its disk name */
|
|
12
|
+
region?: (string | null) | undefined;
|
|
13
|
+
/** Its StorageClass's reclaim policy (Delete or Retain), which a volume it provisions takes */
|
|
14
|
+
reclaim_policy?: (string | null) | undefined;
|
|
15
|
+
/** The last day the kubelet read its use, which it reads only while a pod mounts it */
|
|
16
|
+
last_mounted_on?: (string | null) | undefined;
|
|
17
|
+
/** The first day the cluster's claim readings reach back to */
|
|
18
|
+
readings_since?: (string | null) | undefined;
|
|
19
|
+
/** The StatefulSet whose claim template made it, by name; null when none of its namespace fits */
|
|
20
|
+
owner?: (LevelFour.ClaimOwner | null) | undefined;
|
|
11
21
|
}
|
|
12
22
|
export declare namespace VolumeDetail {
|
|
13
23
|
const NotResizableReason: {
|
|
@@ -2,8 +2,10 @@ import type * as LevelFour from "../index.mjs";
|
|
|
2
2
|
export interface VolumeItem {
|
|
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 VolumeItem {
|
|
|
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?: (VolumeItem.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 */
|
|
@@ -2,8 +2,10 @@ import type * as LevelFour from "../index.js";
|
|
|
2
2
|
export interface VolumeItem {
|
|
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 VolumeItem {
|
|
|
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?: (VolumeItem.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 */
|
|
@@ -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 WatchPoolSignals_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(WatchPoolSignals_exports);
|
|
17
|
+
//# sourceMappingURL=WatchPoolSignals.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=WatchPoolSignals.mjs.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface WatchWorkloadSignals {
|
|
2
|
+
/** The hours the watch read on this side of the rollout */
|
|
3
|
+
hours: number;
|
|
4
|
+
oom_kills: number;
|
|
5
|
+
restarts: number;
|
|
6
|
+
/** The share of CFS periods throttled, averaged over the hours; null while none was measured */
|
|
7
|
+
throttled_ratio?: (number | null) | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface WatchWorkloadSignals {
|
|
2
|
+
/** The hours the watch read on this side of the rollout */
|
|
3
|
+
hours: number;
|
|
4
|
+
oom_kills: number;
|
|
5
|
+
restarts: number;
|
|
6
|
+
/** The share of CFS periods throttled, averaged over the hours; null while none was measured */
|
|
7
|
+
throttled_ratio?: (number | null) | undefined;
|
|
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 WatchWorkloadSignals_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(WatchWorkloadSignals_exports);
|
|
17
|
+
//# sourceMappingURL=WatchWorkloadSignals.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=WatchWorkloadSignals.mjs.map
|
|
@@ -13,6 +13,10 @@ export interface WorkloadDetail {
|
|
|
13
13
|
revisions?: (LevelFour.KnativeRevisionItem[] | null) | undefined;
|
|
14
14
|
/** The KRO instance the workload was rendered from */
|
|
15
15
|
kro?: (LevelFour.KroInstanceDetail | null) | undefined;
|
|
16
|
+
/** A CronJob's schedule, null for any other kind and from an agent before 0.8.6 */
|
|
17
|
+
schedule?: (string | null) | undefined;
|
|
18
|
+
/** The time zone a CronJob's schedule runs in, null when it names none and the controller's applies */
|
|
19
|
+
time_zone?: (string | null) | undefined;
|
|
16
20
|
/** The pod template's labels */
|
|
17
21
|
labels: Record<string, string>;
|
|
18
22
|
/** Only the allowlisted annotations the agent reports */
|
|
@@ -13,6 +13,10 @@ export interface WorkloadDetail {
|
|
|
13
13
|
revisions?: (LevelFour.KnativeRevisionItem[] | null) | undefined;
|
|
14
14
|
/** The KRO instance the workload was rendered from */
|
|
15
15
|
kro?: (LevelFour.KroInstanceDetail | null) | undefined;
|
|
16
|
+
/** A CronJob's schedule, null for any other kind and from an agent before 0.8.6 */
|
|
17
|
+
schedule?: (string | null) | undefined;
|
|
18
|
+
/** The time zone a CronJob's schedule runs in, null when it names none and the controller's applies */
|
|
19
|
+
time_zone?: (string | null) | undefined;
|
|
16
20
|
/** The pod template's labels */
|
|
17
21
|
labels: Record<string, string>;
|
|
18
22
|
/** Only the allowlisted annotations the agent reports */
|
|
@@ -6,6 +6,6 @@ export interface WorkloadFacets {
|
|
|
6
6
|
indicator: LevelFour.FacetCount[];
|
|
7
7
|
/** Current workloads per risk, as the risk filter keeps them: an ephemeral one only with include_ephemeral */
|
|
8
8
|
risk?: LevelFour.FacetCount[] | undefined;
|
|
9
|
-
/** current for a workload still in the cluster, removed for one that left it during the window */
|
|
9
|
+
/** current for a workload still in the cluster, and for one whose list went unreported (unreported_since), removed for one that left it during the window */
|
|
10
10
|
state?: LevelFour.FacetCount[] | undefined;
|
|
11
11
|
}
|
|
@@ -6,6 +6,6 @@ export interface WorkloadFacets {
|
|
|
6
6
|
indicator: LevelFour.FacetCount[];
|
|
7
7
|
/** Current workloads per risk, as the risk filter keeps them: an ephemeral one only with include_ephemeral */
|
|
8
8
|
risk?: LevelFour.FacetCount[] | undefined;
|
|
9
|
-
/** current for a workload still in the cluster, removed for one that left it during the window */
|
|
9
|
+
/** current for a workload still in the cluster, and for one whose list went unreported (unreported_since), removed for one that left it during the window */
|
|
10
10
|
state?: LevelFour.FacetCount[] | undefined;
|
|
11
11
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* A published recommendation that stops a workload's risk and adds to the bill instead of saving.
|
|
4
|
+
*/
|
|
5
|
+
export interface WorkloadFix {
|
|
6
|
+
/** Opens the recommendation's drawer to approve it */
|
|
7
|
+
recommendation_id: string;
|
|
8
|
+
/** oom_kills, missing_requests, cpu_throttling or container_rightsizing */
|
|
9
|
+
detector: string;
|
|
10
|
+
container: string;
|
|
11
|
+
/** Only the resources it moves */
|
|
12
|
+
changes: LevelFour.FixChange[];
|
|
13
|
+
/** What it adds to the bill a month, 0 or more */
|
|
14
|
+
added_monthly_cost: number | null;
|
|
15
|
+
/** The same after discounts and commitments */
|
|
16
|
+
added_monthly_cost_net: number | null;
|
|
17
|
+
/** Who sizes the container; null for its own manifest */
|
|
18
|
+
sized_by?: (LevelFour.FixSizedBy | null) | undefined;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* A published recommendation that stops a workload's risk and adds to the bill instead of saving.
|
|
4
|
+
*/
|
|
5
|
+
export interface WorkloadFix {
|
|
6
|
+
/** Opens the recommendation's drawer to approve it */
|
|
7
|
+
recommendation_id: string;
|
|
8
|
+
/** oom_kills, missing_requests, cpu_throttling or container_rightsizing */
|
|
9
|
+
detector: string;
|
|
10
|
+
container: string;
|
|
11
|
+
/** Only the resources it moves */
|
|
12
|
+
changes: LevelFour.FixChange[];
|
|
13
|
+
/** What it adds to the bill a month, 0 or more */
|
|
14
|
+
added_monthly_cost: number | null;
|
|
15
|
+
/** The same after discounts and commitments */
|
|
16
|
+
added_monthly_cost_net: number | null;
|
|
17
|
+
/** Who sizes the container; null for its own manifest */
|
|
18
|
+
sized_by?: (LevelFour.FixSizedBy | null) | undefined;
|
|
19
|
+
}
|
|
@@ -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 WorkloadFix_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(WorkloadFix_exports);
|
|
17
|
+
//# sourceMappingURL=WorkloadFix.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=WorkloadFix.mjs.map
|
|
@@ -3,9 +3,11 @@ export interface WorkloadItem {
|
|
|
3
3
|
namespace: string;
|
|
4
4
|
kind: string;
|
|
5
5
|
name: string;
|
|
6
|
-
/** No longer in the cluster
|
|
6
|
+
/** 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
7
|
removed?: boolean | undefined;
|
|
8
|
-
/**
|
|
8
|
+
/** 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 */
|
|
9
|
+
unreported_since?: (string | null) | undefined;
|
|
10
|
+
/** A pull-request or branch environment, which lives a few days: a label channel, or one ending in /channel, naming a pull request (pr-<number>) or a branch rather than a channel that lasts (main, master, prod, staging and the like, also as refs-heads-<name>). The counts of workloads at risk leave it out unless the request passes include_ephemeral */
|
|
9
11
|
ephemeral?: boolean | undefined;
|
|
10
12
|
replicas: number;
|
|
11
13
|
ready_replicas: number;
|
|
@@ -81,6 +83,12 @@ export interface WorkloadItem {
|
|
|
81
83
|
/** The label_columns asked for, null where the row has no such label */
|
|
82
84
|
label_values: Record<string, string | null>;
|
|
83
85
|
recommendations: WorkloadItem.Recommendations;
|
|
86
|
+
/** Why it has no published recommendation, the first that applies (levelfour-api#2201): published, one is on the savings list; namespace_system, a system namespace, never recommended; sized_by_other, another tool sizes its containers and would undo a recommendation (sized_by says which); in_review, the worker raised a candidate no operator published yet; namespace_off_by_label, the cluster's levelfour.ai/recommendations=disabled label on its namespace; namespace_off, its namespace's recommendations are off; workload_off, the label on the workload itself; learning, the worker has less than 7 days of its usage in the last 15 (learning_days_left); usage_above_request, every container's p95 over the window passes each request it has, so a cut is not the move; held, the rightsizing target holds it back (recommendation_held_reason); nothing_to_change, no request it holds is over-provisioned; none, none of these is known */
|
|
87
|
+
recommendation_state?: (WorkloadItem.RecommendationState | null) | undefined;
|
|
88
|
+
/** The whole days of usage the worker still needs, when recommendation_state is learning */
|
|
89
|
+
learning_days_left?: (number | null) | undefined;
|
|
90
|
+
/** Why the rightsizing target holds it back, when recommendation_state is held: hpa_target, an HPA scales on the resource; vpa_managed, a VPA sets it; jvm_gc_threshold, the JVM's heap needs it; below_min_waste, the waste is under the automation's minimum */
|
|
91
|
+
recommendation_held_reason?: (WorkloadItem.RecommendationHeldReason | null) | undefined;
|
|
84
92
|
/** serving.knative.dev/v1 for a KNative Service; otherwise the kind's built-in group */
|
|
85
93
|
api_version?: (string | null) | undefined;
|
|
86
94
|
/** A KNative Service's current revisions; null otherwise */
|
|
@@ -122,6 +130,28 @@ export declare namespace WorkloadItem {
|
|
|
122
130
|
readonly System: "system";
|
|
123
131
|
};
|
|
124
132
|
type Recommendations = (typeof Recommendations)[keyof typeof Recommendations];
|
|
133
|
+
const RecommendationState: {
|
|
134
|
+
readonly Published: "published";
|
|
135
|
+
readonly NamespaceSystem: "namespace_system";
|
|
136
|
+
readonly SizedByOther: "sized_by_other";
|
|
137
|
+
readonly InReview: "in_review";
|
|
138
|
+
readonly NamespaceOffByLabel: "namespace_off_by_label";
|
|
139
|
+
readonly NamespaceOff: "namespace_off";
|
|
140
|
+
readonly WorkloadOff: "workload_off";
|
|
141
|
+
readonly Learning: "learning";
|
|
142
|
+
readonly UsageAboveRequest: "usage_above_request";
|
|
143
|
+
readonly Held: "held";
|
|
144
|
+
readonly NothingToChange: "nothing_to_change";
|
|
145
|
+
readonly None: "none";
|
|
146
|
+
};
|
|
147
|
+
type RecommendationState = (typeof RecommendationState)[keyof typeof RecommendationState];
|
|
148
|
+
const RecommendationHeldReason: {
|
|
149
|
+
readonly HpaTarget: "hpa_target";
|
|
150
|
+
readonly VpaManaged: "vpa_managed";
|
|
151
|
+
readonly JvmGcThreshold: "jvm_gc_threshold";
|
|
152
|
+
readonly BelowMinWaste: "below_min_waste";
|
|
153
|
+
};
|
|
154
|
+
type RecommendationHeldReason = (typeof RecommendationHeldReason)[keyof typeof RecommendationHeldReason];
|
|
125
155
|
type SizedBy = SizedBy.Item[];
|
|
126
156
|
namespace SizedBy {
|
|
127
157
|
const Item: {
|
|
@@ -3,9 +3,11 @@ export interface WorkloadItem {
|
|
|
3
3
|
namespace: string;
|
|
4
4
|
kind: string;
|
|
5
5
|
name: string;
|
|
6
|
-
/** No longer in the cluster
|
|
6
|
+
/** 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
7
|
removed?: boolean | undefined;
|
|
8
|
-
/**
|
|
8
|
+
/** 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 */
|
|
9
|
+
unreported_since?: (string | null) | undefined;
|
|
10
|
+
/** A pull-request or branch environment, which lives a few days: a label channel, or one ending in /channel, naming a pull request (pr-<number>) or a branch rather than a channel that lasts (main, master, prod, staging and the like, also as refs-heads-<name>). The counts of workloads at risk leave it out unless the request passes include_ephemeral */
|
|
9
11
|
ephemeral?: boolean | undefined;
|
|
10
12
|
replicas: number;
|
|
11
13
|
ready_replicas: number;
|
|
@@ -81,6 +83,12 @@ export interface WorkloadItem {
|
|
|
81
83
|
/** The label_columns asked for, null where the row has no such label */
|
|
82
84
|
label_values: Record<string, string | null>;
|
|
83
85
|
recommendations: WorkloadItem.Recommendations;
|
|
86
|
+
/** Why it has no published recommendation, the first that applies (levelfour-api#2201): published, one is on the savings list; namespace_system, a system namespace, never recommended; sized_by_other, another tool sizes its containers and would undo a recommendation (sized_by says which); in_review, the worker raised a candidate no operator published yet; namespace_off_by_label, the cluster's levelfour.ai/recommendations=disabled label on its namespace; namespace_off, its namespace's recommendations are off; workload_off, the label on the workload itself; learning, the worker has less than 7 days of its usage in the last 15 (learning_days_left); usage_above_request, every container's p95 over the window passes each request it has, so a cut is not the move; held, the rightsizing target holds it back (recommendation_held_reason); nothing_to_change, no request it holds is over-provisioned; none, none of these is known */
|
|
87
|
+
recommendation_state?: (WorkloadItem.RecommendationState | null) | undefined;
|
|
88
|
+
/** The whole days of usage the worker still needs, when recommendation_state is learning */
|
|
89
|
+
learning_days_left?: (number | null) | undefined;
|
|
90
|
+
/** Why the rightsizing target holds it back, when recommendation_state is held: hpa_target, an HPA scales on the resource; vpa_managed, a VPA sets it; jvm_gc_threshold, the JVM's heap needs it; below_min_waste, the waste is under the automation's minimum */
|
|
91
|
+
recommendation_held_reason?: (WorkloadItem.RecommendationHeldReason | null) | undefined;
|
|
84
92
|
/** serving.knative.dev/v1 for a KNative Service; otherwise the kind's built-in group */
|
|
85
93
|
api_version?: (string | null) | undefined;
|
|
86
94
|
/** A KNative Service's current revisions; null otherwise */
|
|
@@ -122,6 +130,28 @@ export declare namespace WorkloadItem {
|
|
|
122
130
|
readonly System: "system";
|
|
123
131
|
};
|
|
124
132
|
type Recommendations = (typeof Recommendations)[keyof typeof Recommendations];
|
|
133
|
+
const RecommendationState: {
|
|
134
|
+
readonly Published: "published";
|
|
135
|
+
readonly NamespaceSystem: "namespace_system";
|
|
136
|
+
readonly SizedByOther: "sized_by_other";
|
|
137
|
+
readonly InReview: "in_review";
|
|
138
|
+
readonly NamespaceOffByLabel: "namespace_off_by_label";
|
|
139
|
+
readonly NamespaceOff: "namespace_off";
|
|
140
|
+
readonly WorkloadOff: "workload_off";
|
|
141
|
+
readonly Learning: "learning";
|
|
142
|
+
readonly UsageAboveRequest: "usage_above_request";
|
|
143
|
+
readonly Held: "held";
|
|
144
|
+
readonly NothingToChange: "nothing_to_change";
|
|
145
|
+
readonly None: "none";
|
|
146
|
+
};
|
|
147
|
+
type RecommendationState = (typeof RecommendationState)[keyof typeof RecommendationState];
|
|
148
|
+
const RecommendationHeldReason: {
|
|
149
|
+
readonly HpaTarget: "hpa_target";
|
|
150
|
+
readonly VpaManaged: "vpa_managed";
|
|
151
|
+
readonly JvmGcThreshold: "jvm_gc_threshold";
|
|
152
|
+
readonly BelowMinWaste: "below_min_waste";
|
|
153
|
+
};
|
|
154
|
+
type RecommendationHeldReason = (typeof RecommendationHeldReason)[keyof typeof RecommendationHeldReason];
|
|
125
155
|
type SizedBy = SizedBy.Item[];
|
|
126
156
|
namespace SizedBy {
|
|
127
157
|
const Item: {
|
|
@@ -46,6 +46,26 @@ var WorkloadItem;
|
|
|
46
46
|
Disabled: "disabled",
|
|
47
47
|
System: "system"
|
|
48
48
|
};
|
|
49
|
+
WorkloadItem2.RecommendationState = {
|
|
50
|
+
Published: "published",
|
|
51
|
+
NamespaceSystem: "namespace_system",
|
|
52
|
+
SizedByOther: "sized_by_other",
|
|
53
|
+
InReview: "in_review",
|
|
54
|
+
NamespaceOffByLabel: "namespace_off_by_label",
|
|
55
|
+
NamespaceOff: "namespace_off",
|
|
56
|
+
WorkloadOff: "workload_off",
|
|
57
|
+
Learning: "learning",
|
|
58
|
+
UsageAboveRequest: "usage_above_request",
|
|
59
|
+
Held: "held",
|
|
60
|
+
NothingToChange: "nothing_to_change",
|
|
61
|
+
None: "none"
|
|
62
|
+
};
|
|
63
|
+
WorkloadItem2.RecommendationHeldReason = {
|
|
64
|
+
HpaTarget: "hpa_target",
|
|
65
|
+
VpaManaged: "vpa_managed",
|
|
66
|
+
JvmGcThreshold: "jvm_gc_threshold",
|
|
67
|
+
BelowMinWaste: "below_min_waste"
|
|
68
|
+
};
|
|
49
69
|
let SizedBy;
|
|
50
70
|
((SizedBy2) => {
|
|
51
71
|
SizedBy2.Item = {
|
|
@@ -23,6 +23,26 @@ var WorkloadItem;
|
|
|
23
23
|
Disabled: "disabled",
|
|
24
24
|
System: "system"
|
|
25
25
|
};
|
|
26
|
+
WorkloadItem2.RecommendationState = {
|
|
27
|
+
Published: "published",
|
|
28
|
+
NamespaceSystem: "namespace_system",
|
|
29
|
+
SizedByOther: "sized_by_other",
|
|
30
|
+
InReview: "in_review",
|
|
31
|
+
NamespaceOffByLabel: "namespace_off_by_label",
|
|
32
|
+
NamespaceOff: "namespace_off",
|
|
33
|
+
WorkloadOff: "workload_off",
|
|
34
|
+
Learning: "learning",
|
|
35
|
+
UsageAboveRequest: "usage_above_request",
|
|
36
|
+
Held: "held",
|
|
37
|
+
NothingToChange: "nothing_to_change",
|
|
38
|
+
None: "none"
|
|
39
|
+
};
|
|
40
|
+
WorkloadItem2.RecommendationHeldReason = {
|
|
41
|
+
HpaTarget: "hpa_target",
|
|
42
|
+
VpaManaged: "vpa_managed",
|
|
43
|
+
JvmGcThreshold: "jvm_gc_threshold",
|
|
44
|
+
BelowMinWaste: "below_min_waste"
|
|
45
|
+
};
|
|
26
46
|
let SizedBy;
|
|
27
47
|
((SizedBy2) => {
|
|
28
48
|
SizedBy2.Item = {
|
|
@@ -3,9 +3,11 @@ export interface WorkloadListItem {
|
|
|
3
3
|
namespace: string;
|
|
4
4
|
kind: string;
|
|
5
5
|
name: string;
|
|
6
|
-
/** No longer in the cluster
|
|
6
|
+
/** 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
7
|
removed?: boolean | undefined;
|
|
8
|
-
/**
|
|
8
|
+
/** 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 */
|
|
9
|
+
unreported_since?: (string | null) | undefined;
|
|
10
|
+
/** A pull-request or branch environment, which lives a few days: a label channel, or one ending in /channel, naming a pull request (pr-<number>) or a branch rather than a channel that lasts (main, master, prod, staging and the like, also as refs-heads-<name>). The counts of workloads at risk leave it out unless the request passes include_ephemeral */
|
|
9
11
|
ephemeral?: boolean | undefined;
|
|
10
12
|
replicas: number;
|
|
11
13
|
ready_replicas: number;
|
|
@@ -81,6 +83,12 @@ export interface WorkloadListItem {
|
|
|
81
83
|
/** The label_columns asked for, null where the row has no such label */
|
|
82
84
|
label_values: Record<string, string | null>;
|
|
83
85
|
recommendations: WorkloadListItem.Recommendations;
|
|
86
|
+
/** Why it has no published recommendation, the first that applies (levelfour-api#2201): published, one is on the savings list; namespace_system, a system namespace, never recommended; sized_by_other, another tool sizes its containers and would undo a recommendation (sized_by says which); in_review, the worker raised a candidate no operator published yet; namespace_off_by_label, the cluster's levelfour.ai/recommendations=disabled label on its namespace; namespace_off, its namespace's recommendations are off; workload_off, the label on the workload itself; learning, the worker has less than 7 days of its usage in the last 15 (learning_days_left); usage_above_request, every container's p95 over the window passes each request it has, so a cut is not the move; held, the rightsizing target holds it back (recommendation_held_reason); nothing_to_change, no request it holds is over-provisioned; none, none of these is known */
|
|
87
|
+
recommendation_state?: (WorkloadListItem.RecommendationState | null) | undefined;
|
|
88
|
+
/** The whole days of usage the worker still needs, when recommendation_state is learning */
|
|
89
|
+
learning_days_left?: (number | null) | undefined;
|
|
90
|
+
/** Why the rightsizing target holds it back, when recommendation_state is held: hpa_target, an HPA scales on the resource; vpa_managed, a VPA sets it; jvm_gc_threshold, the JVM's heap needs it; below_min_waste, the waste is under the automation's minimum */
|
|
91
|
+
recommendation_held_reason?: (WorkloadListItem.RecommendationHeldReason | null) | undefined;
|
|
84
92
|
/** serving.knative.dev/v1 for a KNative Service; otherwise the kind's built-in group */
|
|
85
93
|
api_version?: (string | null) | undefined;
|
|
86
94
|
/** A KNative Service's current revisions; null otherwise */
|
|
@@ -124,6 +132,28 @@ export declare namespace WorkloadListItem {
|
|
|
124
132
|
readonly System: "system";
|
|
125
133
|
};
|
|
126
134
|
type Recommendations = (typeof Recommendations)[keyof typeof Recommendations];
|
|
135
|
+
const RecommendationState: {
|
|
136
|
+
readonly Published: "published";
|
|
137
|
+
readonly NamespaceSystem: "namespace_system";
|
|
138
|
+
readonly SizedByOther: "sized_by_other";
|
|
139
|
+
readonly InReview: "in_review";
|
|
140
|
+
readonly NamespaceOffByLabel: "namespace_off_by_label";
|
|
141
|
+
readonly NamespaceOff: "namespace_off";
|
|
142
|
+
readonly WorkloadOff: "workload_off";
|
|
143
|
+
readonly Learning: "learning";
|
|
144
|
+
readonly UsageAboveRequest: "usage_above_request";
|
|
145
|
+
readonly Held: "held";
|
|
146
|
+
readonly NothingToChange: "nothing_to_change";
|
|
147
|
+
readonly None: "none";
|
|
148
|
+
};
|
|
149
|
+
type RecommendationState = (typeof RecommendationState)[keyof typeof RecommendationState];
|
|
150
|
+
const RecommendationHeldReason: {
|
|
151
|
+
readonly HpaTarget: "hpa_target";
|
|
152
|
+
readonly VpaManaged: "vpa_managed";
|
|
153
|
+
readonly JvmGcThreshold: "jvm_gc_threshold";
|
|
154
|
+
readonly BelowMinWaste: "below_min_waste";
|
|
155
|
+
};
|
|
156
|
+
type RecommendationHeldReason = (typeof RecommendationHeldReason)[keyof typeof RecommendationHeldReason];
|
|
127
157
|
type SizedBy = SizedBy.Item[];
|
|
128
158
|
namespace SizedBy {
|
|
129
159
|
const Item: {
|
|
@@ -3,9 +3,11 @@ export interface WorkloadListItem {
|
|
|
3
3
|
namespace: string;
|
|
4
4
|
kind: string;
|
|
5
5
|
name: string;
|
|
6
|
-
/** No longer in the cluster
|
|
6
|
+
/** 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
7
|
removed?: boolean | undefined;
|
|
8
|
-
/**
|
|
8
|
+
/** 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 */
|
|
9
|
+
unreported_since?: (string | null) | undefined;
|
|
10
|
+
/** A pull-request or branch environment, which lives a few days: a label channel, or one ending in /channel, naming a pull request (pr-<number>) or a branch rather than a channel that lasts (main, master, prod, staging and the like, also as refs-heads-<name>). The counts of workloads at risk leave it out unless the request passes include_ephemeral */
|
|
9
11
|
ephemeral?: boolean | undefined;
|
|
10
12
|
replicas: number;
|
|
11
13
|
ready_replicas: number;
|
|
@@ -81,6 +83,12 @@ export interface WorkloadListItem {
|
|
|
81
83
|
/** The label_columns asked for, null where the row has no such label */
|
|
82
84
|
label_values: Record<string, string | null>;
|
|
83
85
|
recommendations: WorkloadListItem.Recommendations;
|
|
86
|
+
/** Why it has no published recommendation, the first that applies (levelfour-api#2201): published, one is on the savings list; namespace_system, a system namespace, never recommended; sized_by_other, another tool sizes its containers and would undo a recommendation (sized_by says which); in_review, the worker raised a candidate no operator published yet; namespace_off_by_label, the cluster's levelfour.ai/recommendations=disabled label on its namespace; namespace_off, its namespace's recommendations are off; workload_off, the label on the workload itself; learning, the worker has less than 7 days of its usage in the last 15 (learning_days_left); usage_above_request, every container's p95 over the window passes each request it has, so a cut is not the move; held, the rightsizing target holds it back (recommendation_held_reason); nothing_to_change, no request it holds is over-provisioned; none, none of these is known */
|
|
87
|
+
recommendation_state?: (WorkloadListItem.RecommendationState | null) | undefined;
|
|
88
|
+
/** The whole days of usage the worker still needs, when recommendation_state is learning */
|
|
89
|
+
learning_days_left?: (number | null) | undefined;
|
|
90
|
+
/** Why the rightsizing target holds it back, when recommendation_state is held: hpa_target, an HPA scales on the resource; vpa_managed, a VPA sets it; jvm_gc_threshold, the JVM's heap needs it; below_min_waste, the waste is under the automation's minimum */
|
|
91
|
+
recommendation_held_reason?: (WorkloadListItem.RecommendationHeldReason | null) | undefined;
|
|
84
92
|
/** serving.knative.dev/v1 for a KNative Service; otherwise the kind's built-in group */
|
|
85
93
|
api_version?: (string | null) | undefined;
|
|
86
94
|
/** A KNative Service's current revisions; null otherwise */
|
|
@@ -124,6 +132,28 @@ export declare namespace WorkloadListItem {
|
|
|
124
132
|
readonly System: "system";
|
|
125
133
|
};
|
|
126
134
|
type Recommendations = (typeof Recommendations)[keyof typeof Recommendations];
|
|
135
|
+
const RecommendationState: {
|
|
136
|
+
readonly Published: "published";
|
|
137
|
+
readonly NamespaceSystem: "namespace_system";
|
|
138
|
+
readonly SizedByOther: "sized_by_other";
|
|
139
|
+
readonly InReview: "in_review";
|
|
140
|
+
readonly NamespaceOffByLabel: "namespace_off_by_label";
|
|
141
|
+
readonly NamespaceOff: "namespace_off";
|
|
142
|
+
readonly WorkloadOff: "workload_off";
|
|
143
|
+
readonly Learning: "learning";
|
|
144
|
+
readonly UsageAboveRequest: "usage_above_request";
|
|
145
|
+
readonly Held: "held";
|
|
146
|
+
readonly NothingToChange: "nothing_to_change";
|
|
147
|
+
readonly None: "none";
|
|
148
|
+
};
|
|
149
|
+
type RecommendationState = (typeof RecommendationState)[keyof typeof RecommendationState];
|
|
150
|
+
const RecommendationHeldReason: {
|
|
151
|
+
readonly HpaTarget: "hpa_target";
|
|
152
|
+
readonly VpaManaged: "vpa_managed";
|
|
153
|
+
readonly JvmGcThreshold: "jvm_gc_threshold";
|
|
154
|
+
readonly BelowMinWaste: "below_min_waste";
|
|
155
|
+
};
|
|
156
|
+
type RecommendationHeldReason = (typeof RecommendationHeldReason)[keyof typeof RecommendationHeldReason];
|
|
127
157
|
type SizedBy = SizedBy.Item[];
|
|
128
158
|
namespace SizedBy {
|
|
129
159
|
const Item: {
|