Share via


SecurityInsightsIncidentCollection.GetAllAsync Method

Definition

Gets all incidents.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents
  • Operation Id: Incidents_List
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsIncidentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentResource> GetAllAsync (string filter = default, string orderBy = default, int? top = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentResource>
override this.GetAllAsync : string * string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional orderBy As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecurityInsightsIncidentResource)

Parameters

filter
String

Filters the results, based on a Boolean condition. Optional.

orderBy
String

Sorts the results. Optional.

top
Nullable<Int32>

Returns only the first n results. Optional.

skipToken
String

Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SecurityInsightsIncidentResource that may take multiple service requests to iterate over.

Applies to