Share via


SecurityInsightsIncidentCommentCollection.GetAll 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.Pageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentCommentResource> GetAll (string filter = default, string orderBy = default, int? top = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentCommentResource>
override this.GetAll : string * string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentCommentResource>
Public Overridable Function GetAll (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 Pageable(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

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

Applies to