Azure Monitor Alertrules Api
Connector for the azure-monitor-alertrules-api API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
https://management.azure.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
alertrules_listbysubscription— GET /subscriptions/{subscriptionId}/providers/microsoft.insights/alertrules — List the alert rules within a subscription.alertrules_listbyresourcegroup— GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules — List the alert rules within a resource group.alertrules_get— GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules/{ruleName} — Gets an alert rulealertrules_createorupdate— PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules/{ruleName} — Creates or updates an alert rule.alertrules_delete— DELETE /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules/{ruleName} — Deletes an alert rulealertrules_update— PATCH /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules/{ruleName} — Updates an existing AlertRuleResource. To update other fields use the CreateOrUp
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: alertrules_listbysubscription
# (attach an 'oauth' credential to the task — no inline secrets)