Share via


SecurityInsightsEntityQueryTemplateCollection Class

Definition

A class representing a collection of SecurityInsightsEntityQueryTemplateResource and their operations. Each SecurityInsightsEntityQueryTemplateResource in the collection will belong to the same instance of OperationalInsightsWorkspaceSecurityInsightsResource. To get a SecurityInsightsEntityQueryTemplateCollection instance call the GetSecurityInsightsEntityQueryTemplates method from an instance of OperationalInsightsWorkspaceSecurityInsightsResource.

public class SecurityInsightsEntityQueryTemplateCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.SecurityInsights.SecurityInsightsEntityQueryTemplateResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityInsights.SecurityInsightsEntityQueryTemplateResource>
type SecurityInsightsEntityQueryTemplateCollection = class
    inherit ArmCollection
    interface seq<SecurityInsightsEntityQueryTemplateResource>
    interface IEnumerable
    interface IAsyncEnumerable<SecurityInsightsEntityQueryTemplateResource>
Public Class SecurityInsightsEntityQueryTemplateCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SecurityInsightsEntityQueryTemplateResource), IEnumerable(Of SecurityInsightsEntityQueryTemplateResource)
Inheritance
SecurityInsightsEntityQueryTemplateCollection
Implements

Constructors

SecurityInsightsEntityQueryTemplateCollection()

Initializes a new instance of the SecurityInsightsEntityQueryTemplateCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • 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
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • 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
Get(String, CancellationToken)

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
GetAll(Nullable<EntityTemplateQueryKind>, CancellationToken)

Gets all entity query templates.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueryTemplates
  • Operation Id: EntityQueryTemplates_List
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsEntityQueryTemplateResource
GetAllAsync(Nullable<EntityTemplateQueryKind>, CancellationToken)

Gets all entity query templates.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueryTemplates
  • Operation Id: EntityQueryTemplates_List
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsEntityQueryTemplateResource
GetAsync(String, CancellationToken)

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
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • 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
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • 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
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<SecurityInsightsEntityQueryTemplateResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SecurityInsightsEntityQueryTemplateResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to