次の方法で共有


HDInsightClusterPoolResource.GetHDInsightClusterAsync メソッド

定義

HDInsight クラスターを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}
  • 操作IdClusters_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterResource>> GetHDInsightClusterAsync (string clusterName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHDInsightClusterAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterResource>>
override this.GetHDInsightClusterAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Containers.HDInsightClusterResource>>
Public Overridable Function GetHDInsightClusterAsync (clusterName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HDInsightClusterResource))

パラメーター

clusterName
String

HDInsight クラスターの名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

clusterName は空の文字列であり、空でないと予想されていました。

clusterName が null です。

適用対象