Microsoft Azure

Azure Cost Management: Costallocation

Azure Cost Management: Costallocation endpoints from Microsoft Azure

Finance & banking#openapi

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

Azure Cost Management: Costallocation endpoints from Microsoft Azure

Endpoints 5

CostAllocationRules

  • 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.
  • POSTCostAllocationRules_CheckNameAvailability/providers/Microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.CostManagement/costAllocationRules/checkNameAvailabilityChecks availability and correctness of a name for a cost allocation rule
  • 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.

API details

Base URL
https://management.azure.com
Authentication
OAuth 2.0 (implicit flow) with 1 scope
Operations
5 operations on 3 pathsGET 2PUT 1POST 1DELETE 1
Main resources
CostAllocationRules 5
Response formats
application/json
Description format
Swagger 2.0, API version 2024-08-01

How to test the Azure Cost Management: Costallocation in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Cost Management: Costallocation collection, without the publisher's secrets.
  3. 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.
  4. Send a requestPick an endpoint, for example “CostAllocationRules_List” (GET /providers/Microsoft.Billing/billingAccounts/:billingAccountId/providers/Microsoft.CostManagement/costAllocationRules), 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: Costallocation?

Azure Cost Management: Costallocation endpoints from Microsoft Azure It is listed under Finance & banking and has 5 endpoints.

Who publishes the Azure Cost Management: Costallocation?

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: Costallocation?

Requests go to https://management.azure.com. Endpoint paths are added to this base URL.

How do I authenticate with the Azure Cost Management: Costallocation?

With OAuth 2.0 (implicit flow) with 1 scope.

How many endpoints does the Azure Cost Management: Costallocation have?

5 operations on 3 paths (2 GET, 1 PUT, 1 POST, 1 DELETE). The largest groups are CostAllocationRules.

Is forking the Azure Cost Management: Costallocation free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.