Skip to content

Commit 318b3be

Browse files
committed
Minor tweaks
1 parent cddfe5f commit 318b3be

1 file changed

Lines changed: 10 additions & 11 deletions

File tree

samples/manage/azure-hybrid-benefit/README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,19 @@ The following resources are in scope for the license utilization analysis:
3434
- SQL Servers in Azure virtual machines
3535
- SQL Servers in Azure virtual machines hosted in Azure dedicated host
3636

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
3844
3945
# Launching the script
4046

4147
The script accepts the following command line parameters:
4248

43-
| **Parameter** | **Value** | **Description** |
49+
| **Parameter** &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | **Value** | **Description** |
4450
|:--|:--|:--|
4551
|-SubId|subscription_id *or* a file_name|Accepts a .csv file with the list of subscriptions<sup>2</sup>|
4652
|-UseInRunbook||Must be specified when executed as a Runbook|
@@ -54,14 +60,7 @@ The script accepts the following command line parameters:
5460
```PowerShell
5561
Get-AzSubscription | Export-Csv .\mysubscriptions.csv -NoTypeInformation
5662
```
57-
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.
6564

6665
## Example 1
6766

@@ -84,7 +83,7 @@ The following command will scan the subscription `<sub_id>` and save the results
8483
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`.
8584

8685
```PowerShell
87-
.\sql-license-usage.ps1 -ServerInstance <server_name>.database.windows.net -Database <db_name> -Username <user_name> -Password $pwd
86+
.\sql-license-usage.ps1 -Server <server_name>.database.windows.net -Database <db_name> -Username <user_name> -Password $pwd
8887
```
8988

9089
# Running the script using Cloud Shell

0 commit comments

Comments
 (0)