ClustersOperationsExtensions.BeginCreatingAsync(IClustersOperations, String, String, ClusterCreateParameters, CancellationToken) 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
System.String

Required. The name of the resource group.

clusterName
System.String

Required. The name of the cluster.

parameters
ClusterCreateParameters

Required. The cluster create request.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Cluster>

The CreateCluster operation response.

Applies to