ConsumptionManagementClient
Consumption management client provides access to consumption 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
Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions.
Endpoints 25
Balances
- GETBalances_GetForBillingPeriodByBillingAccount
/providers/Microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.Billing/billingPeriods/:billingPeriodName/providers/Microsoft.Consumption/balances?api-version=stringGets the balances for a scope by billing period and billingAccountId. Balances are available via this API only for May 1, 2014 or later. - GETBalances_GetByBillingAccount
/providers/Microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.Consumption/balances?api-version=stringGets the balances for a scope by billingAccountId. Balances are available via this API only for May 1, 2014 or later.
ReservedInstances
- GETReservationsDetails_ListByBillingAccountId
/providers/Microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.Consumption/reservationDetails?$filter=string&api-version=stringLists the reservations details for provided date range. - GETReservationsSummaries_ListByBillingAccountId
/providers/Microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.Consumption/reservationSummaries?grain=daily&$filter=string&api-version=stringLists the reservations summaries for daily or monthly grain. - GETReservationTransactions_ListByBillingAccountId
/providers/Microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.Consumption/reservationTransactions?$filter=string&api-version=stringList of transactions for reserved instances on billing account scope - GETReservationsDetails_ListByReservationOrder
/providers/Microsoft.Capacity/reservationorders/:reservationOrderId/providers/Microsoft.Consumption/reservationDetails?$filter=string&api-version=stringLists the reservations details for provided date range. - GETReservationsSummaries_ListByReservationOrder
/providers/Microsoft.Capacity/reservationorders/:reservationOrderId/providers/Microsoft.Consumption/reservationSummaries?grain=daily&$filter=string&api-version=stringLists the reservations summaries for daily or monthly grain. - GETReservationsDetails_ListByReservationOrderAndReservation
/providers/Microsoft.Capacity/reservationorders/:reservationOrderId/reservations/:reservationId/providers/Microsoft.Consumption/reservationDetails?$filter=string&api-version=stringLists the reservations details for provided date range. - GETReservationsSummaries_ListByReservationOrderAndReservation
/providers/Microsoft.Capacity/reservationorders/:reservationOrderId/reservations/:reservationId/providers/Microsoft.Consumption/reservationSummaries?grain=daily&$filter=string&api-version=stringLists the reservations summaries for daily or monthly grain.
ReservationRecommendations
- GETReservationRecommendations_ListByBillingAccountId
/providers/Microsoft.Billing/billingAccounts/:billingAccountId/providers/microsoft.consumption/ReservationRecommendations?$filter=string&api-version=stringList of recommendations for purchasing reserved instances on billing account scope - GETReservationRecommendations_List
/subscriptions/:subscriptionId/providers/Microsoft.Consumption/reservationRecommendations?$filter=string&api-version=stringList of recommendations for purchasing reserved instances.
Operations
- GETOperations_List
/providers/Microsoft.Consumption/operations?api-version=stringLists all of the available consumption REST API operations.
AggregatedCost
- GETAggregatedCost_GetForBillingPeriodByManagementGroup
/providers/Microsoft.Management/managementGroups/:managementGroupId/providers/Microsoft.Billing/billingPeriods/:billingPeriodName/Microsoft.Consumption/aggregatedcost?api-version=stringProvides the aggregate cost of a management group and all child management groups by specified billing period - GETAggregatedCost_GetByManagementGroup
/providers/Microsoft.Management/managementGroups/:managementGroupId/providers/Microsoft.Consumption/aggregatedcost?api-version=string&$filter=stringProvides the aggregate cost of a management group and all child management groups by current billing period.
PriceSheet
- GETPriceSheet_GetByBillingPeriod
/subscriptions/:subscriptionId/providers/Microsoft.Billing/billingPeriods/:billingPeriodName/providers/Microsoft.Consumption/pricesheets/default?$expand=string&$skiptoken=string&$top=1&api-version=stringGet the price sheet for a scope by subscriptionId and billing period. Price sheet is available via this API only for May 1, 2014 or later. - GETPriceSheet_Get
/subscriptions/:subscriptionId/providers/Microsoft.Consumption/pricesheets/default?$expand=string&$skiptoken=string&$top=1&api-version=stringGets the price sheet for a scope by subscriptionId. Price sheet is available via this API only for May 1, 2014 or later.
Forecasts
- GETForecasts_List
/subscriptions/:subscriptionId/providers/Microsoft.Consumption/forecasts?$filter=string&api-version=stringLists the forecast charges by subscriptionId.
Budgets
- GETBudgets_List
/:scope/providers/Microsoft.Consumption/budgets?api-version=stringLists all budgets for the defined scope. - GETBudgets_Get
/:scope/providers/Microsoft.Consumption/budgets/:budgetName?api-version=stringGets the budget for the scope by budget name. - PUTBudgets_CreateOrUpdate
/:scope/providers/Microsoft.Consumption/budgets/:budgetName?api-version=stringThe operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by… - DELETEBudgets_Delete
/:scope/providers/Microsoft.Consumption/budgets/:budgetName?api-version=stringThe operation to delete a budget.
Charges
- GETCharges_ListByScope
/:scope/providers/Microsoft.Consumption/charges?api-version=string&$filter=stringLists the charges based for the defined scope.
Marketplaces
- GETMarketplaces_List
/:scope/providers/Microsoft.Consumption/marketplaces?$filter=string&$top=1&$skiptoken=string&api-version=stringLists the marketplaces for a scope at the defined scope. Marketplaces are available via this API only for May 1, 2014 or later.
Tags
- GETTags_Get
/:scope/providers/Microsoft.Consumption/tags?api-version=stringGet all available tag keys for the defined scope
UsageDetails
- GETUsageDetails_List
/:scope/providers/Microsoft.Consumption/usageDetails?$expand=string&$filter=string&$skiptoken=string&$top=1&api-version=string&metric=actualcostLists the usage details for the defined scope. Usage details are available via this API only for May 1, 2014 or later.
API details
- Base URL
https://management.azure.com- Authentication
- OAuth 2.0 (implicit flow) with 1 scope
- Operations
- 25 operations on 23 pathsGET 23PUT 1DELETE 1
- Main resources
- ReservedInstances 7Budgets 4AggregatedCost 2Balances 2PriceSheet 2ReservationRecommendations 2Charges 1Forecasts 1Marketplaces 1Operations 1
- Response formats
application/json- Description format
- Swagger 2.0, API version
2019-06-01 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the ConsumptionManagementClient 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 ConsumptionManagementClient 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 “Balances_GetForBillingPeriodByBillingAccount” (GET /providers/Microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.Billing/billingPeriods/:billingPeriodName/providers/Microsoft.Consumption/balances?api-version=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the ConsumptionManagementClient?
Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions. It is listed under Developer tools and has 25 endpoints.
Who publishes the ConsumptionManagementClient?
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 ConsumptionManagementClient?
Requests go to https://management.azure.com. Endpoint paths are added to this base URL.
How do I authenticate with the ConsumptionManagementClient?
With OAuth 2.0 (implicit flow) with 1 scope.
How many endpoints does the ConsumptionManagementClient have?
25 operations on 23 paths (23 GET, 1 PUT, 1 DELETE). The largest groups are ReservedInstances, Budgets, AggregatedCost, Balances.
Is forking the ConsumptionManagementClient free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.