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
You can also set values manually by doing one of the following options:
@@ -305,7 +330,7 @@ You can change *Unmatched rule action* for *Main site* programmatically by doing
305
330
306
331
### [Azure CLI](#tab/azurecli)
307
332
308
-
Run the following command in the [Cloud Shell](https://shell.azure.com). Use [the Azure CLI](/cli/azure/resource?view=azure-cli-latest#az-resource-update). Accepted values for `ipSecurityRestrictionsDefaultAction` are `Allow` or `Deny`.
333
+
Run the following command in the [Cloud Shell](https://shell.azure.com). Use [the Azure CLI](/cli/azure/resource?view=azure-cli-latest#az-resource-update&preserve-view=true). Accepted values for `ipSecurityRestrictionsDefaultAction` are `Allow` or `Deny`.
309
334
310
335
```azurecli-interactive
311
336
az resource update --resource-group ResourceGroup --name AppName --resource-type "Microsoft.Web/sites" \
@@ -397,7 +422,7 @@ You can change *Unmatched rule action* for *Advanced tool site* programmatically
397
422
398
423
### [Azure CLI](#tab/azurecli)
399
424
400
-
Run the following command in the [Cloud Shell](https://shell.azure.com). Use [the Azure CLI](/cli/azure/resource?view=azure-cli-latest#az-resource-update). Accepted values for `scmIpSecurityRestrictionsDefaultAction` are `Allow` or `Deny`.
425
+
Run the following command in the [Cloud Shell](https://shell.azure.com). Use [the Azure CLI](/cli/azure/resource?view=azure-cli-latest#az-resource-update&preserve-view=true). Accepted values for `scmIpSecurityRestrictionsDefaultAction` are `Allow` or `Deny`.
401
426
402
427
```azurecli-interactive
403
428
az resource update --resource-group ResourceGroup --name AppName --resource-type "Microsoft.Web/sites" \
0 commit comments