File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -642,6 +642,25 @@ You can now run and test the project locally before deploying to Azure. For conv
642
642
643
643
1 . Press <kbd >Ctrl</kbd >+<kbd >C</kbd > to stop. Select ` Y ` if you're aksed to terminate batch job.
644
644
645
+ When you're finished, delete the firewall rule that allows your local IP address to access the Azure SQL Database by using the following command:
646
+
647
+ ### [ Bash] ( #tab/in-bash )
648
+
649
+ ``` azurecli
650
+ az sql server firewall-rule delete \
651
+ --resource-group $RESOURCE_GROUP_NAME \
652
+ --server $SQL_SERVER_NAME \
653
+ --name AllowLocalIP
654
+ ```
655
+
656
+ ### [ PowerShell] ( #tab/in-powershell )
657
+
658
+ ``` azurepowershell
659
+ az sql server firewall-rule delete --resource-group $Env:RESOURCE_GROUP_NAME --server $Env:SQL_SERVER_NAME --name AllowLocalIP
660
+ ```
661
+
662
+ ---
663
+
645
664
### Build the image for AKS deployment
646
665
647
666
You can now run the [ az acr build] ( /cli/azure/acr#az-acr-build ) command to build the image, as shown in the following example:
You can’t perform that action at this time.
0 commit comments