Compartilhar via


ClustersOperationsExtensions.CreateAsync Método

Definição

Sobrecargas

CreateAsync(IClustersOperations, String, String, ClusterCreateParameters, CancellationToken)

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

CreateAsync(IClustersOperations, String, String, ClusterCreateParametersExtended, CancellationToken)

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

CreateAsync(IClustersOperations, String, String, ClusterCreateParameters, CancellationToken)

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.Cluster> CreateAsync (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 CreateAsync : 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 CreateAsync (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

O nome do grupo de recursos.

clusterName
String

O nome do cluster.

parameters
ClusterCreateParameters

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

A resposta da operação GetCluster.

Aplica-se a

CreateAsync(IClustersOperations, String, String, ClusterCreateParametersExtended, CancellationToken)

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.Cluster> CreateAsync (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 CreateAsync : 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 CreateAsync (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 de cluster.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a