microsoft-azure-cost-management website screenshot

microsoft-azure-cost-management

Azure Cost Management provides programmatic access to cost analysis, budgets, exports, and recommendations across cloud spending. This collection documents the REST APIs that support multidimensional usage queries, budget alerts, scheduled cost exports, and FinOps optimization recommendations.

1 APIs 0 Features

APIs

Azure Cost Management REST API

Azure Cost Management REST API enables programmatic access to cost analysis, budgets, exports, and recommendations. It supports querying usage data, creating budgets with alerts...

Collections

Pricing Plans

Rate Limits

FinOps

Resources

👥
GitHubOrganization
GitHubOrganization
🌐
Portal
Portal
💰
Pricing
Pricing
📜
TermsOfService
TermsOfService
📜
PrivacyPolicy
PrivacyPolicy
💬
Support
Support
🔗
LlmsText
LlmsText

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Azure Cost Management REST API
  version: '2024-01-01'
request:
  auth:
    type: oauth2
    flow: implicit
    authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
    credentials:
      clientId: '{{clientId}}'
items:
- info:
    name: Operations
    type: folder
  items:
  - info:
      name: Azure Cost Management REST API List operations
      type: http
    http:
      method: GET
      url: https://management.azure.com/providers/Microsoft.CostManagement/operations
      params:
      - name: api-version
        value: ''
        type: query
        description: The API version to use for this operation.
    docs: Lists all available REST API operations for Microsoft.CostManagement.
- info:
    name: Exports
    type: folder
  items:
  - info:
      name: Azure Cost Management REST API List by subscription
      type: http
    http:
      method: GET
      url: https://management.azure.com/subscriptions/:subscriptionId/providers/Microsoft.CostManagement/exports
      params:
      - name: subscriptionId
        value: ''
        type: path
        description: The ID of the target subscription.
      - name: api-version
        value: ''
        type: query
        description: The API version to use for this operation.
    docs: Lists all exports resources within the specified subscription.
  - info:
      name: Azure Cost Management REST API List by resource group
      type: http
    http:
      method: GET
      url: https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.CostManagement/exports
      params:
      - name: subscriptionId
        value: ''
        type: path
        description: The ID of the target subscription.
      - name: resourceGroupName
        value: ''
        type: path
        description: The name of the resource group.
      - name: api-version
        value: ''
        type: query
        description: The API version to use for this operation.
    docs: Lists all exports resources within the specified resource group.
  - info:
      name: Azure Cost Management REST API Get resource
      type: http
    http:
      method: GET
      url: https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.CostManagement/exports/:name
      params:
      - name: subscriptionId
        value: ''
        type: path
        description: The ID of the target subscription.
      - name: resourceGroupName
        value: ''
        type: path
        description: The name of the resource group.
      - name: name
        value: ''
        type: path
        description: Name of the resource.
      - name: api-version
        value: ''
        type: query
        description: The API version to use for this operation.
    docs: Gets a specific exports resource.
  - info:
      name: Azure Cost Management REST API Create or update resource
      type: http
    http:
      method: PUT
      url: https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.CostManagement/exports/:name
      params:
      - name: subscriptionId
        value: ''
        type: path
        description: The ID of the target subscription.
      - name: resourceGroupName
        value: ''
        type: path
        description: The name of the resource group.
      - name: name
        value: ''
        type: path
        description: Name of the resource.
      - name: api-version
        value: ''
        type: query
        description: The API version to use for this operation.
      body:
        type: json
        data: '{}'
    docs: Creates or updates a exports resource.
  - info:
      name: Azure Cost Management REST API Update resource
      type: http
    http:
      method: PATCH
      url: https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.CostManagement/exports/:name
      params:
      - name: subscriptionId
        value: ''
        type: path
        description: The ID of the target subscription.
      - name: resourceGroupName
        value: ''
        type: path
        description: The name of the resource group.
      - name: name
        value: ''
        type: path
        description: Name of the resource.
      - name: api-version
        value: ''
        type: query
        description: The API version to use for this operation.
      body:
        type: json
        data: '{}'
    docs: Updates a exports resource.
  - info:
      name: Azure Cost Management REST API Delete resource
      type: http
    http:
      method: DELETE
      url: https://management.azure.com/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.CostManagement/exports/:name
      params:
      - name: subscriptionId
        value: ''
        type: path
        description: The ID of the target subscription.
      - name: resourceGroupName
        value: ''
        type: path
        description: The name of the resource group.
      - name: name
        value: ''
        type: path
        description: Name of the resource.
      - name: api-version
        value: ''
        type: query
        description: The API version to use for this operation.
    docs: Deletes a exports resource.
bundled: true