Skip to content

Commit d84a68b

Browse files
authored
Merge pull request #79501 from MashaMSFT/patch-29
added license type
2 parents cb47e05 + e8007b6 commit d84a68b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/virtual-machines/windows/sql/virtual-machines-windows-sql-ahb.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,14 @@ Register-AzResourceProvider -ProviderNamespace Microsoft.SqlVirtualMachine
158158
Once the SQL VM resource provider has been registered to your subscription, you can then register your SQL Server VM with the resource provider using Azure CLI.
159159

160160
#### With Azure CLI
161-
Register SQL Server VM using Azure CLI with the following code snippet:
161+
162+
Register SQL Server VM using Azure CLI with the below code snippet:
162163

163164
```azurecli
164165
# Register your existing SQL Server VM with the new resource provider
165-
az sql vm create -n <VMName> -g <ResourceGroupName> -l <VMLocation>
166+
az sql vm create -n <VMName> -g <ResourceGroupName> -l <VMLocation> --license-type <AHUB or PAYG>
166167
```
168+
167169
#### With PowerShell
168170
Register SQL Server VM using PowerShell with the following code snippet:
169171

0 commit comments

Comments
 (0)