Skip to content

Commit bc3cb0e

Browse files
author
Maddie Minnick
committed
small change
1 parent fa59554 commit bc3cb0e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

articles/cost-management-billing/costs/cost-mgt-best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ For more information about exporting billing data, see [Create and manage export
186186
### Automate cost data retrieval and analysis
187187

188188
For Enterprise Agreement (EA) and Microsoft Customer Agreement
189-
(MCA) accounts, use the [Cost Details API](/rest/api/cost-management/generate-cost-details-report) to programmatically generate and download detailed, unaggregated cost data. For Pay-As-You-Go subscriptions, use the [Usage Details API](/rest/api/consumption/usagedetails). For custom, on-demand analysis and dashboards, use the [Query API](/rest/api/cost-management/query).
189+
(MCA) accounts, use the [Cost Details API](/rest/api/cost-management/generate-cost-details-report) to programmatically generate and download detailed, unaggregated cost data. For Pay-As-You-Go subscriptions, use the [Exports API](/rest/api/cost-management/exports). If you need to download small datasets and you don't want to use Azure Storage, you can also use the Consumption Usage Details API. See instructions on how to do this [here](/automate/get-usage-details-legacy-customer.md). For custom, on-demand analysis and dashboards, use the [Query API](/rest/api/cost-management/query).
190190

191191
For more information, see [Get small cost datasets on demand](../automate/get-small-usage-datasets-on-demand.md) and [Query cost data](../costs/cost-analysis-common-uses.md).
192192

articles/cost-management-billing/costs/manage-automation.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Consider using the [Cost Details API](/rest/api/cost-management/costdetails) if
4949
The [Cost Details API](/rest/api/cost-management/costdetails) enables you to programmatically generate and download detailed, unaggregated cost data for your Microsoft Customer Agreement (MCA) billing account. Unlike the legacy Usage Details API, the Cost Details API is asynchronous and report-based: you submit a request to generate a report, poll for its completion, and then download the resulting file from a secure URL.
5050

5151
> [!IMPORTANT]
52-
> The Cost Details API is only supported for Enteroruse Agreement (EA) or Microsoft Customer Agreement (MCA) scopes. For other account types, we suggest using Exports. If you need to download small datasets and you don't want to use Azure Storage, you can also use the Consumption Usage Details API. See instructions on how to do this [here](/automate/get-usage-details-legacy-customer.md)
52+
> The Cost Details API is only supported for Enterprise Agreement (EA) or Microsoft Customer Agreement (MCA) scopes. For other account types, we suggest using Exports. If you need to download small datasets and you don't want to use Azure Storage, you can also use the Consumption Usage Details API. See instructions on how to do this [here](/automate/get-usage-details-legacy-customer.md)
5353
5454
### How the Cost Details API works
5555

@@ -128,9 +128,6 @@ For customers with a Microsoft Customer Agreement, use the following call:
128128
GET https://management.azure.com/{scope}/providers/Microsoft.CostManagement/costDetails?startDate=2024-06-01&endDate=2024-06-30&$top=1000&api-version=2024-05-01
129129
```
130130

131-
> [!NOTE]
132-
> The Cost Details API supports only Microsoft Customer Agreement scopes. For legacy Enterprise Agreement (EA) or pay-as-you-go subscriptions, use Exports or the Query API.
133-
134131
### Get amortized cost details
135132

136133
If you need actual costs to show purchases as they're accrued, change the *metric* to `ActualCost` in the following request. To use amortized and actual costs, use the latest API version. Your filters are `startDate` and `endDate` in the following example.

0 commit comments

Comments
 (0)