SecurityInsightsEntityQueryTemplateCollection.GetAllAsync Method

Definition

Gets all entity query templates.

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

Parameters

kind
Nullable<EntityTemplateQueryKind>

The entity template query kind we want to fetch.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to