MockableSecurityInsightsArmClient.GetSecurityInsightsEntityQueryTemplate Method

Definition

Gets an entity query.

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

Parameters

scope
ResourceIdentifier

The scope of the resource collection to get.

entityQueryTemplateId
String

entity query template ID.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

entityQueryTemplateId is null.

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

Applies to