HDInsightExtensions.GetHDInsightClusters Método

Definição

Sobrecargas

GetHDInsightClusters(ResourceGroupResource)

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

GetHDInsightClusters(SubscriptionResource, CancellationToken)

Lista todos os clusters HDInsight na assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.HDInsight/clusters
  • Operação IdClusters_List

GetHDInsightClusters(ResourceGroupResource)

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

public static Azure.ResourceManager.HDInsight.HDInsightClusterCollection GetHDInsightClusters (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetHDInsightClusters : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.HDInsight.HDInsightClusterCollection
<Extension()>
Public Function GetHDInsightClusters (resourceGroupResource As ResourceGroupResource) As HDInsightClusterCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

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

Retornos

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

Aplica-se a

GetHDInsightClusters(SubscriptionResource, CancellationToken)

Lista todos os clusters HDInsight na assinatura.

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

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

Aplica-se a