Share via


SecurityInsightsIncidentCommentCollection.GetAllAsync Method

Definition

Gets all incident comments.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments
  • Operation Id: IncidentComments_List
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsIncidentCommentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentCommentResource> 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.SecurityInsightsIncidentCommentResource>
override this.GetAllAsync : string * string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentCommentResource>
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 SecurityInsightsIncidentCommentResource)

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 SecurityInsightsIncidentCommentResource that may take multiple service requests to iterate over.

Applies to