Compartilhar via


HDInsightContainersExtensions.GetHDInsightClusterPoolAsync Método

Definição

Obtém um pool de clusters.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}
  • IdClusterPools_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource>> GetHDInsightClusterPoolAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string clusterPoolName, System.Threading.CancellationToken cancellationToken = default);
static member GetHDInsightClusterPoolAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterPoolResource>>
<Extension()>
Public Function GetHDInsightClusterPoolAsync (resourceGroupResource As ResourceGroupResource, clusterPoolName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HDInsightClusterPoolResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

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

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 era esperado que não estivesse vazio.

clusterPoolName é nulo.

Aplica-se a