Example #1
0
 /// <summary>
 /// Creates a new HDInsight cluster with the specified parameters.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='clusterName'>
 /// The name of the cluster.
 /// </param>
 /// <param name='parameters'>
 /// The cluster create request.
 /// </param>
 public static Cluster Create(this IClustersOperations operations, string resourceGroupName, string clusterName, ClusterCreateParametersExtended parameters)
 {
     return(operations.CreateAsync(resourceGroupName, clusterName, parameters).GetAwaiter().GetResult());
 }