Compartilhar via


HDInsightClusterCollection.Get(String, CancellationToken) Método

Definição

Obtém um cluster HDInsight.

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

Parâmetros

clusterName
String

O nome do cluster HDInsight.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

clusterName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

clusterName é nulo.

Aplica-se a