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,57 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* A workload holding a node now, or a pod with no workload, on a node an autoscaler that consolidates removes,
|
|
4
|
+
* as a node's row lists it. It carries no saving of its own: a node goes only once every change holding it lands.
|
|
5
|
+
*/
|
|
6
|
+
export interface HeldChange {
|
|
7
|
+
namespace: string;
|
|
8
|
+
/** The workload's kind, "Pod" for a pod with no workload */
|
|
9
|
+
kind: string;
|
|
10
|
+
/** The workload's name, or the pod's */
|
|
11
|
+
name: string;
|
|
12
|
+
/** The one fix the change needs, the first that applies: fix_or_scale_to_zero when its Deployment or StatefulSet wants replicas and has none ready; pdb_allows_no_eviction when a PodDisruptionBudget lets none of its pods leave; do_not_disrupt for Karpenter's annotation; other for the rest (affinity, taints, local storage, no controller) */
|
|
13
|
+
fix: HeldChange.Fix;
|
|
14
|
+
/** The kinds of blocker its pods raise at the latest batch */
|
|
15
|
+
reasons: HeldChange.Reasons.Item[];
|
|
16
|
+
/** Whether it holds a node now that would go once its blockers clear and no open recommendation covers */
|
|
17
|
+
counts: boolean;
|
|
18
|
+
/** History: the hours of the window it held a node that would go */
|
|
19
|
+
hours_held: number;
|
|
20
|
+
/** The replicas its workload wants, at the latest batch; null for a pod without a workload */
|
|
21
|
+
workload_replicas?: (number | null) | undefined;
|
|
22
|
+
/** Of those, how many are ready */
|
|
23
|
+
workload_ready_replicas?: (number | null) | undefined;
|
|
24
|
+
/** Since when every batch has read its workload wanting replicas with none ready; null once one is ready or none is wanted */
|
|
25
|
+
workload_zero_ready_since?: (string | null) | undefined;
|
|
26
|
+
/** The PodDisruptionBudgets selecting its workload that allow no disruption now, by name; empty unless one of its reasons is pdb */
|
|
27
|
+
pdbs?: LevelFour.BlockingPdb[] | undefined;
|
|
28
|
+
/** The HPA or KEDA ScaledObject that scales its workload, KEDA's own object before the HPA it runs; null when nothing does */
|
|
29
|
+
scaler?: (LevelFour.WorkloadScaler | null) | undefined;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace HeldChange {
|
|
32
|
+
/** The one fix the change needs, the first that applies: fix_or_scale_to_zero when its Deployment or StatefulSet wants replicas and has none ready; pdb_allows_no_eviction when a PodDisruptionBudget lets none of its pods leave; do_not_disrupt for Karpenter's annotation; other for the rest (affinity, taints, local storage, no controller) */
|
|
33
|
+
const Fix: {
|
|
34
|
+
readonly FixOrScaleToZero: "fix_or_scale_to_zero";
|
|
35
|
+
readonly PdbAllowsNoEviction: "pdb_allows_no_eviction";
|
|
36
|
+
readonly DoNotDisrupt: "do_not_disrupt";
|
|
37
|
+
readonly Other: "other";
|
|
38
|
+
};
|
|
39
|
+
type Fix = (typeof Fix)[keyof typeof Fix];
|
|
40
|
+
type Reasons = Reasons.Item[];
|
|
41
|
+
namespace Reasons {
|
|
42
|
+
const Item: {
|
|
43
|
+
readonly DoNotDisrupt: "do_not_disrupt";
|
|
44
|
+
readonly Pdb: "pdb";
|
|
45
|
+
readonly NodeAffinity: "node_affinity";
|
|
46
|
+
readonly AntiAffinity: "anti_affinity";
|
|
47
|
+
readonly TopologySpread: "topology_spread";
|
|
48
|
+
readonly Taints: "taints";
|
|
49
|
+
readonly LocalStorage: "local_storage";
|
|
50
|
+
readonly SafeToEvict: "safe_to_evict";
|
|
51
|
+
readonly KubeSystem: "kube_system";
|
|
52
|
+
readonly NoController: "no_controller";
|
|
53
|
+
readonly StaticPod: "static_pod";
|
|
54
|
+
};
|
|
55
|
+
type Item = (typeof Item)[keyof typeof Item];
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* A workload holding a node now, or a pod with no workload, on a node an autoscaler that consolidates removes,
|
|
4
|
+
* as a node's row lists it. It carries no saving of its own: a node goes only once every change holding it lands.
|
|
5
|
+
*/
|
|
6
|
+
export interface HeldChange {
|
|
7
|
+
namespace: string;
|
|
8
|
+
/** The workload's kind, "Pod" for a pod with no workload */
|
|
9
|
+
kind: string;
|
|
10
|
+
/** The workload's name, or the pod's */
|
|
11
|
+
name: string;
|
|
12
|
+
/** The one fix the change needs, the first that applies: fix_or_scale_to_zero when its Deployment or StatefulSet wants replicas and has none ready; pdb_allows_no_eviction when a PodDisruptionBudget lets none of its pods leave; do_not_disrupt for Karpenter's annotation; other for the rest (affinity, taints, local storage, no controller) */
|
|
13
|
+
fix: HeldChange.Fix;
|
|
14
|
+
/** The kinds of blocker its pods raise at the latest batch */
|
|
15
|
+
reasons: HeldChange.Reasons.Item[];
|
|
16
|
+
/** Whether it holds a node now that would go once its blockers clear and no open recommendation covers */
|
|
17
|
+
counts: boolean;
|
|
18
|
+
/** History: the hours of the window it held a node that would go */
|
|
19
|
+
hours_held: number;
|
|
20
|
+
/** The replicas its workload wants, at the latest batch; null for a pod without a workload */
|
|
21
|
+
workload_replicas?: (number | null) | undefined;
|
|
22
|
+
/** Of those, how many are ready */
|
|
23
|
+
workload_ready_replicas?: (number | null) | undefined;
|
|
24
|
+
/** Since when every batch has read its workload wanting replicas with none ready; null once one is ready or none is wanted */
|
|
25
|
+
workload_zero_ready_since?: (string | null) | undefined;
|
|
26
|
+
/** The PodDisruptionBudgets selecting its workload that allow no disruption now, by name; empty unless one of its reasons is pdb */
|
|
27
|
+
pdbs?: LevelFour.BlockingPdb[] | undefined;
|
|
28
|
+
/** The HPA or KEDA ScaledObject that scales its workload, KEDA's own object before the HPA it runs; null when nothing does */
|
|
29
|
+
scaler?: (LevelFour.WorkloadScaler | null) | undefined;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace HeldChange {
|
|
32
|
+
/** The one fix the change needs, the first that applies: fix_or_scale_to_zero when its Deployment or StatefulSet wants replicas and has none ready; pdb_allows_no_eviction when a PodDisruptionBudget lets none of its pods leave; do_not_disrupt for Karpenter's annotation; other for the rest (affinity, taints, local storage, no controller) */
|
|
33
|
+
const Fix: {
|
|
34
|
+
readonly FixOrScaleToZero: "fix_or_scale_to_zero";
|
|
35
|
+
readonly PdbAllowsNoEviction: "pdb_allows_no_eviction";
|
|
36
|
+
readonly DoNotDisrupt: "do_not_disrupt";
|
|
37
|
+
readonly Other: "other";
|
|
38
|
+
};
|
|
39
|
+
type Fix = (typeof Fix)[keyof typeof Fix];
|
|
40
|
+
type Reasons = Reasons.Item[];
|
|
41
|
+
namespace Reasons {
|
|
42
|
+
const Item: {
|
|
43
|
+
readonly DoNotDisrupt: "do_not_disrupt";
|
|
44
|
+
readonly Pdb: "pdb";
|
|
45
|
+
readonly NodeAffinity: "node_affinity";
|
|
46
|
+
readonly AntiAffinity: "anti_affinity";
|
|
47
|
+
readonly TopologySpread: "topology_spread";
|
|
48
|
+
readonly Taints: "taints";
|
|
49
|
+
readonly LocalStorage: "local_storage";
|
|
50
|
+
readonly SafeToEvict: "safe_to_evict";
|
|
51
|
+
readonly KubeSystem: "kube_system";
|
|
52
|
+
readonly NoController: "no_controller";
|
|
53
|
+
readonly StaticPod: "static_pod";
|
|
54
|
+
};
|
|
55
|
+
type Item = (typeof Item)[keyof typeof Item];
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 HeldChange_exports = {};
|
|
20
|
+
__export(HeldChange_exports, {
|
|
21
|
+
HeldChange: () => HeldChange
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(HeldChange_exports);
|
|
24
|
+
var HeldChange;
|
|
25
|
+
((HeldChange2) => {
|
|
26
|
+
HeldChange2.Fix = {
|
|
27
|
+
FixOrScaleToZero: "fix_or_scale_to_zero",
|
|
28
|
+
PdbAllowsNoEviction: "pdb_allows_no_eviction",
|
|
29
|
+
DoNotDisrupt: "do_not_disrupt",
|
|
30
|
+
Other: "other"
|
|
31
|
+
};
|
|
32
|
+
let Reasons;
|
|
33
|
+
((Reasons2) => {
|
|
34
|
+
Reasons2.Item = {
|
|
35
|
+
DoNotDisrupt: "do_not_disrupt",
|
|
36
|
+
Pdb: "pdb",
|
|
37
|
+
NodeAffinity: "node_affinity",
|
|
38
|
+
AntiAffinity: "anti_affinity",
|
|
39
|
+
TopologySpread: "topology_spread",
|
|
40
|
+
Taints: "taints",
|
|
41
|
+
LocalStorage: "local_storage",
|
|
42
|
+
SafeToEvict: "safe_to_evict",
|
|
43
|
+
KubeSystem: "kube_system",
|
|
44
|
+
NoController: "no_controller",
|
|
45
|
+
StaticPod: "static_pod"
|
|
46
|
+
};
|
|
47
|
+
})(Reasons = HeldChange2.Reasons || (HeldChange2.Reasons = {}));
|
|
48
|
+
})(HeldChange || (HeldChange = {}));
|
|
49
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
50
|
+
0 && (module.exports = {
|
|
51
|
+
HeldChange
|
|
52
|
+
});
|
|
53
|
+
//# sourceMappingURL=HeldChange.js.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var HeldChange;
|
|
2
|
+
((HeldChange2) => {
|
|
3
|
+
HeldChange2.Fix = {
|
|
4
|
+
FixOrScaleToZero: "fix_or_scale_to_zero",
|
|
5
|
+
PdbAllowsNoEviction: "pdb_allows_no_eviction",
|
|
6
|
+
DoNotDisrupt: "do_not_disrupt",
|
|
7
|
+
Other: "other"
|
|
8
|
+
};
|
|
9
|
+
let Reasons;
|
|
10
|
+
((Reasons2) => {
|
|
11
|
+
Reasons2.Item = {
|
|
12
|
+
DoNotDisrupt: "do_not_disrupt",
|
|
13
|
+
Pdb: "pdb",
|
|
14
|
+
NodeAffinity: "node_affinity",
|
|
15
|
+
AntiAffinity: "anti_affinity",
|
|
16
|
+
TopologySpread: "topology_spread",
|
|
17
|
+
Taints: "taints",
|
|
18
|
+
LocalStorage: "local_storage",
|
|
19
|
+
SafeToEvict: "safe_to_evict",
|
|
20
|
+
KubeSystem: "kube_system",
|
|
21
|
+
NoController: "no_controller",
|
|
22
|
+
StaticPod: "static_pod"
|
|
23
|
+
};
|
|
24
|
+
})(Reasons = HeldChange2.Reasons || (HeldChange2.Reasons = {}));
|
|
25
|
+
})(HeldChange || (HeldChange = {}));
|
|
26
|
+
export {
|
|
27
|
+
HeldChange
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=HeldChange.mjs.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The listed changes that need one fix. No saving: a node goes only once every change holding it lands, whatever
|
|
3
|
+
* their fixes.
|
|
4
|
+
*/
|
|
5
|
+
export interface HeldFixGroup {
|
|
6
|
+
fix: HeldFixGroup.Fix;
|
|
7
|
+
/** The listed changes that need this fix */
|
|
8
|
+
changes: number;
|
|
9
|
+
/** Of those, the ones holding a node that would go now */
|
|
10
|
+
counted: number;
|
|
11
|
+
/** The distinct nodes they hold now */
|
|
12
|
+
nodes: number;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace HeldFixGroup {
|
|
15
|
+
const Fix: {
|
|
16
|
+
readonly FixOrScaleToZero: "fix_or_scale_to_zero";
|
|
17
|
+
readonly PdbAllowsNoEviction: "pdb_allows_no_eviction";
|
|
18
|
+
readonly DoNotDisrupt: "do_not_disrupt";
|
|
19
|
+
readonly Other: "other";
|
|
20
|
+
};
|
|
21
|
+
type Fix = (typeof Fix)[keyof typeof Fix];
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The listed changes that need one fix. No saving: a node goes only once every change holding it lands, whatever
|
|
3
|
+
* their fixes.
|
|
4
|
+
*/
|
|
5
|
+
export interface HeldFixGroup {
|
|
6
|
+
fix: HeldFixGroup.Fix;
|
|
7
|
+
/** The listed changes that need this fix */
|
|
8
|
+
changes: number;
|
|
9
|
+
/** Of those, the ones holding a node that would go now */
|
|
10
|
+
counted: number;
|
|
11
|
+
/** The distinct nodes they hold now */
|
|
12
|
+
nodes: number;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace HeldFixGroup {
|
|
15
|
+
const Fix: {
|
|
16
|
+
readonly FixOrScaleToZero: "fix_or_scale_to_zero";
|
|
17
|
+
readonly PdbAllowsNoEviction: "pdb_allows_no_eviction";
|
|
18
|
+
readonly DoNotDisrupt: "do_not_disrupt";
|
|
19
|
+
readonly Other: "other";
|
|
20
|
+
};
|
|
21
|
+
type Fix = (typeof Fix)[keyof typeof Fix];
|
|
22
|
+
}
|
|
@@ -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 HeldFixGroup_exports = {};
|
|
20
|
+
__export(HeldFixGroup_exports, {
|
|
21
|
+
HeldFixGroup: () => HeldFixGroup
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(HeldFixGroup_exports);
|
|
24
|
+
var HeldFixGroup;
|
|
25
|
+
((HeldFixGroup2) => {
|
|
26
|
+
HeldFixGroup2.Fix = {
|
|
27
|
+
FixOrScaleToZero: "fix_or_scale_to_zero",
|
|
28
|
+
PdbAllowsNoEviction: "pdb_allows_no_eviction",
|
|
29
|
+
DoNotDisrupt: "do_not_disrupt",
|
|
30
|
+
Other: "other"
|
|
31
|
+
};
|
|
32
|
+
})(HeldFixGroup || (HeldFixGroup = {}));
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
HeldFixGroup
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=HeldFixGroup.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var HeldFixGroup;
|
|
2
|
+
((HeldFixGroup2) => {
|
|
3
|
+
HeldFixGroup2.Fix = {
|
|
4
|
+
FixOrScaleToZero: "fix_or_scale_to_zero",
|
|
5
|
+
PdbAllowsNoEviction: "pdb_allows_no_eviction",
|
|
6
|
+
DoNotDisrupt: "do_not_disrupt",
|
|
7
|
+
Other: "other"
|
|
8
|
+
};
|
|
9
|
+
})(HeldFixGroup || (HeldFixGroup = {}));
|
|
10
|
+
export {
|
|
11
|
+
HeldFixGroup
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=HeldFixGroup.mjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface HeldPool {
|
|
2
|
+
/** The NodePool or node group; empty for nodes in neither */
|
|
3
|
+
node_pool: string;
|
|
4
|
+
/** Its nodes the listed changes hold now */
|
|
5
|
+
nodes: number;
|
|
6
|
+
/** Of those, the ones that would go now and no recommendation covers */
|
|
7
|
+
nodes_would_free: number;
|
|
8
|
+
/** What those cost a month, each once; null when none is priced */
|
|
9
|
+
monthly?: (number | null) | undefined;
|
|
10
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
11
|
+
monthly_net?: (number | null) | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface HeldPool {
|
|
2
|
+
/** The NodePool or node group; empty for nodes in neither */
|
|
3
|
+
node_pool: string;
|
|
4
|
+
/** Its nodes the listed changes hold now */
|
|
5
|
+
nodes: number;
|
|
6
|
+
/** Of those, the ones that would go now and no recommendation covers */
|
|
7
|
+
nodes_would_free: number;
|
|
8
|
+
/** What those cost a month, each once; null when none is priced */
|
|
9
|
+
monthly?: (number | null) | undefined;
|
|
10
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
11
|
+
monthly_net?: (number | null) | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var HeldPool_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(HeldPool_exports);
|
|
17
|
+
//# sourceMappingURL=HeldPool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=HeldPool.mjs.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* History, outside every total: what the held nodes that would go cost over the window.
|
|
3
|
+
*/
|
|
4
|
+
export interface HeldWindow {
|
|
5
|
+
/** The hours of the window ingest worked out the held nodes in */
|
|
6
|
+
hours_averaged: number;
|
|
7
|
+
/** The average a month of what the held nodes that would go and no open recommendation covered cost in those hours, each node-hour once for the share of the batch's window it ran; null when none was priced */
|
|
8
|
+
monthly_average?: (number | null) | undefined;
|
|
9
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
10
|
+
monthly_average_net?: (number | null) | undefined;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* History, outside every total: what the held nodes that would go cost over the window.
|
|
3
|
+
*/
|
|
4
|
+
export interface HeldWindow {
|
|
5
|
+
/** The hours of the window ingest worked out the held nodes in */
|
|
6
|
+
hours_averaged: number;
|
|
7
|
+
/** The average a month of what the held nodes that would go and no open recommendation covered cost in those hours, each node-hour once for the share of the batch's window it ran; null when none was priced */
|
|
8
|
+
monthly_average?: (number | null) | undefined;
|
|
9
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
10
|
+
monthly_average_net?: (number | null) | undefined;
|
|
11
|
+
}
|
|
@@ -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 HeldWindow_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(HeldWindow_exports);
|
|
17
|
+
//# sourceMappingURL=HeldWindow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=HeldWindow.mjs.map
|
|
@@ -19,6 +19,10 @@ export interface InventoryPlanRow {
|
|
|
19
19
|
saved_monthly: number | null;
|
|
20
20
|
unused_monthly: number | null;
|
|
21
21
|
on_demand?: (LevelFour.CommitmentOnDemand | null) | undefined;
|
|
22
|
+
/** The commitment that already renewed this one, as the renewal plan names it, or null */
|
|
23
|
+
superseded_by: string | null;
|
|
24
|
+
/** When superseded_by started, ISO 8601, or null */
|
|
25
|
+
superseded_at: string | null;
|
|
22
26
|
plan_type: string;
|
|
23
27
|
commitment_hourly: number;
|
|
24
28
|
region: string | null;
|
|
@@ -19,6 +19,10 @@ export interface InventoryPlanRow {
|
|
|
19
19
|
saved_monthly: number | null;
|
|
20
20
|
unused_monthly: number | null;
|
|
21
21
|
on_demand?: (LevelFour.CommitmentOnDemand | null) | undefined;
|
|
22
|
+
/** The commitment that already renewed this one, as the renewal plan names it, or null */
|
|
23
|
+
superseded_by: string | null;
|
|
24
|
+
/** When superseded_by started, ISO 8601, or null */
|
|
25
|
+
superseded_at: string | null;
|
|
22
26
|
plan_type: string;
|
|
23
27
|
commitment_hourly: number;
|
|
24
28
|
region: string | null;
|
|
@@ -19,6 +19,10 @@ export interface InventoryReservationRow {
|
|
|
19
19
|
saved_monthly: number | null;
|
|
20
20
|
unused_monthly: number | null;
|
|
21
21
|
on_demand?: (LevelFour.CommitmentOnDemand | null) | undefined;
|
|
22
|
+
/** The commitment that already renewed this one, as the renewal plan names it, or null */
|
|
23
|
+
superseded_by: string | null;
|
|
24
|
+
/** When superseded_by started, ISO 8601, or null */
|
|
25
|
+
superseded_at: string | null;
|
|
22
26
|
service: string;
|
|
23
27
|
service_label: string;
|
|
24
28
|
resource: string;
|
|
@@ -19,6 +19,10 @@ export interface InventoryReservationRow {
|
|
|
19
19
|
saved_monthly: number | null;
|
|
20
20
|
unused_monthly: number | null;
|
|
21
21
|
on_demand?: (LevelFour.CommitmentOnDemand | null) | undefined;
|
|
22
|
+
/** The commitment that already renewed this one, as the renewal plan names it, or null */
|
|
23
|
+
superseded_by: string | null;
|
|
24
|
+
/** When superseded_by started, ISO 8601, or null */
|
|
25
|
+
superseded_at: string | null;
|
|
22
26
|
service: string;
|
|
23
27
|
service_label: string;
|
|
24
28
|
resource: string;
|
|
@@ -5,7 +5,7 @@ import type * as LevelFour from "../index.mjs";
|
|
|
5
5
|
* holds for it, and the workloads none holds for were checked and showed no JVM.
|
|
6
6
|
*/
|
|
7
7
|
export interface JvmChecks {
|
|
8
|
-
/** The workloads checked for a JVM: every current one, the ones the cluster's latest batch reported, ephemeral ones included, in the namespace when one is named. The workloads list opened with removed=exclude lists them */
|
|
8
|
+
/** The workloads checked for a JVM: every current one, the ones the cluster's latest batch reported, ephemeral ones included, in the namespace when one is named. The workloads list opened with removed=exclude lists them, and also the ones whose list went unreported (unreported_since) */
|
|
9
9
|
workloads: number;
|
|
10
10
|
/** The ones with a container the agent found to run a JVM, by its spec or by its running pods: a heap source of command, env or unresolved. jvm_check=signs */
|
|
11
11
|
by_signs: number;
|
|
@@ -5,7 +5,7 @@ import type * as LevelFour from "../index.js";
|
|
|
5
5
|
* holds for it, and the workloads none holds for were checked and showed no JVM.
|
|
6
6
|
*/
|
|
7
7
|
export interface JvmChecks {
|
|
8
|
-
/** The workloads checked for a JVM: every current one, the ones the cluster's latest batch reported, ephemeral ones included, in the namespace when one is named. The workloads list opened with removed=exclude lists them */
|
|
8
|
+
/** The workloads checked for a JVM: every current one, the ones the cluster's latest batch reported, ephemeral ones included, in the namespace when one is named. The workloads list opened with removed=exclude lists them, and also the ones whose list went unreported (unreported_since) */
|
|
9
9
|
workloads: number;
|
|
10
10
|
/** The ones with a container the agent found to run a JVM, by its spec or by its running pods: a heap source of command, env or unresolved. jvm_check=signs */
|
|
11
11
|
by_signs: number;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* What the verified Kubernetes changes saved, as the worker measured each one on the bill (#2043).
|
|
4
|
+
*/
|
|
5
|
+
export interface KubernetesRealized {
|
|
6
|
+
/** What they save a month: before minus after */
|
|
7
|
+
saved_monthly?: (number | null) | undefined;
|
|
8
|
+
/** What they saved since each one merged: its daily saving times the days it has run */
|
|
9
|
+
saved_to_date?: (number | null) | undefined;
|
|
10
|
+
changes: LevelFour.RealizedChanges;
|
|
11
|
+
/** What they cost a month before the change */
|
|
12
|
+
cost_before_monthly?: (number | null) | undefined;
|
|
13
|
+
/** What they cost a month after it */
|
|
14
|
+
cost_after_monthly?: (number | null) | undefined;
|
|
15
|
+
/** The month the first of them merged, YYYY-MM */
|
|
16
|
+
first_applied_month: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* What the verified Kubernetes changes saved, as the worker measured each one on the bill (#2043).
|
|
4
|
+
*/
|
|
5
|
+
export interface KubernetesRealized {
|
|
6
|
+
/** What they save a month: before minus after */
|
|
7
|
+
saved_monthly?: (number | null) | undefined;
|
|
8
|
+
/** What they saved since each one merged: its daily saving times the days it has run */
|
|
9
|
+
saved_to_date?: (number | null) | undefined;
|
|
10
|
+
changes: LevelFour.RealizedChanges;
|
|
11
|
+
/** What they cost a month before the change */
|
|
12
|
+
cost_before_monthly?: (number | null) | undefined;
|
|
13
|
+
/** What they cost a month after it */
|
|
14
|
+
cost_after_monthly?: (number | null) | undefined;
|
|
15
|
+
/** The month the first of them merged, YYYY-MM */
|
|
16
|
+
first_applied_month: string;
|
|
17
|
+
}
|
|
@@ -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 KubernetesRealized_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(KubernetesRealized_exports);
|
|
17
|
+
//# sourceMappingURL=KubernetesRealized.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=KubernetesRealized.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface KubernetesRealizedData {
|
|
3
|
+
/** Null when nothing is verified */
|
|
4
|
+
realized?: (LevelFour.KubernetesRealized | null) | undefined;
|
|
5
|
+
months: LevelFour.RealizedMonth[];
|
|
6
|
+
changes: LevelFour.RealizedChange[];
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface KubernetesRealizedData {
|
|
3
|
+
/** Null when nothing is verified */
|
|
4
|
+
realized?: (LevelFour.KubernetesRealized | null) | undefined;
|
|
5
|
+
months: LevelFour.RealizedMonth[];
|
|
6
|
+
changes: LevelFour.RealizedChange[];
|
|
7
|
+
}
|
|
@@ -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 KubernetesRealizedData_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(KubernetesRealizedData_exports);
|
|
17
|
+
//# sourceMappingURL=KubernetesRealizedData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=KubernetesRealizedData.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 KubernetesRealizedResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(KubernetesRealizedResponse_exports);
|
|
17
|
+
//# sourceMappingURL=KubernetesRealizedResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=KubernetesRealizedResponse.mjs.map
|
|
@@ -9,7 +9,7 @@ export interface KubernetesUsageSource {
|
|
|
9
9
|
nodes_cost: number | null;
|
|
10
10
|
/** complete when every cluster of the cloud had its nodes on every day of the 30; partial when some were not tied to a cluster, so monthly_cost is a floor; null for agent */
|
|
11
11
|
cost_scope: KubernetesUsageSource.CostScope | null;
|
|
12
|
-
/** The cloud's agent clusters plus those GET /v1/k8s/unmonitored-clusters lists for it, or the reporting agent clusters for agent
|
|
12
|
+
/** The cloud's agent clusters plus those GET /v1/k8s/unmonitored-clusters lists for it, or the reporting agent clusters for agent */
|
|
13
13
|
clusters: number | null;
|
|
14
14
|
}
|
|
15
15
|
export declare namespace KubernetesUsageSource {
|
|
@@ -9,7 +9,7 @@ export interface KubernetesUsageSource {
|
|
|
9
9
|
nodes_cost: number | null;
|
|
10
10
|
/** complete when every cluster of the cloud had its nodes on every day of the 30; partial when some were not tied to a cluster, so monthly_cost is a floor; null for agent */
|
|
11
11
|
cost_scope: KubernetesUsageSource.CostScope | null;
|
|
12
|
-
/** The cloud's agent clusters plus those GET /v1/k8s/unmonitored-clusters lists for it, or the reporting agent clusters for agent
|
|
12
|
+
/** The cloud's agent clusters plus those GET /v1/k8s/unmonitored-clusters lists for it, or the reporting agent clusters for agent */
|
|
13
13
|
clusters: number | null;
|
|
14
14
|
}
|
|
15
15
|
export declare namespace KubernetesUsageSource {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* One kind of Kubernetes saving as a switch (#2044).
|
|
4
|
+
*/
|
|
5
|
+
export interface Lever {
|
|
6
|
+
/** Whether it is on; null when it cannot be told */
|
|
7
|
+
on?: (boolean | null) | undefined;
|
|
8
|
+
/** What it yields a month; null when nothing measures it yet */
|
|
9
|
+
monthly?: (number | null) | undefined;
|
|
10
|
+
/** Of what it can act on, how much it acts on now */
|
|
11
|
+
count?: (LevelFour.LeverCount | null) | undefined;
|
|
12
|
+
}
|