Share via


SecurityInsightsEntityResource.GetInsights 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.Pageable<Azure.ResourceManager.SecurityInsights.Models.EntityInsightItem> GetInsights (Azure.ResourceManager.SecurityInsights.Models.EntityGetInsightsContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetInsights : Azure.ResourceManager.SecurityInsights.Models.EntityGetInsightsContent * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityInsights.Models.EntityInsightItem>
override this.GetInsights : Azure.ResourceManager.SecurityInsights.Models.EntityGetInsightsContent * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityInsights.Models.EntityInsightItem>
Public Overridable Function GetInsights (content As EntityGetInsightsContent, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EntityInsightItem)

Parameters

content
EntityGetInsightsContent

The parameters required to execute insights on the given entity.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

content is null.

Applies to