Microsoft.OperationalInsights (stable:2024-09-01)

2026/01/04 • 3 updated methods

Actions_ListByAlertRule (updated)
Description Gets all actions of alert rule.
Reference Link ¶

⚶ Changes

{
  "#id": "Actions_ListByAlertRule",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": [
            {
              "#name": "etag",
              "Description": {
                "new": "ETag of the action.",
                "old": "Etag of the action."
              }
            }
          ]
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
ruleId: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
etag: string ,
properties:
{
workflowId: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Actions_Get (updated)
Description Gets the action of alert rule.
Reference Link ¶

⚶ Changes

{
  "#id": "Actions_Get",
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "etag",
          "Description": {
            "new": "ETag of the action.",
            "old": "Etag of the action."
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
ruleId: string ,
actionId: string ,
}

⚐ Response (200)

{
etag: string ,
properties:
{
workflowId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Actions_CreateOrUpdate (updated)
Description Creates or updates the action of alert rule.
Reference Link ¶

⚶ Changes

{
  "#id": "Actions_CreateOrUpdate",
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "etag",
          "Description": {
            "new": "ETag of the action.",
            "old": "Etag of the action."
          }
        }
      ]
    },
    "201": {
      "$properties": [
        {
          "#name": "etag",
          "Description": {
            "new": "ETag of the action.",
            "old": "Etag of the action."
          }
        }
      ]
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
ruleId: string ,
actionId: string ,
action:
{
properties:
{
triggerUri: string ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
properties:
{
workflowId: string ,
}
,
}

⚐ Response (201)

{
etag: string ,
properties:
{
workflowId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}