levelfour 1.15.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/resources/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/BlockerTotals.d.mts +6 -0
- package/dist/api/types/BlockerTotals.d.ts +6 -0
- package/dist/api/types/BlockingPdb.d.mts +16 -0
- package/dist/api/types/BlockingPdb.d.ts +16 -0
- package/dist/api/types/BlockingPdb.js +17 -0
- package/dist/api/types/BlockingPdb.mjs +1 -0
- package/dist/api/types/ChangeWatch.d.mts +27 -0
- package/dist/api/types/ChangeWatch.d.ts +27 -0
- package/dist/api/types/ChangeWatch.js +36 -0
- package/dist/api/types/ChangeWatch.mjs +12 -0
- package/dist/api/types/CheckedByKind.d.mts +10 -0
- package/dist/api/types/CheckedByKind.d.ts +10 -0
- package/dist/api/types/CheckedByKind.js +17 -0
- package/dist/api/types/CheckedByKind.mjs +1 -0
- package/dist/api/types/CheckedObject.d.mts +37 -0
- package/dist/api/types/CheckedObject.d.ts +37 -0
- package/dist/api/types/CheckedObject.js +42 -0
- package/dist/api/types/CheckedObject.mjs +18 -0
- package/dist/api/types/ClaimOwner.d.mts +6 -0
- package/dist/api/types/ClaimOwner.d.ts +6 -0
- package/dist/api/types/ClaimOwner.js +17 -0
- package/dist/api/types/ClaimOwner.mjs +1 -0
- package/dist/api/types/ClusterFacets.d.mts +16 -0
- package/dist/api/types/ClusterFacets.d.ts +16 -0
- package/dist/api/types/ClusterItem.d.mts +36 -1
- package/dist/api/types/ClusterItem.d.ts +36 -1
- package/dist/api/types/ClusterItem.js +10 -0
- package/dist/api/types/ClusterItem.mjs +10 -0
- package/dist/api/types/ClusterLevers.d.mts +9 -0
- package/dist/api/types/ClusterLevers.d.ts +9 -0
- package/dist/api/types/ClusterLevers.js +17 -0
- package/dist/api/types/ClusterLevers.mjs +1 -0
- package/dist/api/types/ClusterSummary.d.mts +19 -2
- package/dist/api/types/ClusterSummary.d.ts +19 -2
- package/dist/api/types/ConnectedAccount.d.mts +31 -0
- package/dist/api/types/ConnectedAccount.d.ts +31 -0
- package/dist/api/types/ConnectedAccount.js +12 -0
- package/dist/api/types/ConnectedAccount.mjs +12 -0
- package/dist/api/types/ConsolidationBlocker.d.mts +17 -0
- package/dist/api/types/ConsolidationBlocker.d.ts +17 -0
- package/dist/api/types/ConsolidationChange.d.mts +62 -0
- package/dist/api/types/ConsolidationChange.d.ts +62 -0
- package/dist/api/types/ConsolidationChange.js +53 -0
- package/dist/api/types/ConsolidationChange.mjs +29 -0
- package/dist/api/types/ConsolidationChangeDetail.d.mts +65 -0
- package/dist/api/types/ConsolidationChangeDetail.d.ts +65 -0
- package/dist/api/types/ConsolidationChangeDetail.js +53 -0
- package/dist/api/types/ConsolidationChangeDetail.mjs +29 -0
- package/dist/api/types/ConsolidationChangeNode.d.mts +34 -0
- package/dist/api/types/ConsolidationChangeNode.d.ts +34 -0
- package/dist/api/types/ConsolidationChangeNode.js +42 -0
- package/dist/api/types/ConsolidationChangeNode.mjs +18 -0
- package/dist/api/types/ConsolidationChangeResponse.d.mts +6 -0
- package/dist/api/types/ConsolidationChangeResponse.d.ts +6 -0
- package/dist/api/types/ConsolidationChangeResponse.js +17 -0
- package/dist/api/types/ConsolidationChangeResponse.mjs +1 -0
- package/dist/api/types/ConsolidationChangeTotals.d.mts +31 -0
- package/dist/api/types/ConsolidationChangeTotals.d.ts +31 -0
- package/dist/api/types/ConsolidationChangeTotals.js +17 -0
- package/dist/api/types/ConsolidationChangeTotals.mjs +1 -0
- package/dist/api/types/ConsolidationChangesData.d.mts +7 -0
- package/dist/api/types/ConsolidationChangesData.d.ts +7 -0
- package/dist/api/types/ConsolidationChangesData.js +17 -0
- package/dist/api/types/ConsolidationChangesData.mjs +1 -0
- package/dist/api/types/ConsolidationChangesResponse.d.mts +6 -0
- package/dist/api/types/ConsolidationChangesResponse.d.ts +6 -0
- package/dist/api/types/ConsolidationChangesResponse.js +17 -0
- package/dist/api/types/ConsolidationChangesResponse.mjs +1 -0
- package/dist/api/types/ConsolidationLever.d.mts +20 -0
- package/dist/api/types/ConsolidationLever.d.ts +20 -0
- package/dist/api/types/ConsolidationLever.js +17 -0
- package/dist/api/types/ConsolidationLever.mjs +1 -0
- package/dist/api/types/ConsolidationNode.d.mts +50 -0
- package/dist/api/types/ConsolidationNode.d.ts +50 -0
- package/dist/api/types/ConsolidationNode.js +42 -0
- package/dist/api/types/ConsolidationNode.mjs +18 -0
- package/dist/api/types/ConsolidationNodesData.d.mts +8 -0
- package/dist/api/types/ConsolidationNodesData.d.ts +8 -0
- package/dist/api/types/ConsolidationNodesData.js +17 -0
- package/dist/api/types/ConsolidationNodesData.mjs +1 -0
- package/dist/api/types/ConsolidationNodesResponse.d.mts +6 -0
- package/dist/api/types/ConsolidationNodesResponse.d.ts +6 -0
- package/dist/api/types/ConsolidationNodesResponse.js +17 -0
- package/dist/api/types/ConsolidationNodesResponse.mjs +1 -0
- package/dist/api/types/FailingShare.d.mts +12 -0
- package/dist/api/types/FailingShare.d.ts +12 -0
- package/dist/api/types/FailingShare.js +17 -0
- package/dist/api/types/FailingShare.mjs +1 -0
- package/dist/api/types/FixAmount.d.mts +6 -0
- package/dist/api/types/FixAmount.d.ts +6 -0
- package/dist/api/types/FixAmount.js +17 -0
- package/dist/api/types/FixAmount.mjs +1 -0
- package/dist/api/types/FixChange.d.mts +16 -0
- package/dist/api/types/FixChange.d.ts +16 -0
- package/dist/api/types/FixChange.js +35 -0
- package/dist/api/types/FixChange.mjs +11 -0
- package/dist/api/types/FixSizedBy.d.mts +20 -0
- package/dist/api/types/FixSizedBy.d.ts +20 -0
- package/dist/api/types/FixSizedBy.js +36 -0
- package/dist/api/types/FixSizedBy.mjs +12 -0
- package/dist/api/types/FlagCount.d.mts +4 -0
- package/dist/api/types/FlagCount.d.ts +4 -0
- package/dist/api/types/FlagCount.js +17 -0
- package/dist/api/types/FlagCount.mjs +1 -0
- package/dist/api/types/FleetConsolidationChange.d.mts +61 -0
- package/dist/api/types/FleetConsolidationChange.d.ts +61 -0
- package/dist/api/types/FleetConsolidationChange.js +53 -0
- package/dist/api/types/FleetConsolidationChange.mjs +29 -0
- package/dist/api/types/FleetConsolidationChangesData.d.mts +8 -0
- package/dist/api/types/FleetConsolidationChangesData.d.ts +8 -0
- package/dist/api/types/FleetConsolidationChangesData.js +17 -0
- package/dist/api/types/FleetConsolidationChangesData.mjs +1 -0
- package/dist/api/types/FleetConsolidationChangesResponse.d.mts +6 -0
- package/dist/api/types/FleetConsolidationChangesResponse.d.ts +6 -0
- package/dist/api/types/FleetConsolidationChangesResponse.js +17 -0
- package/dist/api/types/FleetConsolidationChangesResponse.mjs +1 -0
- package/dist/api/types/FleetConsolidationLever.d.mts +14 -0
- package/dist/api/types/FleetConsolidationLever.d.ts +14 -0
- package/dist/api/types/FleetConsolidationLever.js +17 -0
- package/dist/api/types/FleetConsolidationLever.mjs +1 -0
- package/dist/api/types/FleetConsolidationNode.d.mts +49 -0
- package/dist/api/types/FleetConsolidationNode.d.ts +49 -0
- package/dist/api/types/FleetConsolidationNode.js +42 -0
- package/dist/api/types/FleetConsolidationNode.mjs +18 -0
- package/dist/api/types/FleetConsolidationNodesData.d.mts +8 -0
- package/dist/api/types/FleetConsolidationNodesData.d.ts +8 -0
- package/dist/api/types/FleetConsolidationNodesData.js +17 -0
- package/dist/api/types/FleetConsolidationNodesData.mjs +1 -0
- package/dist/api/types/FleetConsolidationNodesResponse.d.mts +6 -0
- package/dist/api/types/FleetConsolidationNodesResponse.d.ts +6 -0
- package/dist/api/types/FleetConsolidationNodesResponse.js +17 -0
- package/dist/api/types/FleetConsolidationNodesResponse.mjs +1 -0
- package/dist/api/types/FleetLever.d.mts +10 -0
- package/dist/api/types/FleetLever.d.ts +10 -0
- package/dist/api/types/FleetLever.js +17 -0
- package/dist/api/types/FleetLever.mjs +1 -0
- package/dist/api/types/FleetLevers.d.mts +6 -0
- package/dist/api/types/FleetLevers.d.ts +6 -0
- package/dist/api/types/FleetLevers.js +17 -0
- package/dist/api/types/FleetLevers.mjs +1 -0
- package/dist/api/types/FleetNamespace.d.mts +50 -2
- package/dist/api/types/FleetNamespace.d.ts +50 -2
- package/dist/api/types/FleetNamespace.js +30 -0
- package/dist/api/types/FleetNamespace.mjs +30 -0
- package/dist/api/types/FleetSummary.d.mts +18 -1
- package/dist/api/types/FleetSummary.d.ts +18 -1
- package/dist/api/types/FleetVolume.d.mts +5 -1
- package/dist/api/types/FleetVolume.d.ts +5 -1
- package/dist/api/types/FleetWorkload.d.mts +16 -2
- package/dist/api/types/FleetWorkload.d.ts +16 -2
- package/dist/api/types/FleetWorkload.js +7 -0
- package/dist/api/types/FleetWorkload.mjs +7 -0
- package/dist/api/types/ForecastData.d.mts +2 -0
- package/dist/api/types/ForecastData.d.ts +2 -0
- package/dist/api/types/HeldChange.d.mts +57 -0
- package/dist/api/types/HeldChange.d.ts +57 -0
- package/dist/api/types/HeldChange.js +53 -0
- package/dist/api/types/HeldChange.mjs +29 -0
- package/dist/api/types/HeldFixGroup.d.mts +22 -0
- package/dist/api/types/HeldFixGroup.d.ts +22 -0
- package/dist/api/types/HeldFixGroup.js +37 -0
- package/dist/api/types/HeldFixGroup.mjs +13 -0
- package/dist/api/types/HeldPool.d.mts +12 -0
- package/dist/api/types/HeldPool.d.ts +12 -0
- package/dist/api/types/HeldPool.js +17 -0
- package/dist/api/types/HeldPool.mjs +1 -0
- package/dist/api/types/HeldWindow.d.mts +11 -0
- package/dist/api/types/HeldWindow.d.ts +11 -0
- package/dist/api/types/HeldWindow.js +17 -0
- package/dist/api/types/HeldWindow.mjs +1 -0
- package/dist/api/types/InventoryPlanRow.d.mts +4 -0
- package/dist/api/types/InventoryPlanRow.d.ts +4 -0
- package/dist/api/types/InventoryReservationRow.d.mts +4 -0
- package/dist/api/types/InventoryReservationRow.d.ts +4 -0
- package/dist/api/types/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/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/SavingsChangeRef.d.mts +5 -0
- package/dist/api/types/SavingsChangeRef.d.ts +5 -0
- package/dist/api/types/SavingsChangeRef.js +17 -0
- package/dist/api/types/SavingsChangeRef.mjs +1 -0
- package/dist/api/types/SavingsItem.d.mts +61 -0
- package/dist/api/types/SavingsItem.d.ts +61 -0
- package/dist/api/types/SavingsItem.js +17 -0
- package/dist/api/types/SavingsItem.mjs +1 -0
- package/dist/api/types/SavingsMissing.d.mts +19 -0
- package/dist/api/types/SavingsMissing.d.ts +19 -0
- package/dist/api/types/SavingsMissing.js +17 -0
- package/dist/api/types/SavingsMissing.mjs +1 -0
- package/dist/api/types/SavingsNode.d.mts +10 -0
- package/dist/api/types/SavingsNode.d.ts +10 -0
- package/dist/api/types/SavingsNode.js +17 -0
- package/dist/api/types/SavingsNode.mjs +1 -0
- package/dist/api/types/SavingsNow.d.mts +26 -0
- package/dist/api/types/SavingsNow.d.ts +26 -0
- package/dist/api/types/SavingsNow.js +38 -0
- package/dist/api/types/SavingsNow.mjs +14 -0
- package/dist/api/types/SavingsNowResponse.d.mts +6 -0
- package/dist/api/types/SavingsNowResponse.d.ts +6 -0
- package/dist/api/types/SavingsNowResponse.js +17 -0
- package/dist/api/types/SavingsNowResponse.mjs +1 -0
- package/dist/api/types/SavingsRequestMove.d.mts +6 -0
- package/dist/api/types/SavingsRequestMove.d.ts +6 -0
- package/dist/api/types/SavingsRequestMove.js +17 -0
- package/dist/api/types/SavingsRequestMove.mjs +1 -0
- package/dist/api/types/SavingsSection.d.mts +16 -0
- package/dist/api/types/SavingsSection.d.ts +16 -0
- package/dist/api/types/SavingsSection.js +37 -0
- package/dist/api/types/SavingsSection.mjs +13 -0
- package/dist/api/types/SavingsTotals.d.mts +8 -0
- package/dist/api/types/SavingsTotals.d.ts +8 -0
- package/dist/api/types/SavingsTotals.js +17 -0
- package/dist/api/types/SavingsTotals.mjs +1 -0
- package/dist/api/types/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 +67 -0
- package/dist/api/types/index.d.ts +67 -0
- package/dist/api/types/index.js +134 -0
- package/dist/api/types/index.mjs +67 -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,61 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* One change that saves money now. The fields a section does not use are null.
|
|
4
|
+
*/
|
|
5
|
+
export interface SavingsItem {
|
|
6
|
+
/** The recommendation's id, or cluster_id/namespace/kind/name, or cluster_id/node/name */
|
|
7
|
+
id: string;
|
|
8
|
+
cluster_id: string;
|
|
9
|
+
cluster_name: string;
|
|
10
|
+
/** What found it: the worker's detector for a published recommendation (container_rightsizing, idle_workload, orphaned_pvc and so on, recommendation when none is known), or no_ready_replica for a workload read live that wants replicas and has had none ready for 24 hours */
|
|
11
|
+
source: string;
|
|
12
|
+
recommendation_id?: (string | null) | undefined;
|
|
13
|
+
/** The recommendation's status */
|
|
14
|
+
status?: (string | null) | undefined;
|
|
15
|
+
/** What it saves a month, counted once across the sections */
|
|
16
|
+
monthly?: (number | null) | undefined;
|
|
17
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
18
|
+
monthly_net?: (number | null) | undefined;
|
|
19
|
+
namespace?: (string | null) | undefined;
|
|
20
|
+
kind?: (string | null) | undefined;
|
|
21
|
+
name?: (string | null) | undefined;
|
|
22
|
+
/** rightsizing: the container it resizes */
|
|
23
|
+
container?: (string | null) | undefined;
|
|
24
|
+
/** rightsizing: the CPU request from and to; null if left */
|
|
25
|
+
cpu?: (LevelFour.SavingsRequestMove | null) | undefined;
|
|
26
|
+
/** rightsizing: the memory request from and to */
|
|
27
|
+
memory?: (LevelFour.SavingsRequestMove | null) | undefined;
|
|
28
|
+
/** scale_to_zero: the replicas its workload wants */
|
|
29
|
+
replicas?: (number | null) | undefined;
|
|
30
|
+
ready_replicas?: (number | null) | undefined;
|
|
31
|
+
/** scale_to_zero: since when none has been ready */
|
|
32
|
+
zero_ready_since?: (string | null) | undefined;
|
|
33
|
+
pdbs?: LevelFour.BlockingPdb[] | undefined;
|
|
34
|
+
scaler?: (LevelFour.WorkloadScaler | null) | undefined;
|
|
35
|
+
/** scale_to_zero: the nodes only it holds that would go now, whose cost its monthly carries in place of its pods on them */
|
|
36
|
+
frees?: LevelFour.SavingsNode[] | undefined;
|
|
37
|
+
/** scale_to_zero: the kubectl line, null for a name Kubernetes refuses */
|
|
38
|
+
command?: (string | null) | undefined;
|
|
39
|
+
/** scale_to_zero: the same change as a manifest fragment */
|
|
40
|
+
yaml?: (string | null) | undefined;
|
|
41
|
+
/** nodes: the node, for one only stopped workloads hold */
|
|
42
|
+
node?: (string | null) | undefined;
|
|
43
|
+
node_pool?: (string | null) | undefined;
|
|
44
|
+
instance_type?: (string | null) | undefined;
|
|
45
|
+
capacity_type?: (string | null) | undefined;
|
|
46
|
+
zone?: (string | null) | undefined;
|
|
47
|
+
node_monthly_cost?: (number | null) | undefined;
|
|
48
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
49
|
+
node_monthly_cost_net?: (number | null) | undefined;
|
|
50
|
+
/** nodes: the stopped workloads holding it, every one to scale to zero */
|
|
51
|
+
changes?: LevelFour.SavingsChangeRef[] | undefined;
|
|
52
|
+
/** volumes: the claim's capacity */
|
|
53
|
+
capacity_bytes?: (number | null) | undefined;
|
|
54
|
+
storage_class?: (string | null) | undefined;
|
|
55
|
+
/** volumes: the storage class's, Delete or Retain */
|
|
56
|
+
reclaim_policy?: (string | null) | undefined;
|
|
57
|
+
/** volumes: when the claim was made */
|
|
58
|
+
created_at?: (string | null) | undefined;
|
|
59
|
+
/** Why monthly is null, when it is */
|
|
60
|
+
unpriced_reason?: (string | null) | undefined;
|
|
61
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* One change that saves money now. The fields a section does not use are null.
|
|
4
|
+
*/
|
|
5
|
+
export interface SavingsItem {
|
|
6
|
+
/** The recommendation's id, or cluster_id/namespace/kind/name, or cluster_id/node/name */
|
|
7
|
+
id: string;
|
|
8
|
+
cluster_id: string;
|
|
9
|
+
cluster_name: string;
|
|
10
|
+
/** What found it: the worker's detector for a published recommendation (container_rightsizing, idle_workload, orphaned_pvc and so on, recommendation when none is known), or no_ready_replica for a workload read live that wants replicas and has had none ready for 24 hours */
|
|
11
|
+
source: string;
|
|
12
|
+
recommendation_id?: (string | null) | undefined;
|
|
13
|
+
/** The recommendation's status */
|
|
14
|
+
status?: (string | null) | undefined;
|
|
15
|
+
/** What it saves a month, counted once across the sections */
|
|
16
|
+
monthly?: (number | null) | undefined;
|
|
17
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
18
|
+
monthly_net?: (number | null) | undefined;
|
|
19
|
+
namespace?: (string | null) | undefined;
|
|
20
|
+
kind?: (string | null) | undefined;
|
|
21
|
+
name?: (string | null) | undefined;
|
|
22
|
+
/** rightsizing: the container it resizes */
|
|
23
|
+
container?: (string | null) | undefined;
|
|
24
|
+
/** rightsizing: the CPU request from and to; null if left */
|
|
25
|
+
cpu?: (LevelFour.SavingsRequestMove | null) | undefined;
|
|
26
|
+
/** rightsizing: the memory request from and to */
|
|
27
|
+
memory?: (LevelFour.SavingsRequestMove | null) | undefined;
|
|
28
|
+
/** scale_to_zero: the replicas its workload wants */
|
|
29
|
+
replicas?: (number | null) | undefined;
|
|
30
|
+
ready_replicas?: (number | null) | undefined;
|
|
31
|
+
/** scale_to_zero: since when none has been ready */
|
|
32
|
+
zero_ready_since?: (string | null) | undefined;
|
|
33
|
+
pdbs?: LevelFour.BlockingPdb[] | undefined;
|
|
34
|
+
scaler?: (LevelFour.WorkloadScaler | null) | undefined;
|
|
35
|
+
/** scale_to_zero: the nodes only it holds that would go now, whose cost its monthly carries in place of its pods on them */
|
|
36
|
+
frees?: LevelFour.SavingsNode[] | undefined;
|
|
37
|
+
/** scale_to_zero: the kubectl line, null for a name Kubernetes refuses */
|
|
38
|
+
command?: (string | null) | undefined;
|
|
39
|
+
/** scale_to_zero: the same change as a manifest fragment */
|
|
40
|
+
yaml?: (string | null) | undefined;
|
|
41
|
+
/** nodes: the node, for one only stopped workloads hold */
|
|
42
|
+
node?: (string | null) | undefined;
|
|
43
|
+
node_pool?: (string | null) | undefined;
|
|
44
|
+
instance_type?: (string | null) | undefined;
|
|
45
|
+
capacity_type?: (string | null) | undefined;
|
|
46
|
+
zone?: (string | null) | undefined;
|
|
47
|
+
node_monthly_cost?: (number | null) | undefined;
|
|
48
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
49
|
+
node_monthly_cost_net?: (number | null) | undefined;
|
|
50
|
+
/** nodes: the stopped workloads holding it, every one to scale to zero */
|
|
51
|
+
changes?: LevelFour.SavingsChangeRef[] | undefined;
|
|
52
|
+
/** volumes: the claim's capacity */
|
|
53
|
+
capacity_bytes?: (number | null) | undefined;
|
|
54
|
+
storage_class?: (string | null) | undefined;
|
|
55
|
+
/** volumes: the storage class's, Delete or Retain */
|
|
56
|
+
reclaim_policy?: (string | null) | undefined;
|
|
57
|
+
/** volumes: when the claim was made */
|
|
58
|
+
created_at?: (string | null) | undefined;
|
|
59
|
+
/** Why monthly is null, when it is */
|
|
60
|
+
unpriced_reason?: (string | null) | undefined;
|
|
61
|
+
}
|
|
@@ -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 SavingsItem_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(SavingsItem_exports);
|
|
17
|
+
//# sourceMappingURL=SavingsItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=SavingsItem.mjs.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What the total leaves out, for the line under it.
|
|
3
|
+
*/
|
|
4
|
+
export interface SavingsMissing {
|
|
5
|
+
/** Namespaces whose recommendations are off */
|
|
6
|
+
namespaces_not_analyzed?: number | undefined;
|
|
7
|
+
/** totals.in_review */
|
|
8
|
+
candidates_in_review?: number | undefined;
|
|
9
|
+
/** One cluster's agent version; null for the fleet */
|
|
10
|
+
agent_version?: (string | null) | undefined;
|
|
11
|
+
/** The agent version to upgrade to, when that cluster is behind */
|
|
12
|
+
agent_needs?: (string | null) | undefined;
|
|
13
|
+
/** The clusters whose agent is older than agent_needs would be */
|
|
14
|
+
clusters_behind?: number | undefined;
|
|
15
|
+
/** Orphaned claims whose disk the bill has not named for 3 days: it no longer exists, or lives where no bill reaches, so the claim is no orphan to delete and is left out of volumes */
|
|
16
|
+
volumes_off_bill?: number | undefined;
|
|
17
|
+
/** The latest day the bill named one of those disks; null when it never named any */
|
|
18
|
+
volumes_off_bill_since?: (string | null) | undefined;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What the total leaves out, for the line under it.
|
|
3
|
+
*/
|
|
4
|
+
export interface SavingsMissing {
|
|
5
|
+
/** Namespaces whose recommendations are off */
|
|
6
|
+
namespaces_not_analyzed?: number | undefined;
|
|
7
|
+
/** totals.in_review */
|
|
8
|
+
candidates_in_review?: number | undefined;
|
|
9
|
+
/** One cluster's agent version; null for the fleet */
|
|
10
|
+
agent_version?: (string | null) | undefined;
|
|
11
|
+
/** The agent version to upgrade to, when that cluster is behind */
|
|
12
|
+
agent_needs?: (string | null) | undefined;
|
|
13
|
+
/** The clusters whose agent is older than agent_needs would be */
|
|
14
|
+
clusters_behind?: number | undefined;
|
|
15
|
+
/** Orphaned claims whose disk the bill has not named for 3 days: it no longer exists, or lives where no bill reaches, so the claim is no orphan to delete and is left out of volumes */
|
|
16
|
+
volumes_off_bill?: number | undefined;
|
|
17
|
+
/** The latest day the bill named one of those disks; null when it never named any */
|
|
18
|
+
volumes_off_bill_since?: (string | 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 SavingsMissing_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(SavingsMissing_exports);
|
|
17
|
+
//# sourceMappingURL=SavingsMissing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=SavingsMissing.mjs.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface SavingsNode {
|
|
2
|
+
node: string;
|
|
3
|
+
node_pool?: string | undefined;
|
|
4
|
+
instance_type?: (string | null) | undefined;
|
|
5
|
+
capacity_type?: (string | null) | undefined;
|
|
6
|
+
zone?: (string | null) | undefined;
|
|
7
|
+
node_monthly_cost?: (number | null) | undefined;
|
|
8
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
9
|
+
node_monthly_cost_net?: (number | null) | undefined;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface SavingsNode {
|
|
2
|
+
node: string;
|
|
3
|
+
node_pool?: string | undefined;
|
|
4
|
+
instance_type?: (string | null) | undefined;
|
|
5
|
+
capacity_type?: (string | null) | undefined;
|
|
6
|
+
zone?: (string | null) | undefined;
|
|
7
|
+
node_monthly_cost?: (number | null) | undefined;
|
|
8
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
9
|
+
node_monthly_cost_net?: (number | null) | undefined;
|
|
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 SavingsNode_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(SavingsNode_exports);
|
|
17
|
+
//# sourceMappingURL=SavingsNode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=SavingsNode.mjs.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface SavingsNow {
|
|
3
|
+
/** When the oldest batch read ended */
|
|
4
|
+
as_of?: (string | null) | undefined;
|
|
5
|
+
/** The base a percentage of totals.monthly divides by: this month's forecast of the nodes' compute, plus what the claims cost a month (their latest billed day made 30 days), as cost_base_covers says */
|
|
6
|
+
cost_monthly?: (number | null) | undefined;
|
|
7
|
+
/** The same base net of the enterprise discount, for totals.monthly_net to divide by */
|
|
8
|
+
cost_monthly_net?: (number | null) | undefined;
|
|
9
|
+
/** What cost_monthly adds up: nodes always, volumes when the bill prices the claims */
|
|
10
|
+
cost_base_covers?: SavingsNow.CostBaseCovers.Item[] | undefined;
|
|
11
|
+
/** The sections added up: the summary's available_savings_monthly */
|
|
12
|
+
totals: LevelFour.SavingsTotals;
|
|
13
|
+
missing: LevelFour.SavingsMissing;
|
|
14
|
+
/** rightsizing, scale_to_zero, nodes and volumes, in that order */
|
|
15
|
+
sections: LevelFour.SavingsSection[];
|
|
16
|
+
}
|
|
17
|
+
export declare namespace SavingsNow {
|
|
18
|
+
type CostBaseCovers = CostBaseCovers.Item[];
|
|
19
|
+
namespace CostBaseCovers {
|
|
20
|
+
const Item: {
|
|
21
|
+
readonly Nodes: "nodes";
|
|
22
|
+
readonly Volumes: "volumes";
|
|
23
|
+
};
|
|
24
|
+
type Item = (typeof Item)[keyof typeof Item];
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface SavingsNow {
|
|
3
|
+
/** When the oldest batch read ended */
|
|
4
|
+
as_of?: (string | null) | undefined;
|
|
5
|
+
/** The base a percentage of totals.monthly divides by: this month's forecast of the nodes' compute, plus what the claims cost a month (their latest billed day made 30 days), as cost_base_covers says */
|
|
6
|
+
cost_monthly?: (number | null) | undefined;
|
|
7
|
+
/** The same base net of the enterprise discount, for totals.monthly_net to divide by */
|
|
8
|
+
cost_monthly_net?: (number | null) | undefined;
|
|
9
|
+
/** What cost_monthly adds up: nodes always, volumes when the bill prices the claims */
|
|
10
|
+
cost_base_covers?: SavingsNow.CostBaseCovers.Item[] | undefined;
|
|
11
|
+
/** The sections added up: the summary's available_savings_monthly */
|
|
12
|
+
totals: LevelFour.SavingsTotals;
|
|
13
|
+
missing: LevelFour.SavingsMissing;
|
|
14
|
+
/** rightsizing, scale_to_zero, nodes and volumes, in that order */
|
|
15
|
+
sections: LevelFour.SavingsSection[];
|
|
16
|
+
}
|
|
17
|
+
export declare namespace SavingsNow {
|
|
18
|
+
type CostBaseCovers = CostBaseCovers.Item[];
|
|
19
|
+
namespace CostBaseCovers {
|
|
20
|
+
const Item: {
|
|
21
|
+
readonly Nodes: "nodes";
|
|
22
|
+
readonly Volumes: "volumes";
|
|
23
|
+
};
|
|
24
|
+
type Item = (typeof Item)[keyof typeof Item];
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 SavingsNow_exports = {};
|
|
20
|
+
__export(SavingsNow_exports, {
|
|
21
|
+
SavingsNow: () => SavingsNow
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(SavingsNow_exports);
|
|
24
|
+
var SavingsNow;
|
|
25
|
+
((SavingsNow2) => {
|
|
26
|
+
let CostBaseCovers;
|
|
27
|
+
((CostBaseCovers2) => {
|
|
28
|
+
CostBaseCovers2.Item = {
|
|
29
|
+
Nodes: "nodes",
|
|
30
|
+
Volumes: "volumes"
|
|
31
|
+
};
|
|
32
|
+
})(CostBaseCovers = SavingsNow2.CostBaseCovers || (SavingsNow2.CostBaseCovers = {}));
|
|
33
|
+
})(SavingsNow || (SavingsNow = {}));
|
|
34
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
35
|
+
0 && (module.exports = {
|
|
36
|
+
SavingsNow
|
|
37
|
+
});
|
|
38
|
+
//# sourceMappingURL=SavingsNow.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
var SavingsNow;
|
|
2
|
+
((SavingsNow2) => {
|
|
3
|
+
let CostBaseCovers;
|
|
4
|
+
((CostBaseCovers2) => {
|
|
5
|
+
CostBaseCovers2.Item = {
|
|
6
|
+
Nodes: "nodes",
|
|
7
|
+
Volumes: "volumes"
|
|
8
|
+
};
|
|
9
|
+
})(CostBaseCovers = SavingsNow2.CostBaseCovers || (SavingsNow2.CostBaseCovers = {}));
|
|
10
|
+
})(SavingsNow || (SavingsNow = {}));
|
|
11
|
+
export {
|
|
12
|
+
SavingsNow
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=SavingsNow.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 SavingsNowResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(SavingsNowResponse_exports);
|
|
17
|
+
//# sourceMappingURL=SavingsNowResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=SavingsNowResponse.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 SavingsRequestMove_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(SavingsRequestMove_exports);
|
|
17
|
+
//# sourceMappingURL=SavingsRequestMove.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=SavingsRequestMove.mjs.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface SavingsSection {
|
|
3
|
+
kind: SavingsSection.Kind;
|
|
4
|
+
totals: LevelFour.SavingsTotals;
|
|
5
|
+
/** Its items, the ones that save the most first, up to limit */
|
|
6
|
+
items: LevelFour.SavingsItem[];
|
|
7
|
+
}
|
|
8
|
+
export declare namespace SavingsSection {
|
|
9
|
+
const Kind: {
|
|
10
|
+
readonly Rightsizing: "rightsizing";
|
|
11
|
+
readonly ScaleToZero: "scale_to_zero";
|
|
12
|
+
readonly Nodes: "nodes";
|
|
13
|
+
readonly Volumes: "volumes";
|
|
14
|
+
};
|
|
15
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface SavingsSection {
|
|
3
|
+
kind: SavingsSection.Kind;
|
|
4
|
+
totals: LevelFour.SavingsTotals;
|
|
5
|
+
/** Its items, the ones that save the most first, up to limit */
|
|
6
|
+
items: LevelFour.SavingsItem[];
|
|
7
|
+
}
|
|
8
|
+
export declare namespace SavingsSection {
|
|
9
|
+
const Kind: {
|
|
10
|
+
readonly Rightsizing: "rightsizing";
|
|
11
|
+
readonly ScaleToZero: "scale_to_zero";
|
|
12
|
+
readonly Nodes: "nodes";
|
|
13
|
+
readonly Volumes: "volumes";
|
|
14
|
+
};
|
|
15
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 SavingsSection_exports = {};
|
|
20
|
+
__export(SavingsSection_exports, {
|
|
21
|
+
SavingsSection: () => SavingsSection
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(SavingsSection_exports);
|
|
24
|
+
var SavingsSection;
|
|
25
|
+
((SavingsSection2) => {
|
|
26
|
+
SavingsSection2.Kind = {
|
|
27
|
+
Rightsizing: "rightsizing",
|
|
28
|
+
ScaleToZero: "scale_to_zero",
|
|
29
|
+
Nodes: "nodes",
|
|
30
|
+
Volumes: "volumes"
|
|
31
|
+
};
|
|
32
|
+
})(SavingsSection || (SavingsSection = {}));
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
SavingsSection
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=SavingsSection.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var SavingsSection;
|
|
2
|
+
((SavingsSection2) => {
|
|
3
|
+
SavingsSection2.Kind = {
|
|
4
|
+
Rightsizing: "rightsizing",
|
|
5
|
+
ScaleToZero: "scale_to_zero",
|
|
6
|
+
Nodes: "nodes",
|
|
7
|
+
Volumes: "volumes"
|
|
8
|
+
};
|
|
9
|
+
})(SavingsSection || (SavingsSection = {}));
|
|
10
|
+
export {
|
|
11
|
+
SavingsSection
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=SavingsSection.mjs.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface SavingsTotals {
|
|
2
|
+
items: number;
|
|
3
|
+
monthly?: (number | null) | undefined;
|
|
4
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
5
|
+
monthly_net?: (number | null) | undefined;
|
|
6
|
+
/** The worker's candidates that would save and nobody published: no dollar */
|
|
7
|
+
in_review?: number | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface SavingsTotals {
|
|
2
|
+
items: number;
|
|
3
|
+
monthly?: (number | null) | undefined;
|
|
4
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
5
|
+
monthly_net?: (number | null) | undefined;
|
|
6
|
+
/** The worker's candidates that would save and nobody published: no dollar */
|
|
7
|
+
in_review?: number | 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 SavingsTotals_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(SavingsTotals_exports);
|
|
17
|
+
//# sourceMappingURL=SavingsTotals.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=SavingsTotals.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 SizerFlag_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(SizerFlag_exports);
|
|
17
|
+
//# sourceMappingURL=SizerFlag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=SizerFlag.mjs.map
|
|
@@ -6,6 +6,8 @@ export interface SizingPolicies {
|
|
|
6
6
|
cluster: LevelFour.SizingPolicy | null;
|
|
7
7
|
/** Namespace and workload policies; a workload's wins over its namespace's, resource by resource */
|
|
8
8
|
policies: LevelFour.SizingPolicy[];
|
|
9
|
+
/** The RecommendationsConfig objects that set a policy. What the cluster sets wins: a resource an object decides, by its own policy or the workload policy it follows, ignores every row here for what the object covers, the most specific object first */
|
|
10
|
+
objects?: LevelFour.SizingPolicyObject[] | undefined;
|
|
9
11
|
}
|
|
10
12
|
export declare namespace SizingPolicies {
|
|
11
13
|
/** What CPU and memory use where no scope sets a policy */
|
|
@@ -6,6 +6,8 @@ export interface SizingPolicies {
|
|
|
6
6
|
cluster: LevelFour.SizingPolicy | null;
|
|
7
7
|
/** Namespace and workload policies; a workload's wins over its namespace's, resource by resource */
|
|
8
8
|
policies: LevelFour.SizingPolicy[];
|
|
9
|
+
/** The RecommendationsConfig objects that set a policy. What the cluster sets wins: a resource an object decides, by its own policy or the workload policy it follows, ignores every row here for what the object covers, the most specific object first */
|
|
10
|
+
objects?: LevelFour.SizingPolicyObject[] | undefined;
|
|
9
11
|
}
|
|
10
12
|
export declare namespace SizingPolicies {
|
|
11
13
|
/** What CPU and memory use where no scope sets a policy */
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A RecommendationsConfig object in the cluster that sets a sizing policy, which wins over the dashboard's.
|
|
3
|
+
*/
|
|
4
|
+
export interface SizingPolicyObject {
|
|
5
|
+
/** The object as {kind, namespace, name}; namespace is empty for a cluster's */
|
|
6
|
+
object: Record<string, string>;
|
|
7
|
+
/** The workload a WorkloadRecommendationsConfig covers */
|
|
8
|
+
workload_kind?: (string | null) | undefined;
|
|
9
|
+
workload_name?: (string | null) | undefined;
|
|
10
|
+
/** The policy CPU and memory follow where nothing sets their own: MaxSavings, Balanced, ... */
|
|
11
|
+
workload_policy?: (string | null) | undefined;
|
|
12
|
+
cpu_policy?: (string | null) | undefined;
|
|
13
|
+
memory_policy?: (string | null) | undefined;
|
|
14
|
+
}
|