@azure/arm-consumption 9.2.1-alpha.20250110.1 → 9.2.1-alpha.20250113.1
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/browser/consumptionManagementClient.d.ts +36 -0
- package/dist/browser/consumptionManagementClient.d.ts.map +1 -0
- package/dist/browser/consumptionManagementClient.js +113 -0
- package/dist/browser/consumptionManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +13 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/dist/browser/models/parameters.js +333 -0
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/aggregatedCost.d.ts +28 -0
- package/dist/browser/operations/aggregatedCost.d.ts.map +1 -0
- package/dist/browser/operations/aggregatedCost.js +78 -0
- package/dist/browser/operations/aggregatedCost.js.map +1 -0
- package/dist/browser/operations/balances.d.ts +28 -0
- package/dist/browser/operations/balances.d.ts.map +1 -0
- package/dist/browser/operations/balances.js +78 -0
- package/dist/browser/operations/balances.js.map +1 -0
- package/dist/browser/operations/budgets.d.ts +131 -0
- package/dist/browser/operations/budgets.d.ts.map +1 -0
- package/dist/browser/operations/budgets.js +289 -0
- package/dist/browser/operations/budgets.js.map +1 -0
- package/dist/browser/operations/charges.d.ts +34 -0
- package/dist/browser/operations/charges.d.ts.map +1 -0
- package/dist/browser/operations/charges.js +68 -0
- package/dist/browser/operations/charges.js.map +1 -0
- package/dist/browser/operations/credits.d.ts +20 -0
- package/dist/browser/operations/credits.d.ts.map +1 -0
- package/dist/browser/operations/credits.js +53 -0
- package/dist/browser/operations/credits.js.map +1 -0
- package/dist/browser/operations/eventsOperations.d.ts +67 -0
- package/dist/browser/operations/eventsOperations.d.ts.map +1 -0
- package/dist/browser/operations/eventsOperations.js +274 -0
- package/dist/browser/operations/eventsOperations.js.map +1 -0
- package/dist/browser/operations/index.d.ts +18 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +25 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/dist/browser/operations/lotsOperations.d.ts +67 -0
- package/dist/browser/operations/lotsOperations.d.ts.map +1 -0
- package/dist/browser/operations/lotsOperations.js +270 -0
- package/dist/browser/operations/lotsOperations.js.map +1 -0
- package/dist/browser/operations/marketplaces.d.ts +67 -0
- package/dist/browser/operations/marketplaces.d.ts.map +1 -0
- package/dist/browser/operations/marketplaces.js +173 -0
- package/dist/browser/operations/marketplaces.js.map +1 -0
- package/dist/browser/operations/operations.d.ts +32 -0
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/dist/browser/operations/operations.js +133 -0
- package/dist/browser/operations/operations.js.map +1 -0
- package/dist/browser/operations/priceSheet.d.ts +26 -0
- package/dist/browser/operations/priceSheet.d.ts.map +1 -0
- package/dist/browser/operations/priceSheet.js +86 -0
- package/dist/browser/operations/priceSheet.js.map +1 -0
- package/dist/browser/operations/reservationRecommendationDetails.d.ts +29 -0
- package/dist/browser/operations/reservationRecommendationDetails.d.ts.map +1 -0
- package/dist/browser/operations/reservationRecommendationDetails.js +64 -0
- package/dist/browser/operations/reservationRecommendationDetails.js.map +1 -0
- package/dist/browser/operations/reservationRecommendations.d.ts +50 -0
- package/dist/browser/operations/reservationRecommendations.d.ts.map +1 -0
- package/dist/browser/operations/reservationRecommendations.js +153 -0
- package/dist/browser/operations/reservationRecommendations.js.map +1 -0
- package/dist/browser/operations/reservationTransactions.d.ts +59 -0
- package/dist/browser/operations/reservationTransactions.d.ts.map +1 -0
- package/dist/browser/operations/reservationTransactions.js +262 -0
- package/dist/browser/operations/reservationTransactions.js.map +1 -0
- package/dist/browser/operations/reservationsDetails.d.ts +101 -0
- package/dist/browser/operations/reservationsDetails.d.ts.map +1 -0
- package/dist/browser/operations/reservationsDetails.js +400 -0
- package/dist/browser/operations/reservationsDetails.js.map +1 -0
- package/dist/browser/operations/reservationsSummaries.d.ts +99 -0
- package/dist/browser/operations/reservationsSummaries.d.ts.map +1 -0
- package/dist/browser/operations/reservationsSummaries.js +399 -0
- package/dist/browser/operations/reservationsSummaries.js.map +1 -0
- package/dist/browser/operations/tags.d.ts +27 -0
- package/dist/browser/operations/tags.d.ts.map +1 -0
- package/dist/browser/operations/tags.js +56 -0
- package/dist/browser/operations/tags.js.map +1 -0
- package/dist/browser/operations/usageDetails.d.ts +91 -0
- package/dist/browser/operations/usageDetails.d.ts.map +1 -0
- package/dist/browser/operations/usageDetails.js +199 -0
- package/dist/browser/operations/usageDetails.js.map +1 -0
- package/dist/browser/operationsInterfaces/aggregatedCost.d.ts +20 -0
- package/dist/browser/operationsInterfaces/aggregatedCost.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/aggregatedCost.js.map +1 -0
- package/dist/browser/operationsInterfaces/balances.d.ts +20 -0
- package/dist/browser/operationsInterfaces/balances.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/balances.js.map +1 -0
- package/dist/browser/operationsInterfaces/budgets.d.ts +84 -0
- package/dist/browser/operationsInterfaces/budgets.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/budgets.js.map +1 -0
- package/dist/browser/operationsInterfaces/charges.d.ts +26 -0
- package/dist/browser/operationsInterfaces/charges.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/charges.js.map +1 -0
- package/dist/browser/operationsInterfaces/credits.d.ts +12 -0
- package/dist/browser/operationsInterfaces/credits.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/credits.js.map +1 -0
- package/dist/browser/operationsInterfaces/eventsOperations.d.ts +23 -0
- package/dist/browser/operationsInterfaces/eventsOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/eventsOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +18 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +25 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/operationsInterfaces/lotsOperations.d.ts +23 -0
- package/dist/browser/operationsInterfaces/lotsOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/lotsOperations.js.map +1 -0
- package/dist/browser/operationsInterfaces/marketplaces.d.ts +23 -0
- package/dist/browser/operationsInterfaces/marketplaces.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/marketplaces.js.map +1 -0
- package/dist/browser/operationsInterfaces/operations.d.ts +11 -0
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/dist/browser/operationsInterfaces/priceSheet.d.ts +18 -0
- package/dist/browser/operationsInterfaces/priceSheet.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/priceSheet.js.map +1 -0
- package/dist/browser/operationsInterfaces/reservationRecommendationDetails.d.ts +21 -0
- package/dist/browser/operationsInterfaces/reservationRecommendationDetails.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/reservationRecommendationDetails.js.map +1 -0
- package/dist/browser/operationsInterfaces/reservationRecommendations.d.ts +17 -0
- package/dist/browser/operationsInterfaces/reservationRecommendations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/reservationRecommendations.js.map +1 -0
- package/dist/browser/operationsInterfaces/reservationTransactions.d.ts +19 -0
- package/dist/browser/operationsInterfaces/reservationTransactions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/reservationTransactions.js.map +1 -0
- package/dist/browser/operationsInterfaces/reservationsDetails.d.ts +33 -0
- package/dist/browser/operationsInterfaces/reservationsDetails.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/reservationsDetails.js.map +1 -0
- package/dist/browser/operationsInterfaces/reservationsSummaries.d.ts +32 -0
- package/dist/browser/operationsInterfaces/reservationsSummaries.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/reservationsSummaries.js.map +1 -0
- package/dist/browser/operationsInterfaces/tags.d.ts +19 -0
- package/dist/browser/operationsInterfaces/tags.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/tags.js.map +1 -0
- package/dist/browser/operationsInterfaces/usageDetails.d.ts +31 -0
- package/dist/browser/operationsInterfaces/usageDetails.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/usageDetails.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/consumptionManagementClient.d.ts +36 -0
- package/dist/commonjs/consumptionManagementClient.d.ts.map +1 -0
- package/dist/commonjs/consumptionManagementClient.js +118 -0
- package/dist/commonjs/consumptionManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +3404 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +235 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +88 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +4017 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +35 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +336 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/aggregatedCost.d.ts +28 -0
- package/dist/commonjs/operations/aggregatedCost.d.ts.map +1 -0
- package/dist/commonjs/operations/aggregatedCost.js +83 -0
- package/dist/commonjs/operations/aggregatedCost.js.map +1 -0
- package/dist/commonjs/operations/balances.d.ts +28 -0
- package/dist/commonjs/operations/balances.d.ts.map +1 -0
- package/dist/commonjs/operations/balances.js +83 -0
- package/dist/commonjs/operations/balances.js.map +1 -0
- package/dist/commonjs/operations/budgets.d.ts +131 -0
- package/dist/commonjs/operations/budgets.d.ts.map +1 -0
- package/dist/commonjs/operations/budgets.js +293 -0
- package/dist/commonjs/operations/budgets.js.map +1 -0
- package/dist/commonjs/operations/charges.d.ts +34 -0
- package/dist/commonjs/operations/charges.d.ts.map +1 -0
- package/dist/commonjs/operations/charges.js +73 -0
- package/dist/commonjs/operations/charges.js.map +1 -0
- package/dist/commonjs/operations/credits.d.ts +20 -0
- package/dist/commonjs/operations/credits.d.ts.map +1 -0
- package/dist/commonjs/operations/credits.js +58 -0
- package/dist/commonjs/operations/credits.js.map +1 -0
- package/dist/commonjs/operations/eventsOperations.d.ts +67 -0
- package/dist/commonjs/operations/eventsOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/eventsOperations.js +278 -0
- package/dist/commonjs/operations/eventsOperations.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +18 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +28 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/lotsOperations.d.ts +67 -0
- package/dist/commonjs/operations/lotsOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/lotsOperations.js +274 -0
- package/dist/commonjs/operations/lotsOperations.js.map +1 -0
- package/dist/commonjs/operations/marketplaces.d.ts +67 -0
- package/dist/commonjs/operations/marketplaces.d.ts.map +1 -0
- package/dist/commonjs/operations/marketplaces.js +177 -0
- package/dist/commonjs/operations/marketplaces.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/priceSheet.d.ts +26 -0
- package/dist/commonjs/operations/priceSheet.d.ts.map +1 -0
- package/dist/commonjs/operations/priceSheet.js +91 -0
- package/dist/commonjs/operations/priceSheet.js.map +1 -0
- package/dist/commonjs/operations/reservationRecommendationDetails.d.ts +29 -0
- package/dist/commonjs/operations/reservationRecommendationDetails.d.ts.map +1 -0
- package/dist/commonjs/operations/reservationRecommendationDetails.js +69 -0
- package/dist/commonjs/operations/reservationRecommendationDetails.js.map +1 -0
- package/dist/commonjs/operations/reservationRecommendations.d.ts +50 -0
- package/dist/commonjs/operations/reservationRecommendations.d.ts.map +1 -0
- package/dist/commonjs/operations/reservationRecommendations.js +157 -0
- package/dist/commonjs/operations/reservationRecommendations.js.map +1 -0
- package/dist/commonjs/operations/reservationTransactions.d.ts +59 -0
- package/dist/commonjs/operations/reservationTransactions.d.ts.map +1 -0
- package/dist/commonjs/operations/reservationTransactions.js +266 -0
- package/dist/commonjs/operations/reservationTransactions.js.map +1 -0
- package/dist/commonjs/operations/reservationsDetails.d.ts +101 -0
- package/dist/commonjs/operations/reservationsDetails.d.ts.map +1 -0
- package/dist/commonjs/operations/reservationsDetails.js +404 -0
- package/dist/commonjs/operations/reservationsDetails.js.map +1 -0
- package/dist/commonjs/operations/reservationsSummaries.d.ts +99 -0
- package/dist/commonjs/operations/reservationsSummaries.d.ts.map +1 -0
- package/dist/commonjs/operations/reservationsSummaries.js +403 -0
- package/dist/commonjs/operations/reservationsSummaries.js.map +1 -0
- package/dist/commonjs/operations/tags.d.ts +27 -0
- package/dist/commonjs/operations/tags.d.ts.map +1 -0
- package/dist/commonjs/operations/tags.js +61 -0
- package/dist/commonjs/operations/tags.js.map +1 -0
- package/dist/commonjs/operations/usageDetails.d.ts +91 -0
- package/dist/commonjs/operations/usageDetails.d.ts.map +1 -0
- package/dist/commonjs/operations/usageDetails.js +203 -0
- package/dist/commonjs/operations/usageDetails.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/aggregatedCost.d.ts +20 -0
- package/dist/commonjs/operationsInterfaces/aggregatedCost.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/aggregatedCost.js +10 -0
- package/dist/commonjs/operationsInterfaces/aggregatedCost.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/balances.d.ts +20 -0
- package/dist/commonjs/operationsInterfaces/balances.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/balances.js +10 -0
- package/dist/commonjs/operationsInterfaces/balances.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/budgets.d.ts +84 -0
- package/dist/commonjs/operationsInterfaces/budgets.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/budgets.js +10 -0
- package/dist/commonjs/operationsInterfaces/budgets.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/charges.d.ts +26 -0
- package/dist/commonjs/operationsInterfaces/charges.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/charges.js +10 -0
- package/dist/commonjs/operationsInterfaces/charges.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/credits.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/credits.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/credits.js +10 -0
- package/dist/commonjs/operationsInterfaces/credits.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/eventsOperations.d.ts +23 -0
- package/dist/commonjs/operationsInterfaces/eventsOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/eventsOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/eventsOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +18 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +28 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/lotsOperations.d.ts +23 -0
- package/dist/commonjs/operationsInterfaces/lotsOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/lotsOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/lotsOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/marketplaces.d.ts +23 -0
- package/dist/commonjs/operationsInterfaces/marketplaces.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/marketplaces.js +10 -0
- package/dist/commonjs/operationsInterfaces/marketplaces.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/priceSheet.d.ts +18 -0
- package/dist/commonjs/operationsInterfaces/priceSheet.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/priceSheet.js +10 -0
- package/dist/commonjs/operationsInterfaces/priceSheet.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/reservationRecommendationDetails.d.ts +21 -0
- package/dist/commonjs/operationsInterfaces/reservationRecommendationDetails.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/reservationRecommendationDetails.js +10 -0
- package/dist/commonjs/operationsInterfaces/reservationRecommendationDetails.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/reservationRecommendations.d.ts +17 -0
- package/dist/commonjs/operationsInterfaces/reservationRecommendations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/reservationRecommendations.js +10 -0
- package/dist/commonjs/operationsInterfaces/reservationRecommendations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/reservationTransactions.d.ts +19 -0
- package/dist/commonjs/operationsInterfaces/reservationTransactions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/reservationTransactions.js +10 -0
- package/dist/commonjs/operationsInterfaces/reservationTransactions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/reservationsDetails.d.ts +33 -0
- package/dist/commonjs/operationsInterfaces/reservationsDetails.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/reservationsDetails.js +10 -0
- package/dist/commonjs/operationsInterfaces/reservationsDetails.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/reservationsSummaries.d.ts +32 -0
- package/dist/commonjs/operationsInterfaces/reservationsSummaries.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/reservationsSummaries.js +10 -0
- package/dist/commonjs/operationsInterfaces/reservationsSummaries.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/tags.d.ts +19 -0
- package/dist/commonjs/operationsInterfaces/tags.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/tags.js +10 -0
- package/dist/commonjs/operationsInterfaces/tags.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/usageDetails.d.ts +31 -0
- package/dist/commonjs/operationsInterfaces/usageDetails.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/usageDetails.js +10 -0
- package/dist/commonjs/operationsInterfaces/usageDetails.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/consumptionManagementClient.d.ts +36 -0
- package/dist/esm/consumptionManagementClient.d.ts.map +1 -0
- package/dist/esm/consumptionManagementClient.js +113 -0
- package/dist/esm/consumptionManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +13 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/index.d.ts +3404 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +232 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +88 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +4013 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +35 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +333 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/aggregatedCost.d.ts +28 -0
- package/dist/esm/operations/aggregatedCost.d.ts.map +1 -0
- package/dist/esm/operations/aggregatedCost.js +78 -0
- package/dist/esm/operations/aggregatedCost.js.map +1 -0
- package/dist/esm/operations/balances.d.ts +28 -0
- package/dist/esm/operations/balances.d.ts.map +1 -0
- package/dist/esm/operations/balances.js +78 -0
- package/dist/esm/operations/balances.js.map +1 -0
- package/dist/esm/operations/budgets.d.ts +131 -0
- package/dist/esm/operations/budgets.d.ts.map +1 -0
- package/dist/esm/operations/budgets.js +289 -0
- package/dist/esm/operations/budgets.js.map +1 -0
- package/dist/esm/operations/charges.d.ts +34 -0
- package/dist/esm/operations/charges.d.ts.map +1 -0
- package/dist/esm/operations/charges.js +68 -0
- package/dist/esm/operations/charges.js.map +1 -0
- package/dist/esm/operations/credits.d.ts +20 -0
- package/dist/esm/operations/credits.d.ts.map +1 -0
- package/dist/esm/operations/credits.js +53 -0
- package/dist/esm/operations/credits.js.map +1 -0
- package/dist/esm/operations/eventsOperations.d.ts +67 -0
- package/dist/esm/operations/eventsOperations.d.ts.map +1 -0
- package/dist/esm/operations/eventsOperations.js +274 -0
- package/dist/esm/operations/eventsOperations.js.map +1 -0
- package/dist/esm/operations/index.d.ts +18 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +25 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/lotsOperations.d.ts +67 -0
- package/dist/esm/operations/lotsOperations.d.ts.map +1 -0
- package/dist/esm/operations/lotsOperations.js +270 -0
- package/dist/esm/operations/lotsOperations.js.map +1 -0
- package/dist/esm/operations/marketplaces.d.ts +67 -0
- package/dist/esm/operations/marketplaces.d.ts.map +1 -0
- package/dist/esm/operations/marketplaces.js +173 -0
- package/dist/esm/operations/marketplaces.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/priceSheet.d.ts +26 -0
- package/dist/esm/operations/priceSheet.d.ts.map +1 -0
- package/dist/esm/operations/priceSheet.js +86 -0
- package/dist/esm/operations/priceSheet.js.map +1 -0
- package/dist/esm/operations/reservationRecommendationDetails.d.ts +29 -0
- package/dist/esm/operations/reservationRecommendationDetails.d.ts.map +1 -0
- package/dist/esm/operations/reservationRecommendationDetails.js +64 -0
- package/dist/esm/operations/reservationRecommendationDetails.js.map +1 -0
- package/dist/esm/operations/reservationRecommendations.d.ts +50 -0
- package/dist/esm/operations/reservationRecommendations.d.ts.map +1 -0
- package/dist/esm/operations/reservationRecommendations.js +153 -0
- package/dist/esm/operations/reservationRecommendations.js.map +1 -0
- package/dist/esm/operations/reservationTransactions.d.ts +59 -0
- package/dist/esm/operations/reservationTransactions.d.ts.map +1 -0
- package/dist/esm/operations/reservationTransactions.js +262 -0
- package/dist/esm/operations/reservationTransactions.js.map +1 -0
- package/dist/esm/operations/reservationsDetails.d.ts +101 -0
- package/dist/esm/operations/reservationsDetails.d.ts.map +1 -0
- package/dist/esm/operations/reservationsDetails.js +400 -0
- package/dist/esm/operations/reservationsDetails.js.map +1 -0
- package/dist/esm/operations/reservationsSummaries.d.ts +99 -0
- package/dist/esm/operations/reservationsSummaries.d.ts.map +1 -0
- package/dist/esm/operations/reservationsSummaries.js +399 -0
- package/dist/esm/operations/reservationsSummaries.js.map +1 -0
- package/dist/esm/operations/tags.d.ts +27 -0
- package/dist/esm/operations/tags.d.ts.map +1 -0
- package/dist/esm/operations/tags.js +56 -0
- package/dist/esm/operations/tags.js.map +1 -0
- package/dist/esm/operations/usageDetails.d.ts +91 -0
- package/dist/esm/operations/usageDetails.d.ts.map +1 -0
- package/dist/esm/operations/usageDetails.js +199 -0
- package/dist/esm/operations/usageDetails.js.map +1 -0
- package/dist/esm/operationsInterfaces/aggregatedCost.d.ts +20 -0
- package/dist/esm/operationsInterfaces/aggregatedCost.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/aggregatedCost.js +9 -0
- package/dist/esm/operationsInterfaces/aggregatedCost.js.map +1 -0
- package/dist/esm/operationsInterfaces/balances.d.ts +20 -0
- package/dist/esm/operationsInterfaces/balances.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/balances.js +9 -0
- package/dist/esm/operationsInterfaces/balances.js.map +1 -0
- package/dist/esm/operationsInterfaces/budgets.d.ts +84 -0
- package/dist/esm/operationsInterfaces/budgets.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/budgets.js +9 -0
- package/dist/esm/operationsInterfaces/budgets.js.map +1 -0
- package/dist/esm/operationsInterfaces/charges.d.ts +26 -0
- package/dist/esm/operationsInterfaces/charges.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/charges.js +9 -0
- package/dist/esm/operationsInterfaces/charges.js.map +1 -0
- package/dist/esm/operationsInterfaces/credits.d.ts +12 -0
- package/dist/esm/operationsInterfaces/credits.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/credits.js +9 -0
- package/dist/esm/operationsInterfaces/credits.js.map +1 -0
- package/dist/esm/operationsInterfaces/eventsOperations.d.ts +23 -0
- package/dist/esm/operationsInterfaces/eventsOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/eventsOperations.js +9 -0
- package/dist/esm/operationsInterfaces/eventsOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +18 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +25 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/lotsOperations.d.ts +23 -0
- package/dist/esm/operationsInterfaces/lotsOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/lotsOperations.js +9 -0
- package/dist/esm/operationsInterfaces/lotsOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/marketplaces.d.ts +23 -0
- package/dist/esm/operationsInterfaces/marketplaces.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/marketplaces.js +9 -0
- package/dist/esm/operationsInterfaces/marketplaces.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/priceSheet.d.ts +18 -0
- package/dist/esm/operationsInterfaces/priceSheet.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/priceSheet.js +9 -0
- package/dist/esm/operationsInterfaces/priceSheet.js.map +1 -0
- package/dist/esm/operationsInterfaces/reservationRecommendationDetails.d.ts +21 -0
- package/dist/esm/operationsInterfaces/reservationRecommendationDetails.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/reservationRecommendationDetails.js +9 -0
- package/dist/esm/operationsInterfaces/reservationRecommendationDetails.js.map +1 -0
- package/dist/esm/operationsInterfaces/reservationRecommendations.d.ts +17 -0
- package/dist/esm/operationsInterfaces/reservationRecommendations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/reservationRecommendations.js +9 -0
- package/dist/esm/operationsInterfaces/reservationRecommendations.js.map +1 -0
- package/dist/esm/operationsInterfaces/reservationTransactions.d.ts +19 -0
- package/dist/esm/operationsInterfaces/reservationTransactions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/reservationTransactions.js +9 -0
- package/dist/esm/operationsInterfaces/reservationTransactions.js.map +1 -0
- package/dist/esm/operationsInterfaces/reservationsDetails.d.ts +33 -0
- package/dist/esm/operationsInterfaces/reservationsDetails.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/reservationsDetails.js +9 -0
- package/dist/esm/operationsInterfaces/reservationsDetails.js.map +1 -0
- package/dist/esm/operationsInterfaces/reservationsSummaries.d.ts +32 -0
- package/dist/esm/operationsInterfaces/reservationsSummaries.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/reservationsSummaries.js +9 -0
- package/dist/esm/operationsInterfaces/reservationsSummaries.js.map +1 -0
- package/dist/esm/operationsInterfaces/tags.d.ts +19 -0
- package/dist/esm/operationsInterfaces/tags.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/tags.js +9 -0
- package/dist/esm/operationsInterfaces/tags.js.map +1 -0
- package/dist/esm/operationsInterfaces/usageDetails.d.ts +31 -0
- package/dist/esm/operationsInterfaces/usageDetails.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/usageDetails.js +9 -0
- package/dist/esm/operationsInterfaces/usageDetails.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/consumptionManagementClient.d.ts +36 -0
- package/dist/react-native/consumptionManagementClient.d.ts.map +1 -0
- package/dist/react-native/consumptionManagementClient.js +113 -0
- package/dist/react-native/consumptionManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/models/index.d.ts +3404 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +232 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +88 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +4013 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +35 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +333 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/aggregatedCost.d.ts +28 -0
- package/dist/react-native/operations/aggregatedCost.d.ts.map +1 -0
- package/dist/react-native/operations/aggregatedCost.js +78 -0
- package/dist/react-native/operations/aggregatedCost.js.map +1 -0
- package/dist/react-native/operations/balances.d.ts +28 -0
- package/dist/react-native/operations/balances.d.ts.map +1 -0
- package/dist/react-native/operations/balances.js +78 -0
- package/dist/react-native/operations/balances.js.map +1 -0
- package/dist/react-native/operations/budgets.d.ts +131 -0
- package/dist/react-native/operations/budgets.d.ts.map +1 -0
- package/dist/react-native/operations/budgets.js +289 -0
- package/dist/react-native/operations/budgets.js.map +1 -0
- package/dist/react-native/operations/charges.d.ts +34 -0
- package/dist/react-native/operations/charges.d.ts.map +1 -0
- package/dist/react-native/operations/charges.js +68 -0
- package/dist/react-native/operations/charges.js.map +1 -0
- package/dist/react-native/operations/credits.d.ts +20 -0
- package/dist/react-native/operations/credits.d.ts.map +1 -0
- package/dist/react-native/operations/credits.js +53 -0
- package/dist/react-native/operations/credits.js.map +1 -0
- package/dist/react-native/operations/eventsOperations.d.ts +67 -0
- package/dist/react-native/operations/eventsOperations.d.ts.map +1 -0
- package/dist/react-native/operations/eventsOperations.js +274 -0
- package/dist/react-native/operations/eventsOperations.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +18 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +25 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/lotsOperations.d.ts +67 -0
- package/dist/react-native/operations/lotsOperations.d.ts.map +1 -0
- package/dist/react-native/operations/lotsOperations.js +270 -0
- package/dist/react-native/operations/lotsOperations.js.map +1 -0
- package/dist/react-native/operations/marketplaces.d.ts +67 -0
- package/dist/react-native/operations/marketplaces.d.ts.map +1 -0
- package/dist/react-native/operations/marketplaces.js +173 -0
- package/dist/react-native/operations/marketplaces.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/priceSheet.d.ts +26 -0
- package/dist/react-native/operations/priceSheet.d.ts.map +1 -0
- package/dist/react-native/operations/priceSheet.js +86 -0
- package/dist/react-native/operations/priceSheet.js.map +1 -0
- package/dist/react-native/operations/reservationRecommendationDetails.d.ts +29 -0
- package/dist/react-native/operations/reservationRecommendationDetails.d.ts.map +1 -0
- package/dist/react-native/operations/reservationRecommendationDetails.js +64 -0
- package/dist/react-native/operations/reservationRecommendationDetails.js.map +1 -0
- package/dist/react-native/operations/reservationRecommendations.d.ts +50 -0
- package/dist/react-native/operations/reservationRecommendations.d.ts.map +1 -0
- package/dist/react-native/operations/reservationRecommendations.js +153 -0
- package/dist/react-native/operations/reservationRecommendations.js.map +1 -0
- package/dist/react-native/operations/reservationTransactions.d.ts +59 -0
- package/dist/react-native/operations/reservationTransactions.d.ts.map +1 -0
- package/dist/react-native/operations/reservationTransactions.js +262 -0
- package/dist/react-native/operations/reservationTransactions.js.map +1 -0
- package/dist/react-native/operations/reservationsDetails.d.ts +101 -0
- package/dist/react-native/operations/reservationsDetails.d.ts.map +1 -0
- package/dist/react-native/operations/reservationsDetails.js +400 -0
- package/dist/react-native/operations/reservationsDetails.js.map +1 -0
- package/dist/react-native/operations/reservationsSummaries.d.ts +99 -0
- package/dist/react-native/operations/reservationsSummaries.d.ts.map +1 -0
- package/dist/react-native/operations/reservationsSummaries.js +399 -0
- package/dist/react-native/operations/reservationsSummaries.js.map +1 -0
- package/dist/react-native/operations/tags.d.ts +27 -0
- package/dist/react-native/operations/tags.d.ts.map +1 -0
- package/dist/react-native/operations/tags.js +56 -0
- package/dist/react-native/operations/tags.js.map +1 -0
- package/dist/react-native/operations/usageDetails.d.ts +91 -0
- package/dist/react-native/operations/usageDetails.d.ts.map +1 -0
- package/dist/react-native/operations/usageDetails.js +199 -0
- package/dist/react-native/operations/usageDetails.js.map +1 -0
- package/dist/react-native/operationsInterfaces/aggregatedCost.d.ts +20 -0
- package/dist/react-native/operationsInterfaces/aggregatedCost.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/aggregatedCost.js +9 -0
- package/dist/react-native/operationsInterfaces/aggregatedCost.js.map +1 -0
- package/dist/react-native/operationsInterfaces/balances.d.ts +20 -0
- package/dist/react-native/operationsInterfaces/balances.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/balances.js +9 -0
- package/dist/react-native/operationsInterfaces/balances.js.map +1 -0
- package/dist/react-native/operationsInterfaces/budgets.d.ts +84 -0
- package/dist/react-native/operationsInterfaces/budgets.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/budgets.js +9 -0
- package/dist/react-native/operationsInterfaces/budgets.js.map +1 -0
- package/dist/react-native/operationsInterfaces/charges.d.ts +26 -0
- package/dist/react-native/operationsInterfaces/charges.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/charges.js +9 -0
- package/dist/react-native/operationsInterfaces/charges.js.map +1 -0
- package/dist/react-native/operationsInterfaces/credits.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/credits.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/credits.js +9 -0
- package/dist/react-native/operationsInterfaces/credits.js.map +1 -0
- package/dist/react-native/operationsInterfaces/eventsOperations.d.ts +23 -0
- package/dist/react-native/operationsInterfaces/eventsOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/eventsOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/eventsOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +18 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +25 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/lotsOperations.d.ts +23 -0
- package/dist/react-native/operationsInterfaces/lotsOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/lotsOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/lotsOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/marketplaces.d.ts +23 -0
- package/dist/react-native/operationsInterfaces/marketplaces.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/marketplaces.js +9 -0
- package/dist/react-native/operationsInterfaces/marketplaces.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/priceSheet.d.ts +18 -0
- package/dist/react-native/operationsInterfaces/priceSheet.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/priceSheet.js +9 -0
- package/dist/react-native/operationsInterfaces/priceSheet.js.map +1 -0
- package/dist/react-native/operationsInterfaces/reservationRecommendationDetails.d.ts +21 -0
- package/dist/react-native/operationsInterfaces/reservationRecommendationDetails.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/reservationRecommendationDetails.js +9 -0
- package/dist/react-native/operationsInterfaces/reservationRecommendationDetails.js.map +1 -0
- package/dist/react-native/operationsInterfaces/reservationRecommendations.d.ts +17 -0
- package/dist/react-native/operationsInterfaces/reservationRecommendations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/reservationRecommendations.js +9 -0
- package/dist/react-native/operationsInterfaces/reservationRecommendations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/reservationTransactions.d.ts +19 -0
- package/dist/react-native/operationsInterfaces/reservationTransactions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/reservationTransactions.js +9 -0
- package/dist/react-native/operationsInterfaces/reservationTransactions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/reservationsDetails.d.ts +33 -0
- package/dist/react-native/operationsInterfaces/reservationsDetails.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/reservationsDetails.js +9 -0
- package/dist/react-native/operationsInterfaces/reservationsDetails.js.map +1 -0
- package/dist/react-native/operationsInterfaces/reservationsSummaries.d.ts +32 -0
- package/dist/react-native/operationsInterfaces/reservationsSummaries.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/reservationsSummaries.js +9 -0
- package/dist/react-native/operationsInterfaces/reservationsSummaries.js.map +1 -0
- package/dist/react-native/operationsInterfaces/tags.d.ts +19 -0
- package/dist/react-native/operationsInterfaces/tags.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/tags.js +9 -0
- package/dist/react-native/operationsInterfaces/tags.js.map +1 -0
- package/dist/react-native/operationsInterfaces/usageDetails.d.ts +31 -0
- package/dist/react-native/operationsInterfaces/usageDetails.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/usageDetails.js +9 -0
- package/dist/react-native/operationsInterfaces/usageDetails.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +58 -28
- package/dist/index.js +0 -7793
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/aggregatedCostGetByManagementGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/aggregatedCostGetByManagementGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/aggregatedCostGetByManagementGroupSample.js +0 -58
- package/dist-esm/samples-dev/aggregatedCostGetByManagementGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/aggregatedCostGetForBillingPeriodByManagementGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/aggregatedCostGetForBillingPeriodByManagementGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/aggregatedCostGetForBillingPeriodByManagementGroupSample.js +0 -39
- package/dist-esm/samples-dev/aggregatedCostGetForBillingPeriodByManagementGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/balancesGetByBillingAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/balancesGetByBillingAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/balancesGetByBillingAccountSample.js +0 -38
- package/dist-esm/samples-dev/balancesGetByBillingAccountSample.js.map +0 -1
- package/dist-esm/samples-dev/balancesGetForBillingPeriodByBillingAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/balancesGetForBillingPeriodByBillingAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/balancesGetForBillingPeriodByBillingAccountSample.js +0 -39
- package/dist-esm/samples-dev/balancesGetForBillingPeriodByBillingAccountSample.js.map +0 -1
- package/dist-esm/samples-dev/budgetsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/budgetsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/budgetsCreateOrUpdateSample.js +0 -85
- package/dist-esm/samples-dev/budgetsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/budgetsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/budgetsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/budgetsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/budgetsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/budgetsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/budgetsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/budgetsGetSample.js +0 -39
- package/dist-esm/samples-dev/budgetsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/budgetsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/budgetsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/budgetsListSample.js +0 -54
- package/dist-esm/samples-dev/budgetsListSample.js.map +0 -1
- package/dist-esm/samples-dev/chargesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/chargesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/chargesListSample.js +0 -278
- package/dist-esm/samples-dev/chargesListSample.js.map +0 -1
- package/dist-esm/samples-dev/creditsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/creditsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/creditsGetSample.js +0 -39
- package/dist-esm/samples-dev/creditsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/eventsListByBillingAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventsListByBillingAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventsListByBillingAccountSample.js +0 -90
- package/dist-esm/samples-dev/eventsListByBillingAccountSample.js.map +0 -1
- package/dist-esm/samples-dev/eventsListByBillingProfileSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventsListByBillingProfileSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventsListByBillingProfileSample.js +0 -57
- package/dist-esm/samples-dev/eventsListByBillingProfileSample.js.map +0 -1
- package/dist-esm/samples-dev/lotsListByBillingAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/lotsListByBillingAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/lotsListByBillingAccountSample.js +0 -90
- package/dist-esm/samples-dev/lotsListByBillingAccountSample.js.map +0 -1
- package/dist-esm/samples-dev/lotsListByBillingProfileSample.d.ts +0 -2
- package/dist-esm/samples-dev/lotsListByBillingProfileSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/lotsListByBillingProfileSample.js +0 -55
- package/dist-esm/samples-dev/lotsListByBillingProfileSample.js.map +0 -1
- package/dist-esm/samples-dev/marketplacesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/marketplacesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/marketplacesListSample.js +0 -360
- package/dist-esm/samples-dev/marketplacesListSample.js.map +0 -1
- package/dist-esm/samples-dev/priceSheetGetByBillingPeriodSample.d.ts +0 -2
- package/dist-esm/samples-dev/priceSheetGetByBillingPeriodSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/priceSheetGetByBillingPeriodSample.js +0 -58
- package/dist-esm/samples-dev/priceSheetGetByBillingPeriodSample.js.map +0 -1
- package/dist-esm/samples-dev/priceSheetGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/priceSheetGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/priceSheetGetSample.js +0 -37
- package/dist-esm/samples-dev/priceSheetGetSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationRecommendationDetailsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationRecommendationDetailsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationRecommendationDetailsGetSample.js +0 -108
- package/dist-esm/samples-dev/reservationRecommendationDetailsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationRecommendationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationRecommendationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationRecommendationsListSample.js +0 -192
- package/dist-esm/samples-dev/reservationRecommendationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationTransactionsListByBillingProfileSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationTransactionsListByBillingProfileSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationTransactionsListByBillingProfileSample.js +0 -59
- package/dist-esm/samples-dev/reservationTransactionsListByBillingProfileSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationTransactionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationTransactionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationTransactionsListSample.js +0 -56
- package/dist-esm/samples-dev/reservationTransactionsListSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationsDetailsListByReservationOrderAndReservationSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationsDetailsListByReservationOrderAndReservationSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationsDetailsListByReservationOrderAndReservationSample.js +0 -56
- package/dist-esm/samples-dev/reservationsDetailsListByReservationOrderAndReservationSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationsDetailsListByReservationOrderSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationsDetailsListByReservationOrderSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationsDetailsListByReservationOrderSample.js +0 -55
- package/dist-esm/samples-dev/reservationsDetailsListByReservationOrderSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationsDetailsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationsDetailsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationsDetailsListSample.js +0 -137
- package/dist-esm/samples-dev/reservationsDetailsListSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationsSummariesListByReservationOrderAndReservationSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationsSummariesListByReservationOrderAndReservationSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationsSummariesListByReservationOrderAndReservationSample.js +0 -96
- package/dist-esm/samples-dev/reservationsSummariesListByReservationOrderAndReservationSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationsSummariesListByReservationOrderSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationsSummariesListByReservationOrderSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationsSummariesListByReservationOrderSample.js +0 -94
- package/dist-esm/samples-dev/reservationsSummariesListByReservationOrderSample.js.map +0 -1
- package/dist-esm/samples-dev/reservationsSummariesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/reservationsSummariesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reservationsSummariesListSample.js +0 -209
- package/dist-esm/samples-dev/reservationsSummariesListSample.js.map +0 -1
- package/dist-esm/samples-dev/tagsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/tagsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/tagsGetSample.js +0 -38
- package/dist-esm/samples-dev/tagsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/usageDetailsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/usageDetailsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/usageDetailsListSample.js +0 -678
- package/dist-esm/samples-dev/usageDetailsListSample.js.map +0 -1
- package/dist-esm/src/consumptionManagementClient.d.ts +0 -36
- package/dist-esm/src/consumptionManagementClient.d.ts.map +0 -1
- package/dist-esm/src/consumptionManagementClient.js +0 -116
- package/dist-esm/src/consumptionManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -333
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/aggregatedCost.d.ts +0 -28
- package/dist-esm/src/operations/aggregatedCost.d.ts.map +0 -1
- package/dist-esm/src/operations/aggregatedCost.js +0 -78
- package/dist-esm/src/operations/aggregatedCost.js.map +0 -1
- package/dist-esm/src/operations/balances.d.ts +0 -28
- package/dist-esm/src/operations/balances.d.ts.map +0 -1
- package/dist-esm/src/operations/balances.js +0 -78
- package/dist-esm/src/operations/balances.js.map +0 -1
- package/dist-esm/src/operations/budgets.d.ts +0 -131
- package/dist-esm/src/operations/budgets.d.ts.map +0 -1
- package/dist-esm/src/operations/budgets.js +0 -289
- package/dist-esm/src/operations/budgets.js.map +0 -1
- package/dist-esm/src/operations/charges.d.ts +0 -34
- package/dist-esm/src/operations/charges.d.ts.map +0 -1
- package/dist-esm/src/operations/charges.js +0 -68
- package/dist-esm/src/operations/charges.js.map +0 -1
- package/dist-esm/src/operations/credits.d.ts +0 -20
- package/dist-esm/src/operations/credits.d.ts.map +0 -1
- package/dist-esm/src/operations/credits.js +0 -53
- package/dist-esm/src/operations/credits.js.map +0 -1
- package/dist-esm/src/operations/eventsOperations.d.ts +0 -67
- package/dist-esm/src/operations/eventsOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/eventsOperations.js +0 -274
- package/dist-esm/src/operations/eventsOperations.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -18
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -25
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/lotsOperations.d.ts +0 -67
- package/dist-esm/src/operations/lotsOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/lotsOperations.js +0 -270
- package/dist-esm/src/operations/lotsOperations.js.map +0 -1
- package/dist-esm/src/operations/marketplaces.d.ts +0 -67
- package/dist-esm/src/operations/marketplaces.d.ts.map +0 -1
- package/dist-esm/src/operations/marketplaces.js +0 -173
- package/dist-esm/src/operations/marketplaces.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts +0 -32
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js +0 -133
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/priceSheet.d.ts +0 -26
- package/dist-esm/src/operations/priceSheet.d.ts.map +0 -1
- package/dist-esm/src/operations/priceSheet.js +0 -86
- package/dist-esm/src/operations/priceSheet.js.map +0 -1
- package/dist-esm/src/operations/reservationRecommendationDetails.d.ts +0 -29
- package/dist-esm/src/operations/reservationRecommendationDetails.d.ts.map +0 -1
- package/dist-esm/src/operations/reservationRecommendationDetails.js +0 -64
- package/dist-esm/src/operations/reservationRecommendationDetails.js.map +0 -1
- package/dist-esm/src/operations/reservationRecommendations.d.ts +0 -50
- package/dist-esm/src/operations/reservationRecommendations.d.ts.map +0 -1
- package/dist-esm/src/operations/reservationRecommendations.js +0 -153
- package/dist-esm/src/operations/reservationRecommendations.js.map +0 -1
- package/dist-esm/src/operations/reservationTransactions.d.ts +0 -59
- package/dist-esm/src/operations/reservationTransactions.d.ts.map +0 -1
- package/dist-esm/src/operations/reservationTransactions.js +0 -262
- package/dist-esm/src/operations/reservationTransactions.js.map +0 -1
- package/dist-esm/src/operations/reservationsDetails.d.ts +0 -101
- package/dist-esm/src/operations/reservationsDetails.d.ts.map +0 -1
- package/dist-esm/src/operations/reservationsDetails.js +0 -400
- package/dist-esm/src/operations/reservationsDetails.js.map +0 -1
- package/dist-esm/src/operations/reservationsSummaries.d.ts +0 -99
- package/dist-esm/src/operations/reservationsSummaries.d.ts.map +0 -1
- package/dist-esm/src/operations/reservationsSummaries.js +0 -399
- package/dist-esm/src/operations/reservationsSummaries.js.map +0 -1
- package/dist-esm/src/operations/tags.d.ts +0 -27
- package/dist-esm/src/operations/tags.d.ts.map +0 -1
- package/dist-esm/src/operations/tags.js +0 -56
- package/dist-esm/src/operations/tags.js.map +0 -1
- package/dist-esm/src/operations/usageDetails.d.ts +0 -91
- package/dist-esm/src/operations/usageDetails.d.ts.map +0 -1
- package/dist-esm/src/operations/usageDetails.js +0 -199
- package/dist-esm/src/operations/usageDetails.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/aggregatedCost.d.ts +0 -20
- package/dist-esm/src/operationsInterfaces/aggregatedCost.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/aggregatedCost.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/balances.d.ts +0 -20
- package/dist-esm/src/operationsInterfaces/balances.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/balances.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/budgets.d.ts +0 -84
- package/dist-esm/src/operationsInterfaces/budgets.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/budgets.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/charges.d.ts +0 -26
- package/dist-esm/src/operationsInterfaces/charges.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/charges.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/credits.d.ts +0 -12
- package/dist-esm/src/operationsInterfaces/credits.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/credits.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/eventsOperations.d.ts +0 -23
- package/dist-esm/src/operationsInterfaces/eventsOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/eventsOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -18
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -25
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/lotsOperations.d.ts +0 -23
- package/dist-esm/src/operationsInterfaces/lotsOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/lotsOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/marketplaces.d.ts +0 -23
- package/dist-esm/src/operationsInterfaces/marketplaces.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/marketplaces.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/priceSheet.d.ts +0 -18
- package/dist-esm/src/operationsInterfaces/priceSheet.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/priceSheet.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/reservationRecommendationDetails.d.ts +0 -21
- package/dist-esm/src/operationsInterfaces/reservationRecommendationDetails.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/reservationRecommendationDetails.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/reservationRecommendations.d.ts +0 -17
- package/dist-esm/src/operationsInterfaces/reservationRecommendations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/reservationRecommendations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/reservationTransactions.d.ts +0 -19
- package/dist-esm/src/operationsInterfaces/reservationTransactions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/reservationTransactions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/reservationsDetails.d.ts +0 -33
- package/dist-esm/src/operationsInterfaces/reservationsDetails.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/reservationsDetails.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/reservationsSummaries.d.ts +0 -32
- package/dist-esm/src/operationsInterfaces/reservationsSummaries.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/reservationsSummaries.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/tags.d.ts +0 -19
- package/dist-esm/src/operationsInterfaces/tags.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/tags.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/usageDetails.d.ts +0 -31
- package/dist-esm/src/operationsInterfaces/usageDetails.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/usageDetails.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/consumption_examples.d.ts +0 -4
- package/dist-esm/test/consumption_examples.d.ts.map +0 -1
- package/dist-esm/test/consumption_examples.js +0 -123
- package/dist-esm/test/consumption_examples.js.map +0 -1
- package/src/consumptionManagementClient.ts +0 -210
- package/src/index.ts +0 -13
- package/src/models/index.ts +0 -3642
- package/src/models/mappers.ts +0 -4505
- package/src/models/parameters.ts +0 -371
- package/src/operations/aggregatedCost.ts +0 -107
- package/src/operations/balances.ts +0 -107
- package/src/operations/budgets.ts +0 -343
- package/src/operations/charges.ts +0 -82
- package/src/operations/credits.ts +0 -69
- package/src/operations/eventsOperations.ts +0 -369
- package/src/operations/index.ts +0 -25
- package/src/operations/lotsOperations.ts +0 -349
- package/src/operations/marketplaces.ts +0 -197
- package/src/operations/operations.ts +0 -149
- package/src/operations/priceSheet.ts +0 -108
- package/src/operations/reservationRecommendationDetails.ts +0 -89
- package/src/operations/reservationRecommendations.ts +0 -178
- package/src/operations/reservationTransactions.ts +0 -335
- package/src/operations/reservationsDetails.ts +0 -518
- package/src/operations/reservationsSummaries.ts +0 -524
- package/src/operations/tags.ts +0 -70
- package/src/operations/usageDetails.ts +0 -223
- package/src/operationsInterfaces/aggregatedCost.ts +0 -40
- package/src/operationsInterfaces/balances.ts +0 -40
- package/src/operationsInterfaces/budgets.ts +0 -117
- package/src/operationsInterfaces/charges.ts +0 -37
- package/src/operationsInterfaces/credits.ts +0 -24
- package/src/operationsInterfaces/eventsOperations.ts +0 -45
- package/src/operationsInterfaces/index.ts +0 -25
- package/src/operationsInterfaces/lotsOperations.ts +0 -43
- package/src/operationsInterfaces/marketplaces.ts +0 -35
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/priceSheet.ts +0 -34
- package/src/operationsInterfaces/reservationRecommendationDetails.ts +0 -41
- package/src/operationsInterfaces/reservationRecommendations.ts +0 -32
- package/src/operationsInterfaces/reservationTransactions.ts +0 -40
- package/src/operationsInterfaces/reservationsDetails.ts +0 -59
- package/src/operationsInterfaces/reservationsSummaries.ts +0 -60
- package/src/operationsInterfaces/tags.ts +0 -27
- package/src/operationsInterfaces/usageDetails.ts +0 -43
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- package/types/arm-consumption.d.ts +0 -4062
- package/types/tsdoc-metadata.json +0 -11
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/aggregatedCost.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/balances.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/budgets.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/charges.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/credits.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/eventsOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/lotsOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/marketplaces.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/priceSheet.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/reservationRecommendationDetails.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/reservationRecommendations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/reservationTransactions.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/reservationsDetails.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/reservationsSummaries.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/tags.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/usageDetails.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.OperationsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
/// <reference lib="esnext.asynciterable" />
|
|
17
|
+
/** Class containing Operations operations. */
|
|
18
|
+
class OperationsImpl {
|
|
19
|
+
/**
|
|
20
|
+
* Initialize a new instance of the class Operations class.
|
|
21
|
+
* @param client Reference to the service client
|
|
22
|
+
*/
|
|
23
|
+
constructor(client) {
|
|
24
|
+
this.client = client;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Lists all of the available consumption REST API operations.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
list(options) {
|
|
31
|
+
const iter = this.listPagingAll(options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: (settings) => {
|
|
40
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
41
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
|
+
}
|
|
43
|
+
return this.listPagingPage(options, settings);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
listPagingPage(options, settings) {
|
|
48
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = yield tslib_1.__await(this._list(options));
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
56
|
+
yield yield tslib_1.__await(page);
|
|
57
|
+
}
|
|
58
|
+
while (continuationToken) {
|
|
59
|
+
result = yield tslib_1.__await(this._listNext(continuationToken, options));
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
63
|
+
yield yield tslib_1.__await(page);
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
listPagingAll(options) {
|
|
68
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
69
|
+
var _a, e_1, _b, _c;
|
|
70
|
+
try {
|
|
71
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
72
|
+
_c = _f.value;
|
|
73
|
+
_d = false;
|
|
74
|
+
const page = _c;
|
|
75
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
79
|
+
finally {
|
|
80
|
+
try {
|
|
81
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
82
|
+
}
|
|
83
|
+
finally { if (e_1) throw e_1.error; }
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Lists all of the available consumption REST API operations.
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
_list(options) {
|
|
92
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* ListNext
|
|
96
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
97
|
+
* @param options The options parameters.
|
|
98
|
+
*/
|
|
99
|
+
_listNext(nextLink, options) {
|
|
100
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.OperationsImpl = OperationsImpl;
|
|
104
|
+
// Operation Specifications
|
|
105
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
106
|
+
const listOperationSpec = {
|
|
107
|
+
path: "/providers/Microsoft.Consumption/operations",
|
|
108
|
+
httpMethod: "GET",
|
|
109
|
+
responses: {
|
|
110
|
+
200: {
|
|
111
|
+
bodyMapper: Mappers.OperationListResult
|
|
112
|
+
},
|
|
113
|
+
default: {
|
|
114
|
+
bodyMapper: Mappers.ErrorResponse
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
queryParameters: [Parameters.apiVersion],
|
|
118
|
+
urlParameters: [Parameters.$host],
|
|
119
|
+
headerParameters: [Parameters.accept],
|
|
120
|
+
serializer
|
|
121
|
+
};
|
|
122
|
+
const listNextOperationSpec = {
|
|
123
|
+
path: "{nextLink}",
|
|
124
|
+
httpMethod: "GET",
|
|
125
|
+
responses: {
|
|
126
|
+
200: {
|
|
127
|
+
bodyMapper: Mappers.OperationListResult
|
|
128
|
+
},
|
|
129
|
+
default: {
|
|
130
|
+
bodyMapper: Mappers.ErrorResponse
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
134
|
+
headerParameters: [Parameters.accept],
|
|
135
|
+
serializer
|
|
136
|
+
};
|
|
137
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAsC,EACtC,QAAuB;;YAEvB,IAAI,MAA8B,CAAC;YACnC,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACvB,MAAM,GAAG,sBAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA,CAAC;gBACnC,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC9B,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;gBACpC,IAAA,sCAAoB,EAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;gBAC9C,4BAAM,IAAI,CAAA,CAAC;YACb,CAAC;YACD,OAAO,iBAAiB,EAAE,CAAC;gBACzB,MAAM,GAAG,sBAAM,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAA,CAAC;gBAC1D,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;gBACpC,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC9B,IAAA,sCAAoB,EAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;gBAC9C,4BAAM,IAAI,CAAA,CAAC;YACb,CAAC;QACH,CAAC;KAAA;IAEc,aAAa,CAC1B,OAAsC;;;;gBAEtC,KAAyB,eAAA,KAAA,sBAAA,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA,IAAA,uEAAE,CAAC;oBAA/B,cAA4B;oBAA5B,WAA4B;oBAA1C,MAAM,IAAI,KAAA,CAAA;oBACnB,sBAAA,KAAK,CAAC,CAAC,yBAAA,sBAAA,IAAI,CAAA,CAAA,CAAA,CAAC;gBACd,CAAC;;;;;;;;;QACH,CAAC;KAAA;IAED;;;OAGG;IACK,KAAK,CACX,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;IAED;;;;OAIG;IACK,SAAS,CACf,QAAgB,EAChB,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AAzFD,wCAyFC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,6CAA6C;IACnD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ConsumptionManagementClient } from \"../consumptionManagementClient.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: ConsumptionManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: ConsumptionManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available consumption REST API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available consumption REST API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Consumption/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PriceSheet } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { ConsumptionManagementClient } from "../consumptionManagementClient.js";
|
|
3
|
+
import { PriceSheetGetOptionalParams, PriceSheetGetResponse, PriceSheetGetByBillingPeriodOptionalParams, PriceSheetGetByBillingPeriodResponse } from "../models/index.js";
|
|
4
|
+
/** Class containing PriceSheet operations. */
|
|
5
|
+
export declare class PriceSheetImpl implements PriceSheet {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class PriceSheet class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: ConsumptionManagementClient);
|
|
12
|
+
/**
|
|
13
|
+
* Gets the price sheet for a subscription. Price sheet is available via this API only for May 1, 2014
|
|
14
|
+
* or later.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
get(options?: PriceSheetGetOptionalParams): Promise<PriceSheetGetResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Get the price sheet for a scope by subscriptionId and billing period. Price sheet is available via
|
|
20
|
+
* this API only for May 1, 2014 or later.
|
|
21
|
+
* @param billingPeriodName Billing Period Name.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
getByBillingPeriod(billingPeriodName: string, options?: PriceSheetGetByBillingPeriodOptionalParams): Promise<PriceSheetGetByBillingPeriodResponse>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=priceSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priceSheet.d.ts","sourceRoot":"","sources":["../../../src/operations/priceSheet.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0CAA0C,EAC1C,oCAAoC,EACrC,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;gBACS,MAAM,EAAE,2BAA2B;IAI/C;;;;OAIG;IACH,GAAG,CAAC,OAAO,CAAC,EAAE,2BAA2B,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAI1E;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;CAMjD"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.PriceSheetImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
14
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
|
+
/** Class containing PriceSheet operations. */
|
|
16
|
+
class PriceSheetImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class PriceSheet class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Gets the price sheet for a subscription. Price sheet is available via this API only for May 1, 2014
|
|
26
|
+
* or later.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
get(options) {
|
|
30
|
+
return this.client.sendOperationRequest({ options }, getOperationSpec);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Get the price sheet for a scope by subscriptionId and billing period. Price sheet is available via
|
|
34
|
+
* this API only for May 1, 2014 or later.
|
|
35
|
+
* @param billingPeriodName Billing Period Name.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
getByBillingPeriod(billingPeriodName, options) {
|
|
39
|
+
return this.client.sendOperationRequest({ billingPeriodName, options }, getByBillingPeriodOperationSpec);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.PriceSheetImpl = PriceSheetImpl;
|
|
43
|
+
// Operation Specifications
|
|
44
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
45
|
+
const getOperationSpec = {
|
|
46
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/pricesheets/default",
|
|
47
|
+
httpMethod: "GET",
|
|
48
|
+
responses: {
|
|
49
|
+
200: {
|
|
50
|
+
bodyMapper: Mappers.PriceSheetResult
|
|
51
|
+
},
|
|
52
|
+
default: {
|
|
53
|
+
bodyMapper: Mappers.ErrorResponse
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
queryParameters: [
|
|
57
|
+
Parameters.expand,
|
|
58
|
+
Parameters.skiptoken,
|
|
59
|
+
Parameters.top,
|
|
60
|
+
Parameters.apiVersion
|
|
61
|
+
],
|
|
62
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
63
|
+
headerParameters: [Parameters.accept],
|
|
64
|
+
serializer
|
|
65
|
+
};
|
|
66
|
+
const getByBillingPeriodOperationSpec = {
|
|
67
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/pricesheets/default",
|
|
68
|
+
httpMethod: "GET",
|
|
69
|
+
responses: {
|
|
70
|
+
200: {
|
|
71
|
+
bodyMapper: Mappers.PriceSheetResult
|
|
72
|
+
},
|
|
73
|
+
default: {
|
|
74
|
+
bodyMapper: Mappers.ErrorResponse
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
queryParameters: [
|
|
78
|
+
Parameters.expand,
|
|
79
|
+
Parameters.skiptoken,
|
|
80
|
+
Parameters.top,
|
|
81
|
+
Parameters.apiVersion
|
|
82
|
+
],
|
|
83
|
+
urlParameters: [
|
|
84
|
+
Parameters.$host,
|
|
85
|
+
Parameters.billingPeriodName,
|
|
86
|
+
Parameters.subscriptionId
|
|
87
|
+
],
|
|
88
|
+
headerParameters: [Parameters.accept],
|
|
89
|
+
serializer
|
|
90
|
+
};
|
|
91
|
+
//# sourceMappingURL=priceSheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priceSheet.js","sourceRoot":"","sources":["../../../src/operations/priceSheet.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAStD,8CAA8C;AAC9C,MAAa,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,GAAG,CAAC,OAAqC;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,gBAAgB,CAAC,CAAC;IACzE,CAAC;IAED;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAyB,EACzB,OAAoD;QAEpD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAC9B,+BAA+B,CAChC,CAAC;IACJ,CAAC;CACF;AAnCD,wCAmCC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,qFAAqF;IACvF,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,GAAG;QACd,UAAU,CAAC,UAAU;KACtB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EACF,oJAAoJ;IACtJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,GAAG;QACd,UAAU,CAAC,UAAU;KACtB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PriceSheet } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ConsumptionManagementClient } from \"../consumptionManagementClient.js\";\nimport {\n PriceSheetGetOptionalParams,\n PriceSheetGetResponse,\n PriceSheetGetByBillingPeriodOptionalParams,\n PriceSheetGetByBillingPeriodResponse\n} from \"../models/index.js\";\n\n/** Class containing PriceSheet operations. */\nexport class PriceSheetImpl implements PriceSheet {\n private readonly client: ConsumptionManagementClient;\n\n /**\n * Initialize a new instance of the class PriceSheet class.\n * @param client Reference to the service client\n */\n constructor(client: ConsumptionManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the price sheet for a subscription. Price sheet is available via this API only for May 1, 2014\n * or later.\n * @param options The options parameters.\n */\n get(options?: PriceSheetGetOptionalParams): Promise<PriceSheetGetResponse> {\n return this.client.sendOperationRequest({ options }, getOperationSpec);\n }\n\n /**\n * Get the price sheet for a scope by subscriptionId and billing period. Price sheet is available via\n * this API only for May 1, 2014 or later.\n * @param billingPeriodName Billing Period Name.\n * @param options The options parameters.\n */\n getByBillingPeriod(\n billingPeriodName: string,\n options?: PriceSheetGetByBillingPeriodOptionalParams\n ): Promise<PriceSheetGetByBillingPeriodResponse> {\n return this.client.sendOperationRequest(\n { billingPeriodName, options },\n getByBillingPeriodOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/pricesheets/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PriceSheetResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.expand,\n Parameters.skiptoken,\n Parameters.top,\n Parameters.apiVersion\n ],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getByBillingPeriodOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/pricesheets/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PriceSheetResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.expand,\n Parameters.skiptoken,\n Parameters.top,\n Parameters.apiVersion\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.billingPeriodName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ReservationRecommendationDetails } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { ConsumptionManagementClient } from "../consumptionManagementClient.js";
|
|
3
|
+
import { Term, LookBackPeriod, ReservationRecommendationDetailsGetOptionalParams, ReservationRecommendationDetailsGetResponse } from "../models/index.js";
|
|
4
|
+
/** Class containing ReservationRecommendationDetails operations. */
|
|
5
|
+
export declare class ReservationRecommendationDetailsImpl implements ReservationRecommendationDetails {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class ReservationRecommendationDetails class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: ConsumptionManagementClient);
|
|
12
|
+
/**
|
|
13
|
+
* Details of a reservation recommendation for what-if analysis of reserved instances.
|
|
14
|
+
* @param scope The scope associated with reservation recommendation details operations. This includes
|
|
15
|
+
* '/subscriptions/{subscriptionId}/' for subscription scope,
|
|
16
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope,
|
|
17
|
+
* /providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and
|
|
18
|
+
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
|
|
19
|
+
* for billingProfile scope
|
|
20
|
+
* @param region Used to select the region the recommendation should be generated for.
|
|
21
|
+
* @param term Specify length of reservation recommendation term.
|
|
22
|
+
* @param lookBackPeriod Filter the time period on which reservation recommendation results are based.
|
|
23
|
+
* @param product Filter the products for which reservation recommendation results are generated.
|
|
24
|
+
* Examples: Standard_DS1_v2 (for VM), Premium_SSD_Managed_Disks_P30 (for Managed Disks)
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
get(scope: string, region: string, term: Term, lookBackPeriod: LookBackPeriod, product: string, options?: ReservationRecommendationDetailsGetOptionalParams): Promise<ReservationRecommendationDetailsGetResponse>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=reservationRecommendationDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reservationRecommendationDetails.d.ts","sourceRoot":"","sources":["../../../src/operations/reservationRecommendationDetails.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AAIpF,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EACL,IAAI,EACJ,cAAc,EACd,iDAAiD,EACjD,2CAA2C,EAC5C,MAAM,oBAAoB,CAAC;AAE5B,oEAAoE;AACpE,qBAAa,oCACX,YAAW,gCAAgC;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;gBACS,MAAM,EAAE,2BAA2B;IAI/C;;;;;;;;;;;;;;OAcG;IACH,GAAG,CACD,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI,EACV,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC;CAMxD"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ReservationRecommendationDetailsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
14
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
|
+
/** Class containing ReservationRecommendationDetails operations. */
|
|
16
|
+
class ReservationRecommendationDetailsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class ReservationRecommendationDetails class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Details of a reservation recommendation for what-if analysis of reserved instances.
|
|
26
|
+
* @param scope The scope associated with reservation recommendation details operations. This includes
|
|
27
|
+
* '/subscriptions/{subscriptionId}/' for subscription scope,
|
|
28
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope,
|
|
29
|
+
* /providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and
|
|
30
|
+
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
|
|
31
|
+
* for billingProfile scope
|
|
32
|
+
* @param region Used to select the region the recommendation should be generated for.
|
|
33
|
+
* @param term Specify length of reservation recommendation term.
|
|
34
|
+
* @param lookBackPeriod Filter the time period on which reservation recommendation results are based.
|
|
35
|
+
* @param product Filter the products for which reservation recommendation results are generated.
|
|
36
|
+
* Examples: Standard_DS1_v2 (for VM), Premium_SSD_Managed_Disks_P30 (for Managed Disks)
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
get(scope, region, term, lookBackPeriod, product, options) {
|
|
40
|
+
return this.client.sendOperationRequest({ scope, region, term, lookBackPeriod, product, options }, getOperationSpec);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.ReservationRecommendationDetailsImpl = ReservationRecommendationDetailsImpl;
|
|
44
|
+
// Operation Specifications
|
|
45
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
46
|
+
const getOperationSpec = {
|
|
47
|
+
path: "/{scope}/providers/Microsoft.Consumption/reservationRecommendationDetails",
|
|
48
|
+
httpMethod: "GET",
|
|
49
|
+
responses: {
|
|
50
|
+
200: {
|
|
51
|
+
bodyMapper: Mappers.ReservationRecommendationDetailsModel
|
|
52
|
+
},
|
|
53
|
+
204: {},
|
|
54
|
+
default: {
|
|
55
|
+
bodyMapper: Mappers.HighCasedErrorResponse
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
queryParameters: [
|
|
59
|
+
Parameters.apiVersion,
|
|
60
|
+
Parameters.region,
|
|
61
|
+
Parameters.term,
|
|
62
|
+
Parameters.lookBackPeriod,
|
|
63
|
+
Parameters.product
|
|
64
|
+
],
|
|
65
|
+
urlParameters: [Parameters.$host, Parameters.scope],
|
|
66
|
+
headerParameters: [Parameters.accept],
|
|
67
|
+
serializer
|
|
68
|
+
};
|
|
69
|
+
//# sourceMappingURL=reservationRecommendationDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reservationRecommendationDetails.js","sourceRoot":"","sources":["../../../src/operations/reservationRecommendationDetails.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAStD,oEAAoE;AACpE,MAAa,oCAAoC;IAI/C;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,GAAG,CACD,KAAa,EACb,MAAc,EACd,IAAU,EACV,cAA8B,EAC9B,OAAe,EACf,OAA2D;QAE3D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,OAAO,EAAE,EACzD,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AAxCD,oFAwCC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,2EAA2E;IAC7E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qCAAqC;SAC1D;QACD,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,IAAI;QACf,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,OAAO;KACnB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC;IACnD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { ReservationRecommendationDetails } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ConsumptionManagementClient } from \"../consumptionManagementClient.js\";\nimport {\n Term,\n LookBackPeriod,\n ReservationRecommendationDetailsGetOptionalParams,\n ReservationRecommendationDetailsGetResponse\n} from \"../models/index.js\";\n\n/** Class containing ReservationRecommendationDetails operations. */\nexport class ReservationRecommendationDetailsImpl\n implements ReservationRecommendationDetails {\n private readonly client: ConsumptionManagementClient;\n\n /**\n * Initialize a new instance of the class ReservationRecommendationDetails class.\n * @param client Reference to the service client\n */\n constructor(client: ConsumptionManagementClient) {\n this.client = client;\n }\n\n /**\n * Details of a reservation recommendation for what-if analysis of reserved instances.\n * @param scope The scope associated with reservation recommendation details operations. This includes\n * '/subscriptions/{subscriptionId}/' for subscription scope,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope,\n * /providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and\n * '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'\n * for billingProfile scope\n * @param region Used to select the region the recommendation should be generated for.\n * @param term Specify length of reservation recommendation term.\n * @param lookBackPeriod Filter the time period on which reservation recommendation results are based.\n * @param product Filter the products for which reservation recommendation results are generated.\n * Examples: Standard_DS1_v2 (for VM), Premium_SSD_Managed_Disks_P30 (for Managed Disks)\n * @param options The options parameters.\n */\n get(\n scope: string,\n region: string,\n term: Term,\n lookBackPeriod: LookBackPeriod,\n product: string,\n options?: ReservationRecommendationDetailsGetOptionalParams\n ): Promise<ReservationRecommendationDetailsGetResponse> {\n return this.client.sendOperationRequest(\n { scope, region, term, lookBackPeriod, product, options },\n getOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/{scope}/providers/Microsoft.Consumption/reservationRecommendationDetails\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReservationRecommendationDetailsModel\n },\n 204: {},\n default: {\n bodyMapper: Mappers.HighCasedErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.region,\n Parameters.term,\n Parameters.lookBackPeriod,\n Parameters.product\n ],\n urlParameters: [Parameters.$host, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { ReservationRecommendations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { ConsumptionManagementClient } from "../consumptionManagementClient.js";
|
|
4
|
+
import { ReservationRecommendationUnion, ReservationRecommendationsListOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing ReservationRecommendations operations. */
|
|
6
|
+
export declare class ReservationRecommendationsImpl implements ReservationRecommendations {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class ReservationRecommendations class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: ConsumptionManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* List of recommendations for purchasing reserved instances.
|
|
15
|
+
* @param scope The scope associated with reservation recommendations operations. This includes
|
|
16
|
+
* '/subscriptions/{subscriptionId}/' for subscription scope,
|
|
17
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope,
|
|
18
|
+
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and
|
|
19
|
+
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
|
|
20
|
+
* for billingProfile scope
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
list(scope: string, options?: ReservationRecommendationsListOptionalParams): PagedAsyncIterableIterator<ReservationRecommendationUnion>;
|
|
24
|
+
private listPagingPage;
|
|
25
|
+
private listPagingAll;
|
|
26
|
+
/**
|
|
27
|
+
* List of recommendations for purchasing reserved instances.
|
|
28
|
+
* @param scope The scope associated with reservation recommendations operations. This includes
|
|
29
|
+
* '/subscriptions/{subscriptionId}/' for subscription scope,
|
|
30
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope,
|
|
31
|
+
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and
|
|
32
|
+
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
|
|
33
|
+
* for billingProfile scope
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
private _list;
|
|
37
|
+
/**
|
|
38
|
+
* ListNext
|
|
39
|
+
* @param scope The scope associated with reservation recommendations operations. This includes
|
|
40
|
+
* '/subscriptions/{subscriptionId}/' for subscription scope,
|
|
41
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope,
|
|
42
|
+
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and
|
|
43
|
+
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
|
|
44
|
+
* for billingProfile scope
|
|
45
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
private _listNext;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=reservationRecommendations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reservationRecommendations.d.ts","sourceRoot":"","sources":["../../../src/operations/reservationRecommendations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAI9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EACL,8BAA8B,EAE9B,4CAA4C,EAG7C,MAAM,oBAAoB,CAAC;AAG5B,8DAA8D;AAC9D,qBAAa,8BACX,YAAW,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;gBACS,MAAM,EAAE,2BAA2B;IAI/C;;;;;;;;;OASG;IACI,IAAI,CACT,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,8BAA8B,CAAC;YAkB9C,cAAc;YAuBd,aAAa;IAS5B;;;;;;;;;OASG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;;;;;;OAUG;IACH,OAAO,CAAC,SAAS;CAUlB"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ReservationRecommendationsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
/// <reference lib="esnext.asynciterable" />
|
|
17
|
+
/** Class containing ReservationRecommendations operations. */
|
|
18
|
+
class ReservationRecommendationsImpl {
|
|
19
|
+
/**
|
|
20
|
+
* Initialize a new instance of the class ReservationRecommendations class.
|
|
21
|
+
* @param client Reference to the service client
|
|
22
|
+
*/
|
|
23
|
+
constructor(client) {
|
|
24
|
+
this.client = client;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* List of recommendations for purchasing reserved instances.
|
|
28
|
+
* @param scope The scope associated with reservation recommendations operations. This includes
|
|
29
|
+
* '/subscriptions/{subscriptionId}/' for subscription scope,
|
|
30
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope,
|
|
31
|
+
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and
|
|
32
|
+
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
|
|
33
|
+
* for billingProfile scope
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
list(scope, options) {
|
|
37
|
+
const iter = this.listPagingAll(scope, options);
|
|
38
|
+
return {
|
|
39
|
+
next() {
|
|
40
|
+
return iter.next();
|
|
41
|
+
},
|
|
42
|
+
[Symbol.asyncIterator]() {
|
|
43
|
+
return this;
|
|
44
|
+
},
|
|
45
|
+
byPage: (settings) => {
|
|
46
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
47
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
48
|
+
}
|
|
49
|
+
return this.listPagingPage(scope, options, settings);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
listPagingPage(scope, options, settings) {
|
|
54
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
55
|
+
let result;
|
|
56
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
57
|
+
if (!continuationToken) {
|
|
58
|
+
result = yield tslib_1.__await(this._list(scope, options));
|
|
59
|
+
let page = result.value || [];
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
62
|
+
yield yield tslib_1.__await(page);
|
|
63
|
+
}
|
|
64
|
+
while (continuationToken) {
|
|
65
|
+
result = yield tslib_1.__await(this._listNext(scope, continuationToken, options));
|
|
66
|
+
continuationToken = result.nextLink;
|
|
67
|
+
let page = result.value || [];
|
|
68
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
69
|
+
yield yield tslib_1.__await(page);
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
listPagingAll(scope, options) {
|
|
74
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
75
|
+
var _a, e_1, _b, _c;
|
|
76
|
+
try {
|
|
77
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(scope, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
78
|
+
_c = _f.value;
|
|
79
|
+
_d = false;
|
|
80
|
+
const page = _c;
|
|
81
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
85
|
+
finally {
|
|
86
|
+
try {
|
|
87
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
88
|
+
}
|
|
89
|
+
finally { if (e_1) throw e_1.error; }
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* List of recommendations for purchasing reserved instances.
|
|
95
|
+
* @param scope The scope associated with reservation recommendations operations. This includes
|
|
96
|
+
* '/subscriptions/{subscriptionId}/' for subscription scope,
|
|
97
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope,
|
|
98
|
+
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and
|
|
99
|
+
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
|
|
100
|
+
* for billingProfile scope
|
|
101
|
+
* @param options The options parameters.
|
|
102
|
+
*/
|
|
103
|
+
_list(scope, options) {
|
|
104
|
+
return this.client.sendOperationRequest({ scope, options }, listOperationSpec);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* ListNext
|
|
108
|
+
* @param scope The scope associated with reservation recommendations operations. This includes
|
|
109
|
+
* '/subscriptions/{subscriptionId}/' for subscription scope,
|
|
110
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope,
|
|
111
|
+
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and
|
|
112
|
+
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
|
|
113
|
+
* for billingProfile scope
|
|
114
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
115
|
+
* @param options The options parameters.
|
|
116
|
+
*/
|
|
117
|
+
_listNext(scope, nextLink, options) {
|
|
118
|
+
return this.client.sendOperationRequest({ scope, nextLink, options }, listNextOperationSpec);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.ReservationRecommendationsImpl = ReservationRecommendationsImpl;
|
|
122
|
+
// Operation Specifications
|
|
123
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
124
|
+
const listOperationSpec = {
|
|
125
|
+
path: "/{scope}/providers/Microsoft.Consumption/reservationRecommendations",
|
|
126
|
+
httpMethod: "GET",
|
|
127
|
+
responses: {
|
|
128
|
+
200: {
|
|
129
|
+
bodyMapper: Mappers.ReservationRecommendationsListResult
|
|
130
|
+
},
|
|
131
|
+
204: {},
|
|
132
|
+
default: {
|
|
133
|
+
bodyMapper: Mappers.ErrorResponse
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
queryParameters: [Parameters.filter, Parameters.apiVersion],
|
|
137
|
+
urlParameters: [Parameters.$host, Parameters.scope],
|
|
138
|
+
headerParameters: [Parameters.accept],
|
|
139
|
+
serializer
|
|
140
|
+
};
|
|
141
|
+
const listNextOperationSpec = {
|
|
142
|
+
path: "{nextLink}",
|
|
143
|
+
httpMethod: "GET",
|
|
144
|
+
responses: {
|
|
145
|
+
200: {
|
|
146
|
+
bodyMapper: Mappers.ReservationRecommendationsListResult
|
|
147
|
+
},
|
|
148
|
+
204: {},
|
|
149
|
+
default: {
|
|
150
|
+
bodyMapper: Mappers.ErrorResponse
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
urlParameters: [Parameters.$host, Parameters.scope, Parameters.nextLink],
|
|
154
|
+
headerParameters: [Parameters.accept],
|
|
155
|
+
serializer
|
|
156
|
+
};
|
|
157
|
+
//# sourceMappingURL=reservationRecommendations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reservationRecommendations.js","sourceRoot":"","sources":["../../../src/operations/reservationRecommendations.ts"],"names":[],"mappings":"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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ReservationRecommendations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ConsumptionManagementClient } from \"../consumptionManagementClient.js\";\nimport {\n ReservationRecommendationUnion,\n ReservationRecommendationsListNextOptionalParams,\n ReservationRecommendationsListOptionalParams,\n ReservationRecommendationsListResponse,\n ReservationRecommendationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ReservationRecommendations operations. */\nexport class ReservationRecommendationsImpl\n implements ReservationRecommendations {\n private readonly client: ConsumptionManagementClient;\n\n /**\n * Initialize a new instance of the class ReservationRecommendations class.\n * @param client Reference to the service client\n */\n constructor(client: ConsumptionManagementClient) {\n this.client = client;\n }\n\n /**\n * List of recommendations for purchasing reserved instances.\n * @param scope The scope associated with reservation recommendations operations. This includes\n * '/subscriptions/{subscriptionId}/' for subscription scope,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope,\n * '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and\n * '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'\n * for billingProfile scope\n * @param options The options parameters.\n */\n public list(\n scope: string,\n options?: ReservationRecommendationsListOptionalParams\n ): PagedAsyncIterableIterator<ReservationRecommendationUnion> {\n const iter = this.listPagingAll(scope, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(scope, options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n scope: string,\n options?: ReservationRecommendationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ReservationRecommendationUnion[]> {\n let result: ReservationRecommendationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(scope, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(scope, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n scope: string,\n options?: ReservationRecommendationsListOptionalParams\n ): AsyncIterableIterator<ReservationRecommendationUnion> {\n for await (const page of this.listPagingPage(scope, options)) {\n yield* page;\n }\n }\n\n /**\n * List of recommendations for purchasing reserved instances.\n * @param scope The scope associated with reservation recommendations operations. This includes\n * '/subscriptions/{subscriptionId}/' for subscription scope,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope,\n * '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and\n * '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'\n * for billingProfile scope\n * @param options The options parameters.\n */\n private _list(\n scope: string,\n options?: ReservationRecommendationsListOptionalParams\n ): Promise<ReservationRecommendationsListResponse> {\n return this.client.sendOperationRequest(\n { scope, options },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param scope The scope associated with reservation recommendations operations. This includes\n * '/subscriptions/{subscriptionId}/' for subscription scope,\n * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resource group scope,\n * '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for BillingAccount scope, and\n * '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'\n * for billingProfile scope\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n scope: string,\n nextLink: string,\n options?: ReservationRecommendationsListNextOptionalParams\n ): Promise<ReservationRecommendationsListNextResponse> {\n return this.client.sendOperationRequest(\n { scope, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Consumption/reservationRecommendations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReservationRecommendationsListResult\n },\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.filter, Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReservationRecommendationsListResult\n },\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.scope, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|