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,31 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface ConsolidationChangeTotals {
|
|
3
|
+
/** What the nodes held now that would go and no open recommendation covers cost a month, each node once: the cluster's levers.consolidation.monthly. Null when none is priced */
|
|
4
|
+
monthly?: (number | null) | undefined;
|
|
5
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
6
|
+
monthly_net?: (number | null) | undefined;
|
|
7
|
+
/** The listed changes that count: levers.consolidation.changes */
|
|
8
|
+
changes: number;
|
|
9
|
+
/** The changes listed: every one holding a node now */
|
|
10
|
+
listed: number;
|
|
11
|
+
/** The distinct nodes the listed changes hold now */
|
|
12
|
+
nodes: number;
|
|
13
|
+
/** Of those, the ones that would go now and no recommendation covers: levers.consolidation.count.value */
|
|
14
|
+
nodes_would_free: number;
|
|
15
|
+
/** The changes that held a node that would go in the window and hold none now: not listed */
|
|
16
|
+
not_counted?: number | undefined;
|
|
17
|
+
/** History, outside every total; null when no hour was kept */
|
|
18
|
+
window?: (LevelFour.HeldWindow | null) | undefined;
|
|
19
|
+
/** The listed changes by the fix each needs, in that order, only fixes with one */
|
|
20
|
+
groups?: LevelFour.HeldFixGroup[] | undefined;
|
|
21
|
+
/** The held nodes by node pool, by name */
|
|
22
|
+
pools?: LevelFour.HeldPool[] | undefined;
|
|
23
|
+
/** When the batch the held nodes were read from ended; the fleet's, its oldest cluster's. Null before a cluster's first batch */
|
|
24
|
+
as_of?: (string | null) | undefined;
|
|
25
|
+
/** Deprecated (api#2112's shape): window.monthly_average, null when no hour was kept */
|
|
26
|
+
monthly_average?: (number | null) | undefined;
|
|
27
|
+
/** Deprecated: window.monthly_average_net */
|
|
28
|
+
monthly_average_net?: (number | null) | undefined;
|
|
29
|
+
/** Deprecated: window.hours_averaged, null when no hour was kept */
|
|
30
|
+
hours_averaged?: (number | null) | undefined;
|
|
31
|
+
}
|
|
@@ -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 ConsolidationChangeTotals_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ConsolidationChangeTotals_exports);
|
|
17
|
+
//# sourceMappingURL=ConsolidationChangeTotals.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ConsolidationChangeTotals.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface ConsolidationChangesData {
|
|
3
|
+
/** The changes that count first, the ones whose nodes that would go cost the most first; then the rest, the ones whose nodes cost the most first */
|
|
4
|
+
items: LevelFour.ConsolidationChange[];
|
|
5
|
+
pagination: LevelFour.PaginationMeta;
|
|
6
|
+
totals: LevelFour.ConsolidationChangeTotals;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface ConsolidationChangesData {
|
|
3
|
+
/** The changes that count first, the ones whose nodes that would go cost the most first; then the rest, the ones whose nodes cost the most first */
|
|
4
|
+
items: LevelFour.ConsolidationChange[];
|
|
5
|
+
pagination: LevelFour.PaginationMeta;
|
|
6
|
+
totals: LevelFour.ConsolidationChangeTotals;
|
|
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 ConsolidationChangesData_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ConsolidationChangesData_exports);
|
|
17
|
+
//# sourceMappingURL=ConsolidationChangesData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ConsolidationChangesData.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 ConsolidationChangesResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ConsolidationChangesResponse_exports);
|
|
17
|
+
//# sourceMappingURL=ConsolidationChangesResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ConsolidationChangesResponse.mjs.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Node consolidation, read from the held nodes' own totals (GET /clusters/{cluster_id}/consolidation-changes), so
|
|
4
|
+
* every card reads one value (#2199): monthly is what the nodes held now that would go and no open recommendation
|
|
5
|
+
* covers cost, each node once, and count is those nodes of the nodes held.
|
|
6
|
+
*/
|
|
7
|
+
export interface ConsolidationLever {
|
|
8
|
+
/** Whether it is on; null when it cannot be told */
|
|
9
|
+
on?: (boolean | null) | undefined;
|
|
10
|
+
/** What it yields a month; null when nothing measures it yet */
|
|
11
|
+
monthly?: (number | null) | undefined;
|
|
12
|
+
/** Of what it can act on, how much it acts on now */
|
|
13
|
+
count?: (LevelFour.LeverCount | null) | undefined;
|
|
14
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
15
|
+
monthly_net?: (number | null) | undefined;
|
|
16
|
+
/** The workloads, or pods with none, holding a node now that would go: the changes that count, totals.changes of GET /clusters/{cluster_id}/consolidation-changes */
|
|
17
|
+
changes?: number | undefined;
|
|
18
|
+
/** The hours of the window its history counts (totals.window.hours_averaged); null with none */
|
|
19
|
+
hours_averaged?: (number | null) | undefined;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Node consolidation, read from the held nodes' own totals (GET /clusters/{cluster_id}/consolidation-changes), so
|
|
4
|
+
* every card reads one value (#2199): monthly is what the nodes held now that would go and no open recommendation
|
|
5
|
+
* covers cost, each node once, and count is those nodes of the nodes held.
|
|
6
|
+
*/
|
|
7
|
+
export interface ConsolidationLever {
|
|
8
|
+
/** Whether it is on; null when it cannot be told */
|
|
9
|
+
on?: (boolean | null) | undefined;
|
|
10
|
+
/** What it yields a month; null when nothing measures it yet */
|
|
11
|
+
monthly?: (number | null) | undefined;
|
|
12
|
+
/** Of what it can act on, how much it acts on now */
|
|
13
|
+
count?: (LevelFour.LeverCount | null) | undefined;
|
|
14
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
15
|
+
monthly_net?: (number | null) | undefined;
|
|
16
|
+
/** The workloads, or pods with none, holding a node now that would go: the changes that count, totals.changes of GET /clusters/{cluster_id}/consolidation-changes */
|
|
17
|
+
changes?: number | undefined;
|
|
18
|
+
/** The hours of the window its history counts (totals.window.hours_averaged); null with none */
|
|
19
|
+
hours_averaged?: (number | null) | undefined;
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var ConsolidationLever_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ConsolidationLever_exports);
|
|
17
|
+
//# sourceMappingURL=ConsolidationLever.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ConsolidationLever.mjs.map
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* A node held now, with every change holding it: it goes only once all of them land.
|
|
4
|
+
*/
|
|
5
|
+
export interface ConsolidationNode {
|
|
6
|
+
node: string;
|
|
7
|
+
/** Its NodePool, or its node group; empty when it has neither */
|
|
8
|
+
node_pool?: string | undefined;
|
|
9
|
+
instance_type?: (string | null) | undefined;
|
|
10
|
+
/** spot, on-demand and so on, as the node reports it */
|
|
11
|
+
capacity_type?: (string | null) | undefined;
|
|
12
|
+
zone?: (string | null) | undefined;
|
|
13
|
+
/** Whether the node would go once every pod holding it is freed; null when not known */
|
|
14
|
+
node_would_free?: (boolean | null) | undefined;
|
|
15
|
+
/** Why it would stay (pods_need_room: its other pods need it); null unless node_would_free is false */
|
|
16
|
+
node_kept_reason?: (ConsolidationNode.NodeKeptReason | null) | undefined;
|
|
17
|
+
/** Why whether it would go is not known; null unless node_would_free is null */
|
|
18
|
+
node_not_known_reason?: (ConsolidationNode.NodeNotKnownReason | null) | undefined;
|
|
19
|
+
/** What the node costs a month, priced as the consolidation blockers price it */
|
|
20
|
+
node_monthly_cost?: (number | null) | undefined;
|
|
21
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
22
|
+
node_monthly_cost_net?: (number | null) | undefined;
|
|
23
|
+
/** When the node started, which tells twin nodes apart */
|
|
24
|
+
created_at?: (string | null) | undefined;
|
|
25
|
+
/** Whether an open recommendation covers it, whose saving that recommendation counts */
|
|
26
|
+
covered: boolean;
|
|
27
|
+
/** Whether it would go now and no open recommendation covers it */
|
|
28
|
+
counts: boolean;
|
|
29
|
+
/** Its node_monthly_cost when it counts, null otherwise */
|
|
30
|
+
monthly?: (number | null) | undefined;
|
|
31
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
32
|
+
monthly_net?: (number | null) | undefined;
|
|
33
|
+
/** Every listed change holding it now */
|
|
34
|
+
changes: LevelFour.HeldChange[];
|
|
35
|
+
}
|
|
36
|
+
export declare namespace ConsolidationNode {
|
|
37
|
+
const NodeKeptReason: {
|
|
38
|
+
readonly PodsNeedRoom: "pods_need_room";
|
|
39
|
+
readonly PoolRemovesOnlyEmpty: "pool_removes_only_empty";
|
|
40
|
+
readonly PoolNeverConsolidates: "pool_never_consolidates";
|
|
41
|
+
readonly AutoscalerThreshold: "autoscaler_threshold";
|
|
42
|
+
};
|
|
43
|
+
type NodeKeptReason = (typeof NodeKeptReason)[keyof typeof NodeKeptReason];
|
|
44
|
+
const NodeNotKnownReason: {
|
|
45
|
+
readonly PoolNotReported: "pool_not_reported";
|
|
46
|
+
readonly BudgetNotReported: "budget_not_reported";
|
|
47
|
+
readonly NotWorkedOut: "not_worked_out";
|
|
48
|
+
};
|
|
49
|
+
type NodeNotKnownReason = (typeof NodeNotKnownReason)[keyof typeof NodeNotKnownReason];
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* A node held now, with every change holding it: it goes only once all of them land.
|
|
4
|
+
*/
|
|
5
|
+
export interface ConsolidationNode {
|
|
6
|
+
node: string;
|
|
7
|
+
/** Its NodePool, or its node group; empty when it has neither */
|
|
8
|
+
node_pool?: string | undefined;
|
|
9
|
+
instance_type?: (string | null) | undefined;
|
|
10
|
+
/** spot, on-demand and so on, as the node reports it */
|
|
11
|
+
capacity_type?: (string | null) | undefined;
|
|
12
|
+
zone?: (string | null) | undefined;
|
|
13
|
+
/** Whether the node would go once every pod holding it is freed; null when not known */
|
|
14
|
+
node_would_free?: (boolean | null) | undefined;
|
|
15
|
+
/** Why it would stay (pods_need_room: its other pods need it); null unless node_would_free is false */
|
|
16
|
+
node_kept_reason?: (ConsolidationNode.NodeKeptReason | null) | undefined;
|
|
17
|
+
/** Why whether it would go is not known; null unless node_would_free is null */
|
|
18
|
+
node_not_known_reason?: (ConsolidationNode.NodeNotKnownReason | null) | undefined;
|
|
19
|
+
/** What the node costs a month, priced as the consolidation blockers price it */
|
|
20
|
+
node_monthly_cost?: (number | null) | undefined;
|
|
21
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
22
|
+
node_monthly_cost_net?: (number | null) | undefined;
|
|
23
|
+
/** When the node started, which tells twin nodes apart */
|
|
24
|
+
created_at?: (string | null) | undefined;
|
|
25
|
+
/** Whether an open recommendation covers it, whose saving that recommendation counts */
|
|
26
|
+
covered: boolean;
|
|
27
|
+
/** Whether it would go now and no open recommendation covers it */
|
|
28
|
+
counts: boolean;
|
|
29
|
+
/** Its node_monthly_cost when it counts, null otherwise */
|
|
30
|
+
monthly?: (number | null) | undefined;
|
|
31
|
+
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
32
|
+
monthly_net?: (number | null) | undefined;
|
|
33
|
+
/** Every listed change holding it now */
|
|
34
|
+
changes: LevelFour.HeldChange[];
|
|
35
|
+
}
|
|
36
|
+
export declare namespace ConsolidationNode {
|
|
37
|
+
const NodeKeptReason: {
|
|
38
|
+
readonly PodsNeedRoom: "pods_need_room";
|
|
39
|
+
readonly PoolRemovesOnlyEmpty: "pool_removes_only_empty";
|
|
40
|
+
readonly PoolNeverConsolidates: "pool_never_consolidates";
|
|
41
|
+
readonly AutoscalerThreshold: "autoscaler_threshold";
|
|
42
|
+
};
|
|
43
|
+
type NodeKeptReason = (typeof NodeKeptReason)[keyof typeof NodeKeptReason];
|
|
44
|
+
const NodeNotKnownReason: {
|
|
45
|
+
readonly PoolNotReported: "pool_not_reported";
|
|
46
|
+
readonly BudgetNotReported: "budget_not_reported";
|
|
47
|
+
readonly NotWorkedOut: "not_worked_out";
|
|
48
|
+
};
|
|
49
|
+
type NodeNotKnownReason = (typeof NodeNotKnownReason)[keyof typeof NodeNotKnownReason];
|
|
50
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var ConsolidationNode_exports = {};
|
|
20
|
+
__export(ConsolidationNode_exports, {
|
|
21
|
+
ConsolidationNode: () => ConsolidationNode
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(ConsolidationNode_exports);
|
|
24
|
+
var ConsolidationNode;
|
|
25
|
+
((ConsolidationNode2) => {
|
|
26
|
+
ConsolidationNode2.NodeKeptReason = {
|
|
27
|
+
PodsNeedRoom: "pods_need_room",
|
|
28
|
+
PoolRemovesOnlyEmpty: "pool_removes_only_empty",
|
|
29
|
+
PoolNeverConsolidates: "pool_never_consolidates",
|
|
30
|
+
AutoscalerThreshold: "autoscaler_threshold"
|
|
31
|
+
};
|
|
32
|
+
ConsolidationNode2.NodeNotKnownReason = {
|
|
33
|
+
PoolNotReported: "pool_not_reported",
|
|
34
|
+
BudgetNotReported: "budget_not_reported",
|
|
35
|
+
NotWorkedOut: "not_worked_out"
|
|
36
|
+
};
|
|
37
|
+
})(ConsolidationNode || (ConsolidationNode = {}));
|
|
38
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
+
0 && (module.exports = {
|
|
40
|
+
ConsolidationNode
|
|
41
|
+
});
|
|
42
|
+
//# sourceMappingURL=ConsolidationNode.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var ConsolidationNode;
|
|
2
|
+
((ConsolidationNode2) => {
|
|
3
|
+
ConsolidationNode2.NodeKeptReason = {
|
|
4
|
+
PodsNeedRoom: "pods_need_room",
|
|
5
|
+
PoolRemovesOnlyEmpty: "pool_removes_only_empty",
|
|
6
|
+
PoolNeverConsolidates: "pool_never_consolidates",
|
|
7
|
+
AutoscalerThreshold: "autoscaler_threshold"
|
|
8
|
+
};
|
|
9
|
+
ConsolidationNode2.NodeNotKnownReason = {
|
|
10
|
+
PoolNotReported: "pool_not_reported",
|
|
11
|
+
BudgetNotReported: "budget_not_reported",
|
|
12
|
+
NotWorkedOut: "not_worked_out"
|
|
13
|
+
};
|
|
14
|
+
})(ConsolidationNode || (ConsolidationNode = {}));
|
|
15
|
+
export {
|
|
16
|
+
ConsolidationNode
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=ConsolidationNode.mjs.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface ConsolidationNodesData {
|
|
3
|
+
/** The nodes that count first, the costliest first and unpriced last; then the rest, the costliest first */
|
|
4
|
+
items: LevelFour.ConsolidationNode[];
|
|
5
|
+
pagination: LevelFour.PaginationMeta;
|
|
6
|
+
/** The same totals as consolidation-changes */
|
|
7
|
+
totals: LevelFour.ConsolidationChangeTotals;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface ConsolidationNodesData {
|
|
3
|
+
/** The nodes that count first, the costliest first and unpriced last; then the rest, the costliest first */
|
|
4
|
+
items: LevelFour.ConsolidationNode[];
|
|
5
|
+
pagination: LevelFour.PaginationMeta;
|
|
6
|
+
/** The same totals as consolidation-changes */
|
|
7
|
+
totals: LevelFour.ConsolidationChangeTotals;
|
|
8
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var ConsolidationNodesData_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ConsolidationNodesData_exports);
|
|
17
|
+
//# sourceMappingURL=ConsolidationNodesData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ConsolidationNodesData.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 ConsolidationNodesResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ConsolidationNodesResponse_exports);
|
|
17
|
+
//# sourceMappingURL=ConsolidationNodesResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ConsolidationNodesResponse.mjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface FailingShare {
|
|
2
|
+
/** Current workloads that fail now: no replica ready in two batches in a row (the no_ready_replica and crash_looping indicators), or a container restarting at a crash loop's pace in the window's last two days, ready replica or not (the restarts indicator at high) */
|
|
3
|
+
workloads: number;
|
|
4
|
+
/** Their restarts in the window: a crash loop restarts every few minutes */
|
|
5
|
+
restarts: number;
|
|
6
|
+
/** How many of them restarted in the window */
|
|
7
|
+
restart_workloads: number;
|
|
8
|
+
/** Their OOM kills in the window */
|
|
9
|
+
oom_kills: number;
|
|
10
|
+
/** How many of them were OOM killed in the window */
|
|
11
|
+
oom_workloads: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface FailingShare {
|
|
2
|
+
/** Current workloads that fail now: no replica ready in two batches in a row (the no_ready_replica and crash_looping indicators), or a container restarting at a crash loop's pace in the window's last two days, ready replica or not (the restarts indicator at high) */
|
|
3
|
+
workloads: number;
|
|
4
|
+
/** Their restarts in the window: a crash loop restarts every few minutes */
|
|
5
|
+
restarts: number;
|
|
6
|
+
/** How many of them restarted in the window */
|
|
7
|
+
restart_workloads: number;
|
|
8
|
+
/** Their OOM kills in the window */
|
|
9
|
+
oom_kills: number;
|
|
10
|
+
/** How many of them were OOM killed in the window */
|
|
11
|
+
oom_workloads: number;
|
|
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 FailingShare_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(FailingShare_exports);
|
|
17
|
+
//# sourceMappingURL=FailingShare.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=FailingShare.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 FixAmount_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(FixAmount_exports);
|
|
17
|
+
//# sourceMappingURL=FixAmount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=FixAmount.mjs.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* What a fix moves on one resource of its container: its request and its limit, each from and to.
|
|
4
|
+
*/
|
|
5
|
+
export interface FixChange {
|
|
6
|
+
resource: FixChange.Resource;
|
|
7
|
+
request: LevelFour.FixAmount;
|
|
8
|
+
limit: LevelFour.FixAmount;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace FixChange {
|
|
11
|
+
const Resource: {
|
|
12
|
+
readonly Memory: "memory";
|
|
13
|
+
readonly Cpu: "cpu";
|
|
14
|
+
};
|
|
15
|
+
type Resource = (typeof Resource)[keyof typeof Resource];
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* What a fix moves on one resource of its container: its request and its limit, each from and to.
|
|
4
|
+
*/
|
|
5
|
+
export interface FixChange {
|
|
6
|
+
resource: FixChange.Resource;
|
|
7
|
+
request: LevelFour.FixAmount;
|
|
8
|
+
limit: LevelFour.FixAmount;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace FixChange {
|
|
11
|
+
const Resource: {
|
|
12
|
+
readonly Memory: "memory";
|
|
13
|
+
readonly Cpu: "cpu";
|
|
14
|
+
};
|
|
15
|
+
type Resource = (typeof Resource)[keyof typeof Resource];
|
|
16
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 FixChange_exports = {};
|
|
20
|
+
__export(FixChange_exports, {
|
|
21
|
+
FixChange: () => FixChange
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(FixChange_exports);
|
|
24
|
+
var FixChange;
|
|
25
|
+
((FixChange2) => {
|
|
26
|
+
FixChange2.Resource = {
|
|
27
|
+
Memory: "memory",
|
|
28
|
+
Cpu: "cpu"
|
|
29
|
+
};
|
|
30
|
+
})(FixChange || (FixChange = {}));
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
FixChange
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=FixChange.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* The tool that sizes the container, and the change to make in it (levelfour-api#2068).
|
|
4
|
+
*/
|
|
5
|
+
export interface FixSizedBy {
|
|
6
|
+
kind: FixSizedBy.Kind;
|
|
7
|
+
/** The change on one line */
|
|
8
|
+
action?: (string | null) | undefined;
|
|
9
|
+
/** The whole change, in words */
|
|
10
|
+
fix?: (string | null) | undefined;
|
|
11
|
+
flags?: (LevelFour.SizerFlag[] | null) | undefined;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace FixSizedBy {
|
|
14
|
+
const Kind: {
|
|
15
|
+
readonly Vpa: "vpa";
|
|
16
|
+
readonly AddonResizer: "addon_resizer";
|
|
17
|
+
readonly Admission: "admission";
|
|
18
|
+
};
|
|
19
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
20
|
+
}
|