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: samples/manage/azure-hybrid-benefit/README.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.author: sashan
6
6
ms.date: 1/11/2021
7
7
---
8
8
9
-
# Overview
9
+
# Overview
10
10
11
11
This script provides a simple solution to analyze and track the consolidated utilization of SQL Server licenses by all of the SQL resources in a specific subscription or the entire the account. By default, the script scans all subscriptions the user account has access. Alternatively, you can specify a single subscription or a .CSV file with a list of subscription. The usage report includes the following information for each scanned subscription.
12
12
@@ -26,20 +26,19 @@ This script provides a simple solution to analyze and track the consolidated uti
26
26
|Express vCores|Total vCores used by SQL Server Express edition|
27
27
28
28
The following resources are in scope for the license utilization analysis:
29
-
- Azure SQL databases (vCore-based purchasing model only<sup>1</sup>)
30
-
- Azure SQL elastic pools (vCore-based purchasing model only<sup>1</sup>)
29
+
- Azure SQL databases (vCore-based purchasing model only)
30
+
- Azure SQL elastic pools (vCore-based purchasing model only)
31
31
- Azure SQL managed instances
32
32
- Azure SQL instance pools
33
33
- Azure Data Factory SSIS integration runtimes
34
34
- SQL Servers in Azure virtual machines
35
35
- SQL Servers in Azure virtual machines hosted in Azure dedicated host
36
36
37
-
<sup>1</sup>The DTU-based resources are not eligible for Azure Hybrid Benefit or HADR benefit.
38
-
39
37
>[!NOTE]
40
38
> - The usage data is a snapshot at the time of the script execution based on the size of the deployed SQL resources in vCores.
41
39
> - For IaaS workloads, such as SQL Server in Virtual Machines or SSIS integration runtimes, each vCPU is counted as one vCore.
42
40
> - For PaaS workloads, each vCore of Business Critical service tier is counted as one Enterprise vCore and each vCore of General Purpose service tier is counted as one Standard vCore.
41
+
> - In the DTU-based purchasing model, the SQL license cost is built into the individual SKU prices. These resources are not eligible for Azure Hybrid Benefit or HADR benefit, and therefore are not in scope of the tool.
43
42
> - The values AHB ECs and PAYG ECs are reserved for the future use and should be ignored
44
43
45
44
# Launching the script
@@ -48,15 +47,15 @@ The script accepts the following command line parameters:
@@ -110,8 +109,8 @@ Use the following steps to calculate the SQL Server license usage:
110
109
111
110
# Tracking SQL license usage over time
112
111
113
-
You can track your license utilization over time by periodically running this script. To schedule automatic execution of the script, create a PowerShell runbook using an Azure Automation account. See the [Runbook tutorial](https://docs.microsoft.com/en-us/azure/automation/learn/automation-tutorial-runbook-textual-powershell) for the details of how to create a PowerShell runbook. Because the script accesses the resources across multiple subscriptions, the runbook must be able to authenticate using the Run As account that was automatically created when you created your Automation account. The logic required for the Runbooks is part of the script.
112
+
You can track your license utilization over time by periodically running this script. To schedule automatic execution of the script, create a PowerShell runbook using an Azure Automation account. See the [Runbook tutorial](https://docs.microsoft.com/en-us/azure/automation/learn/automation-tutorial-runbook-textual-powershell) for the details of how to create a PowerShell runbook. Because the script accesses the resources across multiple subscriptions, the runbook must be able to authenticate using the Run As account that was automatically created when you created your Automation account. The logic required for the Runbooks is part of the script.
114
113
115
114
>[!IMPORTANT]
116
115
> - When running the script as a runbook, use a database to ensure that the results can be analyzed outside of the runbook.
117
-
> - You must specify a *-UseInRunbook* switch to ensure that the runbook is authenticated using the Run As account.
116
+
> - You must specify a *-UseInRunbook* switch to ensure that the runbook is authenticated using the Run As account.
0 commit comments