levelfour 1.13.0 → 1.15.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/azure/client/Client.d.mts +20 -0
- package/dist/api/resources/azure/client/Client.d.ts +20 -0
- package/dist/api/resources/azure/client/Client.js +109 -0
- package/dist/api/resources/azure/client/Client.mjs +109 -0
- package/dist/api/resources/azure/client/requests/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequest.d.mts +8 -0
- package/dist/api/resources/azure/client/requests/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequest.d.ts +8 -0
- package/dist/api/resources/azure/client/requests/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequest.js +17 -0
- package/dist/api/resources/azure/client/requests/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequest.mjs +1 -0
- package/dist/api/resources/azure/client/requests/index.d.mts +1 -0
- package/dist/api/resources/azure/client/requests/index.d.ts +1 -0
- package/dist/api/resources/azure/index.d.mts +1 -0
- package/dist/api/resources/azure/index.d.ts +1 -0
- package/dist/api/resources/azure/index.js +3 -1
- package/dist/api/resources/azure/index.mjs +1 -0
- package/dist/api/resources/azure/types/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequestBy.d.mts +6 -0
- package/dist/api/resources/azure/types/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequestBy.d.ts +6 -0
- package/dist/api/resources/azure/types/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequestBy.js +33 -0
- package/dist/api/resources/azure/types/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequestBy.mjs +9 -0
- package/dist/api/resources/azure/types/index.d.mts +1 -0
- package/dist/api/resources/azure/types/index.d.ts +1 -0
- package/dist/api/resources/azure/types/index.js +23 -0
- package/dist/api/resources/azure/types/index.mjs +2 -0
- package/dist/api/resources/costs/client/Client.js +98 -18
- package/dist/api/resources/costs/client/Client.mjs +98 -18
- package/dist/api/resources/costs/client/requests/GetAllocationApiV1CostsAllocationGetRequest.d.mts +2 -0
- package/dist/api/resources/costs/client/requests/GetAllocationApiV1CostsAllocationGetRequest.d.ts +2 -0
- package/dist/api/resources/costs/client/requests/GetCostByTagApiV1CostsByTagGetRequest.d.mts +2 -0
- package/dist/api/resources/costs/client/requests/GetCostByTagApiV1CostsByTagGetRequest.d.ts +2 -0
- package/dist/api/resources/costs/client/requests/GetDailyCostsCostsRequest.d.mts +2 -0
- package/dist/api/resources/costs/client/requests/GetDailyCostsCostsRequest.d.ts +2 -0
- package/dist/api/resources/costs/client/requests/GetForecastApiV1CostsForecastGetRequest.d.mts +2 -0
- package/dist/api/resources/costs/client/requests/GetForecastApiV1CostsForecastGetRequest.d.ts +2 -0
- package/dist/api/resources/costs/client/requests/GetProviderFiltersCostsRequest.d.mts +24 -0
- package/dist/api/resources/costs/client/requests/GetProviderFiltersCostsRequest.d.ts +24 -0
- package/dist/api/resources/costs/client/requests/GetSummaryCostsRequest.d.mts +2 -0
- package/dist/api/resources/costs/client/requests/GetSummaryCostsRequest.d.ts +2 -0
- package/dist/api/resources/costs/client/requests/GetTopGrowingApiV1CostsTopGrowingGetRequest.d.mts +2 -0
- package/dist/api/resources/costs/client/requests/GetTopGrowingApiV1CostsTopGrowingGetRequest.d.ts +2 -0
- package/dist/api/resources/costs/client/requests/GetUsageApiV1CostsUsageGetRequest.d.mts +2 -0
- package/dist/api/resources/costs/client/requests/GetUsageApiV1CostsUsageGetRequest.d.ts +2 -0
- package/dist/api/resources/costs/client/requests/ListByProviderCostsRequest.d.mts +24 -0
- package/dist/api/resources/costs/client/requests/ListByProviderCostsRequest.d.ts +24 -0
- package/dist/api/resources/costs/types/GetAllocationApiV1CostsAllocationGetRequestShowCostAs.d.mts +7 -0
- package/dist/api/resources/costs/types/GetAllocationApiV1CostsAllocationGetRequestShowCostAs.d.ts +7 -0
- package/dist/api/resources/costs/types/GetAllocationApiV1CostsAllocationGetRequestShowCostAs.js +33 -0
- package/dist/api/resources/costs/types/GetAllocationApiV1CostsAllocationGetRequestShowCostAs.mjs +9 -0
- package/dist/api/resources/costs/types/GetCostByTagApiV1CostsByTagGetRequestShowCostAs.d.mts +7 -0
- package/dist/api/resources/costs/types/GetCostByTagApiV1CostsByTagGetRequestShowCostAs.d.ts +7 -0
- package/dist/api/resources/costs/types/GetCostByTagApiV1CostsByTagGetRequestShowCostAs.js +33 -0
- package/dist/api/resources/costs/types/GetCostByTagApiV1CostsByTagGetRequestShowCostAs.mjs +9 -0
- package/dist/api/resources/costs/types/GetDailyCostsCostsRequestShowCostAs.d.mts +7 -0
- package/dist/api/resources/costs/types/GetDailyCostsCostsRequestShowCostAs.d.ts +7 -0
- package/dist/api/resources/costs/types/GetDailyCostsCostsRequestShowCostAs.js +33 -0
- package/dist/api/resources/costs/types/GetDailyCostsCostsRequestShowCostAs.mjs +9 -0
- package/dist/api/resources/costs/types/GetForecastApiV1CostsForecastGetRequestShowCostAs.d.mts +7 -0
- package/dist/api/resources/costs/types/GetForecastApiV1CostsForecastGetRequestShowCostAs.d.ts +7 -0
- package/dist/api/resources/costs/types/GetForecastApiV1CostsForecastGetRequestShowCostAs.js +33 -0
- package/dist/api/resources/costs/types/GetForecastApiV1CostsForecastGetRequestShowCostAs.mjs +9 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBenefitNameMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBenefitNameMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBenefitNameMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBenefitNameMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBillingProfileMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBillingProfileMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBillingProfileMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBillingProfileMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestInvoiceSectionMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestInvoiceSectionMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestInvoiceSectionMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestInvoiceSectionMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterNameMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterNameMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterNameMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterNameMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterSubcategoryMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterSubcategoryMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterSubcategoryMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterSubcategoryMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestProductMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestProductMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestProductMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestProductMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestPublisherTypeMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestPublisherTypeMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestPublisherTypeMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestPublisherTypeMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestServiceFamilyMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestServiceFamilyMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestServiceFamilyMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestServiceFamilyMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetSummaryCostsRequestShowCostAs.d.mts +7 -0
- package/dist/api/resources/costs/types/GetSummaryCostsRequestShowCostAs.d.ts +7 -0
- package/dist/api/resources/costs/types/GetSummaryCostsRequestShowCostAs.js +33 -0
- package/dist/api/resources/costs/types/GetSummaryCostsRequestShowCostAs.mjs +9 -0
- package/dist/api/resources/costs/types/GetTopGrowingApiV1CostsTopGrowingGetRequestShowCostAs.d.mts +7 -0
- package/dist/api/resources/costs/types/GetTopGrowingApiV1CostsTopGrowingGetRequestShowCostAs.d.ts +7 -0
- package/dist/api/resources/costs/types/GetTopGrowingApiV1CostsTopGrowingGetRequestShowCostAs.js +33 -0
- package/dist/api/resources/costs/types/GetTopGrowingApiV1CostsTopGrowingGetRequestShowCostAs.mjs +9 -0
- package/dist/api/resources/costs/types/GetUsageApiV1CostsUsageGetRequestShowCostAs.d.mts +7 -0
- package/dist/api/resources/costs/types/GetUsageApiV1CostsUsageGetRequestShowCostAs.d.ts +7 -0
- package/dist/api/resources/costs/types/GetUsageApiV1CostsUsageGetRequestShowCostAs.js +33 -0
- package/dist/api/resources/costs/types/GetUsageApiV1CostsUsageGetRequestShowCostAs.mjs +9 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBenefitNameMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBenefitNameMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBenefitNameMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBenefitNameMode.mjs +8 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBillingProfileMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBillingProfileMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBillingProfileMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBillingProfileMode.mjs +8 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestInvoiceSectionMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestInvoiceSectionMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestInvoiceSectionMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestInvoiceSectionMode.mjs +8 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterNameMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterNameMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterNameMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterNameMode.mjs +8 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterSubcategoryMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterSubcategoryMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterSubcategoryMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterSubcategoryMode.mjs +8 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestProductMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestProductMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestProductMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestProductMode.mjs +8 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestPublisherTypeMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestPublisherTypeMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestPublisherTypeMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestPublisherTypeMode.mjs +8 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestServiceFamilyMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestServiceFamilyMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestServiceFamilyMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestServiceFamilyMode.mjs +8 -0
- package/dist/api/resources/costs/types/index.d.mts +23 -0
- package/dist/api/resources/costs/types/index.d.ts +23 -0
- package/dist/api/resources/costs/types/index.js +46 -0
- package/dist/api/resources/costs/types/index.mjs +23 -0
- package/dist/api/resources/index.d.mts +1 -0
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -0
- package/dist/api/resources/index.mjs +1 -0
- package/dist/api/resources/kubernetes/client/Client.d.mts +19 -0
- package/dist/api/resources/kubernetes/client/Client.d.ts +19 -0
- package/dist/api/resources/kubernetes/client/Client.js +96 -0
- package/dist/api/resources/kubernetes/client/Client.mjs +96 -0
- package/dist/api/types/AgentCpuSetElsewhere.d.mts +20 -0
- package/dist/api/types/AgentCpuSetElsewhere.d.ts +20 -0
- package/dist/api/types/AgentCpuSetElsewhere.js +17 -0
- package/dist/api/types/AgentCpuSetElsewhere.mjs +1 -0
- package/dist/api/types/AllocationData.d.mts +9 -0
- package/dist/api/types/AllocationData.d.ts +9 -0
- package/dist/api/types/AllocationData.js +5 -0
- package/dist/api/types/AllocationData.mjs +5 -0
- package/dist/api/types/AnomalyDetail.d.mts +8 -0
- package/dist/api/types/AnomalyDetail.d.ts +8 -0
- package/dist/api/types/AnomalyDetail.js +4 -0
- package/dist/api/types/AnomalyDetail.mjs +4 -0
- package/dist/api/types/AnomalyListItem.d.mts +8 -0
- package/dist/api/types/AnomalyListItem.d.ts +8 -0
- package/dist/api/types/AnomalyListItem.js +4 -0
- package/dist/api/types/AnomalyListItem.mjs +4 -0
- package/dist/api/types/AutomationAction.d.mts +2 -0
- package/dist/api/types/AutomationAction.d.ts +2 -0
- package/dist/api/types/AutomationComponent.d.mts +2 -0
- package/dist/api/types/AutomationComponent.d.ts +2 -0
- package/dist/api/types/AutomationEvent.d.mts +8 -2
- package/dist/api/types/AutomationEvent.d.ts +8 -2
- package/dist/api/types/AzureBudgetItem.d.mts +14 -3
- package/dist/api/types/AzureBudgetItem.d.ts +14 -3
- package/dist/api/types/AzureDataAvailabilityData.d.mts +4 -0
- package/dist/api/types/AzureDataAvailabilityData.d.ts +4 -0
- package/dist/api/types/AzureInventoryBreakdownData.d.mts +20 -0
- package/dist/api/types/AzureInventoryBreakdownData.d.ts +20 -0
- package/dist/api/types/AzureInventoryBreakdownData.js +41 -0
- package/dist/api/types/AzureInventoryBreakdownData.mjs +17 -0
- package/dist/api/types/AzureInventoryBreakdownItem.d.mts +18 -0
- package/dist/api/types/AzureInventoryBreakdownItem.d.ts +18 -0
- package/dist/api/types/AzureInventoryBreakdownItem.js +35 -0
- package/dist/api/types/AzureInventoryBreakdownItem.mjs +11 -0
- package/dist/api/types/AzureInventoryBreakdownResponse.d.mts +6 -0
- package/dist/api/types/AzureInventoryBreakdownResponse.d.ts +6 -0
- package/dist/api/types/AzureInventoryBreakdownResponse.js +17 -0
- package/dist/api/types/AzureInventoryBreakdownResponse.mjs +1 -0
- package/dist/api/types/AzureSubscriptionItem.d.mts +12 -3
- package/dist/api/types/AzureSubscriptionItem.d.ts +12 -3
- package/dist/api/types/AzureSubscriptionItem.js +18 -0
- package/dist/api/types/AzureSubscriptionItem.mjs +10 -0
- package/dist/api/types/BodyUploadInvoiceApiV1CustomerInvoicesPost.d.mts +17 -0
- package/dist/api/types/BodyUploadInvoiceApiV1CustomerInvoicesPost.d.ts +17 -0
- package/dist/api/types/BodyUploadInvoiceApiV1CustomerInvoicesPost.js +35 -0
- package/dist/api/types/BodyUploadInvoiceApiV1CustomerInvoicesPost.mjs +11 -0
- package/dist/api/types/ClusterAutomation.d.mts +1 -0
- package/dist/api/types/ClusterAutomation.d.ts +1 -0
- package/dist/api/types/ClusterItem.d.mts +2 -0
- package/dist/api/types/ClusterItem.d.ts +2 -0
- package/dist/api/types/ConsolidationBlockersData.d.mts +1 -0
- package/dist/api/types/ConsolidationBlockersData.d.ts +1 -0
- package/dist/api/types/DailySpendingBreakdownData.d.mts +11 -0
- package/dist/api/types/DailySpendingBreakdownData.d.ts +11 -0
- package/dist/api/types/DailySpendingBreakdownData.js +19 -0
- package/dist/api/types/DailySpendingBreakdownData.mjs +11 -0
- package/dist/api/types/DoWasteSignal.d.mts +10 -1
- package/dist/api/types/DoWasteSignal.d.ts +10 -1
- package/dist/api/types/DoWasteSignal.js +18 -0
- package/dist/api/types/DoWasteSignal.mjs +10 -0
- package/dist/api/types/DoWasteSignalsData.d.mts +3 -0
- package/dist/api/types/DoWasteSignalsData.d.ts +3 -0
- package/dist/api/types/DoWasteSignalsData.js +2 -1
- package/dist/api/types/DoWasteSignalsData.mjs +2 -1
- package/dist/api/types/ExtractRequest.d.mts +28 -0
- package/dist/api/types/ExtractRequest.d.ts +28 -0
- package/dist/api/types/ExtractRequest.js +35 -0
- package/dist/api/types/ExtractRequest.mjs +11 -0
- package/dist/api/types/FleetSummary.d.mts +2 -0
- package/dist/api/types/FleetSummary.d.ts +2 -0
- package/dist/api/types/FleetWorkload.d.mts +2 -0
- package/dist/api/types/FleetWorkload.d.ts +2 -0
- package/dist/api/types/FleetWorkloadFacets.d.mts +1 -1
- package/dist/api/types/FleetWorkloadFacets.d.ts +1 -1
- package/dist/api/types/ForecastData.d.mts +9 -0
- package/dist/api/types/ForecastData.d.ts +9 -0
- package/dist/api/types/ForecastData.js +5 -0
- package/dist/api/types/ForecastData.mjs +5 -0
- package/dist/api/types/HeldOutcomeFacets.d.mts +5 -0
- package/dist/api/types/HeldOutcomeFacets.d.ts +5 -0
- package/dist/api/types/HeldOutcomeFacets.js +17 -0
- package/dist/api/types/HeldOutcomeFacets.mjs +1 -0
- package/dist/api/types/InventoryWasteSignal.d.mts +10 -1
- package/dist/api/types/InventoryWasteSignal.d.ts +10 -1
- package/dist/api/types/InventoryWasteSignal.js +18 -0
- package/dist/api/types/InventoryWasteSignal.mjs +10 -0
- package/dist/api/types/InventoryWasteSignalsData.d.mts +3 -0
- package/dist/api/types/InventoryWasteSignalsData.d.ts +3 -0
- package/dist/api/types/InventoryWasteSignalsData.js +2 -1
- package/dist/api/types/InventoryWasteSignalsData.mjs +2 -1
- package/dist/api/types/InvoiceDetail.d.mts +75 -0
- package/dist/api/types/InvoiceDetail.d.ts +75 -0
- package/dist/api/types/InvoiceDetail.js +53 -0
- package/dist/api/types/InvoiceDetail.mjs +29 -0
- package/dist/api/types/InvoiceDetailResponse.d.mts +6 -0
- package/dist/api/types/InvoiceDetailResponse.d.ts +6 -0
- package/dist/api/types/InvoiceDetailResponse.js +17 -0
- package/dist/api/types/InvoiceDetailResponse.mjs +1 -0
- package/dist/api/types/InvoiceLine.d.mts +40 -0
- package/dist/api/types/InvoiceLine.d.ts +40 -0
- package/dist/api/types/InvoiceLine.js +38 -0
- package/dist/api/types/InvoiceLine.mjs +14 -0
- package/dist/api/types/InvoiceLinesPage.d.mts +7 -0
- package/dist/api/types/InvoiceLinesPage.d.ts +7 -0
- package/dist/api/types/InvoiceLinesPage.js +17 -0
- package/dist/api/types/InvoiceLinesPage.mjs +1 -0
- package/dist/api/types/InvoiceLinesResponse.d.mts +6 -0
- package/dist/api/types/InvoiceLinesResponse.d.ts +6 -0
- package/dist/api/types/InvoiceLinesResponse.js +17 -0
- package/dist/api/types/InvoiceLinesResponse.mjs +1 -0
- package/dist/api/types/InvoiceListResponse.d.mts +6 -0
- package/dist/api/types/InvoiceListResponse.d.ts +6 -0
- package/dist/api/types/InvoiceListResponse.js +17 -0
- package/dist/api/types/InvoiceListResponse.mjs +1 -0
- package/dist/api/types/InvoiceSummary.d.mts +66 -0
- package/dist/api/types/InvoiceSummary.d.ts +66 -0
- package/dist/api/types/InvoiceSummary.js +53 -0
- package/dist/api/types/InvoiceSummary.mjs +29 -0
- package/dist/api/types/InvoiceSummaryResponse.d.mts +6 -0
- package/dist/api/types/InvoiceSummaryResponse.d.ts +6 -0
- package/dist/api/types/InvoiceSummaryResponse.js +17 -0
- package/dist/api/types/InvoiceSummaryResponse.mjs +1 -0
- package/dist/api/types/JvmChecks.d.mts +18 -0
- package/dist/api/types/JvmChecks.d.ts +18 -0
- package/dist/api/types/JvmChecks.js +17 -0
- package/dist/api/types/JvmChecks.mjs +1 -0
- package/dist/api/types/JvmReaderHealth.d.mts +2 -0
- package/dist/api/types/JvmReaderHealth.d.ts +2 -0
- package/dist/api/types/JvmReaderNodeHealth.d.mts +2 -0
- package/dist/api/types/JvmReaderNodeHealth.d.ts +2 -0
- package/dist/api/types/JvmReaderReach.d.mts +6 -0
- package/dist/api/types/JvmReaderReach.d.ts +6 -0
- package/dist/api/types/JvmReaderReach.js +17 -0
- package/dist/api/types/JvmReaderReach.mjs +1 -0
- package/dist/api/types/KubeletResize.d.mts +15 -0
- package/dist/api/types/KubeletResize.d.ts +15 -0
- package/dist/api/types/KubeletResize.js +17 -0
- package/dist/api/types/KubeletResize.mjs +1 -0
- package/dist/api/types/KubernetesUsage.d.mts +9 -0
- package/dist/api/types/KubernetesUsage.d.ts +9 -0
- package/dist/api/types/KubernetesUsage.js +17 -0
- package/dist/api/types/KubernetesUsage.mjs +1 -0
- package/dist/api/types/KubernetesUsageResponse.d.mts +6 -0
- package/dist/api/types/KubernetesUsageResponse.d.ts +6 -0
- package/dist/api/types/KubernetesUsageResponse.js +17 -0
- package/dist/api/types/KubernetesUsageResponse.mjs +1 -0
- package/dist/api/types/KubernetesUsageSource.d.mts +29 -0
- package/dist/api/types/KubernetesUsageSource.d.ts +29 -0
- package/dist/api/types/KubernetesUsageSource.js +41 -0
- package/dist/api/types/KubernetesUsageSource.mjs +17 -0
- package/dist/api/types/NamespaceReliability.d.mts +5 -1
- package/dist/api/types/NamespaceReliability.d.ts +5 -1
- package/dist/api/types/NodeFacets.d.mts +2 -0
- package/dist/api/types/NodeFacets.d.ts +2 -0
- package/dist/api/types/NodeHealthDay.d.mts +2 -0
- package/dist/api/types/NodeHealthDay.d.ts +2 -0
- package/dist/api/types/NodeItem.d.mts +8 -0
- package/dist/api/types/NodeItem.d.ts +8 -0
- package/dist/api/types/NodeItem.js +5 -0
- package/dist/api/types/NodeItem.mjs +5 -0
- package/dist/api/types/PodPhases.d.mts +1 -1
- package/dist/api/types/PodPhases.d.ts +1 -1
- package/dist/api/types/PodsOnNode.d.mts +4 -0
- package/dist/api/types/PodsOnNode.d.ts +4 -0
- package/dist/api/types/ProviderBreakdownItem.d.mts +9 -0
- package/dist/api/types/ProviderBreakdownItem.d.ts +9 -0
- package/dist/api/types/ProviderBreakdownItem.js +4 -0
- package/dist/api/types/ProviderBreakdownItem.mjs +4 -0
- package/dist/api/types/ProviderFilterOptionsData.d.mts +16 -0
- package/dist/api/types/ProviderFilterOptionsData.d.ts +16 -0
- package/dist/api/types/ProviderServiceBreakdownItem.d.mts +16 -0
- package/dist/api/types/ProviderServiceBreakdownItem.d.ts +16 -0
- package/dist/api/types/RecommendationItem.d.mts +9 -0
- package/dist/api/types/RecommendationItem.d.ts +9 -0
- package/dist/api/types/RecommendationItem.js +4 -0
- package/dist/api/types/RecommendationItem.mjs +4 -0
- package/dist/api/types/RecommendationsOverviewData.d.mts +2 -0
- package/dist/api/types/RecommendationsOverviewData.d.ts +2 -0
- package/dist/api/types/ReliabilityCounts.d.mts +5 -1
- package/dist/api/types/ReliabilityCounts.d.ts +5 -1
- package/dist/api/types/ReliabilityDay.d.mts +5 -0
- package/dist/api/types/ReliabilityDay.d.ts +5 -0
- package/dist/api/types/ReliabilityEventDay.d.mts +2 -0
- package/dist/api/types/ReliabilityEventDay.d.ts +2 -0
- package/dist/api/types/ReliabilityFacetCount.d.mts +2 -0
- package/dist/api/types/ReliabilityFacetCount.d.ts +2 -0
- package/dist/api/types/ReliabilityFacetCount.js +3 -1
- package/dist/api/types/ReliabilityFacetCount.mjs +3 -1
- package/dist/api/types/ReliabilityLens.d.mts +1 -1
- package/dist/api/types/ReliabilityLens.d.ts +1 -1
- package/dist/api/types/ReliabilityTotals.d.mts +6 -2
- package/dist/api/types/ReliabilityTotals.d.ts +6 -2
- package/dist/api/types/RequestAmounts.d.mts +6 -0
- package/dist/api/types/RequestAmounts.d.ts +6 -0
- package/dist/api/types/RequestAmounts.js +17 -0
- package/dist/api/types/RequestAmounts.mjs +1 -0
- package/dist/api/types/ResourceItem.d.mts +9 -2
- package/dist/api/types/ResourceItem.d.ts +9 -2
- package/dist/api/types/ResourceItem.js +18 -0
- package/dist/api/types/ResourceItem.mjs +10 -0
- package/dist/api/types/ResourceTotals.d.mts +9 -0
- package/dist/api/types/ResourceTotals.d.ts +9 -0
- package/dist/api/types/ResourceTotals.js +18 -0
- package/dist/api/types/ResourceTotals.mjs +10 -0
- package/dist/api/types/SetSizingPolicyRequest.d.mts +23 -4
- package/dist/api/types/SetSizingPolicyRequest.d.ts +23 -4
- package/dist/api/types/SetSizingPolicyRequest.js +14 -1
- package/dist/api/types/SetSizingPolicyRequest.mjs +14 -1
- package/dist/api/types/SizedElsewhere.d.mts +21 -0
- package/dist/api/types/SizedElsewhere.d.ts +21 -0
- package/dist/api/types/SizedElsewhere.js +17 -0
- package/dist/api/types/SizedElsewhere.mjs +1 -0
- package/dist/api/types/SizedElsewherePool.d.mts +18 -0
- package/dist/api/types/SizedElsewherePool.d.ts +18 -0
- package/dist/api/types/SizedElsewherePool.js +17 -0
- package/dist/api/types/SizedElsewherePool.mjs +1 -0
- package/dist/api/types/SizedElsewhereResponse.d.mts +6 -0
- package/dist/api/types/SizedElsewhereResponse.d.ts +6 -0
- package/dist/api/types/SizedElsewhereResponse.js +17 -0
- package/dist/api/types/SizedElsewhereResponse.mjs +1 -0
- package/dist/api/types/SizingPolicies.d.mts +6 -3
- package/dist/api/types/SizingPolicies.d.ts +6 -3
- package/dist/api/types/SizingPolicies.js +2 -1
- package/dist/api/types/SizingPolicies.mjs +2 -1
- package/dist/api/types/SizingPolicy.d.mts +24 -3
- package/dist/api/types/SizingPolicy.d.ts +24 -3
- package/dist/api/types/SizingPolicy.js +14 -1
- package/dist/api/types/SizingPolicy.mjs +14 -1
- package/dist/api/types/SpendingSummaryData.d.mts +9 -0
- package/dist/api/types/SpendingSummaryData.d.ts +9 -0
- package/dist/api/types/SpendingSummaryData.js +5 -0
- package/dist/api/types/SpendingSummaryData.mjs +5 -0
- package/dist/api/types/TagCoverage.d.mts +2 -0
- package/dist/api/types/TagCoverage.d.ts +2 -0
- package/dist/api/types/TeamCostData.d.mts +9 -0
- package/dist/api/types/TeamCostData.d.ts +9 -0
- package/dist/api/types/TeamCostData.js +5 -0
- package/dist/api/types/TeamCostData.mjs +5 -0
- package/dist/api/types/TopGrowingData.d.mts +9 -0
- package/dist/api/types/TopGrowingData.d.ts +9 -0
- package/dist/api/types/TopGrowingData.js +5 -0
- package/dist/api/types/TopGrowingData.mjs +5 -0
- package/dist/api/types/UnmonitoredCluster.d.mts +26 -0
- package/dist/api/types/UnmonitoredCluster.d.ts +26 -0
- package/dist/api/types/UnmonitoredCluster.js +39 -0
- package/dist/api/types/UnmonitoredCluster.mjs +15 -0
- package/dist/api/types/UnmonitoredClusterList.d.mts +5 -0
- package/dist/api/types/UnmonitoredClusterList.d.ts +5 -0
- package/dist/api/types/UnmonitoredClusterList.js +17 -0
- package/dist/api/types/UnmonitoredClusterList.mjs +1 -0
- package/dist/api/types/UnmonitoredClusterListResponse.d.mts +6 -0
- package/dist/api/types/UnmonitoredClusterListResponse.d.ts +6 -0
- package/dist/api/types/UnmonitoredClusterListResponse.js +17 -0
- package/dist/api/types/UnmonitoredClusterListResponse.mjs +1 -0
- package/dist/api/types/UsageData.d.mts +9 -0
- package/dist/api/types/UsageData.d.ts +9 -0
- package/dist/api/types/UsageData.js +5 -0
- package/dist/api/types/UsageData.mjs +5 -0
- package/dist/api/types/UsageTypeItem.d.mts +2 -2
- package/dist/api/types/UsageTypeItem.d.ts +2 -2
- package/dist/api/types/WorkloadItem.d.mts +4 -0
- package/dist/api/types/WorkloadItem.d.ts +4 -0
- package/dist/api/types/WorkloadListItem.d.mts +4 -0
- package/dist/api/types/WorkloadListItem.d.ts +4 -0
- package/dist/api/types/index.d.mts +28 -0
- package/dist/api/types/index.d.ts +28 -0
- package/dist/api/types/index.js +56 -0
- package/dist/api/types/index.mjs +28 -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,18 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Each count opens the workloads list with the jvm_check filter named beside it, over the same window and
|
|
4
|
+
* namespace, and lists as many workloads. A workload counts under the first of signs, reader and unchecked that
|
|
5
|
+
* holds for it, and the workloads none holds for were checked and showed no JVM.
|
|
6
|
+
*/
|
|
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 */
|
|
9
|
+
workloads: number;
|
|
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
|
+
by_signs: number;
|
|
12
|
+
/** The ones with no such container that the JVM reader measured a JVM in, in a container still in the workload, over the window. jvm_check=reader */
|
|
13
|
+
by_reader: number;
|
|
14
|
+
/** How many nodes the reader answered on in its latest window; null when it never reported */
|
|
15
|
+
reader: LevelFour.JvmReaderReach | null;
|
|
16
|
+
/** The ones with neither a sign nor a measurement and no pod on a node the reader answered on in its latest window: none runs (scaled to zero, a CronJob between runs), none has a node yet, or every one runs where the reader has another state or no row. The reader never looked at them, so whether they run a JVM is unknown. jvm_check=unchecked. Null when the reader never reported, since it then checked none. The workloads the three counts leave run a pod where the reader answered and showed no JVM */
|
|
17
|
+
unchecked: number | null;
|
|
18
|
+
}
|
|
@@ -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 JvmChecks_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(JvmChecks_exports);
|
|
17
|
+
//# sourceMappingURL=JvmChecks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=JvmChecks.mjs.map
|
|
@@ -10,6 +10,8 @@ export interface JvmReaderNodeHealth {
|
|
|
10
10
|
missed: Record<string, number>;
|
|
11
11
|
/** The processes on the node the kernel would not let it see, in its last sample */
|
|
12
12
|
hidden: number;
|
|
13
|
+
/** On a blocked node, what the API server said refusing the reader's pod: Pod Security's and a quota's words whole, a webhook's name. Null on any other node, and from an agent before 0.8.1 */
|
|
14
|
+
reason: string | null;
|
|
13
15
|
}
|
|
14
16
|
export declare namespace JvmReaderNodeHealth {
|
|
15
17
|
/** ok; no_reader when none runs on the node; pending when its pod has not started; unreachable when it did not answer; blocked when the API server refused its pod, as an admission policy refusing SYS_PTRACE or hostPID does; untolerated when the node carries a taint it does not tolerate; excluded when its node selector or affinity leaves the node out */
|
|
@@ -10,6 +10,8 @@ export interface JvmReaderNodeHealth {
|
|
|
10
10
|
missed: Record<string, number>;
|
|
11
11
|
/** The processes on the node the kernel would not let it see, in its last sample */
|
|
12
12
|
hidden: number;
|
|
13
|
+
/** On a blocked node, what the API server said refusing the reader's pod: Pod Security's and a quota's words whole, a webhook's name. Null on any other node, and from an agent before 0.8.1 */
|
|
14
|
+
reason: string | null;
|
|
13
15
|
}
|
|
14
16
|
export declare namespace JvmReaderNodeHealth {
|
|
15
17
|
/** ok; no_reader when none runs on the node; pending when its pod has not started; unreachable when it did not answer; blocked when the API server refused its pod, as an admission policy refusing SYS_PTRACE or hostPID does; untolerated when the node carries a taint it does not tolerate; excluded when its node selector or affinity leaves the node out */
|
|
@@ -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 JvmReaderReach_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(JvmReaderReach_exports);
|
|
17
|
+
//# sourceMappingURL=JvmReaderReach.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=JvmReaderReach.mjs.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether the cluster's kubelets apply an in-place resize to a container that is not running, such as one crash
|
|
3
|
+
* looping after OOM kills. Before 1.35.9, 1.36.4 and 1.37 the kubelet reports such a resize as done without
|
|
4
|
+
* applying it (kubernetes/kubernetes#138760), so the raise never reaches that container.
|
|
5
|
+
*/
|
|
6
|
+
export interface KubeletResize {
|
|
7
|
+
/** The cluster's current nodes, from its last batch */
|
|
8
|
+
nodes: number;
|
|
9
|
+
/** Nodes whose kubelet version is older than the fix in its line */
|
|
10
|
+
without_fix: number;
|
|
11
|
+
/** Nodes whose kubelet version the agent did not report, so it was not checked */
|
|
12
|
+
unknown: number;
|
|
13
|
+
/** The first release of each line with the fix, oldest line first */
|
|
14
|
+
fixed_in: string[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether the cluster's kubelets apply an in-place resize to a container that is not running, such as one crash
|
|
3
|
+
* looping after OOM kills. Before 1.35.9, 1.36.4 and 1.37 the kubelet reports such a resize as done without
|
|
4
|
+
* applying it (kubernetes/kubernetes#138760), so the raise never reaches that container.
|
|
5
|
+
*/
|
|
6
|
+
export interface KubeletResize {
|
|
7
|
+
/** The cluster's current nodes, from its last batch */
|
|
8
|
+
nodes: number;
|
|
9
|
+
/** Nodes whose kubelet version is older than the fix in its line */
|
|
10
|
+
without_fix: number;
|
|
11
|
+
/** Nodes whose kubelet version the agent did not report, so it was not checked */
|
|
12
|
+
unknown: number;
|
|
13
|
+
/** The first release of each line with the fix, oldest line first */
|
|
14
|
+
fixed_in: string[];
|
|
15
|
+
}
|
|
@@ -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 KubeletResize_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(KubeletResize_exports);
|
|
17
|
+
//# sourceMappingURL=KubeletResize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=KubeletResize.mjs.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface KubernetesUsage {
|
|
3
|
+
/** True when a bill carries EKS, GKE or AKS spend in the last 30 days, or an agent cluster reported */
|
|
4
|
+
in_use: boolean;
|
|
5
|
+
/** The first day a bill carried Kubernetes spend or a cluster was seen; null if never */
|
|
6
|
+
first_seen_at: string | null;
|
|
7
|
+
/** One per cloud, then agent; empty when not in use */
|
|
8
|
+
sources: LevelFour.KubernetesUsageSource[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface KubernetesUsage {
|
|
3
|
+
/** True when a bill carries EKS, GKE or AKS spend in the last 30 days, or an agent cluster reported */
|
|
4
|
+
in_use: boolean;
|
|
5
|
+
/** The first day a bill carried Kubernetes spend or a cluster was seen; null if never */
|
|
6
|
+
first_seen_at: string | null;
|
|
7
|
+
/** One per cloud, then agent; empty when not in use */
|
|
8
|
+
sources: LevelFour.KubernetesUsageSource[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var KubernetesUsage_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(KubernetesUsage_exports);
|
|
17
|
+
//# sourceMappingURL=KubernetesUsage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=KubernetesUsage.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 KubernetesUsageResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(KubernetesUsageResponse_exports);
|
|
17
|
+
//# sourceMappingURL=KubernetesUsageResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=KubernetesUsageResponse.mjs.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface KubernetesUsageSource {
|
|
2
|
+
/** eks, gke or aks from that cloud's bill and clusters, agent for the clusters a LevelFour agent reports */
|
|
3
|
+
kind: KubernetesUsageSource.Kind;
|
|
4
|
+
/** USD over the last 30 days from the bill: the cloud's Kubernetes service line plus the nodes the bill ties to a cluster; null for agent, or when the bill has no line for the cloud */
|
|
5
|
+
monthly_cost: number | null;
|
|
6
|
+
/** The Kubernetes service line alone (EKS and GKE control planes, AKS paid tiers); null for agent */
|
|
7
|
+
control_plane_cost: number | null;
|
|
8
|
+
/** The nodes the bill ties to a cluster: priced from the bill through an agent or a cost split, and on AWS the EC2 lines tagged aws:eks:cluster-name where that tag is activated; null for agent */
|
|
9
|
+
nodes_cost: number | null;
|
|
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
|
+
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; null when unknown (AKS for now) */
|
|
13
|
+
clusters: number | null;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace KubernetesUsageSource {
|
|
16
|
+
/** eks, gke or aks from that cloud's bill and clusters, agent for the clusters a LevelFour agent reports */
|
|
17
|
+
const Kind: {
|
|
18
|
+
readonly Eks: "eks";
|
|
19
|
+
readonly Gke: "gke";
|
|
20
|
+
readonly Aks: "aks";
|
|
21
|
+
readonly Agent: "agent";
|
|
22
|
+
};
|
|
23
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
24
|
+
const CostScope: {
|
|
25
|
+
readonly Complete: "complete";
|
|
26
|
+
readonly Partial: "partial";
|
|
27
|
+
};
|
|
28
|
+
type CostScope = (typeof CostScope)[keyof typeof CostScope];
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface KubernetesUsageSource {
|
|
2
|
+
/** eks, gke or aks from that cloud's bill and clusters, agent for the clusters a LevelFour agent reports */
|
|
3
|
+
kind: KubernetesUsageSource.Kind;
|
|
4
|
+
/** USD over the last 30 days from the bill: the cloud's Kubernetes service line plus the nodes the bill ties to a cluster; null for agent, or when the bill has no line for the cloud */
|
|
5
|
+
monthly_cost: number | null;
|
|
6
|
+
/** The Kubernetes service line alone (EKS and GKE control planes, AKS paid tiers); null for agent */
|
|
7
|
+
control_plane_cost: number | null;
|
|
8
|
+
/** The nodes the bill ties to a cluster: priced from the bill through an agent or a cost split, and on AWS the EC2 lines tagged aws:eks:cluster-name where that tag is activated; null for agent */
|
|
9
|
+
nodes_cost: number | null;
|
|
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
|
+
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; null when unknown (AKS for now) */
|
|
13
|
+
clusters: number | null;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace KubernetesUsageSource {
|
|
16
|
+
/** eks, gke or aks from that cloud's bill and clusters, agent for the clusters a LevelFour agent reports */
|
|
17
|
+
const Kind: {
|
|
18
|
+
readonly Eks: "eks";
|
|
19
|
+
readonly Gke: "gke";
|
|
20
|
+
readonly Aks: "aks";
|
|
21
|
+
readonly Agent: "agent";
|
|
22
|
+
};
|
|
23
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
24
|
+
const CostScope: {
|
|
25
|
+
readonly Complete: "complete";
|
|
26
|
+
readonly Partial: "partial";
|
|
27
|
+
};
|
|
28
|
+
type CostScope = (typeof CostScope)[keyof typeof CostScope];
|
|
29
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 KubernetesUsageSource_exports = {};
|
|
20
|
+
__export(KubernetesUsageSource_exports, {
|
|
21
|
+
KubernetesUsageSource: () => KubernetesUsageSource
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(KubernetesUsageSource_exports);
|
|
24
|
+
var KubernetesUsageSource;
|
|
25
|
+
((KubernetesUsageSource2) => {
|
|
26
|
+
KubernetesUsageSource2.Kind = {
|
|
27
|
+
Eks: "eks",
|
|
28
|
+
Gke: "gke",
|
|
29
|
+
Aks: "aks",
|
|
30
|
+
Agent: "agent"
|
|
31
|
+
};
|
|
32
|
+
KubernetesUsageSource2.CostScope = {
|
|
33
|
+
Complete: "complete",
|
|
34
|
+
Partial: "partial"
|
|
35
|
+
};
|
|
36
|
+
})(KubernetesUsageSource || (KubernetesUsageSource = {}));
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
KubernetesUsageSource
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=KubernetesUsageSource.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var KubernetesUsageSource;
|
|
2
|
+
((KubernetesUsageSource2) => {
|
|
3
|
+
KubernetesUsageSource2.Kind = {
|
|
4
|
+
Eks: "eks",
|
|
5
|
+
Gke: "gke",
|
|
6
|
+
Aks: "aks",
|
|
7
|
+
Agent: "agent"
|
|
8
|
+
};
|
|
9
|
+
KubernetesUsageSource2.CostScope = {
|
|
10
|
+
Complete: "complete",
|
|
11
|
+
Partial: "partial"
|
|
12
|
+
};
|
|
13
|
+
})(KubernetesUsageSource || (KubernetesUsageSource = {}));
|
|
14
|
+
export {
|
|
15
|
+
KubernetesUsageSource
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=KubernetesUsageSource.mjs.map
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
export interface NamespaceReliability {
|
|
2
2
|
oom_kills?: (number | null) | undefined;
|
|
3
3
|
restarts?: (number | null) | undefined;
|
|
4
|
-
/** Container-hours throttled a quarter of the time or more */
|
|
4
|
+
/** Container-hours throttled a quarter of the time or more, counted over the hours that carried a throttling figure, and null when none did. Read why from the two counts beside it: throttling was measured when throttle_measured_hours is above 0, no container had a CPU limit when it is not and cpu_limited_hours is 0, and it was not measured otherwise */
|
|
5
5
|
throttled_hours?: (number | null) | undefined;
|
|
6
|
+
/** Container-hours that carried a throttling figure. The agent sends one only for a container with a CPU limit whose cAdvisor read worked, and an hour backfilled from Prometheus never carries one. Null when not known: no container day in scope, or every one rolled up before the API counted this */
|
|
7
|
+
throttle_measured_hours?: (number | null) | undefined;
|
|
8
|
+
/** Container-hours whose pods held a CPU limit. 0 means no container had one, so none could be throttled. Null when not known, as for throttle_measured_hours */
|
|
9
|
+
cpu_limited_hours?: (number | null) | undefined;
|
|
6
10
|
/** Pods the kubelet evicted for node pressure */
|
|
7
11
|
evictions?: (number | null) | undefined;
|
|
8
12
|
/** At most the pods moved off a node that a Spot interruption, an instance event or a Karpenter disruption (consolidation, drift, expiry) removed. They leave through the Eviction API, so evictions does not count them. Per removal, each workload counts the most of its pods that ran on the node at once in the hour the removal began, a pod that left the node earlier in that hour included. DaemonSet and static pods go with their node and are not counted, nor is a removal that began while the agent was not watching. A day is measured from agent 0.6.2 on, when every watched hour a removal's pods are read from carries the pods' peaks. Null unless the row's cluster measured every day of the window it reported */
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
export interface NamespaceReliability {
|
|
2
2
|
oom_kills?: (number | null) | undefined;
|
|
3
3
|
restarts?: (number | null) | undefined;
|
|
4
|
-
/** Container-hours throttled a quarter of the time or more */
|
|
4
|
+
/** Container-hours throttled a quarter of the time or more, counted over the hours that carried a throttling figure, and null when none did. Read why from the two counts beside it: throttling was measured when throttle_measured_hours is above 0, no container had a CPU limit when it is not and cpu_limited_hours is 0, and it was not measured otherwise */
|
|
5
5
|
throttled_hours?: (number | null) | undefined;
|
|
6
|
+
/** Container-hours that carried a throttling figure. The agent sends one only for a container with a CPU limit whose cAdvisor read worked, and an hour backfilled from Prometheus never carries one. Null when not known: no container day in scope, or every one rolled up before the API counted this */
|
|
7
|
+
throttle_measured_hours?: (number | null) | undefined;
|
|
8
|
+
/** Container-hours whose pods held a CPU limit. 0 means no container had one, so none could be throttled. Null when not known, as for throttle_measured_hours */
|
|
9
|
+
cpu_limited_hours?: (number | null) | undefined;
|
|
6
10
|
/** Pods the kubelet evicted for node pressure */
|
|
7
11
|
evictions?: (number | null) | undefined;
|
|
8
12
|
/** At most the pods moved off a node that a Spot interruption, an instance event or a Karpenter disruption (consolidation, drift, expiry) removed. They leave through the Eviction API, so evictions does not count them. Per removal, each workload counts the most of its pods that ran on the node at once in the hour the removal began, a pod that left the node earlier in that hour included. DaemonSet and static pods go with their node and are not counted, nor is a removal that began while the agent was not watching. A day is measured from agent 0.6.2 on, when every watched hour a removal's pods are read from carries the pods' peaks. Null unless the row's cluster measured every day of the window it reported */
|
|
@@ -6,4 +6,6 @@ export interface NodeFacets {
|
|
|
6
6
|
status?: LevelFour.FacetCount[] | undefined;
|
|
7
7
|
/** current for a node still in the cluster, removed for one gone from it that the list still shows */
|
|
8
8
|
state?: LevelFour.FacetCount[] | undefined;
|
|
9
|
+
/** Nodes still in the cluster by kubelet_fix: fixed, without_fix or unknown */
|
|
10
|
+
kubelet?: LevelFour.FacetCount[] | undefined;
|
|
9
11
|
}
|
|
@@ -6,4 +6,6 @@ export interface NodeFacets {
|
|
|
6
6
|
status?: LevelFour.FacetCount[] | undefined;
|
|
7
7
|
/** current for a node still in the cluster, removed for one gone from it that the list still shows */
|
|
8
8
|
state?: LevelFour.FacetCount[] | undefined;
|
|
9
|
+
/** Nodes still in the cluster by kubelet_fix: fixed, without_fix or unknown */
|
|
10
|
+
kubelet?: LevelFour.FacetCount[] | undefined;
|
|
9
11
|
}
|
|
@@ -8,6 +8,8 @@ export interface NodeHealthDay {
|
|
|
8
8
|
pid_pressure_hours: number;
|
|
9
9
|
/** Pods evicted from the node */
|
|
10
10
|
evictions: number;
|
|
11
|
+
/** At most the pods moved off a node that a Spot interruption, an instance event or a Karpenter disruption (consolidation, drift, expiry) removed. They leave through the Eviction API, so evictions does not count them. Per removal, each workload counts the most of its pods that ran on the node at once in the hour the removal began, a pod that left the node earlier in that hour included. DaemonSet and static pods go with their node and are not counted, nor is a removal that began while the agent was not watching. A day is measured from agent 0.6.2 on, when every watched hour a removal's pods are read from carries the pods' peaks. Here the removals of the instance the drawer shows, those that began while it held the name, each counted on the day it began. Null on a day its cluster did not measure, and on a day before the removal events kept are whole: ingest keeps them 90 days, and a day's count also reads the day before it */
|
|
12
|
+
drained_pods: number | null;
|
|
11
13
|
pids_running_max?: (number | null) | undefined;
|
|
12
14
|
pid_limit?: (number | null) | undefined;
|
|
13
15
|
}
|
|
@@ -8,6 +8,8 @@ export interface NodeHealthDay {
|
|
|
8
8
|
pid_pressure_hours: number;
|
|
9
9
|
/** Pods evicted from the node */
|
|
10
10
|
evictions: number;
|
|
11
|
+
/** At most the pods moved off a node that a Spot interruption, an instance event or a Karpenter disruption (consolidation, drift, expiry) removed. They leave through the Eviction API, so evictions does not count them. Per removal, each workload counts the most of its pods that ran on the node at once in the hour the removal began, a pod that left the node earlier in that hour included. DaemonSet and static pods go with their node and are not counted, nor is a removal that began while the agent was not watching. A day is measured from agent 0.6.2 on, when every watched hour a removal's pods are read from carries the pods' peaks. Here the removals of the instance the drawer shows, those that began while it held the name, each counted on the day it began. Null on a day its cluster did not measure, and on a day before the removal events kept are whole: ingest keeps them 90 days, and a day's count also reads the day before it */
|
|
12
|
+
drained_pods: number | null;
|
|
11
13
|
pids_running_max?: (number | null) | undefined;
|
|
12
14
|
pid_limit?: (number | null) | undefined;
|
|
13
15
|
}
|
|
@@ -5,6 +5,8 @@ export interface NodeItem {
|
|
|
5
5
|
removed?: boolean | undefined;
|
|
6
6
|
/** The end of the last batch that listed the node: for a node gone, when LevelFour last saw it */
|
|
7
7
|
last_seen_at?: (string | null) | undefined;
|
|
8
|
+
/** Whether the node's kubelet applies an in-place resize to a container that is not running (kubernetes#138760, fixed in 1.35.9, 1.36.4 and 1.37): unknown when the agent sent no kubelet version, null for a node gone from the cluster */
|
|
9
|
+
kubelet_fix?: (NodeItem.KubeletFix | null) | undefined;
|
|
8
10
|
provider_id?: (string | null) | undefined;
|
|
9
11
|
instance_id?: (string | null) | undefined;
|
|
10
12
|
instance_type?: (string | null) | undefined;
|
|
@@ -74,6 +76,12 @@ export interface NodeItem {
|
|
|
74
76
|
interrupted_at?: (string | null) | undefined;
|
|
75
77
|
}
|
|
76
78
|
export declare namespace NodeItem {
|
|
79
|
+
const KubeletFix: {
|
|
80
|
+
readonly Fixed: "fixed";
|
|
81
|
+
readonly WithoutFix: "without_fix";
|
|
82
|
+
readonly Unknown: "unknown";
|
|
83
|
+
};
|
|
84
|
+
type KubeletFix = (typeof KubeletFix)[keyof typeof KubeletFix];
|
|
77
85
|
/** Spot from its label, else how the bill bought its name's On-Demand capacity on the latest day it ran that the bill priced, else unknown */
|
|
78
86
|
const PurchaseType: {
|
|
79
87
|
readonly Spot: "spot";
|
|
@@ -5,6 +5,8 @@ export interface NodeItem {
|
|
|
5
5
|
removed?: boolean | undefined;
|
|
6
6
|
/** The end of the last batch that listed the node: for a node gone, when LevelFour last saw it */
|
|
7
7
|
last_seen_at?: (string | null) | undefined;
|
|
8
|
+
/** Whether the node's kubelet applies an in-place resize to a container that is not running (kubernetes#138760, fixed in 1.35.9, 1.36.4 and 1.37): unknown when the agent sent no kubelet version, null for a node gone from the cluster */
|
|
9
|
+
kubelet_fix?: (NodeItem.KubeletFix | null) | undefined;
|
|
8
10
|
provider_id?: (string | null) | undefined;
|
|
9
11
|
instance_id?: (string | null) | undefined;
|
|
10
12
|
instance_type?: (string | null) | undefined;
|
|
@@ -74,6 +76,12 @@ export interface NodeItem {
|
|
|
74
76
|
interrupted_at?: (string | null) | undefined;
|
|
75
77
|
}
|
|
76
78
|
export declare namespace NodeItem {
|
|
79
|
+
const KubeletFix: {
|
|
80
|
+
readonly Fixed: "fixed";
|
|
81
|
+
readonly WithoutFix: "without_fix";
|
|
82
|
+
readonly Unknown: "unknown";
|
|
83
|
+
};
|
|
84
|
+
type KubeletFix = (typeof KubeletFix)[keyof typeof KubeletFix];
|
|
77
85
|
/** Spot from its label, else how the bill bought its name's On-Demand capacity on the latest day it ran that the bill priced, else unknown */
|
|
78
86
|
const PurchaseType: {
|
|
79
87
|
readonly Spot: "spot";
|
|
@@ -23,6 +23,11 @@ __export(NodeItem_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(NodeItem_exports);
|
|
24
24
|
var NodeItem;
|
|
25
25
|
((NodeItem2) => {
|
|
26
|
+
NodeItem2.KubeletFix = {
|
|
27
|
+
Fixed: "fixed",
|
|
28
|
+
WithoutFix: "without_fix",
|
|
29
|
+
Unknown: "unknown"
|
|
30
|
+
};
|
|
26
31
|
NodeItem2.PurchaseType = {
|
|
27
32
|
Spot: "spot",
|
|
28
33
|
OnDemand: "on_demand",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface PodPhases {
|
|
2
2
|
/** Pods placed on a node, starting ones included: the agent reports no phase */
|
|
3
3
|
running?: number | undefined;
|
|
4
|
-
/** Pods no node has taken yet */
|
|
4
|
+
/** Pods no node has taken yet at the latest snapshot; the fleet summary's pods_waiting sums the same count over its clusters */
|
|
5
5
|
pending?: number | undefined;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface PodPhases {
|
|
2
2
|
/** Pods placed on a node, starting ones included: the agent reports no phase */
|
|
3
3
|
running?: number | undefined;
|
|
4
|
-
/** Pods no node has taken yet */
|
|
4
|
+
/** Pods no node has taken yet at the latest snapshot; the fleet summary's pods_waiting sums the same count over its clusters */
|
|
5
5
|
pending?: number | undefined;
|
|
6
6
|
}
|
|
@@ -7,6 +7,10 @@ export interface PodsOnNode {
|
|
|
7
7
|
capacity_type?: (string | null) | undefined;
|
|
8
8
|
/** From the bill, else the node's label */
|
|
9
9
|
purchase_type?: (PodsOnNode.PurchaseType | null) | undefined;
|
|
10
|
+
/** Its pods run on the node in the newest hour the cluster reported, whatever the window */
|
|
11
|
+
running_now?: boolean | undefined;
|
|
12
|
+
/** The last hour in the window its pods ran on the node */
|
|
13
|
+
last_seen?: (string | null) | undefined;
|
|
10
14
|
}
|
|
11
15
|
export declare namespace PodsOnNode {
|
|
12
16
|
const PurchaseType: {
|
|
@@ -7,6 +7,10 @@ export interface PodsOnNode {
|
|
|
7
7
|
capacity_type?: (string | null) | undefined;
|
|
8
8
|
/** From the bill, else the node's label */
|
|
9
9
|
purchase_type?: (PodsOnNode.PurchaseType | null) | undefined;
|
|
10
|
+
/** Its pods run on the node in the newest hour the cluster reported, whatever the window */
|
|
11
|
+
running_now?: boolean | undefined;
|
|
12
|
+
/** The last hour in the window its pods ran on the node */
|
|
13
|
+
last_seen?: (string | null) | undefined;
|
|
10
14
|
}
|
|
11
15
|
export declare namespace PodsOnNode {
|
|
12
16
|
const PurchaseType: {
|
|
@@ -21,6 +21,10 @@ export interface ProviderBreakdownItem {
|
|
|
21
21
|
savings_percentage: number;
|
|
22
22
|
/** What this batch parent's children save. Null on any other row */
|
|
23
23
|
children_savings?: (LevelFour.ChildrenSavings | null) | undefined;
|
|
24
|
+
/** Where the savings figures come from: `billed` for an Azure saving priced off the customer's own bill, `estimate` for one priced at Microsoft's list price because a CSP partner bills the subscription (shown as 'Estimate, list price'). A batch parent takes it from its children: `estimate` when any child is one. Null for every other provider and for a row with no price source */
|
|
25
|
+
price_basis?: (ProviderBreakdownItem.PriceBasis | null) | undefined;
|
|
26
|
+
/** Why the figures are an estimate, in one sentence the dashboard shows beside them (the row's actions.api_pricing.basis). Null unless price_basis is `estimate` */
|
|
27
|
+
price_basis_note?: (string | null) | undefined;
|
|
24
28
|
/** Recommendation status */
|
|
25
29
|
status?: ProviderBreakdownItem.Status | undefined;
|
|
26
30
|
/** Status the person reads, served once so the dashboard, the CLI and MCP all print the same word. Derived from status, saving_acceptance and execution_request_status; a request waiting on an approver outranks everything else. Prefer this over status for display */
|
|
@@ -62,6 +66,11 @@ export interface ProviderBreakdownItem {
|
|
|
62
66
|
risk_assessment?: (unknown | null) | undefined;
|
|
63
67
|
}
|
|
64
68
|
export declare namespace ProviderBreakdownItem {
|
|
69
|
+
const PriceBasis: {
|
|
70
|
+
readonly Billed: "billed";
|
|
71
|
+
readonly Estimate: "estimate";
|
|
72
|
+
};
|
|
73
|
+
type PriceBasis = (typeof PriceBasis)[keyof typeof PriceBasis];
|
|
65
74
|
/** Recommendation status */
|
|
66
75
|
const Status: {
|
|
67
76
|
readonly Pending: "pending";
|
|
@@ -21,6 +21,10 @@ export interface ProviderBreakdownItem {
|
|
|
21
21
|
savings_percentage: number;
|
|
22
22
|
/** What this batch parent's children save. Null on any other row */
|
|
23
23
|
children_savings?: (LevelFour.ChildrenSavings | null) | undefined;
|
|
24
|
+
/** Where the savings figures come from: `billed` for an Azure saving priced off the customer's own bill, `estimate` for one priced at Microsoft's list price because a CSP partner bills the subscription (shown as 'Estimate, list price'). A batch parent takes it from its children: `estimate` when any child is one. Null for every other provider and for a row with no price source */
|
|
25
|
+
price_basis?: (ProviderBreakdownItem.PriceBasis | null) | undefined;
|
|
26
|
+
/** Why the figures are an estimate, in one sentence the dashboard shows beside them (the row's actions.api_pricing.basis). Null unless price_basis is `estimate` */
|
|
27
|
+
price_basis_note?: (string | null) | undefined;
|
|
24
28
|
/** Recommendation status */
|
|
25
29
|
status?: ProviderBreakdownItem.Status | undefined;
|
|
26
30
|
/** Status the person reads, served once so the dashboard, the CLI and MCP all print the same word. Derived from status, saving_acceptance and execution_request_status; a request waiting on an approver outranks everything else. Prefer this over status for display */
|
|
@@ -62,6 +66,11 @@ export interface ProviderBreakdownItem {
|
|
|
62
66
|
risk_assessment?: (unknown | null) | undefined;
|
|
63
67
|
}
|
|
64
68
|
export declare namespace ProviderBreakdownItem {
|
|
69
|
+
const PriceBasis: {
|
|
70
|
+
readonly Billed: "billed";
|
|
71
|
+
readonly Estimate: "estimate";
|
|
72
|
+
};
|
|
73
|
+
type PriceBasis = (typeof PriceBasis)[keyof typeof PriceBasis];
|
|
65
74
|
/** Recommendation status */
|
|
66
75
|
const Status: {
|
|
67
76
|
readonly Pending: "pending";
|
|
@@ -23,6 +23,10 @@ __export(ProviderBreakdownItem_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(ProviderBreakdownItem_exports);
|
|
24
24
|
var ProviderBreakdownItem;
|
|
25
25
|
((ProviderBreakdownItem2) => {
|
|
26
|
+
ProviderBreakdownItem2.PriceBasis = {
|
|
27
|
+
Billed: "billed",
|
|
28
|
+
Estimate: "estimate"
|
|
29
|
+
};
|
|
26
30
|
ProviderBreakdownItem2.Status = {
|
|
27
31
|
Pending: "pending",
|
|
28
32
|
Processing: "processing",
|