SecurityInsightsEntityResource.GetInsightsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET