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/virtual-machines/windows/sql/virtual-machines-windows-sql-register-with-resource-provider.md
+29-10Lines changed: 29 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -156,20 +156,20 @@ Register SQL Server VM in lightweight mode with PowerShell:
156
156
157
157
If the SQL IaaS Extension has already been installed to the VM manually, then you can register the SQL Server VM in full mode without restarting the SQL Server service. **However, if the SQL IaaS extension has not been installed, registering in full mode will install the SQL IaaS extension in full mode and restart the SQL Server service. Please proceed with caution.**
158
158
159
-
Below is the code snippet to register with SQL VM resource provider in full mode. To register in full management mode, use the following PowerShell command:
159
+
160
+
To register your SQL Server VM directly in full mode (and possibly restart your SQL Server service), use the following PowerShell command:
# Register with SQL VM resource provider in full mode
166
-
Update-AzSqlVM -Name $vm.Name -ResourceGroupName $vm.ResourceGroupName -SqlManagementType Full
167
+
New-AzSqlVM -Name $vm.Name -ResourceGroupName $vm.ResourceGroupName -SqlManagementType Full
167
168
```
168
169
169
-
170
170
### NoAgent management mode
171
171
172
-
SQL Server 2008 and 2008 R2 installed on Windows Server 2008 can be registered with the SQL VM resource provider in the [NoAgent mode](#management-modes). This option assures compliance and allows the SQL Server VM to be monitored in the Azure portal with limited functionality.
172
+
SQL Server 2008 and 2008 R2 installed on Windows Server 2008 (_not R2_) can be registered with the SQL VM resource provider in the [NoAgent mode](#management-modes). This option assures compliance and allows the SQL Server VM to be monitored in the Azure portal with limited functionality.
173
173
174
174
Specify either `AHUB` or `PAYG` as the **sqlLicenseType**, and either `SQL2008-WS2008` or `SQL2008R2-WS2008` as the **sqlImageOffer**.
175
175
@@ -178,17 +178,37 @@ To register your SQL Server 2008 or 2008 R2 instance on Windows Server 2008 inst
178
178
179
179
# [AZ CLI](#tab/bash)
180
180
181
-
Register SQL Server VM in NoAgent mode with the Az CLI:
181
+
Register your SQL Server 2008 VM in NoAgent mode with the Az CLI:
182
182
183
183
```azurecli-interactive
184
184
az sql vm create -n sqlvm -g myresourcegroup -l eastus |
0 commit comments