Share via


SecurityInsightsEntityQueryCollection.GetAllAsync Method

Definition

Gets all entity queries.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries
  • Operation Id: EntityQueries_List
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsEntityQueryResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsEntityQueryResource> GetAllAsync (Azure.ResourceManager.SecurityInsights.Models.EntityQueryKind? kind = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<Azure.ResourceManager.SecurityInsights.Models.EntityQueryKind> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsEntityQueryResource>
override this.GetAllAsync : Nullable<Azure.ResourceManager.SecurityInsights.Models.EntityQueryKind> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsEntityQueryResource>
Public Overridable Function GetAllAsync (Optional kind As Nullable(Of EntityQueryKind) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecurityInsightsEntityQueryResource)

Parameters

kind
Nullable<EntityQueryKind>

The entity query kind we want to fetch.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to