Share via


MockableOperationalInsightsSubscriptionResource.GetLogAnalyticsQueryPacks Method

Definition

Gets a list of all Log Analytics QueryPacks within a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/queryPacks
  • Operation Id: QueryPacks_List
  • Default Api Version: 2019-09-01
  • Resource: LogAnalyticsQueryPackResource
public virtual Azure.Pageable<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource> GetLogAnalyticsQueryPacks (System.Threading.CancellationToken cancellationToken = default);
abstract member GetLogAnalyticsQueryPacks : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource>
override this.GetLogAnalyticsQueryPacks : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource>
Public Overridable Function GetLogAnalyticsQueryPacks (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