Skip to content

Commit 3a422a4

Browse files
authored
Update sql-database-connectivity-architecture.md
1 parent 0442c74 commit 3a422a4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

articles/sql-database/sql-database-connectivity-architecture.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ Set-AzResource -ResourceId $id -Properties @{"connectionType" = "Proxy"} -f
133133
134134
### Azure CLI in a bash shell
135135

136+
> [!IMPORTANT]
137+
> This script requires the [Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli).
138+
136139
The following CLI script shows how to change the connection policy in a bash shell.
137140

138141
```azurecli-interactive
@@ -161,10 +164,10 @@ The following CLI script shows how to change the connection policy from a Window
161164
FOR /F "tokens=*" %g IN ('az sql server show --resource-group myResourceGroup-571418053 --name server-538465606 --query "id" -o tsv') do (SET sqlserverid=%g/connectionPolicies/Default)
162165
163166
# Get current connection policy
164-
az resource show --ids %ids%
167+
az resource show --ids %sqlserverid%
165168
166169
# Update connection policy
167-
az resource update --ids %ids% --set properties.connectionType=Proxy
170+
az resource update --ids %sqlserverid% --set properties.connectionType=Proxy
168171
```
169172

170173
## Next steps

0 commit comments

Comments
 (0)