Skip to content

Commit 98d3a2a

Browse files
committed
Correct typo in az connectedmachine
Fixes #7625
1 parent c623c17 commit 98d3a2a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/sql-server/azure-arc/connect.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ az role assignment create --assignee $spID --role 'Azure Connected SQL Server On
102102
To install the SQL Server extension, run:
103103

104104
```azurecli
105-
az connectedmachine extension create --machine-name "{your machine name}" --location {"azure region"} --name "WindowsAgent.SqlServer" --resource-group "{your resource group name}" --type "WindowsAgent.SqlServer" --publisher "Microsoft.AzureData" --settings '{\"SqlManagement\":{\"IsEnabled\":true}, \"excludedSqlInstances\":[]}'
105+
az connectedmachine extension create --machine-name "{your machine name}" --location "{azure region}" --name "WindowsAgent.SqlServer" --resource-group "{your resource group name}" --type "WindowsAgent.SqlServer" --publisher "Microsoft.AzureData" --settings '{\"SqlManagement\":{\"IsEnabled\":true}, \"excludedSqlInstances\":[]}'
106106
```
107107

108108
---
@@ -189,7 +189,7 @@ If you disconnected your SQL Server instance by mistake, you can restore its __S
189189
1. If you also uninstalled the SQL Server extension by mistake, reinstall it.
190190

191191
```azurecli
192-
az connectedmachine extension create --machine-name "{your machine name}" --location {"azure region"} --name "WindowsAgent.SqlServer" --resource-group "{your resource group name}" --type "WindowsAgent.SqlServer" --publisher "Microsoft.AzureData" --settings '{\"SqlManagement\":{\"IsEnabled\":true}, \"excludedSqlInstances\":[]}'
192+
az connectedmachine extension create --machine-name "{your machine name}" --location "{azure region}" --name "WindowsAgent.SqlServer" --resource-group "{your resource group name}" --type "WindowsAgent.SqlServer" --publisher "Microsoft.AzureData" --settings '{\"SqlManagement\":{\"IsEnabled\":true}, \"excludedSqlInstances\":[]}'
193193
```
194194
> [!NOTE]
195195
> The location property must match the location of the **Server - Azure Arc** resource for the server specified by the *--machine-name* parameter.
@@ -203,7 +203,7 @@ If you disconnected your SQL Server instance by mistake, you can restore its __S
203203
3. Make sure to remove your instance from the exclusion list and update the extension settings.
204204

205205
```azurecli
206-
az connectedmachine extension create --machine-name "{your machine name}" --location {"azure region"} --name "WindowsAgent.SqlServer" --resource-group "{your resource group name}" --type "WindowsAgent.SqlServer" --publisher "Microsoft.AzureData" --settings '{\"SqlManagement\":{\"IsEnabled\":true}, \"excludedSqlInstances\":[\"{named instance 1}\",\"{named instance 3}}\"]}'
206+
az connectedmachine extension create --machine-name "{your machine name}" --location "{azure region}" --name "WindowsAgent.SqlServer" --resource-group "{your resource group name}" --type "WindowsAgent.SqlServer" --publisher "Microsoft.AzureData" --settings '{\"SqlManagement\":{\"IsEnabled\":true}, \"excludedSqlInstances\":[\"{named instance 1}\",\"{named instance 3}}\"]}'
207207
```
208208
The instance will be restored after the next sync with the agent. For information on how to manage vm extensions using Portal or PowerShell, see [virtual machine extension management](/azure/azure-arc/servers/manage-vm-extensions).
209209

0 commit comments

Comments
 (0)