Compartilhar via


OperationalInsightsExtensions.GetOperationalInsightsClustersAsync Método

Definição

Obtém os clusters do Log Analytics em uma assinatura.

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

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 OperationalInsightsClusterResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a