Partilhar via


ClustersOperationsExtensions.BeginCreatingAsync Método

Definição

Começa a criar um novo cluster HDInsight com os parâmetros especificados.

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

Parâmetros

operations
IClustersOperations

Referência ao Microsoft.Azure.Management.HDInsight.IClusterOperations.

resourceGroupName
String

Obrigatórios. O nome do grupo de recursos.

clusterName
String

Obrigatórios. O nome do cluster.

parameters
ClusterCreateParameters

Obrigatórios. A solicitação de criação de cluster.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

A resposta da operação CreateCluster.

Aplica-se a