共用方式為


OperationalInsightsWorkspaceSecurityInsightsResource.GetSecurityInsightsEntityQuery Method

Definition

Gets an entity query.

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

Parameters

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