MockableSecurityInsightsArmClient.GetSecurityInsightsEntityQuery Method

Definition

Gets an entity query.

public virtual Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsEntityQueryResource> GetSecurityInsightsEntityQuery(Azure.Core.ResourceIdentifier scope, string entityQueryId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityInsightsEntityQuery : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsEntityQueryResource>
override this.GetSecurityInsightsEntityQuery : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsEntityQueryResource>
Public Overridable Function GetSecurityInsightsEntityQuery (scope As ResourceIdentifier, entityQueryId As String, Optional cancellationToken As CancellationToken = Nothing) As 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