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
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,13 +34,19 @@ The following resources are in scope for the license utilization analysis:
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.
37
+
<sup>1</sup>The DTU-based resources are not eligible for Azure Hybrid Benefit or HADR benefit.
38
+
39
+
>[!NOTE]
40
+
> - 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
+
> - For IaaS workloads, such as SQL Server in Virtual Machines or SSIS integration runtimes, each vCPU is counted as one vCore.
42
+
> - 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.
43
+
> - The values AHB ECs and PAYG ECs are reserved for the future use and should be ignored
38
44
39
45
# Launching the script
40
46
41
47
The script accepts the following command line parameters:
If both database parameters and *FilePath* are omitted, the script will write the results to a `.\sql-license-usage.csv` file. The file is created automatically. If the file already exists, the consecutive scans will append the results results to it. If the database parameters are specified, the data will be saved
58
-
59
-
60
-
>[!NOTE]
61
-
> - The usage data is a snapshot at the time of the script execution based on the size of the deployed SQL resources in vCores.
62
-
> - For IaaS workloads, such as SQL Server in Virtual Machines or SSIS integration runtimes, each vCPU is counted as one vCore.
63
-
> - 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.
64
-
> - The values AHB ECs and PAYG ECs are reserved for the future use and should be ignored
63
+
If both database parameters and *FilePath* are omitted, the script will write the results to a `.\sql-license-usage.csv` file. The file is created automatically. If the file already exists, the consecutive scans will append the results to it. If the database parameters are specified, the data will be saved in a *Usage-per-subscription* table. If the table doesn't exist, it will be created automatically.
65
64
66
65
## Example 1
67
66
@@ -84,7 +83,7 @@ The following command will scan the subscription `<sub_id>` and save the results
84
83
The following command will scan all the subscriptions in the account and save the results in a SQL database `<db_name>` on a SQL Server instance `<sql_server_name>.database.windows.net`.
0 commit comments