Skip to content

Commit 4e54fb9

Browse files
authored
Merge pull request #92700 from RickyKeane/patch-1
Update alerts-log-api-switch.md
2 parents 0dcb3eb + fc160e7 commit 4e54fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-monitor/alerts/alerts-log-api-switch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ armclient PUT /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>
6060
You can also use [Azure CLI](/cli/azure/reference-index#az-rest) tool:
6161

6262
```bash
63-
az rest --method post --url /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.OperationalInsights/workspaces/<workspaceName>/alertsversion?api-version=2017-04-26-preview --body '{"scheduledQueryRulesEnabled": true}'
63+
az rest --method put --url /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.OperationalInsights/workspaces/<workspaceName>/alertsversion?api-version=2017-04-26-preview --body '{"scheduledQueryRulesEnabled": true}'
6464
```
6565

6666
If the switch is successful, the response is:

0 commit comments

Comments
 (0)