OperationalInsightsExtensions.GetLogAnalyticsQueryPacksAsync Método

Definição

Obtém uma lista de todos os QueryPacks do Log Analytics em uma assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.OperationalInsights/queryPacks
  • Operação IdQueryPacks_List
public static Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource> GetLogAnalyticsQueryPacksAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetLogAnalyticsQueryPacksAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource>
<Extension()>
Public Function GetLogAnalyticsQueryPacksAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of LogAnalyticsQueryPackResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de LogAnalyticsQueryPackResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a