LogAnalyticsQueryPackCollection.GetAll(CancellationToken) Method

Definition

Gets a list of Log Analytics QueryPacks within a resource group.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks.
  • Operation Id. : LogAnalyticsQueryPacks_ListByResourceGroup.
  • Default Api Version. : 2025-07-01.
public virtual Azure.Pageable<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource> GetAll(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of LogAnalyticsQueryPackResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to