Partilhar via


HDInsightClusterPoolCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém um pool de clusters.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}
  • Operação IdClusterPools_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource>> GetAsync (string clusterPoolName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource>>
Public Overridable Function GetAsync (clusterPoolName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HDInsightClusterPoolResource))

Parâmetros

clusterPoolName
String

O nome do pool de clusters.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

clusterPoolName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

clusterPoolName é nulo.

Aplica-se a