Share via


OperationalInsightsWorkspaceSecurityInsightsResource.GetSecurityInsightsEntityQueryTemplateAsync Method

Definition

Gets an entity query.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueryTemplates/{entityQueryTemplateId}
  • Operation Id: EntityQueryTemplates_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsEntityQueryTemplateResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsEntityQueryTemplateResource>> GetSecurityInsightsEntityQueryTemplateAsync (string entityQueryTemplateId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityInsightsEntityQueryTemplateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsEntityQueryTemplateResource>>
override this.GetSecurityInsightsEntityQueryTemplateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsEntityQueryTemplateResource>>
Public Overridable Function GetSecurityInsightsEntityQueryTemplateAsync (entityQueryTemplateId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityInsightsEntityQueryTemplateResource))

Parameters

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