Share via


SecurityInsightsTemplateCollection Class

Definition

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

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

Constructors

SecurityInsightsTemplateCollection()

Initializes a new instance of the SecurityInsightsTemplateCollection 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

CreateOrUpdate(WaitUntil, String, SecurityInsightsTemplateData, CancellationToken)

Install a template.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates/{templateId}
  • Operation Id: ContentTemplate_Install
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsTemplateResource
CreateOrUpdateAsync(WaitUntil, String, SecurityInsightsTemplateData, CancellationToken)

Install a template.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates/{templateId}
  • Operation Id: ContentTemplate_Install
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsTemplateResource
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/contentTemplates/{templateId}
  • Operation Id: ContentTemplate_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsTemplateResource
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/contentTemplates/{templateId}
  • Operation Id: ContentTemplate_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsTemplateResource
Get(String, CancellationToken)

Gets a template byt its identifier. Expandable properties:

  • properties/mainTemplate
  • properties/dependantTemplates
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates/{templateId}
  • Operation Id: ContentTemplate_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsTemplateResource
GetAll(SecurityInsightsTemplateCollectionGetAllOptions, CancellationToken)

Gets all installed templates. Expandable properties:

  • properties/mainTemplate
  • properties/dependantTemplates
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates
  • Operation Id: ContentTemplates_List
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsTemplateResource
GetAllAsync(SecurityInsightsTemplateCollectionGetAllOptions, CancellationToken)

Gets all installed templates. Expandable properties:

  • properties/mainTemplate
  • properties/dependantTemplates
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates
  • Operation Id: ContentTemplates_List
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsTemplateResource
GetAsync(String, CancellationToken)

Gets a template byt its identifier. Expandable properties:

  • properties/mainTemplate
  • properties/dependantTemplates
  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentTemplates/{templateId}
  • Operation Id: ContentTemplate_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsTemplateResource
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/contentTemplates/{templateId}
  • Operation Id: ContentTemplate_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsTemplateResource
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/contentTemplates/{templateId}
  • Operation Id: ContentTemplate_Get
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsTemplateResource
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<SecurityInsightsTemplateResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SecurityInsightsTemplateResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to