@azure/arm-costmanagement 1.0.0-alpha.20230518.2
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/CHANGELOG.md +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +8703 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/alertsDismissSample.d.ts +2 -0
- package/dist-esm/samples-dev/alertsDismissSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/alertsDismissSample.js +56 -0
- package/dist-esm/samples-dev/alertsDismissSample.js.map +1 -0
- package/dist-esm/samples-dev/alertsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/alertsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/alertsGetSample.js +54 -0
- package/dist-esm/samples-dev/alertsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/alertsListExternalSample.d.ts +2 -0
- package/dist-esm/samples-dev/alertsListExternalSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/alertsListExternalSample.js +54 -0
- package/dist-esm/samples-dev/alertsListExternalSample.js.map +1 -0
- package/dist-esm/samples-dev/alertsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/alertsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/alertsListSample.js +132 -0
- package/dist-esm/samples-dev/alertsListSample.js.map +1 -0
- package/dist-esm/samples-dev/benefitRecommendationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/benefitRecommendationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/benefitRecommendationsListSample.js +60 -0
- package/dist-esm/samples-dev/benefitRecommendationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingAccountIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingAccountIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingAccountIdSample.js +61 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingAccountIdSample.js.map +1 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingProfileIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingProfileIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingProfileIdSample.js +62 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListByBillingProfileIdSample.js.map +1 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanIdSample.js +58 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanIdSample.js.map +1 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanOrderSample.d.ts +2 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanOrderSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanOrderSample.js +57 -0
- package/dist-esm/samples-dev/benefitUtilizationSummariesListBySavingsPlanOrderSample.js.map +1 -0
- package/dist-esm/samples-dev/dimensionsByExternalCloudProviderTypeSample.d.ts +2 -0
- package/dist-esm/samples-dev/dimensionsByExternalCloudProviderTypeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dimensionsByExternalCloudProviderTypeSample.js +96 -0
- package/dist-esm/samples-dev/dimensionsByExternalCloudProviderTypeSample.js.map +1 -0
- package/dist-esm/samples-dev/dimensionsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/dimensionsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dimensionsListSample.js +1044 -0
- package/dist-esm/samples-dev/dimensionsListSample.js.map +1 -0
- package/dist-esm/samples-dev/exportsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportsCreateOrUpdateSample.js +326 -0
- package/dist-esm/samples-dev/exportsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/exportsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportsDeleteSample.js +122 -0
- package/dist-esm/samples-dev/exportsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/exportsExecuteSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportsExecuteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportsExecuteSample.js +122 -0
- package/dist-esm/samples-dev/exportsExecuteSample.js.map +1 -0
- package/dist-esm/samples-dev/exportsGetExecutionHistorySample.d.ts +2 -0
- package/dist-esm/samples-dev/exportsGetExecutionHistorySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportsGetExecutionHistorySample.js +122 -0
- package/dist-esm/samples-dev/exportsGetExecutionHistorySample.js.map +1 -0
- package/dist-esm/samples-dev/exportsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportsGetSample.js +122 -0
- package/dist-esm/samples-dev/exportsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/exportsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportsListSample.js +116 -0
- package/dist-esm/samples-dev/exportsListSample.js.map +1 -0
- package/dist-esm/samples-dev/forecastExternalCloudProviderUsageSample.d.ts +2 -0
- package/dist-esm/samples-dev/forecastExternalCloudProviderUsageSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/forecastExternalCloudProviderUsageSample.js +136 -0
- package/dist-esm/samples-dev/forecastExternalCloudProviderUsageSample.js.map +1 -0
- package/dist-esm/samples-dev/forecastUsageSample.d.ts +2 -0
- package/dist-esm/samples-dev/forecastUsageSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/forecastUsageSample.js +433 -0
- package/dist-esm/samples-dev/forecastUsageSample.js.map +1 -0
- package/dist-esm/samples-dev/generateCostDetailsReportCreateOperationSample.d.ts +2 -0
- package/dist-esm/samples-dev/generateCostDetailsReportCreateOperationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/generateCostDetailsReportCreateOperationSample.js +160 -0
- package/dist-esm/samples-dev/generateCostDetailsReportCreateOperationSample.js.map +1 -0
- package/dist-esm/samples-dev/generateCostDetailsReportGetOperationResultsSample.d.ts +2 -0
- package/dist-esm/samples-dev/generateCostDetailsReportGetOperationResultsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/generateCostDetailsReportGetOperationResultsSample.js +37 -0
- package/dist-esm/samples-dev/generateCostDetailsReportGetOperationResultsSample.js.map +1 -0
- package/dist-esm/samples-dev/generateDetailedCostReportCreateOperationSample.d.ts +2 -0
- package/dist-esm/samples-dev/generateDetailedCostReportCreateOperationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/generateDetailedCostReportCreateOperationSample.js +121 -0
- package/dist-esm/samples-dev/generateDetailedCostReportCreateOperationSample.js.map +1 -0
- package/dist-esm/samples-dev/generateDetailedCostReportOperationResultsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/generateDetailedCostReportOperationResultsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/generateDetailedCostReportOperationResultsGetSample.js +37 -0
- package/dist-esm/samples-dev/generateDetailedCostReportOperationResultsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/generateDetailedCostReportOperationStatusGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/generateDetailedCostReportOperationStatusGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/generateDetailedCostReportOperationStatusGetSample.js +37 -0
- package/dist-esm/samples-dev/generateDetailedCostReportOperationStatusGetSample.js.map +1 -0
- package/dist-esm/samples-dev/generateReservationDetailsReportByBillingAccountIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/generateReservationDetailsReportByBillingAccountIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/generateReservationDetailsReportByBillingAccountIdSample.js +38 -0
- package/dist-esm/samples-dev/generateReservationDetailsReportByBillingAccountIdSample.js.map +1 -0
- package/dist-esm/samples-dev/generateReservationDetailsReportByBillingProfileIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/generateReservationDetailsReportByBillingProfileIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/generateReservationDetailsReportByBillingProfileIdSample.js +39 -0
- package/dist-esm/samples-dev/generateReservationDetailsReportByBillingProfileIdSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +56 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/priceSheetDownloadByBillingProfileSample.d.ts +2 -0
- package/dist-esm/samples-dev/priceSheetDownloadByBillingProfileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/priceSheetDownloadByBillingProfileSample.js +37 -0
- package/dist-esm/samples-dev/priceSheetDownloadByBillingProfileSample.js.map +1 -0
- package/dist-esm/samples-dev/priceSheetDownloadSample.d.ts +2 -0
- package/dist-esm/samples-dev/priceSheetDownloadSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/priceSheetDownloadSample.js +38 -0
- package/dist-esm/samples-dev/priceSheetDownloadSample.js.map +1 -0
- package/dist-esm/samples-dev/queryUsageByExternalCloudProviderTypeSample.d.ts +2 -0
- package/dist-esm/samples-dev/queryUsageByExternalCloudProviderTypeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryUsageByExternalCloudProviderTypeSample.js +126 -0
- package/dist-esm/samples-dev/queryUsageByExternalCloudProviderTypeSample.js.map +1 -0
- package/dist-esm/samples-dev/queryUsageSample.d.ts +2 -0
- package/dist-esm/samples-dev/queryUsageSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryUsageSample.js +790 -0
- package/dist-esm/samples-dev/queryUsageSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilityByScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilityByScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilityByScopeSample.js +40 -0
- package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilityByScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilitySample.js +39 -0
- package/dist-esm/samples-dev/scheduledActionsCheckNameAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateByScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateByScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateByScopeSample.js +96 -0
- package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateByScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateSample.js +56 -0
- package/dist-esm/samples-dev/scheduledActionsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsDeleteByScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledActionsDeleteByScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsDeleteByScopeSample.js +37 -0
- package/dist-esm/samples-dev/scheduledActionsDeleteByScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledActionsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsDeleteSample.js +36 -0
- package/dist-esm/samples-dev/scheduledActionsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsGetByScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledActionsGetByScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsGetByScopeSample.js +37 -0
- package/dist-esm/samples-dev/scheduledActionsGetByScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledActionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsGetSample.js +36 -0
- package/dist-esm/samples-dev/scheduledActionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsListByScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledActionsListByScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsListByScopeSample.js +96 -0
- package/dist-esm/samples-dev/scheduledActionsListByScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledActionsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsListSample.js +94 -0
- package/dist-esm/samples-dev/scheduledActionsListSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsRunByScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledActionsRunByScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsRunByScopeSample.js +37 -0
- package/dist-esm/samples-dev/scheduledActionsRunByScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsRunSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledActionsRunSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledActionsRunSample.js +36 -0
- package/dist-esm/samples-dev/scheduledActionsRunSample.js.map +1 -0
- package/dist-esm/samples-dev/viewsCreateOrUpdateByScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/viewsCreateOrUpdateByScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/viewsCreateOrUpdateByScopeSample.js +65 -0
- package/dist-esm/samples-dev/viewsCreateOrUpdateByScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/viewsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/viewsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/viewsCreateOrUpdateSample.js +64 -0
- package/dist-esm/samples-dev/viewsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/viewsDeleteByScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/viewsDeleteByScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/viewsDeleteByScopeSample.js +37 -0
- package/dist-esm/samples-dev/viewsDeleteByScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/viewsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/viewsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/viewsDeleteSample.js +36 -0
- package/dist-esm/samples-dev/viewsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/viewsGetByScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/viewsGetByScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/viewsGetByScopeSample.js +37 -0
- package/dist-esm/samples-dev/viewsGetByScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/viewsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/viewsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/viewsGetSample.js +36 -0
- package/dist-esm/samples-dev/viewsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/viewsListByScopeSample.d.ts +2 -0
- package/dist-esm/samples-dev/viewsListByScopeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/viewsListByScopeSample.js +57 -0
- package/dist-esm/samples-dev/viewsListByScopeSample.js.map +1 -0
- package/dist-esm/samples-dev/viewsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/viewsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/viewsListSample.js +56 -0
- package/dist-esm/samples-dev/viewsListSample.js.map +1 -0
- package/dist-esm/src/costManagementClient.d.ts +33 -0
- package/dist-esm/src/costManagementClient.d.ts.map +1 -0
- package/dist-esm/src/costManagementClient.js +109 -0
- package/dist-esm/src/costManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +11 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +21 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2991 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +606 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +118 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +3702 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +43 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +378 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/alerts.d.ts +86 -0
- package/dist-esm/src/operations/alerts.d.ts.map +1 -0
- package/dist-esm/src/operations/alerts.js +174 -0
- package/dist-esm/src/operations/alerts.js.map +1 -0
- package/dist-esm/src/operations/benefitRecommendations.d.ts +50 -0
- package/dist-esm/src/operations/benefitRecommendations.d.ts.map +1 -0
- package/dist-esm/src/operations/benefitRecommendations.js +165 -0
- package/dist-esm/src/operations/benefitRecommendations.js.map +1 -0
- package/dist-esm/src/operations/benefitUtilizationSummaries.d.ts +108 -0
- package/dist-esm/src/operations/benefitUtilizationSummaries.d.ts.map +1 -0
- package/dist-esm/src/operations/benefitUtilizationSummaries.js +538 -0
- package/dist-esm/src/operations/benefitUtilizationSummaries.js.map +1 -0
- package/dist-esm/src/operations/dimensions.d.ts +78 -0
- package/dist-esm/src/operations/dimensions.d.ts.map +1 -0
- package/dist-esm/src/operations/dimensions.js +234 -0
- package/dist-esm/src/operations/dimensions.js.map +1 -0
- package/dist-esm/src/operations/exports.d.ts +141 -0
- package/dist-esm/src/operations/exports.d.ts.map +1 -0
- package/dist-esm/src/operations/exports.js +260 -0
- package/dist-esm/src/operations/exports.js.map +1 -0
- package/dist-esm/src/operations/forecast.d.ts +45 -0
- package/dist-esm/src/operations/forecast.d.ts.map +1 -0
- package/dist-esm/src/operations/forecast.js +105 -0
- package/dist-esm/src/operations/forecast.js.map +1 -0
- package/dist-esm/src/operations/generateCostDetailsReport.d.ts +70 -0
- package/dist-esm/src/operations/generateCostDetailsReport.d.ts.map +1 -0
- package/dist-esm/src/operations/generateCostDetailsReport.js +218 -0
- package/dist-esm/src/operations/generateCostDetailsReport.js.map +1 -0
- package/dist-esm/src/operations/generateDetailedCostReport.d.ts +38 -0
- package/dist-esm/src/operations/generateDetailedCostReport.d.ts.map +1 -0
- package/dist-esm/src/operations/generateDetailedCostReport.js +119 -0
- package/dist-esm/src/operations/generateDetailedCostReport.js.map +1 -0
- package/dist-esm/src/operations/generateDetailedCostReportOperationResults.d.ts +32 -0
- package/dist-esm/src/operations/generateDetailedCostReportOperationResults.d.ts.map +1 -0
- package/dist-esm/src/operations/generateDetailedCostReportOperationResults.js +110 -0
- package/dist-esm/src/operations/generateDetailedCostReportOperationResults.js.map +1 -0
- package/dist-esm/src/operations/generateDetailedCostReportOperationStatus.d.ts +22 -0
- package/dist-esm/src/operations/generateDetailedCostReportOperationStatus.d.ts.map +1 -0
- package/dist-esm/src/operations/generateDetailedCostReportOperationStatus.js +50 -0
- package/dist-esm/src/operations/generateDetailedCostReportOperationStatus.js.map +1 -0
- package/dist-esm/src/operations/generateReservationDetailsReport.d.ts +60 -0
- package/dist-esm/src/operations/generateReservationDetailsReport.d.ts.map +1 -0
- package/dist-esm/src/operations/generateReservationDetailsReport.js +218 -0
- package/dist-esm/src/operations/generateReservationDetailsReport.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +17 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +24 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +138 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/priceSheet.d.ts +54 -0
- package/dist-esm/src/operations/priceSheet.d.ts.map +1 -0
- package/dist-esm/src/operations/priceSheet.js +209 -0
- package/dist-esm/src/operations/priceSheet.js.map +1 -0
- package/dist-esm/src/operations/query.d.ts +45 -0
- package/dist-esm/src/operations/query.d.ts.map +1 -0
- package/dist-esm/src/operations/query.js +105 -0
- package/dist-esm/src/operations/query.js.map +1 -0
- package/dist-esm/src/operations/scheduledActions.d.ts +240 -0
- package/dist-esm/src/operations/scheduledActions.d.ts.map +1 -0
- package/dist-esm/src/operations/scheduledActions.js +636 -0
- package/dist-esm/src/operations/scheduledActions.js.map +1 -0
- package/dist-esm/src/operations/views.d.ts +194 -0
- package/dist-esm/src/operations/views.d.ts.map +1 -0
- package/dist-esm/src/operations/views.js +510 -0
- package/dist-esm/src/operations/views.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/alerts.d.ts +78 -0
- package/dist-esm/src/operationsInterfaces/alerts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/alerts.js +9 -0
- package/dist-esm/src/operationsInterfaces/alerts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/benefitRecommendations.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/benefitRecommendations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/benefitRecommendations.js +9 -0
- package/dist-esm/src/operationsInterfaces/benefitRecommendations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/benefitUtilizationSummaries.d.ts +34 -0
- package/dist-esm/src/operationsInterfaces/benefitUtilizationSummaries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/benefitUtilizationSummaries.js +9 -0
- package/dist-esm/src/operationsInterfaces/benefitUtilizationSummaries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dimensions.d.ts +36 -0
- package/dist-esm/src/operationsInterfaces/dimensions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dimensions.js +9 -0
- package/dist-esm/src/operationsInterfaces/dimensions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/exports.d.ts +133 -0
- package/dist-esm/src/operationsInterfaces/exports.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/exports.js +9 -0
- package/dist-esm/src/operationsInterfaces/exports.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/forecast.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/forecast.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/forecast.js +9 -0
- package/dist-esm/src/operationsInterfaces/forecast.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/generateCostDetailsReport.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/generateCostDetailsReport.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/generateCostDetailsReport.js +9 -0
- package/dist-esm/src/operationsInterfaces/generateCostDetailsReport.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/generateDetailedCostReport.d.ts +30 -0
- package/dist-esm/src/operationsInterfaces/generateDetailedCostReport.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/generateDetailedCostReport.js +9 -0
- package/dist-esm/src/operationsInterfaces/generateDetailedCostReport.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationResults.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationResults.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationResults.js +9 -0
- package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationResults.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationStatus.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationStatus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationStatus.js +9 -0
- package/dist-esm/src/operationsInterfaces/generateDetailedCostReportOperationStatus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/generateReservationDetailsReport.d.ts +52 -0
- package/dist-esm/src/operationsInterfaces/generateReservationDetailsReport.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/generateReservationDetailsReport.js +9 -0
- package/dist-esm/src/operationsInterfaces/generateReservationDetailsReport.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +24 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/priceSheet.d.ts +46 -0
- package/dist-esm/src/operationsInterfaces/priceSheet.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/priceSheet.js +9 -0
- package/dist-esm/src/operationsInterfaces/priceSheet.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/query.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/query.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/query.js +9 -0
- package/dist-esm/src/operationsInterfaces/query.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/scheduledActions.d.ts +174 -0
- package/dist-esm/src/operationsInterfaces/scheduledActions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scheduledActions.js +9 -0
- package/dist-esm/src/operationsInterfaces/scheduledActions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/views.d.ts +126 -0
- package/dist-esm/src/operationsInterfaces/views.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/views.js +9 -0
- package/dist-esm/src/operationsInterfaces/views.js.map +1 -0
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/costmanagement_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/costmanagement_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/costmanagement_operations_test.spec.js +78 -0
- package/dist-esm/test/costmanagement_operations_test.spec.js.map +1 -0
- package/package.json +123 -0
- package/review/arm-costmanagement.api.md +2064 -0
- package/rollup.config.js +122 -0
- package/src/costManagementClient.ts +204 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +42 -0
- package/src/models/index.ts +3354 -0
- package/src/models/mappers.ts +3957 -0
- package/src/models/parameters.ts +436 -0
- package/src/operations/alerts.ts +225 -0
- package/src/operations/benefitRecommendations.ts +185 -0
- package/src/operations/benefitUtilizationSummaries.ts +674 -0
- package/src/operations/dimensions.ts +266 -0
- package/src/operations/exports.ts +328 -0
- package/src/operations/forecast.ts +137 -0
- package/src/operations/generateCostDetailsReport.ts +302 -0
- package/src/operations/generateDetailedCostReport.ts +166 -0
- package/src/operations/generateDetailedCostReportOperationResults.ts +156 -0
- package/src/operations/generateDetailedCostReportOperationStatus.ts +70 -0
- package/src/operations/generateReservationDetailsReport.ts +319 -0
- package/src/operations/index.ts +24 -0
- package/src/operations/operations.ts +149 -0
- package/src/operations/priceSheet.ts +299 -0
- package/src/operations/query.ts +137 -0
- package/src/operations/scheduledActions.ts +752 -0
- package/src/operations/views.ts +583 -0
- package/src/operationsInterfaces/alerts.ts +113 -0
- package/src/operationsInterfaces/benefitRecommendations.ts +32 -0
- package/src/operationsInterfaces/benefitUtilizationSummaries.ts +63 -0
- package/src/operationsInterfaces/dimensions.ts +57 -0
- package/src/operationsInterfaces/exports.ts +177 -0
- package/src/operationsInterfaces/forecast.ts +61 -0
- package/src/operationsInterfaces/generateCostDetailsReport.ts +102 -0
- package/src/operationsInterfaces/generateDetailedCostReport.ts +55 -0
- package/src/operationsInterfaces/generateDetailedCostReportOperationResults.ts +48 -0
- package/src/operationsInterfaces/generateDetailedCostReportOperationStatus.ts +29 -0
- package/src/operationsInterfaces/generateReservationDetailsReport.ts +101 -0
- package/src/operationsInterfaces/index.ts +24 -0
- package/src/operationsInterfaces/operations.ts +25 -0
- package/src/operationsInterfaces/priceSheet.ts +87 -0
- package/src/operationsInterfaces/query.ts +61 -0
- package/src/operationsInterfaces/scheduledActions.ts +243 -0
- package/src/operationsInterfaces/views.ts +172 -0
- package/src/pagingHelper.ts +39 -0
- package/tsconfig.json +33 -0
- package/types/arm-costmanagement.d.ts +4255 -0
- package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"generateDetailedCostReport.js","sourceRoot":"","sources":["../../../src/operations/generateDetailedCostReport.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAGL,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAO3C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAIzC;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,C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B,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { GenerateDetailedCostReportOperationResults } from "../operationsInterfaces";
|
2
|
+
import { CostManagementClient } from "../costManagementClient";
|
3
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
4
|
+
import { GenerateDetailedCostReportOperationResultsGetOptionalParams, GenerateDetailedCostReportOperationResultsGetResponse } from "../models";
|
5
|
+
/** Class containing GenerateDetailedCostReportOperationResults operations. */
|
6
|
+
export declare class GenerateDetailedCostReportOperationResultsImpl implements GenerateDetailedCostReportOperationResults {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class GenerateDetailedCostReportOperationResults class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: CostManagementClient);
|
13
|
+
/**
|
14
|
+
* Gets the result of the specified operation. The link with this operationId is provided as a response
|
15
|
+
* header of the initial request.
|
16
|
+
* @param operationId The target operation Id.
|
17
|
+
* @param scope The ARM Resource ID for subscription, resource group, billing account, or other billing
|
18
|
+
* scopes. For details, see https://aka.ms/costmgmt/scopes.
|
19
|
+
* @param options The options parameters.
|
20
|
+
*/
|
21
|
+
beginGet(operationId: string, scope: string, options?: GenerateDetailedCostReportOperationResultsGetOptionalParams): Promise<SimplePollerLike<OperationState<GenerateDetailedCostReportOperationResultsGetResponse>, GenerateDetailedCostReportOperationResultsGetResponse>>;
|
22
|
+
/**
|
23
|
+
* Gets the result of the specified operation. The link with this operationId is provided as a response
|
24
|
+
* header of the initial request.
|
25
|
+
* @param operationId The target operation Id.
|
26
|
+
* @param scope The ARM Resource ID for subscription, resource group, billing account, or other billing
|
27
|
+
* scopes. For details, see https://aka.ms/costmgmt/scopes.
|
28
|
+
* @param options The options parameters.
|
29
|
+
*/
|
30
|
+
beginGetAndWait(operationId: string, scope: string, options?: GenerateDetailedCostReportOperationResultsGetOptionalParams): Promise<GenerateDetailedCostReportOperationResultsGetResponse>;
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=generateDetailedCostReportOperationResults.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"generateDetailedCostReportOperationResults.d.ts","sourceRoot":"","sources":["../../../src/operations/generateDetailedCostReportOperationResults.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0CAA0C,EAAE,MAAM,yBAAyB,CAAC;AAIrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,2DAA2D,EAC3D,qDAAqD,EACtD,MAAM,WAAW,CAAC;AAEnB,8EAA8E;AAC9E,qBAAa,8CACX,YAAW,0CAA0C;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuB;IAE9C;;;OAGG;gBACS,MAAM,EAAE,oBAAoB;IAIxC;;;;;;;OAOG;IACG,QAAQ,CACZ,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,2DAA2D,GACpE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,qDAAqD,CAAC,EACrE,qDAAqD,CACtD,CACF;IAwDD;;;;;;;OAOG;IACG,eAAe,CACnB,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,2DAA2D,GACpE,OAAO,CAAC,qDAAqD,CAAC;CAIlE"}
|
@@ -0,0 +1,110 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
import * as coreClient from "@azure/core-client";
|
10
|
+
import * as Mappers from "../models/mappers";
|
11
|
+
import * as Parameters from "../models/parameters";
|
12
|
+
import { createHttpPoller } from "@azure/core-lro";
|
13
|
+
import { createLroSpec } from "../lroImpl";
|
14
|
+
/** Class containing GenerateDetailedCostReportOperationResults operations. */
|
15
|
+
export class GenerateDetailedCostReportOperationResultsImpl {
|
16
|
+
/**
|
17
|
+
* Initialize a new instance of the class GenerateDetailedCostReportOperationResults class.
|
18
|
+
* @param client Reference to the service client
|
19
|
+
*/
|
20
|
+
constructor(client) {
|
21
|
+
this.client = client;
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* Gets the result of the specified operation. The link with this operationId is provided as a response
|
25
|
+
* header of the initial request.
|
26
|
+
* @param operationId The target operation Id.
|
27
|
+
* @param scope The ARM Resource ID for subscription, resource group, billing account, or other billing
|
28
|
+
* scopes. For details, see https://aka.ms/costmgmt/scopes.
|
29
|
+
* @param options The options parameters.
|
30
|
+
*/
|
31
|
+
beginGet(operationId, scope, options) {
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
33
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
34
|
+
return this.client.sendOperationRequest(args, spec);
|
35
|
+
});
|
36
|
+
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
37
|
+
var _a;
|
38
|
+
let currentRawResponse = undefined;
|
39
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
40
|
+
const callback = (rawResponse, flatResponse) => {
|
41
|
+
currentRawResponse = rawResponse;
|
42
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
43
|
+
};
|
44
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
45
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
46
|
+
return {
|
47
|
+
flatResponse,
|
48
|
+
rawResponse: {
|
49
|
+
statusCode: currentRawResponse.status,
|
50
|
+
body: currentRawResponse.parsedBody,
|
51
|
+
headers: currentRawResponse.headers.toJSON()
|
52
|
+
}
|
53
|
+
};
|
54
|
+
});
|
55
|
+
const lro = createLroSpec({
|
56
|
+
sendOperationFn,
|
57
|
+
args: { operationId, scope, options },
|
58
|
+
spec: getOperationSpec
|
59
|
+
});
|
60
|
+
const poller = yield createHttpPoller(lro, {
|
61
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
62
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
63
|
+
});
|
64
|
+
yield poller.poll();
|
65
|
+
return poller;
|
66
|
+
});
|
67
|
+
}
|
68
|
+
/**
|
69
|
+
* Gets the result of the specified operation. The link with this operationId is provided as a response
|
70
|
+
* header of the initial request.
|
71
|
+
* @param operationId The target operation Id.
|
72
|
+
* @param scope The ARM Resource ID for subscription, resource group, billing account, or other billing
|
73
|
+
* scopes. For details, see https://aka.ms/costmgmt/scopes.
|
74
|
+
* @param options The options parameters.
|
75
|
+
*/
|
76
|
+
beginGetAndWait(operationId, scope, options) {
|
77
|
+
return __awaiter(this, void 0, void 0, function* () {
|
78
|
+
const poller = yield this.beginGet(operationId, scope, options);
|
79
|
+
return poller.pollUntilDone();
|
80
|
+
});
|
81
|
+
}
|
82
|
+
}
|
83
|
+
// Operation Specifications
|
84
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
85
|
+
const getOperationSpec = {
|
86
|
+
path: "/{scope}/providers/Microsoft.CostManagement/operationResults/{operationId}",
|
87
|
+
httpMethod: "GET",
|
88
|
+
responses: {
|
89
|
+
200: {
|
90
|
+
bodyMapper: Mappers.GenerateDetailedCostReportOperationResult
|
91
|
+
},
|
92
|
+
201: {
|
93
|
+
bodyMapper: Mappers.GenerateDetailedCostReportOperationResult
|
94
|
+
},
|
95
|
+
202: {
|
96
|
+
bodyMapper: Mappers.GenerateDetailedCostReportOperationResult
|
97
|
+
},
|
98
|
+
204: {
|
99
|
+
bodyMapper: Mappers.GenerateDetailedCostReportOperationResult
|
100
|
+
},
|
101
|
+
default: {
|
102
|
+
bodyMapper: Mappers.ErrorResponse
|
103
|
+
}
|
104
|
+
},
|
105
|
+
queryParameters: [Parameters.apiVersion],
|
106
|
+
urlParameters: [Parameters.$host, Parameters.scope1, Parameters.operationId],
|
107
|
+
headerParameters: [Parameters.accept],
|
108
|
+
serializer
|
109
|
+
};
|
110
|
+
//# sourceMappingURL=generateDetailedCostReportOperationResults.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"generateDetailedCostReportOperationResults.js","sourceRoot":"","sources":["../../../src/operations/generateDetailedCostReportOperationResults.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAGL,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAM3C,8EAA8E;AAC9E,MAAM,OAAO,8CAA8C;IAIzD;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACG,QAAQ,CACZ,WAAmB,EACnB,KAAa,EACb,OAAqE;;YAOrE,MAAM,mBAAmB,GAAG,CAC1B,IAAmC,EACnC,IAA8B,EACkC,EAAE;gBAClE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACtD,CAAC,CAAA,CAAC;YACF,MAAM,eAAe,GAAG,CACtB,IAAmC,EACnC,IAA8B,EAC9B,EAAE;;gBACF,IAAI,kBAAkB,GAEN,SAAS,CAAC;gBAC1B,MAAM,gBAAgB,GA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AK,EAAE,OAAO,CAAC,CAAC;YAChE,OAAO,MAAM,CAAC,aAAa,EAAE,CAAC;QAChC,CAAC;KAAA;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,4EAA4E;IAC9E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yCAAyC;SAC9D;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yCAAyC;SAC9D;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yCAAyC;SAC9D;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yCAAyC;SAC9D;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,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC5E,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { GenerateDetailedCostReportOperationStatus } from "../operationsInterfaces";
|
2
|
+
import { CostManagementClient } from "../costManagementClient";
|
3
|
+
import { GenerateDetailedCostReportOperationStatusGetOptionalParams, GenerateDetailedCostReportOperationStatusGetResponse } from "../models";
|
4
|
+
/** Class containing GenerateDetailedCostReportOperationStatus operations. */
|
5
|
+
export declare class GenerateDetailedCostReportOperationStatusImpl implements GenerateDetailedCostReportOperationStatus {
|
6
|
+
private readonly client;
|
7
|
+
/**
|
8
|
+
* Initialize a new instance of the class GenerateDetailedCostReportOperationStatus class.
|
9
|
+
* @param client Reference to the service client
|
10
|
+
*/
|
11
|
+
constructor(client: CostManagementClient);
|
12
|
+
/**
|
13
|
+
* Get the status of the specified operation. This link is provided in the GenerateDetailedCostReport
|
14
|
+
* creation request response header.
|
15
|
+
* @param operationId The target operation Id.
|
16
|
+
* @param scope The ARM Resource ID for subscription, resource group, billing account, or other billing
|
17
|
+
* scopes. For details, see https://aka.ms/costmgmt/scopes.
|
18
|
+
* @param options The options parameters.
|
19
|
+
*/
|
20
|
+
get(operationId: string, scope: string, options?: GenerateDetailedCostReportOperationStatusGetOptionalParams): Promise<GenerateDetailedCostReportOperationStatusGetResponse>;
|
21
|
+
}
|
22
|
+
//# sourceMappingURL=generateDetailedCostReportOperationStatus.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"generateDetailedCostReportOperationStatus.d.ts","sourceRoot":"","sources":["../../../src/operations/generateDetailedCostReportOperationStatus.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,yCAAyC,EAAE,MAAM,yBAAyB,CAAC;AAIpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACL,0DAA0D,EAC1D,oDAAoD,EACrD,MAAM,WAAW,CAAC;AAEnB,6EAA6E;AAC7E,qBAAa,6CACX,YAAW,yCAAyC;IACpD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuB;IAE9C;;;OAGG;gBACS,MAAM,EAAE,oBAAoB;IAIxC;;;;;;;OAOG;IACH,GAAG,CACD,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,0DAA0D,GACnE,OAAO,CAAC,oDAAoD,CAAC;CAMjE"}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import * as coreClient from "@azure/core-client";
|
9
|
+
import * as Mappers from "../models/mappers";
|
10
|
+
import * as Parameters from "../models/parameters";
|
11
|
+
/** Class containing GenerateDetailedCostReportOperationStatus operations. */
|
12
|
+
export class GenerateDetailedCostReportOperationStatusImpl {
|
13
|
+
/**
|
14
|
+
* Initialize a new instance of the class GenerateDetailedCostReportOperationStatus class.
|
15
|
+
* @param client Reference to the service client
|
16
|
+
*/
|
17
|
+
constructor(client) {
|
18
|
+
this.client = client;
|
19
|
+
}
|
20
|
+
/**
|
21
|
+
* Get the status of the specified operation. This link is provided in the GenerateDetailedCostReport
|
22
|
+
* creation request response header.
|
23
|
+
* @param operationId The target operation Id.
|
24
|
+
* @param scope The ARM Resource ID for subscription, resource group, billing account, or other billing
|
25
|
+
* scopes. For details, see https://aka.ms/costmgmt/scopes.
|
26
|
+
* @param options The options parameters.
|
27
|
+
*/
|
28
|
+
get(operationId, scope, options) {
|
29
|
+
return this.client.sendOperationRequest({ operationId, scope, options }, getOperationSpec);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
// Operation Specifications
|
33
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
34
|
+
const getOperationSpec = {
|
35
|
+
path: "/{scope}/providers/Microsoft.CostManagement/operationStatus/{operationId}",
|
36
|
+
httpMethod: "GET",
|
37
|
+
responses: {
|
38
|
+
200: {
|
39
|
+
bodyMapper: Mappers.GenerateDetailedCostReportOperationStatuses
|
40
|
+
},
|
41
|
+
default: {
|
42
|
+
bodyMapper: Mappers.ErrorResponse
|
43
|
+
}
|
44
|
+
},
|
45
|
+
queryParameters: [Parameters.apiVersion],
|
46
|
+
urlParameters: [Parameters.$host, Parameters.scope1, Parameters.operationId],
|
47
|
+
headerParameters: [Parameters.accept],
|
48
|
+
serializer
|
49
|
+
};
|
50
|
+
//# sourceMappingURL=generateDetailedCostReportOperationStatus.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"generateDetailedCostReportOperationStatus.js","sourceRoot":"","sources":["../../../src/operations/generateDetailedCostReportOperationStatus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAOnD,6EAA6E;AAC7E,MAAM,OAAO,6CAA6C;IAIxD;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CACD,WAAmB,EACnB,KAAa,EACb,OAAoE;QAEpE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,EAAE,EAC/B,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;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,2CAA2C;SAChE;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,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC5E,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { GenerateReservationDetailsReport } from "../operationsInterfaces";
|
2
|
+
import { CostManagementClient } from "../costManagementClient";
|
3
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
4
|
+
import { GenerateReservationDetailsReportByBillingAccountIdOptionalParams, GenerateReservationDetailsReportByBillingAccountIdResponse, GenerateReservationDetailsReportByBillingProfileIdOptionalParams, GenerateReservationDetailsReportByBillingProfileIdResponse } from "../models";
|
5
|
+
/** Class containing GenerateReservationDetailsReport operations. */
|
6
|
+
export declare class GenerateReservationDetailsReportImpl implements GenerateReservationDetailsReport {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class GenerateReservationDetailsReport class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: CostManagementClient);
|
13
|
+
/**
|
14
|
+
* Generates the reservations details report for provided date range asynchronously based on enrollment
|
15
|
+
* id. The Reservation usage details can be viewed only by certain enterprise roles. For more details
|
16
|
+
* on the roles see,
|
17
|
+
* https://docs.microsoft.com/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role
|
18
|
+
* @param billingAccountId Enrollment ID (Legacy BillingAccount ID)
|
19
|
+
* @param startDate Start Date
|
20
|
+
* @param endDate End Date
|
21
|
+
* @param options The options parameters.
|
22
|
+
*/
|
23
|
+
beginByBillingAccountId(billingAccountId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingAccountIdOptionalParams): Promise<SimplePollerLike<OperationState<GenerateReservationDetailsReportByBillingAccountIdResponse>, GenerateReservationDetailsReportByBillingAccountIdResponse>>;
|
24
|
+
/**
|
25
|
+
* Generates the reservations details report for provided date range asynchronously based on enrollment
|
26
|
+
* id. The Reservation usage details can be viewed only by certain enterprise roles. For more details
|
27
|
+
* on the roles see,
|
28
|
+
* https://docs.microsoft.com/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role
|
29
|
+
* @param billingAccountId Enrollment ID (Legacy BillingAccount ID)
|
30
|
+
* @param startDate Start Date
|
31
|
+
* @param endDate End Date
|
32
|
+
* @param options The options parameters.
|
33
|
+
*/
|
34
|
+
beginByBillingAccountIdAndWait(billingAccountId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingAccountIdOptionalParams): Promise<GenerateReservationDetailsReportByBillingAccountIdResponse>;
|
35
|
+
/**
|
36
|
+
* Generates the reservations details report for provided date range asynchronously by billing profile.
|
37
|
+
* The Reservation usage details can be viewed by only certain enterprise roles by default. For more
|
38
|
+
* details on the roles see,
|
39
|
+
* https://docs.microsoft.com/azure/cost-management-billing/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access
|
40
|
+
* @param billingAccountId Billing account ID
|
41
|
+
* @param billingProfileId Billing profile ID.
|
42
|
+
* @param startDate Start Date
|
43
|
+
* @param endDate End Date
|
44
|
+
* @param options The options parameters.
|
45
|
+
*/
|
46
|
+
beginByBillingProfileId(billingAccountId: string, billingProfileId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingProfileIdOptionalParams): Promise<SimplePollerLike<OperationState<GenerateReservationDetailsReportByBillingProfileIdResponse>, GenerateReservationDetailsReportByBillingProfileIdResponse>>;
|
47
|
+
/**
|
48
|
+
* Generates the reservations details report for provided date range asynchronously by billing profile.
|
49
|
+
* The Reservation usage details can be viewed by only certain enterprise roles by default. For more
|
50
|
+
* details on the roles see,
|
51
|
+
* https://docs.microsoft.com/azure/cost-management-billing/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access
|
52
|
+
* @param billingAccountId Billing account ID
|
53
|
+
* @param billingProfileId Billing profile ID.
|
54
|
+
* @param startDate Start Date
|
55
|
+
* @param endDate End Date
|
56
|
+
* @param options The options parameters.
|
57
|
+
*/
|
58
|
+
beginByBillingProfileIdAndWait(billingAccountId: string, billingProfileId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingProfileIdOptionalParams): Promise<GenerateReservationDetailsReportByBillingProfileIdResponse>;
|
59
|
+
}
|
60
|
+
//# sourceMappingURL=generateReservationDetailsReport.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"generateReservationDetailsReport.d.ts","sourceRoot":"","sources":["../../../src/operations/generateReservationDetailsReport.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gCAAgC,EAAE,MAAM,yBAAyB,CAAC;AAI3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,gEAAgE,EAChE,0DAA0D,EAC1D,gEAAgE,EAChE,0DAA0D,EAC3D,MAAM,WAAW,CAAC;AAEnB,oEAAoE;AACpE,qBAAa,oCACX,YAAW,gCAAgC;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuB;IAE9C;;;OAGG;gBACS,MAAM,EAAE,oBAAoB;IAIxC;;;;;;;;;OASG;IACG,uBAAuB,CAC3B,gBAAgB,EAAE,MAAM,EACxB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,gEAAgE,GACzE,OAAO,CACR,gBAAgB,CACd,cAAc,CACZ,0DAA0D,CAC3D,EACD,0DAA0D,CAC3D,CACF;IAyDD;;;;;;;;;OASG;IACG,8BAA8B,CAClC,gBAAgB,EAAE,MAAM,EACxB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,gEAAgE,GACzE,OAAO,CAAC,0DAA0D,CAAC;IAUtE;;;;;;;;;;OAUG;IACG,uBAAuB,CAC3B,gBAAgB,EAAE,MAAM,EACxB,gBAAgB,EAAE,MAAM,EACxB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,gEAAgE,GACzE,OAAO,CACR,gBAAgB,CACd,cAAc,CACZ,0DAA0D,CAC3D,EACD,0DAA0D,CAC3D,CACF;IAyDD;;;;;;;;;;OAUG;IACG,8BAA8B,CAClC,gBAAgB,EAAE,MAAM,EACxB,gBAAgB,EAAE,MAAM,EACxB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,gEAAgE,GACzE,OAAO,CAAC,0DAA0D,CAAC;CAUvE"}
|
@@ -0,0 +1,218 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
import * as coreClient from "@azure/core-client";
|
10
|
+
import * as Mappers from "../models/mappers";
|
11
|
+
import * as Parameters from "../models/parameters";
|
12
|
+
import { createHttpPoller } from "@azure/core-lro";
|
13
|
+
import { createLroSpec } from "../lroImpl";
|
14
|
+
/** Class containing GenerateReservationDetailsReport operations. */
|
15
|
+
export class GenerateReservationDetailsReportImpl {
|
16
|
+
/**
|
17
|
+
* Initialize a new instance of the class GenerateReservationDetailsReport class.
|
18
|
+
* @param client Reference to the service client
|
19
|
+
*/
|
20
|
+
constructor(client) {
|
21
|
+
this.client = client;
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* Generates the reservations details report for provided date range asynchronously based on enrollment
|
25
|
+
* id. The Reservation usage details can be viewed only by certain enterprise roles. For more details
|
26
|
+
* on the roles see,
|
27
|
+
* https://docs.microsoft.com/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role
|
28
|
+
* @param billingAccountId Enrollment ID (Legacy BillingAccount ID)
|
29
|
+
* @param startDate Start Date
|
30
|
+
* @param endDate End Date
|
31
|
+
* @param options The options parameters.
|
32
|
+
*/
|
33
|
+
beginByBillingAccountId(billingAccountId, startDate, endDate, options) {
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
35
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
36
|
+
return this.client.sendOperationRequest(args, spec);
|
37
|
+
});
|
38
|
+
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
39
|
+
var _a;
|
40
|
+
let currentRawResponse = undefined;
|
41
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
42
|
+
const callback = (rawResponse, flatResponse) => {
|
43
|
+
currentRawResponse = rawResponse;
|
44
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
45
|
+
};
|
46
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
47
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
48
|
+
return {
|
49
|
+
flatResponse,
|
50
|
+
rawResponse: {
|
51
|
+
statusCode: currentRawResponse.status,
|
52
|
+
body: currentRawResponse.parsedBody,
|
53
|
+
headers: currentRawResponse.headers.toJSON()
|
54
|
+
}
|
55
|
+
};
|
56
|
+
});
|
57
|
+
const lro = createLroSpec({
|
58
|
+
sendOperationFn,
|
59
|
+
args: { billingAccountId, startDate, endDate, options },
|
60
|
+
spec: byBillingAccountIdOperationSpec
|
61
|
+
});
|
62
|
+
const poller = yield createHttpPoller(lro, {
|
63
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
64
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
65
|
+
resourceLocationConfig: "location"
|
66
|
+
});
|
67
|
+
yield poller.poll();
|
68
|
+
return poller;
|
69
|
+
});
|
70
|
+
}
|
71
|
+
/**
|
72
|
+
* Generates the reservations details report for provided date range asynchronously based on enrollment
|
73
|
+
* id. The Reservation usage details can be viewed only by certain enterprise roles. For more details
|
74
|
+
* on the roles see,
|
75
|
+
* https://docs.microsoft.com/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role
|
76
|
+
* @param billingAccountId Enrollment ID (Legacy BillingAccount ID)
|
77
|
+
* @param startDate Start Date
|
78
|
+
* @param endDate End Date
|
79
|
+
* @param options The options parameters.
|
80
|
+
*/
|
81
|
+
beginByBillingAccountIdAndWait(billingAccountId, startDate, endDate, options) {
|
82
|
+
return __awaiter(this, void 0, void 0, function* () {
|
83
|
+
const poller = yield this.beginByBillingAccountId(billingAccountId, startDate, endDate, options);
|
84
|
+
return poller.pollUntilDone();
|
85
|
+
});
|
86
|
+
}
|
87
|
+
/**
|
88
|
+
* Generates the reservations details report for provided date range asynchronously by billing profile.
|
89
|
+
* The Reservation usage details can be viewed by only certain enterprise roles by default. For more
|
90
|
+
* details on the roles see,
|
91
|
+
* https://docs.microsoft.com/azure/cost-management-billing/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access
|
92
|
+
* @param billingAccountId Billing account ID
|
93
|
+
* @param billingProfileId Billing profile ID.
|
94
|
+
* @param startDate Start Date
|
95
|
+
* @param endDate End Date
|
96
|
+
* @param options The options parameters.
|
97
|
+
*/
|
98
|
+
beginByBillingProfileId(billingAccountId, billingProfileId, startDate, endDate, options) {
|
99
|
+
return __awaiter(this, void 0, void 0, function* () {
|
100
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
101
|
+
return this.client.sendOperationRequest(args, spec);
|
102
|
+
});
|
103
|
+
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
104
|
+
var _a;
|
105
|
+
let currentRawResponse = undefined;
|
106
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
107
|
+
const callback = (rawResponse, flatResponse) => {
|
108
|
+
currentRawResponse = rawResponse;
|
109
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
110
|
+
};
|
111
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
112
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
113
|
+
return {
|
114
|
+
flatResponse,
|
115
|
+
rawResponse: {
|
116
|
+
statusCode: currentRawResponse.status,
|
117
|
+
body: currentRawResponse.parsedBody,
|
118
|
+
headers: currentRawResponse.headers.toJSON()
|
119
|
+
}
|
120
|
+
};
|
121
|
+
});
|
122
|
+
const lro = createLroSpec({
|
123
|
+
sendOperationFn,
|
124
|
+
args: { billingAccountId, billingProfileId, startDate, endDate, options },
|
125
|
+
spec: byBillingProfileIdOperationSpec
|
126
|
+
});
|
127
|
+
const poller = yield createHttpPoller(lro, {
|
128
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
129
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
130
|
+
resourceLocationConfig: "location"
|
131
|
+
});
|
132
|
+
yield poller.poll();
|
133
|
+
return poller;
|
134
|
+
});
|
135
|
+
}
|
136
|
+
/**
|
137
|
+
* Generates the reservations details report for provided date range asynchronously by billing profile.
|
138
|
+
* The Reservation usage details can be viewed by only certain enterprise roles by default. For more
|
139
|
+
* details on the roles see,
|
140
|
+
* https://docs.microsoft.com/azure/cost-management-billing/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access
|
141
|
+
* @param billingAccountId Billing account ID
|
142
|
+
* @param billingProfileId Billing profile ID.
|
143
|
+
* @param startDate Start Date
|
144
|
+
* @param endDate End Date
|
145
|
+
* @param options The options parameters.
|
146
|
+
*/
|
147
|
+
beginByBillingProfileIdAndWait(billingAccountId, billingProfileId, startDate, endDate, options) {
|
148
|
+
return __awaiter(this, void 0, void 0, function* () {
|
149
|
+
const poller = yield this.beginByBillingProfileId(billingAccountId, billingProfileId, startDate, endDate, options);
|
150
|
+
return poller.pollUntilDone();
|
151
|
+
});
|
152
|
+
}
|
153
|
+
}
|
154
|
+
// Operation Specifications
|
155
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
156
|
+
const byBillingAccountIdOperationSpec = {
|
157
|
+
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/generateReservationDetailsReport",
|
158
|
+
httpMethod: "POST",
|
159
|
+
responses: {
|
160
|
+
200: {
|
161
|
+
bodyMapper: Mappers.OperationStatus
|
162
|
+
},
|
163
|
+
201: {
|
164
|
+
bodyMapper: Mappers.OperationStatus
|
165
|
+
},
|
166
|
+
202: {
|
167
|
+
bodyMapper: Mappers.OperationStatus
|
168
|
+
},
|
169
|
+
204: {
|
170
|
+
bodyMapper: Mappers.OperationStatus
|
171
|
+
},
|
172
|
+
default: {
|
173
|
+
bodyMapper: Mappers.ErrorResponse
|
174
|
+
}
|
175
|
+
},
|
176
|
+
queryParameters: [
|
177
|
+
Parameters.apiVersion,
|
178
|
+
Parameters.startDate,
|
179
|
+
Parameters.endDate
|
180
|
+
],
|
181
|
+
urlParameters: [Parameters.$host, Parameters.billingAccountId],
|
182
|
+
headerParameters: [Parameters.accept],
|
183
|
+
serializer
|
184
|
+
};
|
185
|
+
const byBillingProfileIdOperationSpec = {
|
186
|
+
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/generateReservationDetailsReport",
|
187
|
+
httpMethod: "POST",
|
188
|
+
responses: {
|
189
|
+
200: {
|
190
|
+
bodyMapper: Mappers.OperationStatus
|
191
|
+
},
|
192
|
+
201: {
|
193
|
+
bodyMapper: Mappers.OperationStatus
|
194
|
+
},
|
195
|
+
202: {
|
196
|
+
bodyMapper: Mappers.OperationStatus
|
197
|
+
},
|
198
|
+
204: {
|
199
|
+
bodyMapper: Mappers.OperationStatus
|
200
|
+
},
|
201
|
+
default: {
|
202
|
+
bodyMapper: Mappers.ErrorResponse
|
203
|
+
}
|
204
|
+
},
|
205
|
+
queryParameters: [
|
206
|
+
Parameters.apiVersion,
|
207
|
+
Parameters.startDate,
|
208
|
+
Parameters.endDate
|
209
|
+
],
|
210
|
+
urlParameters: [
|
211
|
+
Parameters.$host,
|
212
|
+
Parameters.billingAccountId,
|
213
|
+
Parameters.billingProfileId
|
214
|
+
],
|
215
|
+
headerParameters: [Parameters.accept],
|
216
|
+
serializer
|
217
|
+
};
|
218
|
+
//# sourceMappingURL=generateReservationDetailsReport.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"generateReservationDetailsReport.js","sourceRoot":"","sources":["../../../src/operations/generateReservationDetailsReport.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAGL,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAQ3C,oEAAoE;AACpE,MAAM,OAAO,oCAAoC;IAI/C;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;OASG;IACG,uBAAuB,CAC3B,gBAAwB,EACxB,SAAiB,EACjB,OAAe,EACf,OAA0E;;YAS1E,MAAM,mBAAmB,GAAG,CAC1B,IAAmC,EACnC,IAA8B,EACuC,EAAE;gBACvE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACtD,CAAC,CAAA,CAAC;YACF,MAAM,eAAe,GAAG,CACtB,IAAmC,EACnC,IAA8B,EAC9B,EAAE;;gBACF,IAAI,kBAAkB,GAEN,SAAS,CAAC;gBAC1B,MAAM,gBAAgB,GAAG,MAAA,IAAI,CAAC,OAAO,0CAAE,UAAU,CAAC;gBAClD,MAAM,QAAQ,GAAmC,CAC/C,WAA6C,EAC7C,YAAqB,EACrB,EAAE;oBACF,kBAAkB,GAAG,WAAW,CAAC;oBACjC,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAG,WAAW,EAAE,YAAY,CAAC,CAAC;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C,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EACF,wKAAwK;IAC1K,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,OAAO;KACnB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export * from "./operations";
|
2
|
+
export * from "./views";
|
3
|
+
export * from "./alerts";
|
4
|
+
export * from "./forecast";
|
5
|
+
export * from "./dimensions";
|
6
|
+
export * from "./query";
|
7
|
+
export * from "./generateReservationDetailsReport";
|
8
|
+
export * from "./exports";
|
9
|
+
export * from "./generateCostDetailsReport";
|
10
|
+
export * from "./generateDetailedCostReport";
|
11
|
+
export * from "./generateDetailedCostReportOperationResults";
|
12
|
+
export * from "./generateDetailedCostReportOperationStatus";
|
13
|
+
export * from "./priceSheet";
|
14
|
+
export * from "./scheduledActions";
|
15
|
+
export * from "./benefitRecommendations";
|
16
|
+
export * from "./benefitUtilizationSummaries";
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,oCAAoC,CAAC;AACnD,cAAc,WAAW,CAAC;AAC1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
export * from "./operations";
|
9
|
+
export * from "./views";
|
10
|
+
export * from "./alerts";
|
11
|
+
export * from "./forecast";
|
12
|
+
export * from "./dimensions";
|
13
|
+
export * from "./query";
|
14
|
+
export * from "./generateReservationDetailsReport";
|
15
|
+
export * from "./exports";
|
16
|
+
export * from "./generateCostDetailsReport";
|
17
|
+
export * from "./generateDetailedCostReport";
|
18
|
+
export * from "./generateDetailedCostReportOperationResults";
|
19
|
+
export * from "./generateDetailedCostReportOperationStatus";
|
20
|
+
export * from "./priceSheet";
|
21
|
+
export * from "./scheduledActions";
|
22
|
+
export * from "./benefitRecommendations";
|
23
|
+
export * from "./benefitUtilizationSummaries";
|
24
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,oCAAoC,CAAC;AACnD,cAAc,WAAW,CAAC;AAC1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { Operations } from "../operationsInterfaces";
|
3
|
+
import { CostManagementClient } from "../costManagementClient";
|
4
|
+
import { CostManagementOperation, OperationsListOptionalParams } from "../models";
|
5
|
+
/** Class containing Operations operations. */
|
6
|
+
export declare class OperationsImpl implements Operations {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class Operations class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: CostManagementClient);
|
13
|
+
/**
|
14
|
+
* Lists all of the available cost management REST API operations.
|
15
|
+
* @param options The options parameters.
|
16
|
+
*/
|
17
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<CostManagementOperation>;
|
18
|
+
private listPagingPage;
|
19
|
+
private listPagingAll;
|
20
|
+
/**
|
21
|
+
* Lists all of the available cost management REST API operations.
|
22
|
+
* @param options The options parameters.
|
23
|
+
*/
|
24
|
+
private _list;
|
25
|
+
/**
|
26
|
+
* ListNext
|
27
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
28
|
+
* @param options The options parameters.
|
29
|
+
*/
|
30
|
+
private _listNext;
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=operations.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACL,uBAAuB,EAEvB,4BAA4B,EAG7B,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuB;IAE9C;;;OAGG;gBACS,MAAM,EAAE,oBAAoB;IAIxC;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,uBAAuB,CAAC;YAkBvC,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|