SecurityInsightsIncidentResource.GetAlerts(CancellationToken) Method

Definition

Gets all incident alerts.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/alerts
  • Operation Id: Incidents_ListAlerts
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsIncidentResource
public virtual Azure.Pageable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAlert> GetAlerts (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAlerts : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAlert>
override this.GetAlerts : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAlert>
Public Overridable Function GetAlerts (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SecurityInsightsAlert)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SecurityInsightsAlert that may take multiple service requests to iterate over.

Applies to