Partilhar via


OperationalInsightsExtensions.GetLogAnalyticsQueryPacks Método

Definição

Sobrecargas

GetLogAnalyticsQueryPacks(ResourceGroupResource)

Obtém uma coleção de LogAnalyticsQueryPackResources no ResourceGroupResource.

GetLogAnalyticsQueryPacks(SubscriptionResource, CancellationToken)

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

GetLogAnalyticsQueryPacks(ResourceGroupResource)

Obtém uma coleção de LogAnalyticsQueryPackResources no ResourceGroupResource.

public static Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackCollection GetLogAnalyticsQueryPacks (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetLogAnalyticsQueryPacks : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackCollection
<Extension()>
Public Function GetLogAnalyticsQueryPacks (resourceGroupResource As ResourceGroupResource) As LogAnalyticsQueryPackCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

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

Retornos

Um objeto que representa a coleção de LogAnalyticsQueryPackResources e suas operações em um LogAnalyticsQueryPackResource.

Aplica-se a

GetLogAnalyticsQueryPacks(SubscriptionResource, CancellationToken)

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.Pageable<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource> GetLogAnalyticsQueryPacks (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetLogAnalyticsQueryPacks : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource>
<Extension()>
Public Function GetLogAnalyticsQueryPacks (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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 de LogAnalyticsQueryPackResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a