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
|
@@ -1583,12 +1583,15 @@ class RecommendationsClient {
|
|
|
1583
1583
|
environment,
|
|
1584
1584
|
account,
|
|
1585
1585
|
tag,
|
|
1586
|
+
cluster_id: clusterId,
|
|
1586
1587
|
service_not: serviceNot,
|
|
1587
1588
|
environment_not: environmentNot,
|
|
1588
1589
|
account_not: accountNot,
|
|
1589
1590
|
tag_not: tagNot,
|
|
1590
1591
|
resource_type: resourceType,
|
|
1591
1592
|
resource_type_not: resourceTypeNot,
|
|
1593
|
+
target_kind: targetKind,
|
|
1594
|
+
target_kind_not: targetKindNot,
|
|
1592
1595
|
display_status: displayStatus,
|
|
1593
1596
|
search,
|
|
1594
1597
|
savings,
|
|
@@ -1609,12 +1612,15 @@ class RecommendationsClient {
|
|
|
1609
1612
|
environment: environment !== void 0 ? (0, import_json.toJson)(environment) : void 0,
|
|
1610
1613
|
account: account !== void 0 ? (0, import_json.toJson)(account) : void 0,
|
|
1611
1614
|
tag: tag !== void 0 ? (0, import_json.toJson)(tag) : void 0,
|
|
1615
|
+
cluster_id: clusterId !== void 0 ? (0, import_json.toJson)(clusterId) : void 0,
|
|
1612
1616
|
service_not: serviceNot !== void 0 ? (0, import_json.toJson)(serviceNot) : void 0,
|
|
1613
1617
|
environment_not: environmentNot !== void 0 ? (0, import_json.toJson)(environmentNot) : void 0,
|
|
1614
1618
|
account_not: accountNot !== void 0 ? (0, import_json.toJson)(accountNot) : void 0,
|
|
1615
1619
|
tag_not: tagNot !== void 0 ? (0, import_json.toJson)(tagNot) : void 0,
|
|
1616
1620
|
resource_type: resourceType !== void 0 ? (0, import_json.toJson)(resourceType) : void 0,
|
|
1617
1621
|
resource_type_not: resourceTypeNot !== void 0 ? (0, import_json.toJson)(resourceTypeNot) : void 0,
|
|
1622
|
+
target_kind: targetKind !== void 0 ? (0, import_json.toJson)(targetKind) : void 0,
|
|
1623
|
+
target_kind_not: targetKindNot !== void 0 ? (0, import_json.toJson)(targetKindNot) : void 0,
|
|
1618
1624
|
display_status: displayStatus !== void 0 ? (0, import_json.toJson)(displayStatus) : void 0,
|
|
1619
1625
|
search,
|
|
1620
1626
|
savings: savings !== void 0 ? (0, import_json.toJson)(savings) : void 0,
|
|
@@ -1745,7 +1751,19 @@ class RecommendationsClient {
|
|
|
1745
1751
|
return core.HttpResponsePromise.fromPromise(this.__getProviderOverview(request, requestOptions));
|
|
1746
1752
|
}
|
|
1747
1753
|
async __getProviderOverview(request, requestOptions) {
|
|
1748
|
-
const {
|
|
1754
|
+
const {
|
|
1755
|
+
provider_id: providerId,
|
|
1756
|
+
service,
|
|
1757
|
+
cluster_id: clusterId,
|
|
1758
|
+
target_kind: targetKind,
|
|
1759
|
+
target_kind_not: targetKindNot
|
|
1760
|
+
} = request;
|
|
1761
|
+
const _queryParams = {
|
|
1762
|
+
service: service !== void 0 ? (0, import_json.toJson)(service) : void 0,
|
|
1763
|
+
cluster_id: clusterId !== void 0 ? (0, import_json.toJson)(clusterId) : void 0,
|
|
1764
|
+
target_kind: targetKind !== void 0 ? (0, import_json.toJson)(targetKind) : void 0,
|
|
1765
|
+
target_kind_not: targetKindNot !== void 0 ? (0, import_json.toJson)(targetKindNot) : void 0
|
|
1766
|
+
};
|
|
1749
1767
|
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1750
1768
|
const _headers = (0, import_headers.mergeHeaders)(
|
|
1751
1769
|
_authRequest.headers,
|
|
@@ -1759,7 +1777,7 @@ class RecommendationsClient {
|
|
|
1759
1777
|
),
|
|
1760
1778
|
method: "GET",
|
|
1761
1779
|
headers: _headers,
|
|
1762
|
-
queryParameters: requestOptions?.queryParams,
|
|
1780
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
1763
1781
|
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
|
|
1764
1782
|
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1765
1783
|
abortSignal: requestOptions?.abortSignal,
|
|
@@ -1550,12 +1550,15 @@ class RecommendationsClient {
|
|
|
1550
1550
|
environment,
|
|
1551
1551
|
account,
|
|
1552
1552
|
tag,
|
|
1553
|
+
cluster_id: clusterId,
|
|
1553
1554
|
service_not: serviceNot,
|
|
1554
1555
|
environment_not: environmentNot,
|
|
1555
1556
|
account_not: accountNot,
|
|
1556
1557
|
tag_not: tagNot,
|
|
1557
1558
|
resource_type: resourceType,
|
|
1558
1559
|
resource_type_not: resourceTypeNot,
|
|
1560
|
+
target_kind: targetKind,
|
|
1561
|
+
target_kind_not: targetKindNot,
|
|
1559
1562
|
display_status: displayStatus,
|
|
1560
1563
|
search,
|
|
1561
1564
|
savings,
|
|
@@ -1576,12 +1579,15 @@ class RecommendationsClient {
|
|
|
1576
1579
|
environment: environment !== void 0 ? toJson(environment) : void 0,
|
|
1577
1580
|
account: account !== void 0 ? toJson(account) : void 0,
|
|
1578
1581
|
tag: tag !== void 0 ? toJson(tag) : void 0,
|
|
1582
|
+
cluster_id: clusterId !== void 0 ? toJson(clusterId) : void 0,
|
|
1579
1583
|
service_not: serviceNot !== void 0 ? toJson(serviceNot) : void 0,
|
|
1580
1584
|
environment_not: environmentNot !== void 0 ? toJson(environmentNot) : void 0,
|
|
1581
1585
|
account_not: accountNot !== void 0 ? toJson(accountNot) : void 0,
|
|
1582
1586
|
tag_not: tagNot !== void 0 ? toJson(tagNot) : void 0,
|
|
1583
1587
|
resource_type: resourceType !== void 0 ? toJson(resourceType) : void 0,
|
|
1584
1588
|
resource_type_not: resourceTypeNot !== void 0 ? toJson(resourceTypeNot) : void 0,
|
|
1589
|
+
target_kind: targetKind !== void 0 ? toJson(targetKind) : void 0,
|
|
1590
|
+
target_kind_not: targetKindNot !== void 0 ? toJson(targetKindNot) : void 0,
|
|
1585
1591
|
display_status: displayStatus !== void 0 ? toJson(displayStatus) : void 0,
|
|
1586
1592
|
search,
|
|
1587
1593
|
savings: savings !== void 0 ? toJson(savings) : void 0,
|
|
@@ -1712,7 +1718,19 @@ class RecommendationsClient {
|
|
|
1712
1718
|
return core.HttpResponsePromise.fromPromise(this.__getProviderOverview(request, requestOptions));
|
|
1713
1719
|
}
|
|
1714
1720
|
async __getProviderOverview(request, requestOptions) {
|
|
1715
|
-
const {
|
|
1721
|
+
const {
|
|
1722
|
+
provider_id: providerId,
|
|
1723
|
+
service,
|
|
1724
|
+
cluster_id: clusterId,
|
|
1725
|
+
target_kind: targetKind,
|
|
1726
|
+
target_kind_not: targetKindNot
|
|
1727
|
+
} = request;
|
|
1728
|
+
const _queryParams = {
|
|
1729
|
+
service: service !== void 0 ? toJson(service) : void 0,
|
|
1730
|
+
cluster_id: clusterId !== void 0 ? toJson(clusterId) : void 0,
|
|
1731
|
+
target_kind: targetKind !== void 0 ? toJson(targetKind) : void 0,
|
|
1732
|
+
target_kind_not: targetKindNot !== void 0 ? toJson(targetKindNot) : void 0
|
|
1733
|
+
};
|
|
1716
1734
|
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1717
1735
|
const _headers = mergeHeaders(
|
|
1718
1736
|
_authRequest.headers,
|
|
@@ -1726,7 +1744,7 @@ class RecommendationsClient {
|
|
|
1726
1744
|
),
|
|
1727
1745
|
method: "GET",
|
|
1728
1746
|
headers: _headers,
|
|
1729
|
-
queryParameters: requestOptions?.queryParams,
|
|
1747
|
+
queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
|
|
1730
1748
|
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1e3,
|
|
1731
1749
|
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1732
1750
|
abortSignal: requestOptions?.abortSignal,
|
|
@@ -6,4 +6,12 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export interface GetProviderOverviewRecommendationsRequest {
|
|
8
8
|
provider_id: string;
|
|
9
|
+
/** Keep the savings of these services (e.g. Kubernetes). total_spend and the saved history stay the provider's */
|
|
10
|
+
service?: string[] | null;
|
|
11
|
+
/** Keep the Kubernetes savings of these clusters, by k8s cluster id - can be repeated */
|
|
12
|
+
cluster_id?: string[] | null;
|
|
13
|
+
/** Keep the Kubernetes savings that change one of these: container (a container's requests or limits), workload, NodePool, NodeGroup or PersistentVolumeClaim. A row that names a container counts as container - can be repeated */
|
|
14
|
+
target_kind?: string[] | null;
|
|
15
|
+
/** Leave out the savings that change one of these, as target_kind names them; any row that is not a Kubernetes saving counts as workload. target_kind_not=container keeps the Kubernetes Optimizations' other savings - can be repeated */
|
|
16
|
+
target_kind_not?: string[] | null;
|
|
9
17
|
}
|
|
@@ -6,4 +6,12 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export interface GetProviderOverviewRecommendationsRequest {
|
|
8
8
|
provider_id: string;
|
|
9
|
+
/** Keep the savings of these services (e.g. Kubernetes). total_spend and the saved history stay the provider's */
|
|
10
|
+
service?: string[] | null;
|
|
11
|
+
/** Keep the Kubernetes savings of these clusters, by k8s cluster id - can be repeated */
|
|
12
|
+
cluster_id?: string[] | null;
|
|
13
|
+
/** Keep the Kubernetes savings that change one of these: container (a container's requests or limits), workload, NodePool, NodeGroup or PersistentVolumeClaim. A row that names a container counts as container - can be repeated */
|
|
14
|
+
target_kind?: string[] | null;
|
|
15
|
+
/** Leave out the savings that change one of these, as target_kind names them; any row that is not a Kubernetes saving counts as workload. target_kind_not=container keeps the Kubernetes Optimizations' other savings - can be repeated */
|
|
16
|
+
target_kind_not?: string[] | null;
|
|
9
17
|
}
|
|
@@ -27,6 +27,8 @@ export interface ListByProviderRecommendationsRequest {
|
|
|
27
27
|
account?: string[] | null;
|
|
28
28
|
/** Filter by tag(s) - can be repeated for multiple values */
|
|
29
29
|
tag?: string[] | null;
|
|
30
|
+
/** Keep the Kubernetes savings of these clusters, by k8s cluster id - can be repeated */
|
|
31
|
+
cluster_id?: string[] | null;
|
|
30
32
|
/** Exclude service(s) - can be repeated for multiple values */
|
|
31
33
|
service_not?: string[] | null;
|
|
32
34
|
/** Exclude environment(s) - can be repeated for multiple values */
|
|
@@ -39,6 +41,10 @@ export interface ListByProviderRecommendationsRequest {
|
|
|
39
41
|
resource_type?: string[] | null;
|
|
40
42
|
/** Exclude resource type(s) - can be repeated for multiple values */
|
|
41
43
|
resource_type_not?: string[] | null;
|
|
44
|
+
/** Keep the Kubernetes savings that change one of these: container (a container's requests or limits), workload, NodePool, NodeGroup or PersistentVolumeClaim. A row that names a container counts as container - can be repeated */
|
|
45
|
+
target_kind?: string[] | null;
|
|
46
|
+
/** Leave out the savings that change one of these, as target_kind names them; any row that is not a Kubernetes saving counts as workload. target_kind_not=container keeps the Kubernetes Optimizations' other savings - can be repeated */
|
|
47
|
+
target_kind_not?: string[] | null;
|
|
42
48
|
/** Filter by display status(es): available, pending, awaiting_approval, processing, optimized (alias: saved), in_progress, failed, rejected, unavailable */
|
|
43
49
|
display_status?: string[] | null;
|
|
44
50
|
/** Search across recommendation fields (case-insensitive) */
|
package/dist/api/resources/recommendations/client/requests/ListByProviderRecommendationsRequest.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ export interface ListByProviderRecommendationsRequest {
|
|
|
27
27
|
account?: string[] | null;
|
|
28
28
|
/** Filter by tag(s) - can be repeated for multiple values */
|
|
29
29
|
tag?: string[] | null;
|
|
30
|
+
/** Keep the Kubernetes savings of these clusters, by k8s cluster id - can be repeated */
|
|
31
|
+
cluster_id?: string[] | null;
|
|
30
32
|
/** Exclude service(s) - can be repeated for multiple values */
|
|
31
33
|
service_not?: string[] | null;
|
|
32
34
|
/** Exclude environment(s) - can be repeated for multiple values */
|
|
@@ -39,6 +41,10 @@ export interface ListByProviderRecommendationsRequest {
|
|
|
39
41
|
resource_type?: string[] | null;
|
|
40
42
|
/** Exclude resource type(s) - can be repeated for multiple values */
|
|
41
43
|
resource_type_not?: string[] | null;
|
|
44
|
+
/** Keep the Kubernetes savings that change one of these: container (a container's requests or limits), workload, NodePool, NodeGroup or PersistentVolumeClaim. A row that names a container counts as container - can be repeated */
|
|
45
|
+
target_kind?: string[] | null;
|
|
46
|
+
/** Leave out the savings that change one of these, as target_kind names them; any row that is not a Kubernetes saving counts as workload. target_kind_not=container keeps the Kubernetes Optimizations' other savings - can be repeated */
|
|
47
|
+
target_kind_not?: string[] | null;
|
|
42
48
|
/** Filter by display status(es): available, pending, awaiting_approval, processing, optimized (alias: saved), in_progress, failed, rejected, unavailable */
|
|
43
49
|
display_status?: string[] | null;
|
|
44
50
|
/** Search across recommendation fields (case-insensitive) */
|
|
@@ -61,6 +61,7 @@ export declare namespace AutomationAction {
|
|
|
61
61
|
readonly StepTooLarge: "step_too_large";
|
|
62
62
|
readonly NotAnIncrease: "not_an_increase";
|
|
63
63
|
readonly VpaManaged: "vpa_managed";
|
|
64
|
+
readonly AutoModeManaged: "auto_mode_managed";
|
|
64
65
|
readonly StaleStep: "stale_step";
|
|
65
66
|
readonly ConcurrencyCap: "concurrency_cap";
|
|
66
67
|
readonly StepInterval: "step_interval";
|
|
@@ -61,6 +61,7 @@ export declare namespace AutomationAction {
|
|
|
61
61
|
readonly StepTooLarge: "step_too_large";
|
|
62
62
|
readonly NotAnIncrease: "not_an_increase";
|
|
63
63
|
readonly VpaManaged: "vpa_managed";
|
|
64
|
+
readonly AutoModeManaged: "auto_mode_managed";
|
|
64
65
|
readonly StaleStep: "stale_step";
|
|
65
66
|
readonly ConcurrencyCap: "concurrency_cap";
|
|
66
67
|
readonly StepInterval: "step_interval";
|
|
@@ -62,6 +62,7 @@ var AutomationAction;
|
|
|
62
62
|
StepTooLarge: "step_too_large",
|
|
63
63
|
NotAnIncrease: "not_an_increase",
|
|
64
64
|
VpaManaged: "vpa_managed",
|
|
65
|
+
AutoModeManaged: "auto_mode_managed",
|
|
65
66
|
StaleStep: "stale_step",
|
|
66
67
|
ConcurrencyCap: "concurrency_cap",
|
|
67
68
|
StepInterval: "step_interval",
|
|
@@ -39,6 +39,7 @@ var AutomationAction;
|
|
|
39
39
|
StepTooLarge: "step_too_large",
|
|
40
40
|
NotAnIncrease: "not_an_increase",
|
|
41
41
|
VpaManaged: "vpa_managed",
|
|
42
|
+
AutoModeManaged: "auto_mode_managed",
|
|
42
43
|
StaleStep: "stale_step",
|
|
43
44
|
ConcurrencyCap: "concurrency_cap",
|
|
44
45
|
StepInterval: "step_interval",
|
|
@@ -5,4 +5,14 @@ export interface AutoscalingData {
|
|
|
5
5
|
hpas: LevelFour.ReplicaScaler[];
|
|
6
6
|
scaled_objects: LevelFour.ReplicaScaler[];
|
|
7
7
|
vpas: LevelFour.VpaScaler[];
|
|
8
|
+
/** The PodDisruptionBudgets, each with its applier in its spec */
|
|
9
|
+
pdbs: LevelFour.NamedSpec[];
|
|
10
|
+
/** EKS Auto Mode's ClusterResourceOptimizationPolicies: spec.mode, profile, the workload counts, the Ready reason and the applier. Empty on a cluster without Auto Mode's rightsizing */
|
|
11
|
+
resource_optimization_policies: LevelFour.NamedSpec[];
|
|
12
|
+
/** The object EKS Auto Mode keeps for each workload it sizes: spec.target, mode (Apply resizes pods), profile, the policy that won it and the Ready reason (VPAConflict while a VPA not in Off mode targets it) */
|
|
13
|
+
resource_optimizations: LevelFour.NamedSpec[];
|
|
14
|
+
/** Each mutating and validating webhook, named <configuration>/<webhook>: its type, failure policy, the Service behind it or only that it calls a URL, and the resources and operations its rules match. Empty from an agent before 0.8.6 */
|
|
15
|
+
admission_webhooks: LevelFour.NamedSpec[];
|
|
16
|
+
/** The custom resources the cluster serves among those the agent lists, as <resource>.<group>, so a missing VPA CRD and no VPA read apart. Null until an agent of 0.8.6 or later reports them */
|
|
17
|
+
crds: string[] | null;
|
|
8
18
|
}
|
|
@@ -5,4 +5,14 @@ export interface AutoscalingData {
|
|
|
5
5
|
hpas: LevelFour.ReplicaScaler[];
|
|
6
6
|
scaled_objects: LevelFour.ReplicaScaler[];
|
|
7
7
|
vpas: LevelFour.VpaScaler[];
|
|
8
|
+
/** The PodDisruptionBudgets, each with its applier in its spec */
|
|
9
|
+
pdbs: LevelFour.NamedSpec[];
|
|
10
|
+
/** EKS Auto Mode's ClusterResourceOptimizationPolicies: spec.mode, profile, the workload counts, the Ready reason and the applier. Empty on a cluster without Auto Mode's rightsizing */
|
|
11
|
+
resource_optimization_policies: LevelFour.NamedSpec[];
|
|
12
|
+
/** The object EKS Auto Mode keeps for each workload it sizes: spec.target, mode (Apply resizes pods), profile, the policy that won it and the Ready reason (VPAConflict while a VPA not in Off mode targets it) */
|
|
13
|
+
resource_optimizations: LevelFour.NamedSpec[];
|
|
14
|
+
/** Each mutating and validating webhook, named <configuration>/<webhook>: its type, failure policy, the Service behind it or only that it calls a URL, and the resources and operations its rules match. Empty from an agent before 0.8.6 */
|
|
15
|
+
admission_webhooks: LevelFour.NamedSpec[];
|
|
16
|
+
/** The custom resources the cluster serves among those the agent lists, as <resource>.<group>, so a missing VPA CRD and no VPA read apart. Null until an agent of 0.8.6 or later reports them */
|
|
17
|
+
crds: string[] | null;
|
|
8
18
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface BlockedNamespace {
|
|
3
|
+
cluster_id: string;
|
|
4
|
+
namespace: string;
|
|
5
|
+
/** Why a namespace set to Automated does not act: the cluster's reason (no_component, component_silent, cluster_off) or the namespace's (other_rightsizer, labelled_off, not_permitted, approver_left), as the namespaces lists' automation_blocked_by names it */
|
|
6
|
+
code: string;
|
|
7
|
+
/** With other_rightsizer, the tools that size the namespace's workloads and how many each sizes, so the reason can name the tool; empty otherwise */
|
|
8
|
+
other_rightsizers?: LevelFour.OtherRightsizer[] | undefined;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface BlockedNamespace {
|
|
3
|
+
cluster_id: string;
|
|
4
|
+
namespace: string;
|
|
5
|
+
/** Why a namespace set to Automated does not act: the cluster's reason (no_component, component_silent, cluster_off) or the namespace's (other_rightsizer, labelled_off, not_permitted, approver_left), as the namespaces lists' automation_blocked_by names it */
|
|
6
|
+
code: string;
|
|
7
|
+
/** With other_rightsizer, the tools that size the namespace's workloads and how many each sizes, so the reason can name the tool; empty otherwise */
|
|
8
|
+
other_rightsizers?: LevelFour.OtherRightsizer[] | undefined;
|
|
9
|
+
}
|
|
@@ -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 BlockedNamespace_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(BlockedNamespace_exports);
|
|
17
|
+
//# sourceMappingURL=BlockedNamespace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=BlockedNamespace.mjs.map
|
|
@@ -23,6 +23,12 @@ export interface BlockerTotals {
|
|
|
23
23
|
would_free_monthly_cost?: (number | null) | undefined;
|
|
24
24
|
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
25
25
|
would_free_monthly_cost_net?: (number | null) | undefined;
|
|
26
|
+
/** Of the nodes that would go, the ones no pod with a published recommendation runs on (has_published_recommendation false): what freeing them saves is in no recommendation yet, so an available total adds their cost to the recommendations' without counting a saving twice */
|
|
27
|
+
nodes_would_free_without_recommendation?: number | undefined;
|
|
28
|
+
/** What those nodes cost a month, the priced ones; null when none is priced */
|
|
29
|
+
would_free_without_recommendation_monthly_cost?: (number | null) | undefined;
|
|
30
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
31
|
+
would_free_without_recommendation_monthly_cost_net?: (number | null) | undefined;
|
|
26
32
|
/** Held nodes that would stay once their blockers clear, each with its node_kept_reason */
|
|
27
33
|
nodes_kept?: number | undefined;
|
|
28
34
|
/** Of those, the ones neither their own bill nor a rate prices */
|
|
@@ -23,6 +23,12 @@ export interface BlockerTotals {
|
|
|
23
23
|
would_free_monthly_cost?: (number | null) | undefined;
|
|
24
24
|
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
25
25
|
would_free_monthly_cost_net?: (number | null) | undefined;
|
|
26
|
+
/** Of the nodes that would go, the ones no pod with a published recommendation runs on (has_published_recommendation false): what freeing them saves is in no recommendation yet, so an available total adds their cost to the recommendations' without counting a saving twice */
|
|
27
|
+
nodes_would_free_without_recommendation?: number | undefined;
|
|
28
|
+
/** What those nodes cost a month, the priced ones; null when none is priced */
|
|
29
|
+
would_free_without_recommendation_monthly_cost?: (number | null) | undefined;
|
|
30
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
31
|
+
would_free_without_recommendation_monthly_cost_net?: (number | null) | undefined;
|
|
26
32
|
/** Held nodes that would stay once their blockers clear, each with its node_kept_reason */
|
|
27
33
|
nodes_kept?: number | undefined;
|
|
28
34
|
/** Of those, the ones neither their own bill nor a rate prices */
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A PodDisruptionBudget that allows the pod no disruption now, as the cluster's latest batch reports it.
|
|
3
|
+
*/
|
|
4
|
+
export interface BlockingPdb {
|
|
5
|
+
name: string;
|
|
6
|
+
/** As the PDB sets it, a count or a percentage, such as "1" or "30%" */
|
|
7
|
+
min_available?: (string | null) | undefined;
|
|
8
|
+
/** As the PDB sets it, such as "30%" */
|
|
9
|
+
max_unavailable?: (string | null) | undefined;
|
|
10
|
+
current_healthy?: (number | null) | undefined;
|
|
11
|
+
desired_healthy?: (number | null) | undefined;
|
|
12
|
+
/** 0 for every PDB listed here */
|
|
13
|
+
disruptions_allowed?: (number | null) | undefined;
|
|
14
|
+
/** IfHealthyBudget or AlwaysAllow as the PDB sets it; null when it is unset or the agent is older than the one that reports it */
|
|
15
|
+
unhealthy_pod_eviction_policy?: (string | null) | undefined;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A PodDisruptionBudget that allows the pod no disruption now, as the cluster's latest batch reports it.
|
|
3
|
+
*/
|
|
4
|
+
export interface BlockingPdb {
|
|
5
|
+
name: string;
|
|
6
|
+
/** As the PDB sets it, a count or a percentage, such as "1" or "30%" */
|
|
7
|
+
min_available?: (string | null) | undefined;
|
|
8
|
+
/** As the PDB sets it, such as "30%" */
|
|
9
|
+
max_unavailable?: (string | null) | undefined;
|
|
10
|
+
current_healthy?: (number | null) | undefined;
|
|
11
|
+
desired_healthy?: (number | null) | undefined;
|
|
12
|
+
/** 0 for every PDB listed here */
|
|
13
|
+
disruptions_allowed?: (number | null) | undefined;
|
|
14
|
+
/** IfHealthyBudget or AlwaysAllow as the PDB sets it; null when it is unset or the agent is older than the one that reports it */
|
|
15
|
+
unhealthy_pod_eviction_policy?: (string | null) | undefined;
|
|
16
|
+
}
|
|
@@ -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 BlockingPdb_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(BlockingPdb_exports);
|
|
17
|
+
//# sourceMappingURL=BlockingPdb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=BlockingPdb.mjs.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* What the worker's watch saw of a change: a container or HPA change's workload signals, or a NodePool's or node
|
|
4
|
+
* group's, before and after the rollout, its verdict and why. A removal or a claim resize records no signals, nor
|
|
5
|
+
* does a change still watched.
|
|
6
|
+
*/
|
|
7
|
+
export interface ChangeWatch {
|
|
8
|
+
/** `watching` in the week after the rollout, until a regression shows or the week ends */
|
|
9
|
+
verdict: ChangeWatch.Verdict;
|
|
10
|
+
before?: (ChangeWatch.Before | null) | undefined;
|
|
11
|
+
after?: (ChangeWatch.After | null) | undefined;
|
|
12
|
+
/** Why it regressed; empty when it held */
|
|
13
|
+
reasons?: string[] | undefined;
|
|
14
|
+
/** The day the verdict is due, while watching */
|
|
15
|
+
until?: (string | null) | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace ChangeWatch {
|
|
18
|
+
/** `watching` in the week after the rollout, until a regression shows or the week ends */
|
|
19
|
+
const Verdict: {
|
|
20
|
+
readonly Verified: "verified";
|
|
21
|
+
readonly Regressed: "regressed";
|
|
22
|
+
readonly Watching: "watching";
|
|
23
|
+
};
|
|
24
|
+
type Verdict = (typeof Verdict)[keyof typeof Verdict];
|
|
25
|
+
type Before = LevelFour.WatchWorkloadSignals | LevelFour.WatchPoolSignals;
|
|
26
|
+
type After = LevelFour.WatchWorkloadSignals | LevelFour.WatchPoolSignals;
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* What the worker's watch saw of a change: a container or HPA change's workload signals, or a NodePool's or node
|
|
4
|
+
* group's, before and after the rollout, its verdict and why. A removal or a claim resize records no signals, nor
|
|
5
|
+
* does a change still watched.
|
|
6
|
+
*/
|
|
7
|
+
export interface ChangeWatch {
|
|
8
|
+
/** `watching` in the week after the rollout, until a regression shows or the week ends */
|
|
9
|
+
verdict: ChangeWatch.Verdict;
|
|
10
|
+
before?: (ChangeWatch.Before | null) | undefined;
|
|
11
|
+
after?: (ChangeWatch.After | null) | undefined;
|
|
12
|
+
/** Why it regressed; empty when it held */
|
|
13
|
+
reasons?: string[] | undefined;
|
|
14
|
+
/** The day the verdict is due, while watching */
|
|
15
|
+
until?: (string | null) | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace ChangeWatch {
|
|
18
|
+
/** `watching` in the week after the rollout, until a regression shows or the week ends */
|
|
19
|
+
const Verdict: {
|
|
20
|
+
readonly Verified: "verified";
|
|
21
|
+
readonly Regressed: "regressed";
|
|
22
|
+
readonly Watching: "watching";
|
|
23
|
+
};
|
|
24
|
+
type Verdict = (typeof Verdict)[keyof typeof Verdict];
|
|
25
|
+
type Before = LevelFour.WatchWorkloadSignals | LevelFour.WatchPoolSignals;
|
|
26
|
+
type After = LevelFour.WatchWorkloadSignals | LevelFour.WatchPoolSignals;
|
|
27
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 ChangeWatch_exports = {};
|
|
20
|
+
__export(ChangeWatch_exports, {
|
|
21
|
+
ChangeWatch: () => ChangeWatch
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(ChangeWatch_exports);
|
|
24
|
+
var ChangeWatch;
|
|
25
|
+
((ChangeWatch2) => {
|
|
26
|
+
ChangeWatch2.Verdict = {
|
|
27
|
+
Verified: "verified",
|
|
28
|
+
Regressed: "regressed",
|
|
29
|
+
Watching: "watching"
|
|
30
|
+
};
|
|
31
|
+
})(ChangeWatch || (ChangeWatch = {}));
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
ChangeWatch
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=ChangeWatch.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var ChangeWatch;
|
|
2
|
+
((ChangeWatch2) => {
|
|
3
|
+
ChangeWatch2.Verdict = {
|
|
4
|
+
Verified: "verified",
|
|
5
|
+
Regressed: "regressed",
|
|
6
|
+
Watching: "watching"
|
|
7
|
+
};
|
|
8
|
+
})(ChangeWatch || (ChangeWatch = {}));
|
|
9
|
+
export {
|
|
10
|
+
ChangeWatch
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=ChangeWatch.mjs.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface CheckedByKind {
|
|
2
|
+
/** NodePools and node groups the scan reviewed */
|
|
3
|
+
node_pool: number;
|
|
4
|
+
/** Volume claims in the namespaces with recommendations on */
|
|
5
|
+
volume: number;
|
|
6
|
+
/** HPAs in the namespaces with recommendations on */
|
|
7
|
+
autoscaler: number;
|
|
8
|
+
/** Workloads in the namespaces with recommendations on */
|
|
9
|
+
idle_workload: number;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface CheckedByKind {
|
|
2
|
+
/** NodePools and node groups the scan reviewed */
|
|
3
|
+
node_pool: number;
|
|
4
|
+
/** Volume claims in the namespaces with recommendations on */
|
|
5
|
+
volume: number;
|
|
6
|
+
/** HPAs in the namespaces with recommendations on */
|
|
7
|
+
autoscaler: number;
|
|
8
|
+
/** Workloads in the namespaces with recommendations on */
|
|
9
|
+
idle_workload: number;
|
|
10
|
+
}
|
|
@@ -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 CheckedByKind_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(CheckedByKind_exports);
|
|
17
|
+
//# sourceMappingURL=CheckedByKind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=CheckedByKind.mjs.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One object the other savings checked, with what the worker found in it (dashboard#1505).
|
|
3
|
+
*/
|
|
4
|
+
export interface CheckedObject {
|
|
5
|
+
cluster_id: string;
|
|
6
|
+
cluster_name: string;
|
|
7
|
+
/** node_pool: a NodePool or node group; autoscaler: an HPA; idle_workload: a workload */
|
|
8
|
+
kind: CheckedObject.Kind;
|
|
9
|
+
/** Null for a node pool, which belongs to the cluster */
|
|
10
|
+
namespace?: (string | null) | undefined;
|
|
11
|
+
name: string;
|
|
12
|
+
/** recommendation: one available to approve; to_check: a finding the worker could not price; nothing: nothing to save */
|
|
13
|
+
state: CheckedObject.State;
|
|
14
|
+
/** What its recommendation saves a month; null otherwise */
|
|
15
|
+
monthly?: (number | null) | undefined;
|
|
16
|
+
/** The recommendation to open, on a recommendation */
|
|
17
|
+
recommendation_id?: (string | null) | undefined;
|
|
18
|
+
/** Why it could not be priced, on to_check */
|
|
19
|
+
reason?: ("not_on_bill" | null) | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace CheckedObject {
|
|
22
|
+
/** node_pool: a NodePool or node group; autoscaler: an HPA; idle_workload: a workload */
|
|
23
|
+
const Kind: {
|
|
24
|
+
readonly NodePool: "node_pool";
|
|
25
|
+
readonly Volume: "volume";
|
|
26
|
+
readonly Autoscaler: "autoscaler";
|
|
27
|
+
readonly IdleWorkload: "idle_workload";
|
|
28
|
+
};
|
|
29
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
30
|
+
/** recommendation: one available to approve; to_check: a finding the worker could not price; nothing: nothing to save */
|
|
31
|
+
const State: {
|
|
32
|
+
readonly Recommendation: "recommendation";
|
|
33
|
+
readonly Nothing: "nothing";
|
|
34
|
+
readonly ToCheck: "to_check";
|
|
35
|
+
};
|
|
36
|
+
type State = (typeof State)[keyof typeof State];
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One object the other savings checked, with what the worker found in it (dashboard#1505).
|
|
3
|
+
*/
|
|
4
|
+
export interface CheckedObject {
|
|
5
|
+
cluster_id: string;
|
|
6
|
+
cluster_name: string;
|
|
7
|
+
/** node_pool: a NodePool or node group; autoscaler: an HPA; idle_workload: a workload */
|
|
8
|
+
kind: CheckedObject.Kind;
|
|
9
|
+
/** Null for a node pool, which belongs to the cluster */
|
|
10
|
+
namespace?: (string | null) | undefined;
|
|
11
|
+
name: string;
|
|
12
|
+
/** recommendation: one available to approve; to_check: a finding the worker could not price; nothing: nothing to save */
|
|
13
|
+
state: CheckedObject.State;
|
|
14
|
+
/** What its recommendation saves a month; null otherwise */
|
|
15
|
+
monthly?: (number | null) | undefined;
|
|
16
|
+
/** The recommendation to open, on a recommendation */
|
|
17
|
+
recommendation_id?: (string | null) | undefined;
|
|
18
|
+
/** Why it could not be priced, on to_check */
|
|
19
|
+
reason?: ("not_on_bill" | null) | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace CheckedObject {
|
|
22
|
+
/** node_pool: a NodePool or node group; autoscaler: an HPA; idle_workload: a workload */
|
|
23
|
+
const Kind: {
|
|
24
|
+
readonly NodePool: "node_pool";
|
|
25
|
+
readonly Volume: "volume";
|
|
26
|
+
readonly Autoscaler: "autoscaler";
|
|
27
|
+
readonly IdleWorkload: "idle_workload";
|
|
28
|
+
};
|
|
29
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
30
|
+
/** recommendation: one available to approve; to_check: a finding the worker could not price; nothing: nothing to save */
|
|
31
|
+
const State: {
|
|
32
|
+
readonly Recommendation: "recommendation";
|
|
33
|
+
readonly Nothing: "nothing";
|
|
34
|
+
readonly ToCheck: "to_check";
|
|
35
|
+
};
|
|
36
|
+
type State = (typeof State)[keyof typeof State];
|
|
37
|
+
}
|