Partager via


SecurityInsightsEntityResource.GetInsightsAsync Method

Definition

Execute Insights for an entity.

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

Parameters

content
EntityGetInsightsContent

The parameters required to execute insights on the given entity.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

content is null.

Applies to