You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cost-management-billing/savings-plan/utilization-cost-reports.md
+49-49Lines changed: 49 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,116 +24,116 @@ Enhanced data for savings plan costs and usage is available for Enterprise Agree
24
24
25
25
## Savings plan charges in Azure cost data
26
26
27
-
Fields in the Azure cost data that are relevant to savings plan scenarios are listed below.
27
+
The following fields in the Azure cost data that are relevant to savings plan scenarios.
28
28
29
29
-`BenefitId` and `BenefitName` - They are their own fields in the data and correspond to the Savings Plan ID and Savings Plan name associated with your purchase.
30
-
-`PricingModel` - This field will be "SavingsPlan" for purchase and usage cost records that are relevant to a Savings Plan.
30
+
-`PricingModel` - The field will be `SavingsPlan` for purchase and usage cost records that are relevant to a Savings Plan.
31
31
-`ProductOrderId` - The savings plan order ID, added as its own field.
32
32
-`ProductOrderName` - The product name of the purchased savings plan.
33
-
-`Term` – The time period associated with your savings plan purchase.
33
+
-`Term` – The period associated with your savings plan purchase.
34
34
35
-
In Azure Cost Management, cost details provide savings plan cost in two separate data sets: _Actual Cost_ and _Amortized Cost_. How these two datasets differ:
35
+
In Cost Management, cost details provide savings plan cost in two separate data sets: _Actual Cost_ and _Amortized Cost_. How these two datasets differ:
36
36
37
-
**Actual Cost**- Provides data to reconcile with your monthly bill. The data has savings plan purchase costs and savings plan application details. With the data, you can know which subscription or resource group or resource received the savings plan discount in a particular day. The `EffectivePrice` for the usage that receives the savings plan discount is zero.
37
+
**Actual Cost**- Provides data to reconcile with your monthly bill. The data has savings plan purchase costs and savings plan application details. With the data, you can know which subscription or resource group, or resource received the savings plan discount on a particular day. The EffectivePrice for the usage that receives the savings plan discount is zero.
38
38
39
-
**Amortized Cost** - This dataset is similar to the Actual Cost dataset except that - the `EffectivePrice` for the usage that gets savings plan discount is the prorated cost of the savings plan (instead of being zero). It helps you know the monetary value of savings plan consumption by a subscription, resource group or a resource, and it can help you charge back for the savings plan utilization internally. The dataset also has unused hours in the savings plan that have been charged for the hourly commitment amount. The dataset doesn't have savings plan purchase records.
39
+
**Amortized Cost** - The dataset is like the Actual Cost dataset except that - the EffectivePrice for the usage that gets savings plan discount is the prorated cost of the savings plan (instead of being zero). It helps you know the monetary value of savings plan consumption by a subscription, resource group or a resource, and can help you charge back for the savings plan utilization internally. The dataset also has unused hours in the savings plan that have been charged for the hourly commitment amount. The dataset doesn't have savings plan purchase records.
40
40
41
-
Here's a comparison of the two data sets:
41
+
Comparison of two data sets:
42
42
43
43
|**Data**|**Actual Cost data set**|**Amortized Cost data set**|
44
44
| --- | --- | --- |
45
-
| Savings plan purchases |Available in the view.<br><br>To get the data, filter on ChargeType = `Purchase`.<br><br>Refer to `BenefitID` or `BenefitName` to know which savings plan the charge is for. |Not applicable to the view.<br><br>Purchase costs aren't provided in amortized data. |
45
+
| Savings plan purchases | To get the data filter on `ChargeType` = `Purchase`.<br><br>Refer to `BenefitID` or `BenefitName` to know which savings plan the charge is for. | Purchase costs aren't provided in amortized data. |
46
46
|`EffectivePrice`| The value is zero for usage that gets savings plan discount. | The value is per-hour prorated cost of the savings plan for usage that has the savings plan discount. |
47
-
| Unused Savings Plan (provides the number of hours the savings plan wasn't used in a day and the monetary value of the waste) | Not applicable in the view. |Available in the view.<br><br>To get the data, filter on ChargeType = `UnusedSavingsPlan`.<br><br>Refer to `BenefitID` or `BenefitName` to know which savings plan was underutilized. Indicates how much of the savings plan was wasted for the day. |
48
-
| UnitPrice (price of the resource from your price sheet) | Available | Available |
47
+
| Unused benefit (provides the number of hours the savings plan wasn't used in a day and the monetary value of the waste) | Not applicable in the view. | To get the data, filter on `ChargeType` = `UnusedBenefit`.<br><br>Refer to `BenefitID` or `BenefitName` to know which savings plan was underutilized. It's how much of the savings plan was wasted for the day. |
48
+
|`UnitPrice` (price of the resource from your price sheet) | Available | Available |
49
49
50
50
## Get Azure consumption and savings plan cost data using API
51
51
52
-
You can get the data using the API or download it from Azure portal. Call the [Cost Details API](/rest/api/cost-management/generate-cost-details-report/create-operation)to get the new data. For details about terminology, see [Usage terms](../understand/understand-usage.md). To learn more about how to call the Cost Details API, see [Get cost data on demand](../automate/get-small-usage-datasets-on-demand.md).
52
+
You can get the data using the API or download it from Azure portal. Call the [Cost Details API](/rest/api/cost-management/generate-cost-details-report/create-operation)to get the new data. For details about terminology, see [usage terms](../understand/understand-usage.md). For more information about how to call the Cost Details API, see [Get cost data on demand](../automate/get-small-usage-datasets-on-demand.md).
53
53
54
-
Information in the following table about metric and filter can help solve for common savings plan problems.
54
+
Information in the following table about metrics and filters can help solve for common savings plan problems.
55
55
56
-
|**Type of API data**|**API call action**|
57
-
|---|---|
58
-
|**All Charges (usage and purchases)**| Request for an ActualCost report. |
59
-
|**Usage that got savings plan discount**| Request for an ActualCost report.<br><br> Once you've ingested all of the usage, look for records with ChargeType = 'Usage' and PricingModel = 'SavingsPlan'. |
60
-
|**Usage that didn't get savings plan discount**| Request for an ActualCost report.<br><br> Once you've ingested all of the usage, filter for usage records with PricingModel = 'OnDemand'. |
61
-
|**Amortized charges (usage and purchases)**| Request for an AmortizedCost report. |
62
-
|**Unused savings plan report**| Request for an AmortizedCost report.<br><br> Once you've ingested all of the usage, filter for usage records with ChargeType = 'UnusedSavingsPlan' and PricingModel ='SavingsPlan'. |
63
-
|**Savings plan purchases**| Request for an ActualCost report.<br><br> Once you've ingested all of the usage, filter for usage records with ChargeType = 'Purchase' and PricingModel = 'SavingsPlan'. |
64
-
|**Refunds**| Request for an ActualCost report.<br><br> Once you've ingested all of the usage, filter for usage records with ChargeType = 'Refund'. |
56
+
| Type of API data | API call action |
57
+
| --- | --- |
58
+
| All Charges (usage and purchases) | Request for an ActualCost report. |
59
+
| Usage that got savings plan discount | Request for an ActualCost report.
60
+
Once you've ingested all the usage, look for records with ChargeType = `Usage` and `PricingModel` = `SavingsPlan`. |
61
+
| Usage that didn't get savings plan discount | Request for an ActualCost report. <br><br> Once you've ingested all the usage, filter for usage records with `PricingModel` = `OnDemand`. |
62
+
| Amortized charges (usage and purchases) | Request for an AmortizedCost report. |
63
+
| Unused savings plan report | Request for an AmortizedCost report.<br><br> Once you've ingested all of the usage, filter for usage records with ChargeType = `UnusedBenefit` and `PricingModel` =`SavingsPlan`. |
64
+
| Savings plan purchases | Request for an ActualCost report. <br><br> Once you've ingested all the usage, filter for usage records with `ChargeType` = `Purchase` and `PricingModel` = `SavingsPlan`. |
65
+
| Refunds | Request for an ActualCost report. <br><br> Once you've ingested all the usage, filter for usage records with `ChargeType` = `Refund`. |
65
66
66
67
## Download the cost CSV file with new data
67
68
68
69
To download your saving plan cost and usage file, using the information in the following sections.
69
70
70
-
### Download for EA customers
71
+
### EA customers
71
72
72
-
If you're an EA admin, you can download the CSV file that contains new cost data from the Azure portal. This data isn't available from the EA portal (ea.azure.com), you must download the cost file from Azure portal (portal.azure.com) to see the new data.
73
+
If you're an EA admin, you can download the CSV file that contains new cost data from the Azure portal. This data isn't available from the [EA portal](https://ea.azure.com/), you must download the cost file from Azure portal (portal.azure.com) to see the new data.
73
74
74
-
In the Azure portal, navigate to [Cost Management + Billing](https://portal.azure.com/#blade/Microsoft_Azure_Billing/ModernBillingMenuBlade/BillingAccounts).
75
+
In the Azure portal, navigate to [Cost management + billing](https://portal.azure.com/#blade/Microsoft_Azure_Billing/ModernBillingMenuBlade/BillingAccounts).
75
76
76
-
1. Select the enrollment.
77
-
1. Select **Usage + charges**.
78
-
1. Select **Download**.
79
-
1. In **Download Usage + Charges**, under **Usage Details Version 2**, select **All Charges (usage and purchases)** and then select download. Repeat for **Amortized charges (usage and purchases)**.
77
+
1. Select the billing account.
78
+
2. Select **Usage + charges**.
79
+
3. Select **Download**.
80
+
4. In **Download Usage + Charges**, under **Usage Details Version 2**, select **All Charges (usage and purchases)** and then select download.
81
+
- Repeat for **Amortized charges (usage and purchases)**.
80
82
81
-
### Download for MCA customers
83
+
### MCA customers
82
84
83
-
If you're an Owner, Contributor, or Reader on your Billing Account, you can download the CSV file that contains new usage data from the Azure portal. In the Azure portal, navigate to Cost Management + Billing.
85
+
If you're an Owner, Contributor or Reader on your Billing Account, you can download the CSV file that contains new usage data from the [Azure portal](https://ms.portal.azure.com/#home). In the portal, navigate to **Cost management + Billing**.
84
86
85
87
1. Select the billing account.
86
88
2. Select **Invoices.**
87
89
3. Download the Actual Cost CSV file based on your scenario.
88
-
1. To download the usage for the current month, select **Download pending usage**.
89
-
2. To download the usage for a previous invoice, select the ellipsis symbol (**...**) and select **Prepare Azure usage file**.
90
-
4. If you want to download the Amortized Cost CSV file, you'll need to use Exports or our Cost Details API.
91
-
1. To use Exports, see [Export data](../costs/tutorial-export-acm-data.md).
92
-
2. To use the Cost Details API, see [Get small cost datasets on demand](../automate/get-small-usage-datasets-on-demand.md).
90
+
1. To download the usage for the current month, select **Download pending usage.**
91
+
2. To download the usage for a prior invoice, select the ellipsis symbol ( **...** ) and select **Prepare Azure usage file.**
92
+
1. If you want to download the Amortized Cost CSV file, you'll need to use [Exports](../costs/tutorial-export-acm-data.md) or the [Cost Details API](../automate/get-small-usage-datasets-on-demand.md).
93
93
94
94
## Common cost and usage tasks
95
95
96
-
The following sections are common tasks that most people use to view their savings plan cost and usage data.
96
+
The following sections are common tasks that are used to view savings plan cost and usage data.
97
97
98
98
### Get savings plan purchase costs
99
99
100
-
Savings plan purchase costs are available in Actual Cost data. Filter for ChargeType = `Purchase`. Refer to `ProductOrderID` to determine which savings plan order the purchase is for.
100
+
Savings plan purchase costs are available in Actual Cost data. Filter for `ChargeType` = `Purchase`. Refer to `ProductOrderID` to determine which savings plan order the purchase is for.
101
101
102
102
### Get underutilized savings plan quantity and costs
103
103
104
-
Get amortized cost data and filter for `ChargeType` = `UnusedSavingsPlan` and `PricingModel` = `SavingsPlan`. You get the daily unused savings plan quantity and the cost. You can filter the data for a savings plan or savings plan order using `BenefitId` and `ProductOrderId` fields, respectively. If a savings plan was 100% utilized, the record has a quantity of 0.
104
+
Get Amortized Cost data and filter for `ChargeType` = `UnusedBenefit` and `PricingModel` = `SavingsPlan`. You get the daily unused savings plan quantity and the cost. You can filter the data for a Savings Plan or Savings Plan order using `BenefitId` and `ProductOrderId` fields, respectively. If a Savings Plan was 100% utilized, the record has a quantity of 0.
105
105
106
-
### Amortized savings plan costs
106
+
### Amortize savings plan costs
107
107
108
-
Get amortized cost data and filter for a savings plan order using `ProductOrderID` to get daily amortized costs for a savings plan.
108
+
Get Amortized Cost data and filter for a savings plan order using `ProductOrderID` to get daily amortized costs for a savings plan.
109
109
110
110
### Chargeback for a savings plan
111
111
112
-
You can charge-back savings plan use to other organizations by subscription, resource groups, or tags. Amortized cost data provides the monetary value of a savings plan's utilization at the following data types:
112
+
You can chargeback savings plan use to other organizations by subscription, resource groups, or tags. Amortized cost data provides monetary value of a savings plan's utilization at the following data types:
113
113
114
114
- Resources (such as a VM)
115
115
- Resource group
116
116
- Tags
117
117
- Subscription
118
118
119
-
### Determine savings plan savings
119
+
### Determine savings resulting from savings plan
120
120
121
121
Get the Amortized costs data and filter the data for a savings plan instance. Then:
122
122
123
-
1. Get estimated pay-as-you-go costs. Multiply the _UnitPrice_ value with _Quantity_ values to get estimated pay-as-you-go costs, if the savings plan discount didn't apply to the usage.
124
-
2. Get the savings plan costs. Sum the _Cost_ values to get the monetary value of what you paid for the savings plan. It includes the used and unused costs of the savings plan.
123
+
1. Get estimated pay-as-you-go costs. Multiply the `UnitPrice` value with `Quantity` values to get estimated pay-as-you-go costs if the savings plan discount didn't apply to the usage.
124
+
2. Get the savings plan costs. Sum the `Cost` values to get the monetary value of what you paid for the savings plan. It includes the used and unused costs of the savings plan.
125
125
3. Subtract savings plan costs from estimated pay-as-you-go costs to get the estimated savings.
126
126
127
-
Keep in mind that if you have an underutilized savings plan, the _UnusedSavingsPlan_ entry for _ChargeType_ becomes a factor to consider. When you have a fully utilized savings plan, you receive the maximum savings possible. Any _UnusedSavingsPlan_ quantity reduces savings.
127
+
Keep in mind that if you have an underutilized savings plan, the `UnusedBenefit` entry for `ChargeType` becomes a factor to consider. When you have a fully utilized savings plan, you receive the maximum savings possible. Any `UnusedBenefit` quantity reduces savings.
128
128
129
-
##Purchase and amortization costs in cost analysis
129
+
### Savings plan purchases and amortization in cost analysis
130
130
131
-
Savings plan costs are available in [cost analysis](https://aka.ms/costanalysis). By default, cost analysis shows **Actual cost**, which is how costs are shown on your bill. To view savings plan purchases broken down and associated with the resources that used the benefit, switch to**Amortized cost**. Here's an example.
131
+
Savings plan costs are available in [cost analysis](https://aka.ms/costanalysis). By default, cost analysis shows **Actual cost**, which is how costs will be shown on your bill. To view savings plan purchases broken down and associated with the resources that used the benefit, switch to**Amortized cost**. Here's an example.
132
132
133
133
:::image type="content" source="./media/utilization-cost-reports/portal-cost-analysis-amortized-view.png" alt-text="Example showing where to select amortized cost in cost analysis." lightbox="./media/utilization-cost-reports/portal-cost-analysis-amortized-view.png" :::
134
134
135
-
Group by _Charge Type_ to see a breakdown of usage, purchases, and refunds; or by _Pricing Model_ for a breakdown of savings plan and on-demand costs. You can also group by _Benefit_ and use the _BenefitId_ and _BenefitName_ associated with your Savings Plan to identify the costs related to specific savings plan purchases. The only savings plan costs that you see when looking at actual cost are purchases. Costs aren't allocated to the individual resources that used the benefit when looking at amortized cost. You'll also see a new _**UnusedSavingsPlan**_ plan charge type when looking at amortized cost.
135
+
Group by **Charge Type** to see a breakdown of usage, purchases, and refunds; or by **Pricing Model** for a breakdown of savings plan and on-demand costs. You can also group by **Benefit** and use the **BenefitId** and **BenefitName** associated with your savings plan to identify the costs related to specific savings plan purchases. The only savings plan costs you'll see when looking at actual cost are purchases. Costs will be allocated to the individual resources that used the benefit when looking at amortized cost. You'll also see a new **UnusedBenefit** plan charge type when looking at amortized cost.
136
136
137
137
## Next steps
138
138
139
-
- Learn more about how to [Charge back Azure saving plan costs](charge-back-costs.md).
139
+
- Learn more about how to [Charge back Azure saving plan costs](charge-back-costs.md).
0 commit comments