Partilhar via


ClustersOperationsExtensions.BeginCreateAsync Método

Definição

Cria um novo cluster HDInsight com os parâmetros especificados.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.Cluster> BeginCreateAsync (this Microsoft.Azure.Management.HDInsight.IClustersOperations operations, string resourceGroupName, string clusterName, Microsoft.Azure.Management.HDInsight.Models.ClusterCreateParametersExtended parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateAsync : Microsoft.Azure.Management.HDInsight.IClustersOperations * string * string * Microsoft.Azure.Management.HDInsight.Models.ClusterCreateParametersExtended * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.Cluster>
<Extension()>
Public Function BeginCreateAsync (operations As IClustersOperations, resourceGroupName As String, clusterName As String, parameters As ClusterCreateParametersExtended, 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.

parameters
ClusterCreateParametersExtended

A solicitação de criação do cluster.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a