Share via


SecurityInsightsProductTemplateCollection.GetAllAsync Method

Definition

Gets all templates in the catalog.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentProductTemplates
  • Operation Id: ProductTemplates_List
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsProductTemplateResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsProductTemplateResource> GetAllAsync (Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsProductTemplateCollectionGetAllOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsProductTemplateCollectionGetAllOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsProductTemplateResource>
override this.GetAllAsync : Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsProductTemplateCollectionGetAllOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsProductTemplateResource>
Public Overridable Function GetAllAsync (options As SecurityInsightsProductTemplateCollectionGetAllOptions, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecurityInsightsProductTemplateResource)

Parameters

options
SecurityInsightsProductTemplateCollectionGetAllOptions

A property bag which contains all the parameters of this method except the LRO qualifier and request context parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SecurityInsightsProductTemplateResource that may take multiple service requests to iterate over.

Applies to