你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.