SecurityInsightsTemplateCollection.GetAll Method

Definition

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. : TemplateModels_List.
  • Default Api Version. : 2025-07-01-preview.
public virtual Azure.Pageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsTemplateResource> GetAll(string filter = default, string orderby = default, string expand = default, string search = default, bool? count = default, int? top = default, int? skip = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * string * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsTemplateResource>
override this.GetAll : string * string * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityInsights.SecurityInsightsTemplateResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional orderby As String = Nothing, Optional expand As String = Nothing, Optional search As String = Nothing, Optional count As Nullable(Of Boolean) = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SecurityInsightsTemplateResource)

Parameters

filter
String

Filters the results, based on a Boolean condition. Optional.

orderby
String

Sorts the results. Optional.

expand
String

Expands the object with optional fiends that are not included by default. Optional.

search
String

Searches for a substring in the response. Optional.

count
Nullable<Boolean>

Instructs the server to return only object count without actual body. Optional.

top
Nullable<Int32>

Returns only the first n results. Optional.

skip
Nullable<Int32>

Used to skip n elements in the OData query (offset). Returns a nextLink to the next page of results if there are any left.

skipToken
String

Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SecurityInsightsTemplateResource that may take multiple service requests to iterate over.

Applies to