Compartilhar via


ClustersOperationsExtensions.GetAsync Método

Definição

Obtém o cluster especificado.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.Cluster> GetAsync (this Microsoft.Azure.Management.HDInsight.IClustersOperations operations, string resourceGroupName, string clusterName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.HDInsight.IClustersOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.Cluster>
<Extension()>
Public Function GetAsync (operations As IClustersOperations, resourceGroupName As String, clusterName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Cluster)

Parâmetros

operations
IClustersOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

clusterName
String

O nome do cluster.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a