Share via


ClustersOperationsExtensions.BeginCreatingAsync Method

Definition

Begins creating a new HDInsight cluster with the specified parameters.

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)

Parameters

operations
IClustersOperations

Reference to the Microsoft.Azure.Management.HDInsight.IClusterOperations.

resourceGroupName
String

Required. The name of the resource group.

clusterName
String

Required. The name of the cluster.

parameters
ClusterCreateParameters

Required. The cluster create request.

cancellationToken
CancellationToken

The cancellation token.

Returns

The CreateCluster operation response.

Applies to