SecurityInsightsEntityResource.QueriesAsync 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.
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.