MockableSecurityInsightsArmClient.GetSecurityInsightsEntityQueryAsync Method

Definition

Gets an entity query.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsEntityQueryResource>> GetSecurityInsightsEntityQueryAsync(Azure.Core.ResourceIdentifier scope, string entityQueryId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityInsightsEntityQueryAsync : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsEntityQueryResource>>
override this.GetSecurityInsightsEntityQueryAsync : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsEntityQueryResource>>
Public Overridable Function GetSecurityInsightsEntityQueryAsync (scope As ResourceIdentifier, entityQueryId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityInsightsEntityQueryResource))

Parameters

scope
ResourceIdentifier

The scope of the resource collection to get.

entityQueryId
String

entity query ID.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

entityQueryId is null.

entityQueryId is an empty string, and was expected to be non-empty.

Applies to