Azure Cost Management: Openapi
CostManagement management client provides access to CostManagement resources for Azure Enterprise Subscriptions.
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
CostManagement management client provides access to CostManagement resources for Azure Enterprise Subscriptions.
Endpoints 75
Operations
- GETOperations_List
/providers/Microsoft.CostManagement/operationsList the operations for the provider
CostAllocationRuleDefinitions
- GETCostAllocationRules_List
/providers/microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.CostManagement/costAllocationRulesGet the list of all cost allocation rules for a billing account or enterprise enrollment. - GETCostAllocationRules_Get
/providers/microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.CostManagement/costAllocationRules/:ruleNameGet a cost allocation rule by rule name and billing account or enterprise enrollment. - PUTCostAllocationRules_CreateOrUpdate
/providers/microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.CostManagement/costAllocationRules/:ruleNameCreate/Update a rule to allocate cost between different resources within a billing account or enterprise enrollment. - DELETECostAllocationRules_Delete
/providers/microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.CostManagement/costAllocationRules/:ruleNameDelete cost allocation rule for billing account or enterprise enrollment.
Budgets
- GETBudgets_List
/:scope/providers/Microsoft.CostManagement/budgets?$filter=stringLists all budgets for the defined scope. - GETBudgets_Get
/:scope/providers/Microsoft.CostManagement/budgets/:budgetNameGets the budget for the scope by budget name. - PUTBudgets_CreateOrUpdate
/:scope/providers/Microsoft.CostManagement/budgets/:budgetNameThe operation to create or update a budget. You can optionally provide an eTag if desired as a form of concurrency control. To obtain the latest eTag for a… - DELETEBudgets_Delete
/:scope/providers/Microsoft.CostManagement/budgets/:budgetNameThe operation to delete a budget.
Exports
- GETExports_List
/:scope/providers/Microsoft.CostManagement/exports?$expand=stringThe operation to list all exports at the given scope. - GETExports_Get
/:scope/providers/Microsoft.CostManagement/exports/:exportName?$expand=stringThe operation to get the export for the defined scope by export name. - PUTExports_CreateOrUpdate
/:scope/providers/Microsoft.CostManagement/exports/:exportNameThe operation to create or update a export. Update operation requires latest eTag to be set in the request. You may obtain the latest eTag by performing a get… - DELETEExports_Delete
/:scope/providers/Microsoft.CostManagement/exports/:exportNameThe operation to delete a export. - POSTExports_Execute
/:scope/providers/Microsoft.CostManagement/exports/:exportName/runThe operation to run an export. - GETExports_GetExecutionHistory
/:scope/providers/Microsoft.CostManagement/exports/:exportName/runHistoryThe operation to get the run history of an export for the defined scope and export name.
GenerateDetailedCostReportOperationResults
- GETGenerateDetailedCostReportOperationResults_Get
/:scope/providers/Microsoft.CostManagement/operationResults/:operationIdGets the result of the specified operation. The link with this operationId is provided as a response header of the initial request.
GenerateDetailedCostReportOperationStatus
- GETGenerateDetailedCostReportOperationStatus_Get
/:scope/providers/Microsoft.CostManagement/operationStatus/:operationIdGet the status of the specified operation. This link is provided in the GenerateDetailedCostReport creation request response header.
Views
- GETViews_List
/providers/Microsoft.CostManagement/viewsLists all views by tenant and object. - GETViews_Get
/providers/Microsoft.CostManagement/views/:viewNameGets the view by view name. - PUTViews_CreateOrUpdate
/providers/Microsoft.CostManagement/views/:viewNameThe operation to create or update a view. Update operation requires latest eTag to be set in the request. You may obtain the latest eTag by performing a get… - DELETEViews_Delete
/providers/Microsoft.CostManagement/views/:viewNameThe operation to delete a view.
ViewOperationGroup
- GETViews_ListByScope
/:scope/providers/Microsoft.CostManagement/viewsLists all views at the given scope. - GETViews_GetByScope
/:scope/providers/Microsoft.CostManagement/views/:viewNameGets the view for the defined scope by view name. - PUTViews_CreateOrUpdateByScope
/:scope/providers/Microsoft.CostManagement/views/:viewNameThe operation to create or update a view. Update operation requires latest eTag to be set in the request. You may obtain the latest eTag by performing a get… - DELETEViews_DeleteByScope
/:scope/providers/Microsoft.CostManagement/views/:viewNameThe operation to delete a view.
Alerts
- GETAlerts_List
/:scope/providers/Microsoft.CostManagement/alertsLists the alerts for scope defined. - GETAlerts_Get
/:scope/providers/Microsoft.CostManagement/alerts/:alertIdGets the alert for the scope by alert ID. - PATCHAlerts_Dismiss
/:scope/providers/Microsoft.CostManagement/alerts/:alertIdDismisses the specified alert
ScheduledActions
- GETScheduledActions_List
/providers/Microsoft.CostManagement/scheduledActions?$filter=stringList all private scheduled actions. - GETScheduledActions_Get
/providers/Microsoft.CostManagement/scheduledActions/:nameGet the private scheduled action by name. - PUTScheduledActions_CreateOrUpdate
/providers/Microsoft.CostManagement/scheduledActions/:nameCreate or update a private scheduled action. - DELETEScheduledActions_Delete
/providers/Microsoft.CostManagement/scheduledActions/:nameDelete a private scheduled action. - POSTScheduledActions_Run
/providers/Microsoft.CostManagement/scheduledActions/:name/executeProcesses a private scheduled action.
ScheduledActionOperationGroup
- GETScheduledActions_ListByScope
/:scope/providers/Microsoft.CostManagement/scheduledActions?$filter=stringList all shared scheduled actions within the given scope. - GETScheduledActions_GetByScope
/:scope/providers/Microsoft.CostManagement/scheduledActions/:nameGet the shared scheduled action from the given scope by name. - PUTScheduledActions_CreateOrUpdateByScope
/:scope/providers/Microsoft.CostManagement/scheduledActions/:nameCreate or update a shared scheduled action within the given scope. - DELETEScheduledActions_DeleteByScope
/:scope/providers/Microsoft.CostManagement/scheduledActions/:nameDelete a scheduled action within the given scope. - POSTScheduledActions_RunByScope
/:scope/providers/Microsoft.CostManagement/scheduledActions/:name/executeRuns a shared scheduled action within the given scope.
Settings
- GETSettings_List
/:scope/providers/Microsoft.CostManagement/settingsList all cost management settings in the requested scope. - GETSettings_GetByScope
/:scope/providers/Microsoft.CostManagement/settings/:typeGet the setting from the given scope by name. - PUTSettings_CreateOrUpdateByScope
/:scope/providers/Microsoft.CostManagement/settings/:typeCreate or update a setting within the given scope. - DELETESettings_DeleteByScope
/:scope/providers/Microsoft.CostManagement/settings/:typeDelete a setting within the given scope.
MarkupRules
- GETMarkupRules_List
/providers/Microsoft.Billing/billingAccounts/:billingAccountId/billingProfiles/:billingProfileId/providers/Microsoft.CostManagement/markupRulesList all markup rules for a billing account and billing profile. - GETMarkupRules_Get
/providers/Microsoft.Billing/billingAccounts/:billingAccountId/billingProfiles/:billingProfileId/providers/Microsoft.CostManagement/markupRules/:ruleNameGet a markup rule by name for a billing account and billing profile. - PUTMarkupRules_CreateOrUpdate
/providers/Microsoft.Billing/billingAccounts/:billingAccountId/billingProfiles/:billingProfileId/providers/Microsoft.CostManagement/markupRules/:ruleNameCreate or update a markup rule for a billing account and billing profile. - DELETEMarkupRules_Delete
/providers/Microsoft.Billing/billingAccounts/:billingAccountId/billingProfiles/:billingProfileId/providers/Microsoft.CostManagement/markupRules/:ruleNameDelete a markup rule for a billing account and billing profile.
GenerateCostDetailsReport
- GETGenerateCostDetailsReport_GetOperationResults
/:scope/providers/Microsoft.CostManagement/costDetailsOperationResults/:operationIdGet the result of the specified operation. This link is provided in the CostDetails creation request response Location header.
- GETBenefitRecommendations_List
/:billingScope/providers/Microsoft.CostManagement/benefitRecommendations?$filter=string&$orderby=string&$expand=stringList of recommendations for purchasing savings plan. - POSTScheduledActions_CheckNameAvailabilityByScope
/:scope/providers/Microsoft.CostManagement/checkNameAvailabilityChecks availability and correctness of the name for a scheduled action within the given scope. - GETDimensions_List
/:scope/providers/Microsoft.CostManagement/dimensions?$filter=string&$expand=string&$skiptoken=string&$top=1Lists the dimensions by the defined scope. - POSTForecast_Usage
/:scope/providers/Microsoft.CostManagement/forecast?$filter=stringLists the forecast charges for scope defined. - POSTGenerateCostDetailsReport_CreateOperation
/:scope/providers/Microsoft.CostManagement/generateCostDetailsReportThis API is the replacement for all previously release Usage Details APIs. Request to generate a cost details report for the provided date range, billing… - POSTGenerateDetailedCostReport_CreateOperation
/:scope/providers/Microsoft.CostManagement/generateDetailedCostReportGenerates the detailed cost report for provided date range, billing period(only enterprise customers) or Invoice ID asynchronously at a certain scope. Call… - POSTQuery_Usage
/:scope/providers/Microsoft.CostManagement/queryQuery the usage data for scope defined. - GETAlerts_ListExternal
/providers/Microsoft.CostManagement/:externalCloudProviderType/:externalCloudProviderId/alertsLists the Alerts for external cloud provider type defined. - GETDimensions_ByExternalCloudProviderType
/providers/Microsoft.CostManagement/:externalCloudProviderType/:externalCloudProviderId/dimensions?$filter=string&$expand=string&$skiptoken=string&$top=1Lists the dimensions by the external cloud provider type. - POSTForecast_ExternalCloudProviderUsage
/providers/Microsoft.CostManagement/:externalCloudProviderType/:externalCloudProviderId/forecast?$filter=stringLists the forecast charges for external cloud provider type defined. - POSTQuery_UsageByExternalCloudProviderType
/providers/Microsoft.CostManagement/:externalCloudProviderType/:externalCloudProviderId/queryQuery the usage data for external cloud provider type defined. - POSTScheduledActions_CheckNameAvailability
/providers/Microsoft.CostManagement/checkNameAvailabilityChecks availability and correctness of the name for a scheduled action. - POSTPriceSheet_DownloadByBillingAccount
/providers/microsoft.Billing/billingAccounts/:billingAccountId/billingPeriods/:billingPeriodName/providers/Microsoft.CostManagement/pricesheets/default/downloadGenerates the pricesheet for the provided billing period asynchronously based on the Enrollment ID. This is for Enterprise Agreement customers. Migrate to… - POSTPriceSheet_DownloadByInvoice
/providers/microsoft.Billing/billingAccounts/:billingAccountName/billingProfiles/:billingProfileName/invoices/:invoiceName/providers/Microsoft.CostManagement/pricesheets/default/downloadGets a URL to download the pricesheet for an invoice. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or… - GETBenefitUtilizationSummaries_ListByBillingProfileId
/providers/microsoft.Billing/billingAccounts/:billingAccountId/billingProfiles/:billingProfileId/providers/Microsoft.CostManagement/benefitUtilizationSummaries?grainParameter=Hourly&filter=stringLists savings plan utilization summaries for billing profile. Supported at grain values: 'Daily' and 'Monthly'. - POSTGenerateBenefitUtilizationSummariesReport_GenerateByBillingProfile
/providers/microsoft.Billing/billingAccounts/:billingAccountId/billingProfiles/:billingProfileId/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReportTriggers generation of a benefit utilization summaries report for the provided billing account and billing profile. - POSTGenerateReservationDetailsReport_ByBillingProfileId
/providers/microsoft.Billing/billingAccounts/:billingAccountId/billingProfiles/:billingProfileId/providers/Microsoft.CostManagement/generateReservationDetailsReport?startDate=string&endDate=stringGenerates the reservations details report for provided date range asynchronously by billing profile. The Reservation usage details can be viewed by only… - POSTPriceSheet_DownloadByBillingProfile
/providers/microsoft.Billing/billingAccounts/:billingAccountName/billingProfiles/:billingProfileName/providers/Microsoft.CostManagement/pricesheets/default/downloadGets a URL to download the current month's pricesheet for a billing profile. The operation is supported for billing accounts with agreement type Microsoft… - GETBenefitUtilizationSummaries_ListByBillingAccountId
/providers/microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.CostManagement/benefitUtilizationSummaries?grainParameter=Hourly&filter=stringLists savings plan utilization summaries for the enterprise agreement scope. Supported at grain values: 'Daily' and 'Monthly'. - POSTCostAllocationRules_CheckNameAvailability
/providers/microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.CostManagement/costAllocationRules/checkNameAvailabilityChecks availability and correctness of a name for a cost allocation rule - POSTGenerateBenefitUtilizationSummariesReport_GenerateByBillingAccount
/providers/microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReportTriggers generation of a benefit utilization summaries report for the provided billing account. This API supports only enrollment accounts. - POSTGenerateReservationDetailsReport_ByBillingAccountId
/providers/microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.CostManagement/generateReservationDetailsReport?startDate=string&endDate=stringGenerates the reservations details report for provided date range asynchronously based on enrollment id. The Reservation usage details can be viewed only by… - GETBenefitUtilizationSummaries_ListBySavingsPlanOrder
/providers/microsoft.BillingBenefits/savingsPlanOrders/:savingsPlanOrderId/providers/Microsoft.CostManagement/benefitUtilizationSummaries?$filter=string&grainParameter=HourlyLists the savings plan utilization summaries for daily or monthly grain. - POSTGenerateBenefitUtilizationSummariesReport_GenerateBySavingsPlanOrderId
/providers/microsoft.BillingBenefits/savingsPlanOrders/:savingsPlanOrderId/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReportTriggers generation of a benefit utilization summaries report for the provided savings plan order. - GETBenefitUtilizationSummaries_ListBySavingsPlanId
/providers/microsoft.BillingBenefits/savingsPlanOrders/:savingsPlanOrderId/savingsPlans/:savingsPlanId/providers/Microsoft.CostManagement/benefitUtilizationSummaries?$filter=string&grainParameter=HourlyLists the savings plan utilization summaries for daily or monthly grain. - POSTGenerateBenefitUtilizationSummariesReport_GenerateBySavingsPlanId
/providers/microsoft.BillingBenefits/savingsPlanOrders/:savingsPlanOrderId/savingsPlans/:savingsPlanId/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReportTriggers generation of a benefit utilization summaries report for the provided savings plan. - POSTGenerateBenefitUtilizationSummariesReport_GenerateByReservationOrderId
/providers/microsoft.Capacity/reservationorders/:reservationOrderId/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReportTriggers generation of a benefit utilization summaries report for the provided reservation order. - POSTGenerateBenefitUtilizationSummariesReport_GenerateByReservationId
/providers/microsoft.Capacity/reservationorders/:reservationOrderId/reservations/:reservationId/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReportTriggers generation of a benefit utilization summaries report for the provided reservation.
API details
- Base URL
https://management.azure.com- Authentication
- OAuth 2.0 (implicit flow) with 1 scope
- Operations
- 75 operations on 56 pathsGET 33POST 23PUT 9DELETE 9PATCH 1
- Main resources
- Exports 6ScheduledActionOperationGroup 5ScheduledActions 5Budgets 4CostAllocationRuleDefinitions 4MarkupRules 4Settings 4ViewOperationGroup 4Views 4Alerts 3
- Response formats
application/json- Description format
- Swagger 2.0, API version
2026-06-01 - Links
- OpenAPI document
How to test the Azure Cost Management: Openapi in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Cost Management: Openapi collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Operations_List” (GET /providers/Microsoft.CostManagement/operations), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Azure Cost Management: Openapi?
CostManagement management client provides access to CostManagement resources for Azure Enterprise Subscriptions. It is listed under Finance & banking and has 75 endpoints.
Who publishes the Azure Cost Management: Openapi?
It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Azure Cost Management: Openapi?
Requests go to https://management.azure.com. Endpoint paths are added to this base URL.
How do I authenticate with the Azure Cost Management: Openapi?
With OAuth 2.0 (implicit flow) with 1 scope.
How many endpoints does the Azure Cost Management: Openapi have?
75 operations on 56 paths (33 GET, 23 POST, 9 PUT, 9 DELETE, 1 PATCH). The largest groups are Exports, ScheduledActionOperationGroup, ScheduledActions, Budgets.
Is forking the Azure Cost Management: Openapi free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.