Partilhar via


SecurityInsightsEntityResource.QueriesAsync Method

Definition

Get Insights and Activities for an entity.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/queries
  • Operation Id: Entities_Queries
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsEntityResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.Models.EntityQueryItem> QueriesAsync (Azure.ResourceManager.SecurityInsights.Models.EntityItemQueryKind kind, System.Threading.CancellationToken cancellationToken = default);
abstract member QueriesAsync : Azure.ResourceManager.SecurityInsights.Models.EntityItemQueryKind * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.Models.EntityQueryItem>
override this.QueriesAsync : Azure.ResourceManager.SecurityInsights.Models.EntityItemQueryKind * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.Models.EntityQueryItem>
Public Overridable Function QueriesAsync (kind As EntityItemQueryKind, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EntityQueryItem)

Parameters

kind
EntityItemQueryKind

The Kind parameter for queries.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to