Partager via


HDInsightClusterPoolResource.GetHDInsightCluster Méthode

Définition

Obtient un cluster HDInsight.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}
  • IdClusters_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterResource> GetHDInsightCluster (string clusterName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHDInsightCluster : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterResource>
override this.GetHDInsightCluster : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterResource>
Public Overridable Function GetHDInsightCluster (clusterName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HDInsightClusterResource)

Paramètres

clusterName
String

nom du cluster HDInsight.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

clusterName est une chaîne vide et devait être non vide.

clusterName a la valeur null.

S’applique à