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
+26-16Lines changed: 26 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -156,15 +156,6 @@ 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
-
To upgrade your SQL Server VM registration from lightweight mode to full mode, 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
-
```
168
159
169
160
To register your SQL Server VM directly in full mode (and possibly restart your SQL Server service), use the following PowerShell command:
170
161
@@ -178,7 +169,7 @@ To register your SQL Server VM directly in full mode (and possibly restart your
178
169
179
170
### NoAgent management mode
180
171
181
-
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.
182
173
183
174
Specify either `AHUB` or `PAYG` as the **sqlLicenseType**, and either `SQL2008-WS2008` or `SQL2008R2-WS2008` as the **sqlImageOffer**.
184
175
@@ -187,17 +178,37 @@ To register your SQL Server 2008 or 2008 R2 instance on Windows Server 2008 inst
187
178
188
179
# [AZ CLI](#tab/bash)
189
180
190
-
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:
191
182
192
183
```azurecli-interactive
193
184
az sql vm create -n sqlvm -g myresourcegroup -l eastus |
0 commit comments