Share via


LogAnalyticsQueryPackCollection.GetAllAsync(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: QueryPacks_ListByResourceGroup
  • Default Api Version: 2019-09-01
  • Resource: LogAnalyticsQueryPackResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of LogAnalyticsQueryPackResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to